浏览代码

修改问题

SunZehao 2 年之前
父节点
当前提交
237be6faa5

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

@@ -359,7 +359,7 @@ export default {
                 opinion: "考评目标启动",
                 iamCode: window.localStorage.getItem('code')
             }
-            if (row.instId !== null || row.instId !== '') {
+            if (row.instId === null || row.instId === '') {
                 apiGetdoAction(par).then(datas =>{
                     if (datas && datas.data) {
                         if (datas.data.isOk) {

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

@@ -359,7 +359,7 @@ export default {
                 opinion: "考评目标启动",
                 iamCode: window.localStorage.getItem('code')
             }
-            if (row.instId !== null || row.instId !== '') {
+            if (row.instId === null || row.instId === '') {
                 apiGetdoAction(par).then(datas =>{
                     if (datas && datas.data) {
                         if (datas.data.isOk) {

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

@@ -313,7 +313,7 @@ export default {
                 opinion: "月度单位考评",
                 iamCode: window.localStorage.getItem('code')
             }
-            if (row.instId !== null || row.instId !== '') {
+            if (row.instId === null || row.instId === '') {
                 apiGetdoAction(par).then(datas =>{
                     if (datas && datas.data) {
                         if (datas.data.isOk) {

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

@@ -314,7 +314,7 @@ export default {
                 opinion: "季度单位考评",
                 iamCode: window.localStorage.getItem('code')
             }
-            if (row.instId !== null || row.instId !== '') {
+            if (row.instId === null || row.instId === '') {
                 apiGetdoAction(par).then(datas =>{
                     if (datas && datas.data) {
                         if (datas.data.isOk) {

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

@@ -359,7 +359,7 @@ export default {
                 opinion: "考评目标启动",
                 iamCode: window.localStorage.getItem('code')
             }
-            if (row.instId !== null || row.instId !== '') {
+            if (row.instId === null || row.instId === '') {
                 apiGetdoAction(par).then(datas =>{
                     if (datas && datas.data) {
                         if (datas.data.isOk) {

+ 5 - 2
src/components/evaluationSystem/evaluationCompanyPage.vue

@@ -285,8 +285,8 @@
                     pageSize: that.page.pagesize,
                     organizationType: 'DWKP',
                     organizationName: that.companyS,
-                    binSectionName: that.binSectionIds,
-                    binStageName: that.stageIds
+                    binSection: that.binSectionIds,
+                    binStage: that.stageIds
                 }
                 apiGetOrganizationList(params).then(datas => {
                     if (datas && datas.data) {
@@ -422,15 +422,18 @@
             saveAndEditIndicatorData() {
                 let that = this
                 let orgName = ''
+                let referred = ''
                 that.companyDatas.forEach(item => {
                     if (item.id === that.ruleForm.organizationName) {
                         orgName = item.name
+                        referred = item.shortName
                     }
                 })
                 let params = {
                     organizationName: orgName,
                     evaluationCycle: that.ruleForm.evaluationCycle,
                     organizationType: 'DWKP',
+                    organizationShortName: referred,
                     evaluateRuleId: that.ruleForm.evaluateRule.join(','),
                     binSection: that.ruleForm.binSection,
                     binStage: that.ruleForm.binStage.join(','),