From 7940638999efcd69372365e6b6c848f118c70bf2 Mon Sep 17 00:00:00 2001 From: yuxc <653031404@qq.com> Date: 星期三, 05 七月 2023 17:52:09 +0800 Subject: [PATCH] 1、主要对null整形返回-1进行更改。 2、对获取业务类型表为空进行了判断。 --- Source/UBCS-WEB/src/components/template/SetPersonnel.vue | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Source/UBCS-WEB/src/components/template/SetPersonnel.vue b/Source/UBCS-WEB/src/components/template/SetPersonnel.vue index f637e5f..60d037f 100644 --- a/Source/UBCS-WEB/src/components/template/SetPersonnel.vue +++ b/Source/UBCS-WEB/src/components/template/SetPersonnel.vue @@ -135,7 +135,7 @@ return this.initFrom.findIndex(i => i.taskId === arr1) }, async apiInit() { - const response = await personnelInit({ type: this.parameter[this.parameterKeys.type], templateId: this.parameter[this.parameterKeys.code] }) + const response = await personnelInit({ type: this.parameter[this.parameterKeys.type], templateId: this.parameter[this.parameterKeys.code],ids:this.parameter.ids, codeClassifyOid:this.parameter.codeClassifyOid}) if (response.status === 200) { console.log(response) this.initFrom = response.data.data.user -- Gitblit v1.9.3