Просмотр исходного кода

替换请求和注释工号写死代码

cyy 1 год назад
Родитель
Сommit
8cfab9c3f8

+ 3 - 3
src/views/component/personnelFile/components/personnelInfo.vue

@@ -155,9 +155,9 @@ export default {
                 if (Object.keys(val).length > 0) {
                     // eslint-disable-next-line no-undef
                     this.submitperInfoData = structuredClone(val)
-                    this.submitperInfoData.jianDingZiGeZ = '23456'
-                    console.log(this.submitperInfoData, '222')
-                    console.log(this.userList, '333')
+                    // this.submitperInfoData.jianDingZiGeZ = '23456'
+                    // console.log(this.submitperInfoData, '222')
+                    // console.log(this.userList, '333')
                 }
             },
             deep: true,

+ 4 - 4
src/views/system/jbdScan/goods/reallocation.vue

@@ -105,7 +105,7 @@ export default {
             }
             const param = { tableName: 't_lhjczb', updList: updLists }
             this.reassign(this_, template, projectIds, this.jianCeYuan)
-            this_.$curdPost('updatesByWhere', JSON.stringify(param)).then(() => {
+            this_.$common.request('updatesByWhere', JSON.stringify(param)).then(() => {
                 template.$message.success('重新分配成功。')
                 template.search()
                 this.closeDialog()
@@ -118,7 +118,7 @@ export default {
             const order = businessKey.replace(/,/g, "','")
             const sql = `select a.businesskey_ as businessKey, b.task_id_ as taskId,b.proc_inst_id_ as procInstId, b.node_id_ as nodeId from ibps_bpm_bus_rel a left join ibps_bpm_tasks b on a.proc_inst_id_ = b.proc_inst_id_ where find_in_set(a.businesskey_, '${businessKey}') order by field(a.businesskey_, '${order}')`
             return new Promise((resolve, reject) => {
-                this_.$curdPost('sql', sql).then(res => {
+                this_.$common.request('sql', sql).then(res => {
                     const { data = [] } = res.variables || {}
                     const taskIds = data.filter(i => i && i.taskId)
                     resolve(taskIds)
@@ -212,8 +212,8 @@ export default {
             //     updList: updateProjectParams
             // }
             // // 更新assign表执行人和检测表检测员,刷新列表数据
-            // this.$curdPost('updatesByWhere', updateAssign).then(() => {
-            //     this.$curdPost('updatesByWhere', updateProject).then(() => {
+            // this.$common.request('updatesByWhere', updateAssign).then(() => {
+            //     this.$common.request('updatesByWhere', updateProject).then(() => {
             //         this.$template.handleAction('search', {}, [], [], 0, {button_type: 'search'})
             //     })
             // })