SunZehao 1 rok temu
rodzic
commit
9d45acd4d0

+ 1 - 1
src/components/assessment/evaluationDeptBusinessFrom.vue

@@ -269,7 +269,7 @@ export default {
             let params = {
                 id: id,
                 deptId: that.userMes.deptId,
-                com: that.compNameSa
+                com: that.compNameSa? that.compNameSa: 'null'
             }
             apiGetevaluationdeptplanDetail(params).then(datas =>{
                 if (datas && datas.data) {

+ 1 - 1
src/components/assessment/evaluationDeptStartFrom.vue

@@ -356,7 +356,7 @@ export default {
             let paramsDe = {
                 id: id,
                 deptId: that.userMes.deptId,
-                com: that.compNameSa
+                com: that.compNameSa? that.compNameSa: 'null'
             }
             //获取详情
             apiGetevaluationdeptplanDetail(paramsDe).then(datas =>{

+ 1 - 1
src/components/taskCenter/taskCenterDeptBusinessFrom.vue

@@ -248,7 +248,7 @@ export default {
             let params = {
                 id: id,
                 deptId: that.userMes.deptId,
-                com: that.compNameSa
+                com: that.compNameSa? that.compNameSa: 'null'
             }
             apiGetevaluationdeptassessmentDetailHeader(id).then(datas =>{
                 if (datas && datas.data) {

+ 1 - 1
src/components/taskCenter/taskCenterDeptStartFrom.vue

@@ -349,7 +349,7 @@ export default {
             let params = {
                 id: id,
                 deptId: userMes.deptId,
-                com: that.compNameSa
+                com: that.compNameSa? that.compNameSa: 'null'
             }
             apiGetevaluationdeptplanDetailHeader(id).then(datas =>{
                 if (datas && datas.data) {