|
|
@@ -417,21 +417,84 @@ export default {
|
|
|
{
|
|
|
console.log(this.orgType, 'this.orgType')
|
|
|
if (this.orgType == 1) {
|
|
|
- //省联社
|
|
|
- this.checkBoxList = [
|
|
|
+
|
|
|
+ //行社评定地区
|
|
|
+ let checkBoxList1 = [
|
|
|
+ {
|
|
|
+ name: '行社优秀(不推荐地区)',
|
|
|
+ value: 7,
|
|
|
+ disabled: false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '评定地区优秀',
|
|
|
+ value: 3,
|
|
|
+ disabled: false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '推荐为省级优秀',
|
|
|
+ value: 4,
|
|
|
+ disabled: true
|
|
|
+ }
|
|
|
+ ]
|
|
|
+
|
|
|
+ //省联社评定
|
|
|
+ let checkBoxList2 = [
|
|
|
+ {
|
|
|
+ name: '地区优秀(不推荐省级)',
|
|
|
+ value: 8,
|
|
|
+ disabled: false
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '评定省级优秀',
|
|
|
+ value: 5,
|
|
|
+ disabled: false
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ //从管理页面调整进入 评优界面
|
|
|
+ if(this.activeTab=='1'){
|
|
|
+ //办事处
|
|
|
+ this.checkBoxList = checkBoxList1;
|
|
|
+ }
|
|
|
+ // 省联社处理 厦门、莆田 地区推优评优
|
|
|
+ if(this.activeTab=='3') {
|
|
|
+ // 地区优秀
|
|
|
+ if(this.trainingData.recStatus ==3 && !this.trainingData.unRecStatus)
|
|
|
{
|
|
|
- name: '不推荐',
|
|
|
- value: 8,
|
|
|
- disabled: false
|
|
|
- },
|
|
|
- {
|
|
|
- name: '评定省级优秀',
|
|
|
- value: 5,
|
|
|
- disabled: false
|
|
|
- }
|
|
|
- ]
|
|
|
+ //省联社
|
|
|
+ this.checkBoxList =checkBoxList1;
|
|
|
+ }
|
|
|
+ // 地区优秀 不推荐省级优秀
|
|
|
+ if(this.trainingData.recStatus ==3 && this.trainingData.unRecStatus)
|
|
|
+ {
|
|
|
+ //省联社
|
|
|
+ this.checkBoxList =checkBoxList2;
|
|
|
+ }
|
|
|
+ // 已推荐省级优秀
|
|
|
+ if(this.trainingData.recStatus ==4)
|
|
|
+ {
|
|
|
+ //省联社
|
|
|
+ this.checkBoxList =checkBoxList2;
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ // 从待办直接进入 评优界面
|
|
|
+ if(!this.activeTab)
|
|
|
+ {
|
|
|
+ // 行社已推荐地区
|
|
|
+ if(this.trainingData.recStatus ==2)
|
|
|
+ {
|
|
|
+ //办事处
|
|
|
+ this.checkBoxList = checkBoxList1;
|
|
|
+ }
|
|
|
+ // 地区已推荐省级
|
|
|
+ if(this.trainingData.recStatus ==4)
|
|
|
+ {
|
|
|
+ this.checkBoxList = checkBoxList2;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
- if (data.recStatus == 5) {
|
|
|
+ if (this.trainingData.recStatus == 5) {
|
|
|
this.result = [5]
|
|
|
}
|
|
|
} else if (this.orgType == 2) {
|
|
|
@@ -439,7 +502,7 @@ export default {
|
|
|
//办事处
|
|
|
this.checkBoxList = [
|
|
|
{
|
|
|
- name: '不推荐',
|
|
|
+ name: '行社优秀(不推荐地区)',
|
|
|
value: 7,
|
|
|
disabled: false
|
|
|
},
|
|
|
@@ -459,7 +522,7 @@ export default {
|
|
|
//办事处
|
|
|
this.checkBoxList = [
|
|
|
{
|
|
|
- name: '不推荐',
|
|
|
+ name: '地区优秀(不推荐省级)',
|
|
|
value: 8,
|
|
|
disabled: false
|
|
|
},
|
|
|
@@ -471,9 +534,9 @@ export default {
|
|
|
]
|
|
|
}
|
|
|
|
|
|
- if (data.recStatus == 4) {
|
|
|
+ if (this.trainingData.recStatus == 4) {
|
|
|
this.result = [3, 4]
|
|
|
- } else if (data.recStatus == 3) {
|
|
|
+ } else if (this.trainingData.recStatus == 3) {
|
|
|
this.result = [3]
|
|
|
}
|
|
|
} else if (this.orgType == 3) {
|
|
|
@@ -482,7 +545,7 @@ export default {
|
|
|
//行社
|
|
|
this.checkBoxList = [
|
|
|
{
|
|
|
- name: '不推荐',
|
|
|
+ name: '普通案例(不推荐行优)',
|
|
|
value: 6,
|
|
|
disabled: false
|
|
|
},
|
|
|
@@ -514,11 +577,12 @@ export default {
|
|
|
]
|
|
|
}
|
|
|
|
|
|
- if (data.recStatus == 2) {
|
|
|
+ if (this.trainingData.recStatus == 2) {
|
|
|
this.result = [1, 2]
|
|
|
- } else if (data.recStatus == 1) {
|
|
|
- this.result = [1]
|
|
|
- }
|
|
|
+ }
|
|
|
+ // else if (this.trainingData.recStatus == 1) {
|
|
|
+ // this.result = [1]
|
|
|
+ // }
|
|
|
}
|
|
|
},
|
|
|
disabledCheck(item) {
|