|
@@ -266,7 +266,7 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- onBackPress() {
|
|
|
|
|
|
+ goBack() {
|
|
this.$store.commit('checkList/comChangeState', { //刷新前一页数据
|
|
this.$store.commit('checkList/comChangeState', { //刷新前一页数据
|
|
key: 'ifReloadPageData',
|
|
key: 'ifReloadPageData',
|
|
data: true
|
|
data: true
|
|
@@ -288,8 +288,8 @@
|
|
departmentId,//科室id 用于自查督查
|
|
departmentId,//科室id 用于自查督查
|
|
systemSituationType,
|
|
systemSituationType,
|
|
pointsetType, //计分方式类型 add by yfb 20230417
|
|
pointsetType, //计分方式类型 add by yfb 20230417
|
|
- }) {
|
|
|
|
-
|
|
|
|
|
|
+ }) {
|
|
|
|
+
|
|
this.deptId = deptId;
|
|
this.deptId = deptId;
|
|
this.checkId = checkId;
|
|
this.checkId = checkId;
|
|
this.finishedStatus = finishedStatus;
|
|
this.finishedStatus = finishedStatus;
|
|
@@ -309,10 +309,12 @@
|
|
if (situationType != 2) {
|
|
if (situationType != 2) {
|
|
this.loadItemData();
|
|
this.loadItemData();
|
|
}
|
|
}
|
|
|
|
+
|
|
if(this.currentSelectedInvestigationUser){
|
|
if(this.currentSelectedInvestigationUser){
|
|
this.getFilterList(checkId,deptId,this.currentSelectedInvestigationUser.investigationId);
|
|
this.getFilterList(checkId,deptId,this.currentSelectedInvestigationUser.investigationId);
|
|
}else{
|
|
}else{
|
|
- this.getFilterList(checkId,departmentId);
|
|
|
|
|
|
+ this.getFilterList(checkId,deptId?deptId:departmentId);
|
|
|
|
+ //this.getFilterList(checkId,departmentId);
|
|
}
|
|
}
|
|
|
|
|
|
},
|
|
},
|
|
@@ -355,7 +357,7 @@
|
|
* @param {number} responsibleUserId 责任对象id 非必传
|
|
* @param {number} responsibleUserId 责任对象id 非必传
|
|
*/
|
|
*/
|
|
getFilterList(checkId,deptId,responsibleUserId){
|
|
getFilterList(checkId,deptId,responsibleUserId){
|
|
-
|
|
|
|
|
|
+ console.log('2023052302 dept',deptId);
|
|
this.$store.dispatch({
|
|
this.$store.dispatch({
|
|
type: 'checkMainPoints/commActions',
|
|
type: 'checkMainPoints/commActions',
|
|
key: 'getPointConditions',
|
|
key: 'getPointConditions',
|
|
@@ -365,7 +367,7 @@
|
|
deptId:deptId
|
|
deptId:deptId
|
|
}
|
|
}
|
|
}).then(data=>{
|
|
}).then(data=>{
|
|
-
|
|
|
|
|
|
+ console.log('2023052205 data',data);
|
|
const {checkResults=[],checkStatuses=[],others=[]} = data;
|
|
const {checkResults=[],checkStatuses=[],others=[]} = data;
|
|
const _checkResults = checkResults.map(t=>({label:`${t.value}(${t.num})`,id:Math.random(),value:t.value}));
|
|
const _checkResults = checkResults.map(t=>({label:`${t.value}(${t.num})`,id:Math.random(),value:t.value}));
|
|
const _checkStatuses = checkStatuses.map(t=>({label:`${t.value}(${t.num})`,id:Math.random(),value:t.value}));
|
|
const _checkStatuses = checkStatuses.map(t=>({label:`${t.value}(${t.num})`,id:Math.random(),value:t.value}));
|
|
@@ -375,6 +377,7 @@
|
|
{key:'查核结果',list:_checkResults},
|
|
{key:'查核结果',list:_checkResults},
|
|
{key:'其他',list:_others},
|
|
{key:'其他',list:_others},
|
|
];
|
|
];
|
|
|
|
+ console.log('2023052205',this.btnArr);
|
|
})
|
|
})
|
|
},
|
|
},
|
|
//绑定当事人
|
|
//绑定当事人
|
|
@@ -447,6 +450,7 @@
|
|
// filter:
|
|
// filter:
|
|
}
|
|
}
|
|
}).then(data => {
|
|
}).then(data => {
|
|
|
|
+ console.log('2023052306 test',data);
|
|
if (data) {
|
|
if (data) {
|
|
let renderList = data.checkDetailMapResponses?data.checkDetailMapResponses:[];
|
|
let renderList = data.checkDetailMapResponses?data.checkDetailMapResponses:[];
|
|
|
|
|
|
@@ -454,7 +458,6 @@
|
|
key: 'detailList',
|
|
key: 'detailList',
|
|
data: renderList
|
|
data: renderList
|
|
});
|
|
});
|
|
-
|
|
|
|
this.isBindResponsible = data.isBindResponsible;
|
|
this.isBindResponsible = data.isBindResponsible;
|
|
this.detailList = renderList;
|
|
this.detailList = renderList;
|
|
this.copyDetailList = renderList;
|
|
this.copyDetailList = renderList;
|
|
@@ -493,7 +496,7 @@
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
|
|
+ console.log('20230523',this.situationType,this.currentSelectedInvestigationUser);
|
|
//非自查督查的情况下
|
|
//非自查督查的情况下
|
|
if(this.situationType == 2&&!this.currentSelectedInvestigationUser){
|
|
if(this.situationType == 2&&!this.currentSelectedInvestigationUser){
|
|
//分页模式下且未选择访谈对象时拒绝请求数据同时清空历史数据
|
|
//分页模式下且未选择访谈对象时拒绝请求数据同时清空历史数据
|
|
@@ -501,6 +504,7 @@
|
|
key: 'detailList',
|
|
key: 'detailList',
|
|
data:[]
|
|
data:[]
|
|
});
|
|
});
|
|
|
|
+
|
|
this.detailList = [];
|
|
this.detailList = [];
|
|
this.isBindResponsible = false;
|
|
this.isBindResponsible = false;
|
|
this.copyDetailList = [];
|
|
this.copyDetailList = [];
|
|
@@ -624,6 +628,7 @@
|
|
if(!this.isZichaDucha){
|
|
if(!this.isZichaDucha){
|
|
//非自查督查
|
|
//非自查督查
|
|
let ids = [];
|
|
let ids = [];
|
|
|
|
+ console.log('2023052203',item);
|
|
this.detailList.forEach(item => {
|
|
this.detailList.forEach(item => {
|
|
//筛选掉已查核项
|
|
//筛选掉已查核项
|
|
const temp = item.responseList.filter(v => !v.checkResult);
|
|
const temp = item.responseList.filter(v => !v.checkResult);
|