From f00ad24180c36db5a5c1cd2d8c4892b4354b1e96 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AE=8B=E4=BC=9F=E4=BD=B3?= <2797716443@qq.com>
Date: Mon, 29 Nov 2021 15:03:43 +0800
Subject: [PATCH] commit
---
src/pages/details/complianceDetails/index.vue | 114 ------------------
.../pages/creatProcess/xmpg2/step1-1.vue | 99 ++++++++++-----
.../pages/creatProcess/xmpg2/step1-2.vue | 29 -----
.../pages/creatProcess/xmpg2/step1.vue | 103 +++++++++++-----
.../pages/creatProcess/xmpg2/step2.vue | 29 -----
.../pages/details.vue | 23 +++-
6 files changed, 160 insertions(+), 237 deletions(-)
diff --git a/src/pages/details/complianceDetails/index.vue b/src/pages/details/complianceDetails/index.vue
index 01c8770b0..2c6b624ba 100644
--- a/src/pages/details/complianceDetails/index.vue
+++ b/src/pages/details/complianceDetails/index.vue
@@ -64,72 +64,6 @@
-
- 待验证
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ scope.row.prcNum }}
-
-
-
满足
-->
-
- 不涉及
-
-
-
-
-
-
-
-
-
- {{ scope.row.prcNum }}
-
-
-
加载中...
@@ -233,9 +125,7 @@ export default {
data () {
return {
loading: false,
- check: [], // 待验证
fit: [], // 满足
- notInvolve: [], // 不涉及
unfit: [] // 不满足
}
},
@@ -253,9 +143,7 @@ export default {
loading: 'loading'
}, res => {
if (res.ok) {
- this.check = res.data.check
this.fit = res.data.fit
- this.notInvolve = res.data.notInvolve
this.unfit = res.data.unfit
} else {
this.$message.warning(res.message)
@@ -270,9 +158,7 @@ export default {
loading: 'loading'
}, res => {
if (res.ok) {
- this.check = res.data.check
this.fit = res.data.fit
- this.notInvolve = res.data.notInvolve
this.unfit = res.data.unfit
} else {
this.$message.warning(res.message)
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg2/step1-1.vue b/src/pages/processCenter/pages/creatProcess/xmpg2/step1-1.vue
index c42bee374..c8efc8d8c 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg2/step1-1.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg2/step1-1.vue
@@ -63,7 +63,6 @@
@@ -77,7 +76,6 @@
prop="standName"
align="center"
label="中文名称"
- width="180px"
>
{{ scope.row.standName }}
@@ -87,12 +85,33 @@
prop="standEnName"
label="英文名称"
align="center"
- width="180px"
>
{{ scope.row.standEnName }}
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
@@ -369,6 +362,8 @@ export default {
isSubmit: false,
saveLoading: false,
commentText: "",
+ fileType: '',
+ decomposeOptions: [], //分解单数据
//表单的数据
listForm: {
projectNumber: "", //项目编号
@@ -432,6 +427,22 @@ export default {
};
},
methods: {
+ fileTypeChange(type){
+ this.fileType = type
+ let ids = [];
+ let fileTypes = []
+ this.dataList.forEach(item => {
+ ids.push(item.standId);
+ fileTypes.push(item.fileType)
+ });
+ this.standId = ids.join(",");
+ this.fileType = fileTypes.join(",")
+ if(fileTypes.includes('')){
+ return
+ }else{
+ this.getClauseData()
+ }
+ },
// 表格勾选
handleSelectionChange(selection, val) {
if (selection.length > 1) {
@@ -527,14 +538,13 @@ export default {
ids.push(item.standId);
});
this.standId = ids.join(",");
- this.getClauseData();
});
},
//查询标准下的条款
getClauseData() {
- this.$http.get("SarStandItems/sar-stand-items/findAllItems", {
+ this.$http.get("SarStandItems/sar-stand-items/workflowFindItems", {
ids: this.standId,
- type: "FBGBJBD"
+ type: this.fileType
},
{
_this: this
@@ -591,6 +601,15 @@ export default {
},
//流程提交事件
handleSubmit() {
+ let fileFlag
+ this.dataList.forEach(item => {
+ if(!item.fileType){
+ fileFlag = false
+ }
+ })
+ if(!fileFlag){
+ this.$message.warning('请选择分解单来源')
+ }
if (this.listForm.dataList.length < 1) {
this.$message.warning("请选择带标准的项目");
} else {
@@ -654,6 +673,22 @@ export default {
}
},
mounted() {
+ //查找分解单来源数据
+ this.$http.get('lawss/sarStandAttrDetails/getListData',{},{
+ _this: this
+ }, res => {
+ this.decomposeOptions.push(
+ {
+ attrField: 'BDR',
+ attrName: '不带入'
+ }
+ )
+ res.data.forEach(item => {
+ if(item.sarType === 'STAND' || item.sarType === 'INLAND_STAND' || item.sarType === 'FOREIGN_STAND'){
+ this.decomposeOptions.push(item)
+ }
+ })
+ })
this.getData();
this.getProjectData();
}
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg2/step1-2.vue b/src/pages/processCenter/pages/creatProcess/xmpg2/step1-2.vue
index a43df1bec..34c8987e3 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg2/step1-2.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg2/step1-2.vue
@@ -57,7 +57,6 @@
@@ -69,7 +68,6 @@
prop="standName"
align="center"
label="中文名称"
- width="180px"
>
{{ scope.row.standName }}
@@ -79,7 +77,6 @@
prop="standEnName"
label="英文名称"
align="center"
- width="180px"
>
{{ scope.row.standEnName }}
@@ -121,32 +118,6 @@
width="180px"
>
-
-
-
-
-
-
-
-
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue b/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue
index fbf732ac1..3c0aa652a 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg2/step1.vue
@@ -73,7 +73,6 @@
@@ -87,7 +86,6 @@
prop="standName"
align="center"
label="中文名称"
- width="180px"
>
{{ scope.row.standName }}
@@ -97,12 +95,33 @@
prop="standEnName"
label="英文名称"
align="center"
- width="180px"
>
{{ scope.row.standEnName }}
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
@@ -365,6 +358,7 @@ import ProcessHeader from "../../components/ProcessHeader";
import ProcessFooter from "../../components/ProcessFooter";
import ProcessTitle from "../../components/ProcessTitle";
import { saveTaskFirst } from "api/process";
+import file from "@/pages/knowledgeGraph/components/file";
export default {
name: "xmpg2Step1",
@@ -378,6 +372,8 @@ export default {
active: "1", //当前选中的type
isSubmit: false,
saveLoading: false,
+ fileType: '',
+ decomposeOptions: [], //分解单来源数据
//表单的数据
listForm: {
projectNumber: "", //项目编号
@@ -447,6 +443,22 @@ export default {
};
},
methods: {
+ fileTypeChange(type){
+ this.fileType = type
+ let ids = [];
+ let fileTypes = []
+ this.dataList.forEach(item => {
+ ids.push(item.standId);
+ fileTypes.push(item.fileType)
+ });
+ this.standId = ids.join(",");
+ this.fileType = fileTypes.join(",")
+ if(fileTypes.includes('')){
+ return
+ }else{
+ this.getClauseData()
+ }
+ },
// 表格勾选
handleSelectionChange(selection, val) {
if (selection.length > 1) {
@@ -532,6 +544,9 @@ export default {
})
this.listForm.dataList = res.data.records;
this.dataList = res.data.records;
+ this.dataList.forEach(item => {
+ this.$set(item,'fileType', '')
+ })
this.listForm.dataList.forEach(item => {
// 责任部门转换
if (item.zrbm !== null || item.zrbm !== "") {
@@ -551,14 +566,13 @@ export default {
ids.push(item.standId);
});
this.standId = ids.join(",");
- this.getClauseData();
});
},
//查询标准下的条款
getClauseData() {
- this.$http.get("SarStandItems/sar-stand-items/findAllItems", {
+ this.$http.get("SarStandItems/sar-stand-items/workflowFindItems", {
ids: this.standId,
- type: "FBGBJBD"
+ types: this.fileType
},
{
_this: this
@@ -604,6 +618,15 @@ export default {
},
//流程提交事件
handleSubmit() {
+ let fileFlag
+ this.dataList.forEach(item => {
+ if(!item.fileType){
+ fileFlag = false
+ }
+ })
+ if(!fileFlag){
+ this.$message.warning('请选择分解单来源')
+ }
if (this.listForm.dataList.length < 1) {
this.$message.warning("请选择带标准的项目");
} else {
@@ -687,6 +710,22 @@ export default {
this.zrbmOptions = res.data.ZRBMCLASS; // 责任部门
}, e => {
});
+ //查找分解单来源数据
+ this.$http.get('lawss/sarStandAttrDetails/getListData',{},{
+ _this: this
+ }, res => {
+ this.decomposeOptions.push(
+ {
+ attrField: 'BDR',
+ attrName: '不带入'
+ }
+ )
+ res.data.forEach(item => {
+ if(item.sarType === 'STAND' || item.sarType === 'INLAND_STAND' || item.sarType === 'FOREIGN_STAND'){
+ this.decomposeOptions.push(item)
+ }
+ })
+ })
}
};
diff --git a/src/pages/processCenter/pages/creatProcess/xmpg2/step2.vue b/src/pages/processCenter/pages/creatProcess/xmpg2/step2.vue
index 6c6b69df3..d3ac9ac8d 100644
--- a/src/pages/processCenter/pages/creatProcess/xmpg2/step2.vue
+++ b/src/pages/processCenter/pages/creatProcess/xmpg2/step2.vue
@@ -57,7 +57,6 @@
@@ -69,7 +68,6 @@
prop="standName"
align="center"
label="中文名称"
- width="180px"
>
{{ scope.row.standName }}
@@ -79,7 +77,6 @@
prop="standEnName"
label="英文名称"
align="center"
- width="180px"
>
{{ scope.row.standEnName }}
@@ -121,32 +118,6 @@
width="180px"
>
-
-
-
-
-
-
-
-
diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue
index 2a852402a..37fc23c51 100644
--- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue
+++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/details.vue
@@ -157,7 +157,15 @@
show-overflow-tooltip
prop=""
width="180px"
- label="合规评估结果">
+ label="合规性情况">
+
+
+
+