Merge remote-tracking branch 'origin/develop' into develop

This commit is contained in:
zhaokaiyao@91isoft.com
2021-12-06 18:04:25 +08:00
19 changed files with 198 additions and 136 deletions
@@ -3713,7 +3713,7 @@ export default {
& > p {
min-height: 42px;
line-height: 43px;
border-bottom: 1px solid #E5E5E5;
/*border-bottom: 1px solid #E5E5E5;*/
}
}
}
@@ -106,6 +106,7 @@
<el-col :span="8">
<el-form-item class="add-form-item" label="单位:">
<el-input
readonly
style="width: 100%"
placeholder="请填写"
v-model="rh_pageData.fillUnit"
@@ -115,6 +116,7 @@
<el-col :span="8">
<el-form-item class="add-form-item" label="部门:">
<el-input
readonly
style="width: 100%"
placeholder="请填写部门"
v-model="rh_pageData.fillDept"
@@ -409,6 +411,9 @@ export default {
getFormFieldList(item) {
this.$nextTick(() => {
this.rh_pageData = JSON.parse(JSON.stringify(item)).rh_pageData
this.rh_pageData.fillDept = this.$store.getters.userInfo.institutionName
this.rh_pageData.fillUnit = this.$store.getters.userInfo.upDeptName
this.rh_pageData.fillTel = this.$store.getters.userInfo.phone
this.rh_pageData.fillPeople = this.$store.getters.userInfo.userName
if (this.rh_pageData.fillFile !== undefined) {
this.fillFileList = this.rh_pageData.fillFile
@@ -105,6 +105,7 @@
<el-col :span="8">
<el-form-item class="add-form-item" label="单位:">
<el-input
readonly
style="width: 100%"
placeholder="请填写"
v-model="ch_pageData.fillUnit"
@@ -114,6 +115,7 @@
<el-col :span="8">
<el-form-item class="add-form-item" label="部门:">
<el-input
readonly
style="width: 100%"
placeholder="请填写部门"
v-model="ch_pageData.fillDept"
@@ -350,6 +352,9 @@ export default {
this.$nextTick(() => {
this.ch_pageData = JSON.parse(JSON.stringify(item)).ch_pageData
this.uploadFileLength = this.ch_pageData.fileTextList.length
this.rh_pageData.fillDept = this.$store.getters.userInfo.institutionName
this.rh_pageData.fillUnit = this.$store.getters.userInfo.upDeptName
this.rh_pageData.fillTel = this.$store.getters.userInfo.phone
this.ch_pageData.fillPeopleId = this.$store.getters.userInfo.userId
this.ch_pageData.fillPeople = this.$store.getters.userInfo.userName
this.roleForm = JSON.parse(JSON.stringify(item)).roleList
@@ -110,7 +110,7 @@
<el-form-item label="附件" prop="fileName" class="add-form-item form-item-disabled">
<div class="file-box" v-if="fileList.length > 0">
<p v-for="item in fileList"
:key="item.id"> {{ item.name }}
:key="item.id"> {{ item.oldFileName }}
<i
title="下载"
@click="downloadFile(item.id)"
@@ -361,6 +361,7 @@ export default {
getFormFieldList(item) {
this.$nextTick(() => {
this.qbfsForm = JSON.parse(JSON.stringify(item));
this.fileList = item.fileList
let res = item.res ? item.res.substring(1, item.res.lastIndexOf("]")) : "";
res = res.split(",");
this.dataList = [];
@@ -101,7 +101,7 @@
<el-form-item label="附件" prop="fileName" class="add-form-item form-item-disabled">
<div class="file-box" v-if="fileList.length > 0">
<p v-for="item in fileList"
:key="item.id"> {{ item.name }}
:key="item.id"> {{ item.oldFileName }}
<i
title="下载"
@click="downloadFile(item.id)"
@@ -506,6 +506,16 @@ export default {
}else if(this.selectList.length < 1){
this.$message.warning('请至少选择一条数据进行带入')
}else{
this.$http.get('lawss/sarBussionessStand/getStandInfoUpdateById',{id: this.selectList[0].id},{
_this: this
}, res => {
let fileIds = res.data.attrInfoCaseMap.fbgbuss
this.$http.get('att/attFile/getMultiFileInfos',{fileIds: fileIds}, {
_this: this
}, res => {
this.fileList = res.data
})
})
this.qbfsForm.entNumber = this.selectList[0].standCode || '--'
this.qbfsForm.cnName = this.selectList[0].standName || '--'
this.qbfsForm.enName = this.selectList[0].standEnName || '--'
@@ -515,7 +525,6 @@ export default {
this.qbfsForm.releaseDate = this.selectList[0].issueTime || '--'
this.qbfsForm.implementDate = this.selectList[0].putTime || '--'
this.qbfsForm.reviewDate = '--' //复审日期字段未确定
this.fileList = this.selectList[0].standFileList
this.ListModel = false
}
},
@@ -525,7 +534,6 @@ export default {
},
//企业标准选中项改变
selectListChange(data){
console.log(data);
this.selectList = data
},
// 点击查看
@@ -568,6 +576,7 @@ export default {
this.$refs['roleForm'].validate((valid) => {
if (valid) {
this.isSubmit = true
this.qbfsForm.fileList = this.fileList
this.qbfsForm.commentText = this.commentText
var json = Object.assign(this.qbfsForm, this.roleForm)
this.$http.get('lawss/activiti/startProcess', {type: '23'}, {
@@ -97,7 +97,7 @@
<el-form-item label="附件" prop="fileName" class="add-form-item form-item-disabled">
<div class="file-box" v-if="fileList.length > 0">
<p v-for="item in fileList"
:key="item.id"> {{ item.name }}
:key="item.id"> {{ item.oldFileName }}
<i
title="下载"
@click="downloadFile(item.id)"
@@ -329,6 +329,7 @@ export default {
getFormFieldList (item) {
this.$nextTick(() => {
this.qbfsForm = JSON.parse(JSON.stringify(item))
this.fileList = item.fileList
})
},
handleTabs(name) {
@@ -406,18 +407,21 @@ export default {
this.modalshowflag = true;
},
checkedRole(data) {
var idList = "";
var nameList = "";
let idList = "";
let nameList = "";
data.forEach(item => {
if (nameList.length > 0) {
if (nameList.length) {
nameList += ",";
idList += ",";
}
idList += item.id;
nameList += item.name;
});
this.qbfsForm.jgUserId = idList;
this.qbfsForm.jgUser = nameList;
this.$set(this.qbfsForm, 'jgUser', nameList)
this.$set(this.qbfsForm, 'jgUserId', idList)
if(this.qbfsForm.jgUser){
this.$refs.qbfsForm.validateField('jgUser')
}
},
/**
* @Description: 点击下载
@@ -97,7 +97,7 @@
<el-form-item label="附件" prop="fileName" class="add-form-item form-item-disabled">
<div class="file-box" v-if="fileList.length > 0">
<p v-for="item in fileList"
:key="item.id"> {{ item.name }}
:key="item.id"> {{ item.oldFileName }}
<i
title="下载"
@click="downloadFile(item.id)"
@@ -335,6 +335,7 @@ export default {
getFormFieldList (item) {
this.$nextTick(() => {
this.qbfsForm = JSON.parse(JSON.stringify(item))
this.fileList = item.fileList
})
},
//流程提交
@@ -107,10 +107,10 @@
clearable
></el-input>
</el-form-item>
<el-form-item label="附件" prop="fileName" class="add-form-item form-item-disabled">
<el-form-item label="附件" prop="fileName" class="add-form-item form-item-disabled">
<div class="file-box" v-if="fileList.length > 0">
<p v-for="item in fileList"
:key="item.id"> {{ item.name }}
:key="item.id"> {{ item.oldFileName }}
<i
title="下载"
@click="downloadFile(item.id)"
@@ -372,6 +372,7 @@ export default {
getFormFieldList(item) {
this.$nextTick(() => {
this.qbfsForm = JSON.parse(JSON.stringify(item));
this.fileList = item.fileList
let res = item.res ? item.res.substring(1, item.res.lastIndexOf("]")) : "";
res = res.split(",");
this.dataList = [];
@@ -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() {
@@ -107,7 +107,14 @@
<el-table-column prop="fillPost" align="center" label="身份"/>
<el-table-column prop="fillTel" align="center" label="电话"/>
<el-table-column prop="fillMail" align="center" label="邮箱"/>
<el-table-column prop="fillFile" align="center" label="资料"/>
<el-table-column prop="fillFile" align="center" label="资料">
<template slot-scope="scope">
<span v-if="scope.row.fillFile.length === 0">{{ '-' }}</span>
<span v-for="item in scope.row.fillFile" :key="item.id" style="color: #409EFF;" @click="previews(item.id)">
{{ item.name }} {{ ';' }}
</span>
</template>
</el-table-column>
</el-table>
</el-form-item>
</el-form>
@@ -111,7 +111,14 @@
<el-table-column prop="fillPost" align="center" label="身份"/>
<el-table-column prop="fillTel" align="center" label="电话"/>
<el-table-column prop="fillMail" align="center" label="邮箱"/>
<el-table-column prop="fillFile" align="center" label="资料"/>
<el-table-column prop="fillFile" align="center" label="资料">
<template slot-scope="scope">
<span v-if="scope.row.fillFile.length === 0">{{ '-' }}</span>
<span v-for="item in scope.row.fillFile" :key="item.id" style="color: #409EFF;" @click="previews(item.id)">
{{ item.name }} {{ ';' }}
</span>
</template>
</el-table-column>
</el-table>
</el-form-item>
</el-form>
@@ -272,7 +272,7 @@ export default {
this.toProcessDetail('bzchStep6-1',row)
} else if(prcType === '23'){
//企标复审
this.toProcessDetail('qbzxdjhgkStep1-5',row)
this.toProcessDetail('qbfsStep1-4',row)
}else if(prcType === '24'){
//企标废止
this.toProcessDetail('qbfzStep1-7',row)
@@ -50,7 +50,7 @@
</script>
<style lang="less" scoped>
#non-cnfomity {
height: 100%;
height: inherit;
display: flex;
flex-direction: column;
background-color: #FFFFFF;
@@ -1188,19 +1188,13 @@ export default {
color: #606266 !important;
}
#rectification-dataBase {
/deep/ .el-table__fixed {
height: 100% !important; //设置高优先,以覆盖内联样式
}
/deep/ .el-table__fixed-right {
height: 100% !important; //设置高优先,以覆盖内联样式
}
/deep/ .table-wrap {
.el-table__fixed {
height: calc(~'100% - 20px') !important;
}
}
height: 100%;
min-height: calc(100% - 100px);
overflow-y: auto;
display: flex;
flex-direction: column;
@@ -1210,6 +1204,7 @@ export default {
}
.container {
height: calc(~'100% - 30px');
flex: 1;
overflow: hidden;
display: flex;
@@ -1222,6 +1217,7 @@ export default {
.inner-wrap {
position: absolute;
height: calc(70vh - 60px);
top: 0;
left: 0;
width: 100%;
@@ -1231,7 +1227,7 @@ export default {
.footer {
/deep/ .pagination {
position: static;
position: absolute;
}
}
}