From 5ae12896cc724a7c0c9bc06e430006dd8be75677 Mon Sep 17 00:00:00 2001
From: zhutianqi
Date: Thu, 17 Mar 2022 15:46:55 +0800
Subject: [PATCH] commit
---
src/components/CustomFormComponents/Input.vue | 3 +
.../details/otherStandardDetails/index.vue | 49 +++++++-------
.../pages/creatProcess/bzdy/step1.vue | 5 +-
.../pages/creatProcess/bzdy/step7.vue | 2 -
.../pages/creatProcess/bzdy/step8.vue | 1 -
.../pages/creatProcess/bzjd/step1-6.vue | 2 +-
.../pages/creatProcess/bzjd/step4.vue | 4 +-
.../pages/creatProcess/bzjd/step5.vue | 4 +-
.../pages/creatProcess/bzjd/step6.vue | 4 +-
.../pages/creatProcess/bzzqyj/step4.vue | 2 +-
.../processCenter/pages/phone/bzdy/step2.vue | 9 +--
.../processCenter/pages/phone/bzdy/step4.vue | 12 ++--
.../processCenter/pages/phone/bzdy/step6.vue | 12 ++--
.../processCenter/pages/phone/bzdy/step7.vue | 14 ++--
.../processCenter/pages/phone/bzdy/step8.vue | 17 +++--
.../processCenter/pages/phone/bzdy/step9.vue | 18 +++---
.../processCenter/pages/phone/bzjd/step4.vue | 12 ++--
.../processCenter/pages/phone/bzjd/step5.vue | 16 ++---
.../processCenter/pages/phone/bzjd/step6.vue | 16 ++---
.../pages/phone/bzzqyj/step2.vue | 29 ++++-----
.../pages/phone/bzzqyj/step4-1.vue | 40 ++++++------
.../pages/phone/bzzqyj/step4-2.vue | 13 ++--
.../pages/phone/bzzqyj/step6.vue | 64 +++++++++++--------
.../pages/phone/bzzqyj/step7.vue | 59 +++++++++--------
.../pages/phone/bzzqyj/step8.vue | 57 +++++++++--------
.../pages/phone/bzzqyj/step9.vue | 43 ++++++-------
.../pages/standInvolveProjectDetail.vue | 5 +-
.../pages/technologyInvolveProject.vue | 4 +-
28 files changed, 265 insertions(+), 251 deletions(-)
diff --git a/src/components/CustomFormComponents/Input.vue b/src/components/CustomFormComponents/Input.vue
index aa3e5a3ba..ceeaa8391 100644
--- a/src/components/CustomFormComponents/Input.vue
+++ b/src/components/CustomFormComponents/Input.vue
@@ -62,6 +62,9 @@ export default {
const value = event
this.$emit('input', value)
}
+ },
+ mounted() {
+ console.log(this.config);
}
}
diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue
index 413c11b8a..035e015d2 100644
--- a/src/pages/details/otherStandardDetails/index.vue
+++ b/src/pages/details/otherStandardDetails/index.vue
@@ -65,26 +65,26 @@
}}
-
+
-
+
+
- {{ file.oldFileName }}
- {{ file.oldFileName }}
+
-
@@ -116,10 +116,9 @@
@click="showItemsModel(child.attrField)"
class="decomposition-btn"
style="right:62px"
- icon="icon-separate"
>标准分解单
-
+
@@ -158,7 +157,6 @@
@click="showItemsModel(child.attrField)"
class="decomposition-btn"
style="right:62px"
- icon="icon-separate"
>标准分解单
标准分解单
标准分解单
标准分解单
@@ -726,7 +721,6 @@
:key="index"
@click="showItemsModel(child.attrField)"
class="decomposition-btn"
- icon="icon-separate"
>标准分解单
@@ -3889,6 +3883,15 @@ export default {
display: block;
}
}
+.files-titles {
+ a {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ width: calc(~'100% - 40px');
+ white-space: nowrap;
+ display: block;
+ }
+}
/deep/ .el-icon-circle-close:before {
margin-left: 250px;
}
diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue
index f742505b2..5513ab306 100644
--- a/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzdy/step1.vue
@@ -559,7 +559,7 @@ export default {
this.saveLoading = false
})
},
- handleSubmit() {
+ handleSubmit(username) {
this.$refs['qbkwForm'].validate((valid) => {
if (valid) {
this.$refs['Form'].validate((valid) => {
@@ -611,6 +611,9 @@ export default {
return this.$message.warning('请完善基础信息')
}
})
+ },
+ aa () {
+ return 11111
}
},
mounted () {
diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step7.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step7.vue
index ecb052e86..30978e39b 100644
--- a/src/pages/processCenter/pages/creatProcess/bzdy/step7.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzdy/step7.vue
@@ -201,7 +201,6 @@
approval
@back="handleSubmitNo"
:submitLoading="isSubmit"
- :saveLoading="saveLoading"
show-transfer
@transfer="handleTransfer"
@submit="handleSubmit"
@@ -375,7 +374,6 @@
handleTabs(name) {
this.active = name
},
- handleSave() {},
handleSubmit() {
this.isSubmit = true
var json = this.json
diff --git a/src/pages/processCenter/pages/creatProcess/bzdy/step8.vue b/src/pages/processCenter/pages/creatProcess/bzdy/step8.vue
index 7cddfb044..a4fd2f0ee 100644
--- a/src/pages/processCenter/pages/creatProcess/bzdy/step8.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzdy/step8.vue
@@ -375,7 +375,6 @@
handleTabs(name) {
this.active = name
},
- handleSave() {},
handleSubmit() {
this.isSubmit = true
var json = this.json
diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step1-6.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step1-6.vue
index 3e3076bfc..33408f729 100644
--- a/src/pages/processCenter/pages/creatProcess/bzjd/step1-6.vue
+++ b/src/pages/processCenter/pages/creatProcess/bzjd/step1-6.vue
@@ -3,7 +3,7 @@
标准解读流程
-
+ 批准
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -133,7 +136,7 @@
-
+
@@ -245,7 +248,7 @@
drawerModal: false,
histortData: [],
data: [],
- commentText: '',
+ commentText41: '',
taskIds: this.$route.query.taskIds,
pId: this.$route.query.prcId,
roleRow: {},
@@ -368,14 +371,12 @@
handleTabs(name) {
this.active = name
},
- handleSave() {
- },
handleSubmit() {
this.$refs['bzzqyjForm'].validate((valid) => {
if (valid) {
this.isSubmit = true
var json = this.json
- json.commentText = this.commentText
+ json.commentText = this.commentText41
json.bzfgId = this.form.bzfgId
json.bzfgName = this.form.bzfgName
json.spFlag = '0'
@@ -396,10 +397,10 @@
})
},
handleSubmitNo() {
- if (this.commentText) {
+ if (this.commentText41) {
var json = this.json
json.spFlag = '1'
- json.commentText = this.commentText
+ json.commentText = this.commentText41
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskId: this.taskIds,
@@ -428,14 +429,15 @@
} else {
this.form.fjListId = data.form.fjListId || data.fjListId
}
+ this.commentText41 = data.commentText41 || ''
+ this.form.bzfgId = data.startUser
+ this.form.bzfgName = data.startUserName
this.form.cid = data.cid || data.form.cid
this.form.endTime = data.endTime || data.form.endTime
this.form.cname = data.cname || data.form.cname
this.form.textType = data.textType || data.form.textType
this.form.modelList = data.modelList || data.form.modelList
this.form.modelNameList = data.modelNameList || data.form.modelNameList
- this.form.bzfgId = data.bzfgId || ''
- this.form.bzfgName = data.bzfgName || ''
this.json = data
this.data = data.info || data.data
}).catch(e => {
diff --git a/src/pages/processCenter/pages/phone/bzzqyj/step4-2.vue b/src/pages/processCenter/pages/phone/bzzqyj/step4-2.vue
index 8ee40316b..fc51c1fe6 100644
--- a/src/pages/processCenter/pages/phone/bzzqyj/step4-2.vue
+++ b/src/pages/processCenter/pages/phone/bzzqyj/step4-2.vue
@@ -123,7 +123,7 @@
-
+
@@ -236,7 +236,7 @@
drawerModal: false,
histortData: [],
data: [],
- commentText: '',
+ commentText42: '',
taskIds: this.$route.query.taskIds,
pId: this.$route.query.prcId,
roleRow: {},
@@ -362,12 +362,10 @@
handleTabs(name) {
this.active = name
},
- handleSave() {
- },
handleSubmit() {
this.isSubmit = true
var json = this.json
- json.commentText = this.commentText
+ json.commentText = this.commentText42
json.bzFlag = '0'
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
@@ -382,10 +380,10 @@
})
},
handleSubmitNo() {
- if (this.commentText) {
+ if (this.commentText42) {
var json = this.json
json.bzFlag = '1'
- json.commentText = this.commentText
+ json.commentText = this.commentText42
this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskId: this.taskIds,
@@ -414,6 +412,7 @@
} else {
this.form.fjListId = data.form.fjListId || data.fjListId
}
+ this.commentText42 = data.commentText42 || ''
this.form.cid = data.cid || data.form.cid
this.form.endTime = data.endTime || data.form.endTime
this.form.cname = data.cname || data.form.cname
diff --git a/src/pages/processCenter/pages/phone/bzzqyj/step6.vue b/src/pages/processCenter/pages/phone/bzzqyj/step6.vue
index e21a6823b..55732899e 100644
--- a/src/pages/processCenter/pages/phone/bzzqyj/step6.vue
+++ b/src/pages/processCenter/pages/phone/bzzqyj/step6.vue
@@ -79,7 +79,7 @@
-
+
@@ -211,13 +211,14 @@
name: "phoneBzdyStep6",
data() {
return {
+ data2: [],
itermsConditionsFlag: false,
itermsConditionsTitle: '',
drawerModal: false,
histortData: [],
oldData: [],
data: [],
- commentText: "",
+ commentText6: "",
oldText: "",
newText: "",
reason: "",
@@ -362,6 +363,8 @@
return "上报";
} else if (row === "2") {
return "处理后上报";
+ } else {
+ return "不上报";
}
},
upload(row, title) {
@@ -400,33 +403,37 @@
handleTabs(name) {
this.active = name;
},
- handleSave() {
- },
handleSubmit() {
- this.isSubmit = true;
- var json = this.json;
- json.hqFlag = '0';
- json.user7 = this.form.user7;
- json.user7Name = this.form.user7Name;
- json.commentText = this.commentText;
- this.$http.post("lawss/activiti/completeTask", {
- json: JSON.stringify(json),
- taskId: this.taskIds,
- userId: this.$store.getters.userInfo.userId
- }, {}, res => {
- if (res.success) {
- this.$message.success("提交成功");
- this.$router.push("/processCenter");
+ this.$refs['bzzqyjForm'].validate((valid) => {
+ if (valid) {
+ this.isSubmit = true;
+ var json = this.json;
+ json.hqFlag = '0';
+ json.commentText = this.commentText6;
+ json.user7 = this.form.user7;
+ json.user7Name = this.form.user7Name;
+ this.$http.post("lawss/activiti/completeTask", {
+ json: JSON.stringify(json),
+ taskId: this.taskIds,
+ userId: this.$store.getters.userInfo.userId
+ }, {}, res => {
+ if (res.success) {
+ this.$message.success("提交成功");
+ this.$router.push("/processCenter");
+ }
+ this.isSubmit = false;
+ });
+ } else {
+ this.$message.warning('请选择审批领导')
}
- this.isSubmit = false;
- });
+ })
},
handleSubmitNo() {
- if (this.commentText) {
+ if (this.commentText6) {
this.isSubmit = true;
var json = this.json;
json.hqFlag = '1';
- json.commentText = this.commentText;
+ json.commentText = this.commentText6;
this.$http.post("lawss/activiti/completeTask", {
json: JSON.stringify(json),
taskIds: this.taskIds,
@@ -455,21 +462,24 @@
} else {
this.form.fjListId = data.form.fjListId || data.fjListId
}
+ this.commentText6 = data.commentText6 || ''
this.form.cid = data.cid || data.form.cid;
this.form.endTime = data.endTime || data.form.endTime;
this.form.cname = data.cname || data.form.cname;
- this.oldData = JSON.parse(JSON.stringify(data.info))
- var arr = []
- data.info.forEach(item => {
+ let newArr = data.info ? data.info : data.form.data
+ this.oldData = JSON.parse(JSON.stringify(newArr))
+ let arr = []
+ newArr.forEach(item => {
if (item.state != '3') {
arr.push(item)
}
})
this.json = data
+ this.data2 = newArr
+ this.data = arr
this.form.textType = data.textType || data.form.textType
this.form.modelList = data.modelList || data.form.modelList
this.form.modelNameList = data.modelNameList || data.form.modelNameList
- this.data = arr
}).catch(e => {
});
});
diff --git a/src/pages/processCenter/pages/phone/bzzqyj/step7.vue b/src/pages/processCenter/pages/phone/bzzqyj/step7.vue
index 6a2b6643d..f8cc50e08 100644
--- a/src/pages/processCenter/pages/phone/bzzqyj/step7.vue
+++ b/src/pages/processCenter/pages/phone/bzzqyj/step7.vue
@@ -148,7 +148,7 @@
-
+
@@ -200,7 +200,7 @@
histortData: [],
oldData: [],
data: [],
- commentText: "",
+ commentText7: "",
oldText: "",
newText: "",
reason: "",
@@ -358,44 +358,42 @@
handleTabs(name) {
this.active = name;
},
- handleSave() {
- },
handleSubmit() {
- this.isSubmit = true;
- var json = this.json;
- json.hqFlag = '0';
- json.commentText = this.commentText;
- this.$http.post("lawss/activiti/completeTask", {
- json: JSON.stringify(json),
- taskId: this.taskIds,
- userId: this.$store.getters.userInfo.userId
- }, {}, res => {
- if (res.success) {
- this.$message.success("提交成功");
- this.$router.push("/processCenter");
- }
- this.isSubmit = false;
- });
+ this.isSubmit = true
+ var json = this.json
+ json.bdFlag = '0'
+ json.commentText = this.commentText7
+ this.$http.post('lawss/activiti/completeTask', {
+ json: JSON.stringify(json),
+ taskId: this.taskIds,
+ userId: this.$store.getters.userInfo.userId
+ }, {}, res => {
+ if (res.success) {
+ this.$message.success('提交成功')
+ this.$router.push('/processCenter')
+ }
+ this.isSubmit = false
+ })
},
handleSubmitNo() {
- if (this.commentText) {
- this.isSubmit = true;
- var json = this.json;
- json.hqFlag = '1';
- json.commentText = this.commentText;
- this.$http.post("lawss/activiti/completeTask", {
+ if (this.commentText7) {
+ this.isSubmit = true
+ var json = this.json
+ json.bdFlag = '1'
+ json.commentText = this.commentText7
+ this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskIds: this.taskIds,
userId: this.$store.getters.userInfo.userId
}, {}, res => {
if (res.success) {
- this.$message.success("驳回成功");
- this.$router.push("/processCenter");
+ this.$message.success('驳回成功')
+ this.$router.push('/processCenter')
}
- this.isSubmit = false;
- });
+ this.isSubmit = false
+ })
} else {
- this.$message.warning("请输入反馈意见");
+ this.$message.warning('请输入反馈意见')
}
},
getData() {
@@ -411,6 +409,7 @@
} else {
this.form.fjListId = data.form.fjListId || data.fjListId
}
+ this.commentText7 = data.commentText7 || ''
this.form.cid = data.cid || data.form.cid;
this.form.endTime = data.endTime || data.form.endTime;
this.form.cname = data.cname || data.form.cname;
diff --git a/src/pages/processCenter/pages/phone/bzzqyj/step8.vue b/src/pages/processCenter/pages/phone/bzzqyj/step8.vue
index 40fd42ee2..ba7bc47eb 100644
--- a/src/pages/processCenter/pages/phone/bzzqyj/step8.vue
+++ b/src/pages/processCenter/pages/phone/bzzqyj/step8.vue
@@ -148,7 +148,7 @@
-
+
@@ -200,7 +200,7 @@
histortData: [],
oldData: [],
data: [],
- commentText: "",
+ commentText8: "",
oldText: "",
newText: "",
reason: "",
@@ -361,41 +361,41 @@
handleSave() {
},
handleSubmit() {
- this.isSubmit = true;
- var json = this.json;
- json.hqFlag = '0';
- json.commentText = this.commentText;
- this.$http.post("lawss/activiti/completeTask", {
- json: JSON.stringify(json),
- taskId: this.taskIds,
- userId: this.$store.getters.userInfo.userId
- }, {}, res => {
- if (res.success) {
- this.$message.success("提交成功");
- this.$router.push("/processCenter");
- }
- this.isSubmit = false;
- });
+ this.isSubmit = true
+ var json = this.json
+ json.directorFlag = '0'
+ json.commentText = this.commentText8
+ this.$http.post('lawss/activiti/completeTask', {
+ json: JSON.stringify(json),
+ taskId: this.taskIds,
+ userId: this.$store.getters.userInfo.userId
+ }, {}, res => {
+ if (res.success) {
+ this.$message.success('提交成功')
+ this.$router.push('/processCenter')
+ }
+ this.isSubmit = false
+ })
},
handleSubmitNo() {
- if (this.commentText) {
- this.isSubmit = true;
- var json = this.json;
- json.hqFlag = '1';
- json.commentText = this.commentText;
- this.$http.post("lawss/activiti/completeTask", {
+ if (this.commentText8) {
+ this.isSubmit = true
+ var json = this.json
+ json.directorFlag = '1'
+ json.commentText = this.commentText8
+ this.$http.post('lawss/activiti/completeTask', {
json: JSON.stringify(json),
taskIds: this.taskIds,
userId: this.$store.getters.userInfo.userId
}, {}, res => {
if (res.success) {
- this.$message.success("驳回成功");
- this.$router.push("/processCenter");
+ this.$message.success('驳回成功')
+ this.$router.push('/processCenter')
}
- this.isSubmit = false;
- });
+ this.isSubmit = false
+ })
} else {
- this.$message.warning("请输入反馈意见");
+ this.$message.warning('请输入反馈意见')
}
},
getData() {
@@ -416,6 +416,7 @@
this.form.cname = data.cname || data.form.cname;
this.oldData = JSON.parse(JSON.stringify(data.info))
var arr = []
+ this.commentText8 = data.commentText8 || ''
data.info.forEach(item => {
if (item.state != '3') {
arr.push(item)
diff --git a/src/pages/processCenter/pages/phone/bzzqyj/step9.vue b/src/pages/processCenter/pages/phone/bzzqyj/step9.vue
index fa042f0e9..a3e94b522 100644
--- a/src/pages/processCenter/pages/phone/bzzqyj/step9.vue
+++ b/src/pages/processCenter/pages/phone/bzzqyj/step9.vue
@@ -148,7 +148,7 @@
-
+
@@ -200,7 +200,7 @@
histortData: [],
oldData: [],
data: [],
- commentText: "",
+ commentText9: "",
oldText: "",
newText: "",
reason: "",
@@ -373,31 +373,29 @@
handleTabs(name) {
this.active = name;
},
- handleSave() {
- },
handleSubmit() {
- this.isSubmit = true;
- var json = this.json;
- json.hqFlag = '0';
- json.commentText = this.commentText;
- this.$http.post("lawss/activiti/completeTask", {
- json: JSON.stringify(json),
- taskId: this.taskIds,
- userId: this.$store.getters.userInfo.userId
- }, {}, res => {
- if (res.success) {
- this.$message.success("提交成功");
- this.$router.push("/processCenter");
- }
- this.isSubmit = false;
- });
+ this.isSubmit = true;
+ var json = this.json;
+ json.presidentFlag = '0';
+ json.commentText = this.commentText9;
+ this.$http.post("lawss/activiti/completeTask", {
+ json: JSON.stringify(json),
+ taskId: this.taskIds,
+ userId: this.$store.getters.userInfo.userId
+ }, {}, res => {
+ if (res.success) {
+ this.$message.success("提交成功");
+ this.$router.push("/processCenter");
+ }
+ this.isSubmit = false;
+ });
},
handleSubmitNo() {
- if (this.commentText) {
+ if (this.commentText9) {
this.isSubmit = true;
var json = this.json;
- json.hqFlag = '1';
- json.commentText = this.commentText;
+ json.presidentFlag = '1';
+ json.commentText = this.commentText9;
this.$http.post("lawss/activiti/completeTask", {
json: JSON.stringify(json),
taskIds: this.taskIds,
@@ -426,6 +424,7 @@
} else {
this.form.fjListId = data.form.fjListId || data.fjListId
}
+ this.commentText9 = data.commentText9 || ''
this.form.cid = data.cid || data.form.cid;
this.form.endTime = data.endTime || data.form.endTime;
this.form.cname = data.cname || data.form.cname;
diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/standInvolveProjectDetail.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/standInvolveProjectDetail.vue
index 68cc08b59..26cec42cd 100644
--- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/standInvolveProjectDetail.vue
+++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/standInvolveProjectDetail.vue
@@ -204,6 +204,7 @@
@pageSizeChange="pageProStateSizeChange">
+ 数据处理中
@@ -213,6 +214,7 @@ export default {
name: "standInvolveProjectDetail",
data() {
return {
+ loading2: false,
sarProject: {
standName: "", // 标准政策名称
standNumber: "", // 标准/政策号
@@ -310,7 +312,8 @@ export default {
form.current = this.sarProStateTotalPage;
form.size = this.sarProStatePageSize;
this.$http.get("sarStandardComplianceAssessResult/productNew", form, {
- _this: this
+ _this: this,
+ loading: 'loading2'
}, res => {
if (res.ok) {
// res.data.records.forEach((item)=>{
diff --git a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/technologyInvolveProject.vue b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/technologyInvolveProject.vue
index 3df4d87dd..5f6d59b5e 100644
--- a/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/technologyInvolveProject.vue
+++ b/src/pages/regulatoryRepository/localProductsOrProjectLibrary/pages/technologyInvolveProject.vue
@@ -239,6 +239,7 @@
@pageSizeChange="pageProStateSizeChange">
+ 数据处理中
@@ -260,6 +261,7 @@
name: "technologyInvolveProject",
data () {
return {
+ loading2: false,
itemType: false,
interpretationTime: '',
riskDegreeModal: false,
@@ -413,7 +415,7 @@
form.interpretationTime = this.interpretationTime
this.$http.get('sarStandardComplianceAssessResult/interpretation', form, {
_this: this,
- loading: 'loading'
+ loading: 'loading2'
}, res => {
if (res.ok) {
this.sarProStateListDatas = res.data.records