|
|
@@ -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'})
|
|
|
// })
|
|
|
// })
|