| | |
| | | </el-card> |
| | | </div> |
| | | </div> |
| | | <el-row> |
| | | <el-button type="primary" @click="confirmEdit" size="default">确认</el-button> |
| | | <el-button @click="cancelEdit" size="default">取消</el-button> |
| | | </el-row> |
| | | <el-drawer v-model="showAdd" direction="rtl"> |
| | | <template #title> |
| | | <h4>新增审批流</h4> |
| | |
| | | </template> |
| | | <template #footer> |
| | | <div style="flex: auto"> |
| | | <el-button @click="cancelClick">取消</el-button> |
| | | <el-button type="primary" @click="confirmClick(ruleFormRef)">确认</el-button> |
| | | <el-button type="primary" @click="confirmClick(ruleFormRef)" size="default">确认</el-button> |
| | | <el-button @click="cancelClick" size="default">取消</el-button> |
| | | </div> |
| | | </template> |
| | | </el-drawer> |
| | |
| | | <span>您确定要删除该审批流吗?</span> |
| | | <template #footer> |
| | | <span class="dialog-footer"> |
| | | <el-button @click="deleteDialog = false">取消</el-button> |
| | | <el-button type="primary" @click="conFirmDelete">确认</el-button> |
| | | <el-button type="primary" @click="conFirmDelete" size="default">确认</el-button> |
| | | <el-button @click="deleteDialog = false" size="default">取消</el-button> |
| | | </span> |
| | | </template> |
| | | </el-dialog> |
| | |
| | | approveSteps.splice( i,1) |
| | | deleteDialog.value = false |
| | | } |
| | | const cancelEdit = () => { |
| | | |
| | | } |
| | | const confirmEdit = () =>{ |
| | | |
| | | } |
| | | const state = reactive<stateType>({}); |
| | | // 折线图 |
| | | const renderMenu = async (value: string) => { |
| | |
| | | deleteFlow, |
| | | addFlow, |
| | | confirmClick, |
| | | cancelEdit, |
| | | confirmEdit, |
| | | ...toRefs(state), |
| | | }; |
| | | }, |