From 509366a157059aeaf6daa2492cf32e108a8ca104 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期五, 14 六月 2024 20:01:14 +0800 Subject: [PATCH] 工艺路线更新 --- src/views/tigerprojects/system/account/AccountModal.vue | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/views/tigerprojects/system/account/AccountModal.vue b/src/views/tigerprojects/system/account/AccountModal.vue index fa74b03..3ab1058 100644 --- a/src/views/tigerprojects/system/account/AccountModal.vue +++ b/src/views/tigerprojects/system/account/AccountModal.vue @@ -25,12 +25,11 @@ import { getTreeList } from '/@/api/tigerapi/dept'; import { BasicTree, TreeItem } from '/@/components/Tree'; import { SaveUser } from '/@/api/tigerapi/account'; - type CheckKeys = KeyType[] | { checked: string[] | number[]; halfChecked: string[] | number[] }; type _expandAll = KeyType[] | undefined; const emits = defineEmits(['success', 'register']); - + const isUpdate = ref(true); const rowId = ref(''); const treeDataOrg = ref<TreeItem[]>([]); @@ -83,16 +82,16 @@ async function handleSubmit() { try { const values = await validate(); - console.log('鎻愪氦4',values.STATUS_CODE == true?'ENABLE':'DISABLEDS') + console.log('鎻愪氦4', values.STATUS_CODE == true ? 'ENABLE' : 'DISABLEDS'); // return - - console.log('鎻愪氦',values.STATUS_CODE) + + console.log('鎻愪氦', values.STATUS_CODE); setModalProps({ confirmLoading: true }); // TODO custom api //淇濆瓨鐢ㄦ埛 const apiAction = SaveUser(values, unref(isUpdate)); - console.log('淇濆瓨',values) + console.log('淇濆瓨', values); // values.STATUS_CODE = values.STATUS_CODE == true?'ENABLE':'DISABLEDS' apiAction.then((action) => { if (action.IsSuccessed) { -- Gitblit v1.9.3