企标废止修改

This commit is contained in:
宋伟佳
2021-12-06 17:54:15 +08:00
parent cb7b584fd1
commit 820701b7ff
6 changed files with 134 additions and 108 deletions
@@ -42,7 +42,7 @@
readonly
></el-input>
</el-form-item>
<el-form-item v-show="standShow" label="英文名称" prop="enName" class="add-form-item form-item-disabled">
<el-form-item label="英文名称" prop="enName" class="add-form-item form-item-disabled">
<el-input
readonly
v-model="standardSearch.enName"
@@ -50,7 +50,7 @@
clearable
></el-input>
</el-form-item>
<el-form-item v-show="standShow" label="企标类别" prop="entCategory" class="add-form-item form-item-disabled">
<el-form-item label="企标类别" prop="entCategory" class="add-form-item form-item-disabled">
<el-input
readonly
v-model="standardSearch.entCategory"
@@ -58,7 +58,7 @@
clearable
></el-input>
</el-form-item>
<el-form-item v-show="standShow" label="代替企标编号" prop="replaceNumber" class="add-form-item form-item-disabled">
<el-form-item label="代替企标编号" prop="replaceNumber" class="add-form-item form-item-disabled">
<el-input
readonly
v-model="standardSearch.replaceNumber"
@@ -66,7 +66,7 @@
clearable
></el-input>
</el-form-item>
<el-form-item v-show="standShow" label="被代替企标编号" prop="replacedNumber" class="add-form-item form-item-disabled">
<el-form-item label="被代替企标编号" prop="replacedNumber" class="add-form-item form-item-disabled">
<el-input
readonly
v-model="standardSearch.replacedNumber"
@@ -74,7 +74,7 @@
clearable
></el-input>
</el-form-item>
<el-form-item v-show="standShow" label="发布日期" prop="releaseDate" class="add-form-item form-item-disabled">
<el-form-item label="发布日期" prop="releaseDate" class="add-form-item form-item-disabled">
<el-input
readonly
v-model="standardSearch.releaseDate"
@@ -82,7 +82,7 @@
clearable
></el-input>
</el-form-item>
<el-form-item v-show="standShow" label="实施日期" prop="implementDate" class="add-form-item form-item-disabled">
<el-form-item label="实施日期" prop="implementDate" class="add-form-item form-item-disabled">
<el-input
readonly
v-model="standardSearch.implementDate"
@@ -209,16 +209,16 @@
<div style="position: absolute;bottom: 48px;top:60px;left: 0;right: 0">
<div style="position: absolute;bottom: 55px;top: 0;right: 0;left: 0">
<div class="left">
<el-form :modal="standardSearch" :inline="true" class="label-input-form" style="margin-left:10px">
<el-form :modal="standardSearchs" :inline="true" class="label-input-form" style="margin-left:10px">
<el-form-item label="标准号" class="search-item search-item-last">
<el-input
v-model="standardSearch.standCode"
v-model="standardSearchs.standCode"
placeholder="根据标准号查找"
></el-input>
</el-form-item>
<el-form-item label="标准名称" class="search-item search-item-last">
<el-input
v-model="standardSearch.standName"
v-model="standardSearchs.standName"
placeholder="根据标准名称查找"
></el-input>
</el-form-item>
@@ -408,7 +408,6 @@ export default {
modalshowflag: false,
modalshowflag2: false,
nodeList2: [],
standShow: false,
standardSearch: {
standCode: "",
standName: "",
@@ -421,6 +420,10 @@ export default {
reviewDate: '',
abolishCause:'',
},
standardSearchs:{
standCode: "",
standName: "",
},
roleForm: {
prcCreateUserName: this.$store.getters.userInfo.userName,
prcCreateUser: this.$store.getters.userInfo.userId,
@@ -436,8 +439,17 @@ export default {
//必填人员校验规则
roleFormRules: {
dockUserName: [
{required: true, message: "请选择工作组组长", trigger: "change"}
{required: true, message: "请选择标准法规部部长", trigger: "change"}
],
countersignerName: [
{required: true, message: '请选择会签人员', trigger: 'change'}
],
examineName: [
{required: true, message: '请选择审定责任人', trigger: 'change'}
],
approverName: [
{required: true, message: '请选择批准负责人', trigger: 'change'}
]
},
formRules: {
standCode: [
@@ -465,7 +477,6 @@ export default {
let mes = JSON.parse(res.mes)
this.roleForm = mes.roleForm
this.standardSearch = mes.qbfsForm
this.standShow = true
this.commentText = mes.commentText
});
},
@@ -502,8 +513,8 @@ export default {
},
getStandDataBtns(){
this.$http.get('lawss/sarBussionessStand/getSarBussionStandPage',{
standCode: this.standardSearch.standCode,
standName: this.standardSearch.standName,
standCode: this.standardSearchs.standCode,
standName: this.standardSearchs.standName,
page: 1,
pageSize: this.pageSize,
}, {
@@ -517,8 +528,8 @@ export default {
//企业标准查询
getStandDataBtn(){
this.$http.get('lawss/sarBussionessStand/getSarBussionStandPage',{
standCode: this.standardSearch.standCode,
standName: this.standardSearch.standName,
standCode: this.standardSearchs.standCode,
standName: this.standardSearchs.standName,
page: this.page,
pageSize: this.pageSize,
}, {
@@ -532,7 +543,7 @@ export default {
//企业标准清空
clearSearch(){
this.page = 1
this.standardSearch = {
this.standardSearchs = {
standCode: '',
standName: ''
}
@@ -555,7 +566,6 @@ export default {
this.standardSearch.implementDate = this.selectList[0].putTime || '--'
this.standardSearch.reviewDate = '--' //复审日期字段未确定
this.fileList = this.selectList[0].standFileList
this.standShow = true
this.ListModel = false
}
},
@@ -100,7 +100,7 @@
</div>
<div>
<el-collapse accordion>
<el-collapse-item title="回执说明">
<el-collapse-item title="审批意见">
<div style="margin: 10px 0;">
<el-input
type="textarea"
@@ -309,24 +309,28 @@ export default {
},
//流程驳回
beforeBack(){
this.isSubmit = true
this.qbfsForm.passFlag = '1'
this.qbfsForm.commentText = this.commentText
let json = JSON.stringify(this.qbfsForm);
this.$http.post('lawss/activiti/completeTask', {
taskIds: this.$route.query.taskIds,
userId: this.$store.getters.userInfo.userId,
json: json,
}, {
_this: this
}, res => {
if (res.success) {
this.$message.success(res.message)
this.$router.push('/processCenter')
}
this.isSubmit = false
}, e => {
});
if(!this.commentText){
this.$message.warning('请填写审批意见')
}else{
this.isSubmit = true
this.qbfsForm.passFlag = '1'
this.qbfsForm.commentText = this.commentText
let json = JSON.stringify(this.qbfsForm);
this.$http.post('lawss/activiti/completeTask', {
taskIds: this.$route.query.taskIds,
userId: this.$store.getters.userInfo.userId,
json: json,
}, {
_this: this
}, res => {
if (res.success) {
this.$message.success(res.message)
this.$router.push('/processCenter')
}
this.isSubmit = false
}, e => {
});
}
},
//流程提交
handleSubmit(){
@@ -116,7 +116,7 @@
@click="foldForm">{{ foldFormFlag ? "隐藏基础信息" : "展开基础信息" }}
</el-button>
<process-title>
<template slot="title">审核信息</template>
<template slot="title">会签信息</template>
</process-title>
<el-table
:data="dataList"
@@ -133,12 +133,12 @@
<el-table-column
prop="opinion"
align="center"
label="审核意见">
label="会签意见">
</el-table-column>
<el-table-column
prop="people"
align="center"
label="审核人">
label="会签人">
</el-table-column>
</el-table>
</div>
@@ -116,7 +116,7 @@
@click="foldForm">{{ foldFormFlag ? "隐藏基础信息" : "展开基础信息" }}
</el-button>
<process-title>
<template slot="title">审核信息</template>
<template slot="title">会签信息</template>
</process-title>
<el-table
:data="dataList"
@@ -133,18 +133,18 @@
<el-table-column
prop="opinion"
align="center"
label="审核意见">
label="会签意见">
</el-table-column>
<el-table-column
prop="people"
align="center"
label="审核人">
label="会签人">
</el-table-column>
</el-table>
</div>
<div>
<el-collapse accordion>
<el-collapse-item title="回执说明">
<el-collapse-item title="审批意见">
<div style="margin: 10px 0;">
<el-input
type="textarea"
@@ -358,25 +358,29 @@ export default {
},
//流程驳回
beforeBack(){
this.isSubmit = true;
this.qbfsForm.commentText = this.commentText;
this.qbfsForm.bzFlag = '1'
this.qbfsForm.dataList = this.dataList;
let json = JSON.stringify(this.qbfsForm);
this.$http.post("lawss/activiti/completeTask", {
taskIds: this.$route.query.taskIds,
userId: this.$store.getters.userInfo.userId,
json: json
}, {
_this: this
}, res => {
if (res.success) {
this.$message.success(res.message);
this.$router.push("/processCenter");
}
this.isSubmit = false;
}, e => {
});
if(!this.commentText){
this.$message.warning('请填写审批意见')
}else{
this.isSubmit = true;
this.qbfsForm.commentText = this.commentText;
this.qbfsForm.bzFlag = '1'
this.qbfsForm.dataList = this.dataList;
let json = JSON.stringify(this.qbfsForm);
this.$http.post("lawss/activiti/completeTask", {
taskIds: this.$route.query.taskIds,
userId: this.$store.getters.userInfo.userId,
json: json
}, {
_this: this
}, res => {
if (res.success) {
this.$message.success(res.message);
this.$router.push("/processCenter");
}
this.isSubmit = false;
}, e => {
});
}
},
//流程提交
handleSubmit() {
@@ -116,7 +116,7 @@
@click="foldForm">{{ foldFormFlag ? "隐藏基础信息" : "展开基础信息" }}
</el-button>
<process-title>
<template slot="title">审核信息</template>
<template slot="title">会签信息</template>
</process-title>
<el-table
:data="dataList"
@@ -133,18 +133,18 @@
<el-table-column
prop="opinion"
align="center"
label="审核意见">
label="会签意见">
</el-table-column>
<el-table-column
prop="people"
align="center"
label="审核人">
label="会签人">
</el-table-column>
</el-table>
</div>
<div>
<el-collapse accordion>
<el-collapse-item title="回执说明">
<el-collapse-item title="审批意见">
<div style="margin: 10px 0;">
<el-input
type="textarea"
@@ -358,25 +358,29 @@ export default {
},
//流程驳回
beforeBack(){
this.isSubmit = true;
this.qbfsForm.commentText = this.commentText;
this.qbfsForm.sdFlag = '1'
this.qbfsForm.dataList = this.dataList;
let json = JSON.stringify(this.qbfsForm);
this.$http.post("lawss/activiti/completeTask", {
taskIds: this.$route.query.taskIds,
userId: this.$store.getters.userInfo.userId,
json: json
}, {
_this: this
}, res => {
if (res.success) {
this.$message.success(res.message);
this.$router.push("/processCenter");
}
this.isSubmit = false;
}, e => {
});
if(!this.commentText){
this.$message.warning('请填写审批意见')
}else{
this.isSubmit = true;
this.qbfsForm.commentText = this.commentText;
this.qbfsForm.sdFlag = '1'
this.qbfsForm.dataList = this.dataList;
let json = JSON.stringify(this.qbfsForm);
this.$http.post("lawss/activiti/completeTask", {
taskIds: this.$route.query.taskIds,
userId: this.$store.getters.userInfo.userId,
json: json
}, {
_this: this
}, res => {
if (res.success) {
this.$message.success(res.message);
this.$router.push("/processCenter");
}
this.isSubmit = false;
}, e => {
});
}
},
//流程提交
handleSubmit() {
@@ -116,7 +116,7 @@
@click="foldForm">{{ foldFormFlag ? "隐藏基础信息" : "展开基础信息" }}
</el-button>
<process-title>
<template slot="title">审核信息</template>
<template slot="title">会签信息</template>
</process-title>
<el-table
:data="dataList"
@@ -133,12 +133,12 @@
<el-table-column
prop="opinion"
align="center"
label="审核意见">
label="会签意见">
</el-table-column>
<el-table-column
prop="people"
align="center"
label="审核人">
label="会签人">
</el-table-column>
</el-table>
</div>
@@ -358,25 +358,29 @@ export default {
},
//流程驳回
beforeBack(){
this.isSubmit = true;
this.qbfsForm.commentText = this.commentText;
this.qbfsForm.bafzFlag = '1'
this.qbfsForm.dataList = this.dataList;
let json = JSON.stringify(this.qbfsForm);
this.$http.post("lawss/activiti/completeTask", {
taskIds: this.$route.query.taskIds,
userId: this.$store.getters.userInfo.userId,
json: json
}, {
_this: this
}, res => {
if (res.success) {
this.$message.success(res.message);
this.$router.push("/processCenter");
}
this.isSubmit = false;
}, e => {
});
if(!this.commentText){
this.$message.warning('请填写审批意见')
}else{
this.isSubmit = true;
this.qbfsForm.commentText = this.commentText;
this.qbfsForm.bafzFlag = '1'
this.qbfsForm.dataList = this.dataList;
let json = JSON.stringify(this.qbfsForm);
this.$http.post("lawss/activiti/completeTask", {
taskIds: this.$route.query.taskIds,
userId: this.$store.getters.userInfo.userId,
json: json
}, {
_this: this
}, res => {
if (res.success) {
this.$message.success(res.message);
this.$router.push("/processCenter");
}
this.isSubmit = false;
}, e => {
});
}
},
//流程提交
handleSubmit() {