Merge branch 'develop' into FOTON
This commit is contained in:
@@ -65,7 +65,7 @@
|
|||||||
align="center"
|
align="center"
|
||||||
/>
|
/>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="committeeDeputy"
|
prop="committeeDeputyName"
|
||||||
label="副主任"
|
label="副主任"
|
||||||
align="center"
|
align="center"
|
||||||
/>
|
/>
|
||||||
@@ -111,15 +111,22 @@
|
|||||||
@click.native="choiceZRR('committeeDirector', '选择主任', addForm.committeeDirector)"
|
@click.native="choiceZRR('committeeDirector', '选择主任', addForm.committeeDirector)"
|
||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="副主任" prop="committeeDeputy" label-width="100px" class="add-form-item">
|
||||||
|
<el-input
|
||||||
|
v-model="addForm.committeeDeputyName"
|
||||||
|
placeholder="请选择副主任"
|
||||||
|
@click.native="choiceZRR('committeeDeputy', '选择副主任', addForm.committeeDeputy)"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item label="秘书长" prop="committeeSecretary" label-width="100px" class="add-form-item">
|
<el-form-item label="秘书长" prop="committeeSecretary" label-width="100px" class="add-form-item">
|
||||||
<el-input v-model="addForm.committeeSecretaryName"
|
<el-input v-model="addForm.committeeSecretaryName"
|
||||||
placeholder="请选择秘书长"
|
placeholder="请选择秘书长"
|
||||||
@click.native="choiceZRR('committeeSecretary', '选择秘书长', addForm.committeeSecretary)"
|
@click.native="choiceZRR('committeeSecretary', '选择秘书长', addForm.committeeSecretary)"
|
||||||
clearable></el-input>
|
clearable></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="委员" prop="committor" label-width="100px" class="add-form-item">
|
<el-form-item label="成员" prop="committor" label-width="100px" class="add-form-item">
|
||||||
<el-input v-model="addForm.committor"
|
<el-input v-model="addForm.committor"
|
||||||
placeholder="请选择委员"
|
placeholder="请选择成员"
|
||||||
@click.native="choiceZRRS"
|
@click.native="choiceZRRS"
|
||||||
clearable></el-input>
|
clearable></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
@@ -141,7 +148,7 @@
|
|||||||
></Role-tree>
|
></Role-tree>
|
||||||
<!-- 多选择人-->
|
<!-- 多选择人-->
|
||||||
<Role-tree
|
<Role-tree
|
||||||
is-title="选择委员"
|
is-title="选择成员"
|
||||||
:is-visible.sync="modalshowflag2"
|
:is-visible.sync="modalshowflag2"
|
||||||
@checkedRole="drawerCheck2"
|
@checkedRole="drawerCheck2"
|
||||||
:nodeList="nodeList2"
|
:nodeList="nodeList2"
|
||||||
@@ -171,6 +178,8 @@ export default {
|
|||||||
committeeName: "", //委员会名称
|
committeeName: "", //委员会名称
|
||||||
committeeDirector: "", //主任
|
committeeDirector: "", //主任
|
||||||
committeeDirectorName: "", //主任
|
committeeDirectorName: "", //主任
|
||||||
|
committeeDeputy: '', // 副主任
|
||||||
|
committeeDeputyName: '', // 副主任
|
||||||
committeeSecretary: "", //秘书长
|
committeeSecretary: "", //秘书长
|
||||||
committeeSecretaryName: "", //秘书长
|
committeeSecretaryName: "", //秘书长
|
||||||
committor: "", //委员
|
committor: "", //委员
|
||||||
@@ -187,7 +196,7 @@ export default {
|
|||||||
{ required: true, message: "请填写秘书长", trigger: "blur" }
|
{ required: true, message: "请填写秘书长", trigger: "blur" }
|
||||||
],
|
],
|
||||||
committor: [
|
committor: [
|
||||||
{ required: true, message: "请填写委员", trigger: "blur" }
|
{ required: true, message: "请填写成员", trigger: "blur" }
|
||||||
]
|
]
|
||||||
|
|
||||||
},
|
},
|
||||||
@@ -234,6 +243,8 @@ export default {
|
|||||||
committeeName: "", //委员会名称
|
committeeName: "", //委员会名称
|
||||||
committeeDirector: "", //主任
|
committeeDirector: "", //主任
|
||||||
committeeDirectorName: "", //主任
|
committeeDirectorName: "", //主任
|
||||||
|
committeeDeputy: '', // 副主任
|
||||||
|
committeeDeputyName: '', // 副主任
|
||||||
committeeSecretary: "", //秘书长
|
committeeSecretary: "", //秘书长
|
||||||
committeeSecretaryName: "", //秘书长
|
committeeSecretaryName: "", //秘书长
|
||||||
committor: "", //委员
|
committor: "", //委员
|
||||||
@@ -259,6 +270,8 @@ export default {
|
|||||||
this.addForm.committeeDirectorName = this.committeeChangeList[0].committeeDirectorName;
|
this.addForm.committeeDirectorName = this.committeeChangeList[0].committeeDirectorName;
|
||||||
this.addForm.committeeSecretary = this.committeeChangeList[0].committeeSecretary;
|
this.addForm.committeeSecretary = this.committeeChangeList[0].committeeSecretary;
|
||||||
this.addForm.committeeSecretaryName = this.committeeChangeList[0].committeeSecretaryName;
|
this.addForm.committeeSecretaryName = this.committeeChangeList[0].committeeSecretaryName;
|
||||||
|
this.addForm.committeeDeputy = this.committeeChangeList[0].committeeDeputy;
|
||||||
|
this.addForm.committeeDeputyName = this.committeeChangeList[0].committeeDeputyName;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
//批量删除
|
//批量删除
|
||||||
@@ -314,6 +327,8 @@ export default {
|
|||||||
committeeName: "", //委员会名称
|
committeeName: "", //委员会名称
|
||||||
committeeDirector: "", //主任
|
committeeDirector: "", //主任
|
||||||
committeeDirectorName: "", //主任
|
committeeDirectorName: "", //主任
|
||||||
|
committeeDeputy: '', // 副主任
|
||||||
|
committeeDeputyName: '', // 副主任
|
||||||
committeeSecretary: "", //秘书长
|
committeeSecretary: "", //秘书长
|
||||||
committeeSecretaryName: "", //秘书长
|
committeeSecretaryName: "", //秘书长
|
||||||
committor: "", //委员
|
committor: "", //委员
|
||||||
@@ -381,6 +396,10 @@ export default {
|
|||||||
} else if (this.type === "committeeSecretary") {
|
} else if (this.type === "committeeSecretary") {
|
||||||
this.addForm.committeeSecretary = data[0].id;
|
this.addForm.committeeSecretary = data[0].id;
|
||||||
this.addForm.committeeSecretaryName = data[0].name;
|
this.addForm.committeeSecretaryName = data[0].name;
|
||||||
|
}else if (this.type === "committeeDeputy") {
|
||||||
|
console.log('data = ', data)
|
||||||
|
this.addForm.committeeDeputy = data[0].id;
|
||||||
|
this.addForm.committeeDeputyName = data[0].name;
|
||||||
}
|
}
|
||||||
this.modalshowflag = false;
|
this.modalshowflag = false;
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -366,15 +366,13 @@
|
|||||||
title="下载"
|
title="下载"
|
||||||
@click="downloadFile(file.id)"
|
@click="downloadFile(file.id)"
|
||||||
class="icon-download"
|
class="icon-download"
|
||||||
v-btn-permission="QFTP ? '7f13a22a53f9f76f56f5193f9a04389d' : '9882f477aad895ec56a7464f3e9c0b11'"
|
v-btn-permission="QFTP ? '7f13a22a53f9f76f56f5193f9a04389d' : '9882f477aad895ec56a7464f3e9c0b11'"></i>
|
||||||
/>
|
|
||||||
<i
|
<i
|
||||||
title="下载带水印"
|
title="下载带水印"
|
||||||
v-show="file.fileSuffix === 'pdf' || file.fileSuffix === 'PDF'"
|
v-show="file.fileSuffix === 'pdf' || file.fileSuffix === 'PDF'"
|
||||||
@click="downloadFileByWater(file.id, file.fileSuffix)"
|
@click="downloadFileByWater(file.id, file.fileSuffix)"
|
||||||
class="icon-download2"
|
class="icon-download2"
|
||||||
v-btn-permission="QFTP ? '6dbbd2d6b808cc0f02b22c97e9d34c54' : '9bab2662fbd9d0507b39be813371a597'"
|
v-btn-permission="QFTP ? '6dbbd2d6b808cc0f02b22c97e9d34c54' : '9bab2662fbd9d0507b39be813371a597'"></i>
|
||||||
/>
|
|
||||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||||
</span>
|
</span>
|
||||||
<!-- 多个文件-->
|
<!-- 多个文件-->
|
||||||
@@ -387,14 +385,12 @@
|
|||||||
title="下载"
|
title="下载"
|
||||||
@click="downloadFile(file.id)"
|
@click="downloadFile(file.id)"
|
||||||
class="icon-download"
|
class="icon-download"
|
||||||
v-btn-permission="QFTP ? '7f13a22a53f9f76f56f5193f9a04389d' : '9882f477aad895ec56a7464f3e9c0b11'"
|
v-btn-permission="QFTP ? '7f13a22a53f9f76f56f5193f9a04389d' : '9882f477aad895ec56a7464f3e9c0b11'"></i>
|
||||||
/>
|
|
||||||
<i
|
<i
|
||||||
title="下载带水印"
|
title="下载带水印"
|
||||||
@click="downloadFileByWater(file.id, file.fileSuffix)"
|
@click="downloadFileByWater(file.id, file.fileSuffix)"
|
||||||
class="icon-download2"
|
class="icon-download2"
|
||||||
v-btn-permission="QFTP ? '6dbbd2d6b808cc0f02b22c97e9d34c54' : '9bab2662fbd9d0507b39be813371a597'"
|
v-btn-permission="QFTP ? '6dbbd2d6b808cc0f02b22c97e9d34c54' : '9bab2662fbd9d0507b39be813371a597'"></i>
|
||||||
/>
|
|
||||||
</span>
|
</span>
|
||||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||||
</div>
|
</div>
|
||||||
@@ -430,7 +426,7 @@
|
|||||||
v-for="(child, childIndex) in item.child"
|
v-for="(child, childIndex) in item.child"
|
||||||
v-if="child.isShowImp === '0'"
|
v-if="child.isShowImp === '0'"
|
||||||
>
|
>
|
||||||
<p class="half">
|
<p class="half" v-if="sarStandardsInfoEO.standSort && sarStandardsInfoEO.standSort.indexOf('QCBFC') !== -1 && child.attrField === 'BARQ'">
|
||||||
<label style=" margin-right: 150px;" :title="child.attrName">{{child.attrName}}</label>
|
<label style=" margin-right: 150px;" :title="child.attrName">{{child.attrName}}</label>
|
||||||
<span :title="child.value || '-'">
|
<span :title="child.value || '-'">
|
||||||
<template v-if="child.value">
|
<template v-if="child.value">
|
||||||
|
|||||||
@@ -557,7 +557,7 @@
|
|||||||
暂无数据
|
暂无数据
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="height: 100%" v-else-if="activeType === 'FOREIGN'">
|
<div style="height: 100%" v-else-if="activeType === 'INLAND'">
|
||||||
<el-tabs
|
<el-tabs
|
||||||
class="question-box"
|
class="question-box"
|
||||||
type="border-card"
|
type="border-card"
|
||||||
|
|||||||
@@ -1237,6 +1237,7 @@
|
|||||||
size="800px"
|
size="800px"
|
||||||
:visible.sync="standardDrawer"
|
:visible.sync="standardDrawer"
|
||||||
direction="rtl"
|
direction="rtl"
|
||||||
|
class="search-drawer"
|
||||||
:before-close="handleReviseDrawerClose">
|
:before-close="handleReviseDrawerClose">
|
||||||
<div class="standard-content">
|
<div class="standard-content">
|
||||||
<div class="content">
|
<div class="content">
|
||||||
@@ -3620,28 +3621,33 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.standard-content {
|
.search-drawer{
|
||||||
height: 100%;
|
.standard-content {
|
||||||
padding: 10px 0 0;
|
height: 92%;
|
||||||
|
padding: 10px 0 0;
|
||||||
.content {
|
|
||||||
height: 100%;
|
.content {
|
||||||
display: flex;
|
height: 100%;
|
||||||
flex-direction: column;
|
display: flex;
|
||||||
padding: 0 10px;
|
flex-direction: column;
|
||||||
|
padding: 0 10px;
|
||||||
.standard-table-wrap {
|
|
||||||
flex: auto;
|
.standard-table-wrap {
|
||||||
overflow-y: auto;
|
flex: auto;
|
||||||
}
|
overflow-y: auto;
|
||||||
|
}
|
||||||
.pagination {
|
|
||||||
position: static;
|
.pagination {
|
||||||
|
position: static;
|
||||||
/deep/ .pagination-slot {
|
|
||||||
padding: 0;
|
/deep/ .pagination-slot {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.demo-drawer-footer{
|
||||||
|
height: 8%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -2384,6 +2384,9 @@ export default {
|
|||||||
case 'glwj':
|
case 'glwj':
|
||||||
this.glwjFileList = fileList
|
this.glwjFileList = fileList
|
||||||
break;
|
break;
|
||||||
|
case 'zbjbd':
|
||||||
|
this.zbjbdFileList = fileList
|
||||||
|
break;
|
||||||
default :
|
default :
|
||||||
}
|
}
|
||||||
// console.log("caNmae",this.form.caName);
|
// console.log("caNmae",this.form.caName);
|
||||||
|
|||||||
@@ -82,7 +82,7 @@
|
|||||||
<!-- </el-form-item>-->
|
<!-- </el-form-item>-->
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item v-show="form.standStatus === '3'" class="add-form-item form-item-disabled" style="margin-left: -210px">
|
<el-form-item v-show="form.standStatus === '2' || form.standStatus === '3'" class="add-form-item form-item-disabled" style="margin-left: -210px">
|
||||||
<el-button
|
<el-button
|
||||||
type="primary"
|
type="primary"
|
||||||
:loading="loadSarStandard"
|
:loading="loadSarStandard"
|
||||||
@@ -1175,11 +1175,14 @@
|
|||||||
page: 1,
|
page: 1,
|
||||||
pageSize: this.$store.getters.userInfo.configContent,
|
pageSize: this.$store.getters.userInfo.configContent,
|
||||||
total: 0,
|
total: 0,
|
||||||
standType: 'INLAND',
|
standType: 'BUSINESS',
|
||||||
standSort: '',
|
standSort: '',
|
||||||
standName: '',
|
standName: '',
|
||||||
standEnName: '',
|
standEnName: '',
|
||||||
standNumber: ''
|
standNumber: '',
|
||||||
|
quoteIdList: '',
|
||||||
|
validFlag: '0',
|
||||||
|
menuId: 'nomenu',
|
||||||
},
|
},
|
||||||
tableData: {
|
tableData: {
|
||||||
// 标准表格数据
|
// 标准表格数据
|
||||||
@@ -1551,7 +1554,7 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
regDate(data){
|
regDate(data){
|
||||||
if(this.form.DTQBBHBUSS !== undefined && this.form.DTQBBHBUSS !== null && this.form.DTQBBHBUSS.indexOf(data) !== -1){
|
if(this.form.standCode !== undefined && this.form.standCode !== null && this.form.standCode.indexOf(data) !== -1){
|
||||||
data = data + ' X'
|
data = data + ' X'
|
||||||
}
|
}
|
||||||
return data
|
return data
|
||||||
@@ -1570,10 +1573,6 @@
|
|||||||
this.XGDFileList=[];
|
this.XGDFileList=[];
|
||||||
this.$refs['form'].resetFields()
|
this.$refs['form'].resetFields()
|
||||||
this.form.standStatus = '2'
|
this.form.standStatus = '2'
|
||||||
if((this.form.standStatus === '2') && (this.form.BDTQBBHBUSS === undefined || this.form.BDTQBBHBUSS === '')) {
|
|
||||||
this.$message.warning("请选择一条被代替企标编号")
|
|
||||||
return
|
|
||||||
}
|
|
||||||
}else if(this.form.standStatus === '3' ){
|
}else if(this.form.standStatus === '3' ){
|
||||||
if(type !== 'dr'){
|
if(type !== 'dr'){
|
||||||
this.FBGBUSSFileList=[];
|
this.FBGBUSSFileList=[];
|
||||||
@@ -1627,7 +1626,7 @@
|
|||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
}
|
}
|
||||||
this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1'}, {
|
this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1',standSort:this.form.standSort}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
const obj = res.data
|
const obj = res.data
|
||||||
@@ -2062,11 +2061,11 @@
|
|||||||
this.QTWJBUSSFileList=[]
|
this.QTWJBUSSFileList=[]
|
||||||
this.GLWJBUSSFileList=[]
|
this.GLWJBUSSFileList=[]
|
||||||
this.XGDFileList=[]
|
this.XGDFileList=[]
|
||||||
|
let standStatus = this.form.standStatus
|
||||||
const json = Object.assign(bringData, bringData.attrInfoMap);
|
const json = Object.assign(bringData, bringData.attrInfoMap);
|
||||||
this.form = JSON.parse(JSON.stringify(json))
|
this.form = JSON.parse(JSON.stringify(json))
|
||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form.standStatus = "3"
|
|
||||||
this.form.QCRBUSSID = ''
|
this.form.QCRBUSSID = ''
|
||||||
this.form.standNum =''
|
this.form.standNum =''
|
||||||
this.form.planId=''
|
this.form.planId=''
|
||||||
@@ -2089,7 +2088,21 @@
|
|||||||
this.XGDFileList=this.assemble(this.form.XGD,this.form.XGDName);
|
this.XGDFileList=this.assemble(this.form.XGD,this.form.XGDName);
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
this.verifySarStandard = true
|
this.verifySarStandard = true
|
||||||
this.getStandInfoByReviseStatus('dr')
|
if(standStatus && standStatus === '2'){
|
||||||
|
let date = new Date();
|
||||||
|
let year = date.getFullYear();
|
||||||
|
this.form.standStatus = "2"
|
||||||
|
this.form.standNum = this.form.standNumber
|
||||||
|
this.form.standSn = this.form.standNum
|
||||||
|
this.form.standNumber = this.form.standNum
|
||||||
|
this.form.standYear = this.regDate(year)
|
||||||
|
this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||||
|
this.getStandInfoByReviseStatus()
|
||||||
|
}else {
|
||||||
|
this.form.standStatus = "3"
|
||||||
|
this.getStandInfoByReviseStatus('dr')
|
||||||
|
}
|
||||||
|
console.log(this.form)
|
||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
}
|
}
|
||||||
// 遍历对象初始化文件信息
|
// 遍历对象初始化文件信息
|
||||||
@@ -2208,7 +2221,11 @@
|
|||||||
},
|
},
|
||||||
getDomesticStandardTable () {
|
getDomesticStandardTable () {
|
||||||
this.loadSarStandard = true
|
this.loadSarStandard = true
|
||||||
this.$http.get('lawss/sarBussionessStand/getSarBussionStandPage', this.standardSearchForm, {}, res => {
|
console.log(this.standardSearchForm)
|
||||||
|
this.$http.get('lawss/sarBussionessStand/getSarBussionStandPage', this.standardSearchForm, {
|
||||||
|
_this: this,
|
||||||
|
loading: 'replaceLoading'
|
||||||
|
}, res => {
|
||||||
this.loadSarStandard = false
|
this.loadSarStandard = false
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
this.tableData.standardData = res.data.list
|
this.tableData.standardData = res.data.list
|
||||||
@@ -2514,13 +2531,6 @@
|
|||||||
this.form.cbbh = this.form.cbbh ? this.form.cbbh + ',' +textArr.join(',') : textArr.join(',')
|
this.form.cbbh = this.form.cbbh ? this.form.cbbh + ',' +textArr.join(',') : textArr.join(',')
|
||||||
}else if(this.replaceLawType === 'BDTQBBHBUSS'){
|
}else if(this.replaceLawType === 'BDTQBBHBUSS'){
|
||||||
this.form.BDTQBBHBUSS = this.filterSetData(textArr.join(','))
|
this.form.BDTQBBHBUSS = this.filterSetData(textArr.join(','))
|
||||||
this.form.standNum = this.filterSetData(textArr2.join(','))
|
|
||||||
if(this.form.BDTQBBHBUSS !== undefined && this.form.BDTQBBHBUSS !== null){
|
|
||||||
this.form.standSn = this.form.standNum
|
|
||||||
this.form.standNumber = this.form.standNum
|
|
||||||
this.form.standYear = this.regDate(year)
|
|
||||||
this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
|
||||||
}
|
|
||||||
}else {
|
}else {
|
||||||
this.form.byybj = this.form.byybj ? this.form.byybj + ',' +textArr.join(',') : textArr.join(',')
|
this.form.byybj = this.form.byybj ? this.form.byybj + ',' +textArr.join(',') : textArr.join(',')
|
||||||
}
|
}
|
||||||
@@ -2927,12 +2937,8 @@
|
|||||||
// test
|
// test
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
this.saveLoading = false
|
this.saveLoading = false
|
||||||
if((this.form.standStatus === '2') && (this.form.BDTQBBHBUSS === undefined || this.form.BDTQBBHBUSS === '')) {
|
|
||||||
this.$message.warning("请选择一条被代替企标编号")
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
if((this.form.standStatus === '3') && (this.standardCheckedList === undefined ||this.standardCheckedList.length === 0)) {
|
if((this.form.standStatus === '3' || this.form.standStatus === '2') && (this.standardCheckedList === undefined ||this.standardCheckedList.length === 0)) {
|
||||||
this.$message.warning("请选择一条企标标准")
|
this.$message.warning("请选择一条企标标准")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1085,13 +1085,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'form.standSort': {
|
|
||||||
handler (val) {
|
|
||||||
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
|
||||||
this.getStandInfoByReviseStatus("")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
filterText(val) {
|
filterText(val) {
|
||||||
this.$refs.tree.filter(val);
|
this.$refs.tree.filter(val);
|
||||||
},
|
},
|
||||||
@@ -2459,6 +2452,8 @@
|
|||||||
this.form.commentText = this.formTongGuo.commentText
|
this.form.commentText = this.formTongGuo.commentText
|
||||||
this.form.approvalOpinion = this.formTongGuo.approvalOpinion
|
this.form.approvalOpinion = this.formTongGuo.approvalOpinion
|
||||||
this.form.topId = this.pId
|
this.form.topId = this.pId
|
||||||
|
this.form.reviseStatus = 'buss2_'+this.form.standStatus
|
||||||
|
this.form.textStatusBuss = '6jnqba2mby'
|
||||||
const json = JSON.stringify(this.form);
|
const json = JSON.stringify(this.form);
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
@@ -2612,7 +2607,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
regDate(data){
|
regDate(data){
|
||||||
if(this.form.DTQBBHBUSS !== undefined && this.form.DTQBBHBUSS !== null && this.form.DTQBBHBUSS.indexOf(data) !== -1){
|
if(this.form.standCode !== undefined && this.form.standCode !== null && this.form.standCode.indexOf(data) !== -1){
|
||||||
data = data + ' X'
|
data = data + ' X'
|
||||||
}
|
}
|
||||||
return data
|
return data
|
||||||
@@ -2623,16 +2618,10 @@
|
|||||||
if(this.form.standStatus === '2'){
|
if(this.form.standStatus === '2'){
|
||||||
this.form.id = ""
|
this.form.id = ""
|
||||||
this.formKey++
|
this.formKey++
|
||||||
if((this.form.standStatus === '2') && (this.form.BDTQBBHBUSS === undefined || this.form.BDTQBBHBUSS === '')) {
|
this.form.standSn = this.form.standNum
|
||||||
this.$message.warning("请选择一条被代替企标编号")
|
this.form.standNumber = this.form.standNum
|
||||||
return
|
this.form.standYear = this.regDate(year)
|
||||||
}
|
this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||||
if(this.form.DTQBBHBUSS !== undefined && this.form.DTQBBHBUSS !== null){
|
|
||||||
this.form.standSn = this.form.standNum
|
|
||||||
this.form.standNumber = this.form.standNum
|
|
||||||
this.form.standYear = this.regDate(year)
|
|
||||||
this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
|
||||||
}
|
|
||||||
this.formKey++
|
this.formKey++
|
||||||
}else if(this.form.standStatus === '1' ){
|
}else if(this.form.standStatus === '1' ){
|
||||||
this.form.id = ""
|
this.form.id = ""
|
||||||
@@ -2640,7 +2629,7 @@
|
|||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
}
|
}
|
||||||
this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1'}, {
|
this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1',standSort:this.form.standSort}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
const obj = res.data
|
const obj = res.data
|
||||||
@@ -2649,6 +2638,7 @@
|
|||||||
this.form.standNumber = standSn
|
this.form.standNumber = standSn
|
||||||
this.form.standYear = year // 待带入立项标准
|
this.form.standYear = year // 待带入立项标准
|
||||||
this.form.standCode = this.form.standSort + ' ' + standSn + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
this.form.standCode = this.form.standSort + ' ' + standSn + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||||
|
console.log(this.form)
|
||||||
if(type === '1'){
|
if(type === '1'){
|
||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
this.saveLoading = false
|
this.saveLoading = false
|
||||||
|
|||||||
@@ -1137,16 +1137,10 @@
|
|||||||
if(this.form.standStatus === '2'){
|
if(this.form.standStatus === '2'){
|
||||||
this.form.id = ""
|
this.form.id = ""
|
||||||
this.formKey++
|
this.formKey++
|
||||||
if((this.form.standStatus === '2') && (this.form.BDTQBBHBUSS === undefined || this.form.BDTQBBHBUSS === '')) {
|
this.form.standSn = this.form.standNum
|
||||||
this.$message.warning("请选择一条被代替企标编号")
|
this.form.standNumber = this.form.standNum
|
||||||
return
|
this.form.standYear = this.regDate(year)
|
||||||
}
|
this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||||
if(this.form.DTQBBHBUSS !== undefined && this.form.DTQBBHBUSS !== null){
|
|
||||||
this.form.standSn = this.form.standNum
|
|
||||||
this.form.standNumber = this.form.standNum
|
|
||||||
this.form.standYear = this.regDate(year)
|
|
||||||
this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
|
||||||
}
|
|
||||||
this.formKey++
|
this.formKey++
|
||||||
}else if(this.form.standStatus === '1' ){
|
}else if(this.form.standStatus === '1' ){
|
||||||
this.form.id = ""
|
this.form.id = ""
|
||||||
|
|||||||
@@ -1216,16 +1216,10 @@
|
|||||||
if(this.form.standStatus === '2'){
|
if(this.form.standStatus === '2'){
|
||||||
this.form.id = ""
|
this.form.id = ""
|
||||||
this.formKey++
|
this.formKey++
|
||||||
if((this.form.standStatus === '2') && (this.form.BDTQBBHBUSS === undefined || this.form.BDTQBBHBUSS === '')) {
|
this.form.standSn = this.form.standNum
|
||||||
this.$message.warning("请选择一条被代替企标编号")
|
this.form.standNumber = this.form.standNum
|
||||||
return
|
this.form.standYear = this.regDate(year)
|
||||||
}
|
this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||||
if(this.form.DTQBBHBUSS !== undefined && this.form.DTQBBHBUSS !== null){
|
|
||||||
this.form.standSn = this.form.standNum
|
|
||||||
this.form.standNumber = this.form.standNum
|
|
||||||
this.form.standYear = this.regDate(year)
|
|
||||||
this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
|
||||||
}
|
|
||||||
this.formKey++
|
this.formKey++
|
||||||
}else if(this.form.standStatus === '1' ){
|
}else if(this.form.standStatus === '1' ){
|
||||||
this.form.id = ""
|
this.form.id = ""
|
||||||
|
|||||||
@@ -1137,16 +1137,10 @@
|
|||||||
if(this.form.standStatus === '2'){
|
if(this.form.standStatus === '2'){
|
||||||
this.form.id = ""
|
this.form.id = ""
|
||||||
this.formKey++
|
this.formKey++
|
||||||
if((this.form.standStatus === '2') && (this.form.BDTQBBHBUSS === undefined || this.form.BDTQBBHBUSS === '')) {
|
this.form.standSn = this.form.standNum
|
||||||
this.$message.warning("请选择一条被代替企标编号")
|
this.form.standNumber = this.form.standNum
|
||||||
return
|
this.form.standYear = this.regDate(year)
|
||||||
}
|
this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||||
if(this.form.DTQBBHBUSS !== undefined && this.form.DTQBBHBUSS !== null){
|
|
||||||
this.form.standSn = this.form.standNum
|
|
||||||
this.form.standNumber = this.form.standNum
|
|
||||||
this.form.standYear = this.regDate(year)
|
|
||||||
this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
|
||||||
}
|
|
||||||
this.formKey++
|
this.formKey++
|
||||||
}else if(this.form.standStatus === '1' ){
|
}else if(this.form.standStatus === '1' ){
|
||||||
this.form.id = ""
|
this.form.id = ""
|
||||||
|
|||||||
@@ -1226,16 +1226,10 @@
|
|||||||
if(this.form.standStatus === '2'){
|
if(this.form.standStatus === '2'){
|
||||||
this.form.id = ""
|
this.form.id = ""
|
||||||
this.formKey++
|
this.formKey++
|
||||||
if((this.form.standStatus === '2') && (this.form.BDTQBBHBUSS === undefined || this.form.BDTQBBHBUSS === '')) {
|
this.form.standSn = this.form.standNum
|
||||||
this.$message.warning("请选择一条被代替企标编号")
|
this.form.standNumber = this.form.standNum
|
||||||
return
|
this.form.standYear = this.regDate(year)
|
||||||
}
|
this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||||
if(this.form.DTQBBHBUSS !== undefined && this.form.DTQBBHBUSS !== null){
|
|
||||||
this.form.standSn = this.form.standNum
|
|
||||||
this.form.standNumber = this.form.standNum
|
|
||||||
this.form.standYear = this.regDate(year)
|
|
||||||
this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
|
||||||
}
|
|
||||||
this.formKey++
|
this.formKey++
|
||||||
}else if(this.form.standStatus === '1' ){
|
}else if(this.form.standStatus === '1' ){
|
||||||
this.form.id = ""
|
this.form.id = ""
|
||||||
|
|||||||
@@ -2486,6 +2486,8 @@
|
|||||||
this.form.commentText = this.formTongGuo.commentText
|
this.form.commentText = this.formTongGuo.commentText
|
||||||
this.form.approvalOpinion = this.formTongGuo.approvalOpinion
|
this.form.approvalOpinion = this.formTongGuo.approvalOpinion
|
||||||
this.form.topId = this.pId
|
this.form.topId = this.pId
|
||||||
|
this.form.reviseStatus = 'buss1_'+this.form.reviseStatus
|
||||||
|
this.form.textStatusBuss = '6jnqba2mby'
|
||||||
const json = JSON.stringify(this.form);
|
const json = JSON.stringify(this.form);
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
taskIds: this.taskIds,
|
taskIds: this.taskIds,
|
||||||
@@ -2701,11 +2703,11 @@
|
|||||||
this.form.standYear = this.regDate(year)
|
this.form.standYear = this.regDate(year)
|
||||||
this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
this.form.standCode = this.form.standSort + ' ' + this.form.standNum + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||||
}else {
|
}else {
|
||||||
this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss1_'+this.form.reviseStatus}, {
|
this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss1_'+this.form.reviseStatus,standSort:this.form.standSort}, {
|
||||||
_this: this
|
_this: this
|
||||||
}, res => {
|
}, res => {
|
||||||
const obj = res.data
|
const obj = res.data
|
||||||
let standSn = (obj === null || obj.newStandSn === null) ? '001' : obj.newStandSn
|
let standSn = (obj === null || obj.newStandSn === null) ? '2280' : obj.newStandSn
|
||||||
this.form.standSn = standSn
|
this.form.standSn = standSn
|
||||||
this.form.standNumber = standSn
|
this.form.standNumber = standSn
|
||||||
this.form.standYear = this.regDate(year) // 待带入立项标准
|
this.form.standYear = this.regDate(year) // 待带入立项标准
|
||||||
|
|||||||
@@ -1367,7 +1367,7 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
return this.$message.warning("请完善基础信息");
|
return this.$message.warning("请选择清单");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
+66
@@ -420,6 +420,25 @@
|
|||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column
|
||||||
|
show-overflow-tooltip
|
||||||
|
prop="reviseStatus"
|
||||||
|
label="企标制修订状态"
|
||||||
|
width="120"
|
||||||
|
>
|
||||||
|
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span v-if="scope.row.standStatusShow === '作废'" style="color: #F56C6C">
|
||||||
|
{{ filterReviseStatus(scope.row.reviseStatus) }}
|
||||||
|
</span>
|
||||||
|
<span v-if="scope.row.standStatusShow === '参考'" style="color: #98E165">
|
||||||
|
{{ filterReviseStatus(scope.row.reviseStatus) }}
|
||||||
|
</span>
|
||||||
|
<span v-if="scope.row.standStatusShow !== '作废' && scope.row.standStatusShow !== '参考'">
|
||||||
|
{{ filterReviseStatus(scope.row.reviseStatus) }}
|
||||||
|
</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column fixed="right"
|
<el-table-column fixed="right"
|
||||||
v-if="isPermission('d9730d984627af948053df56a2db7997,dd4ea796dab7a01b105ba657b1968a84,a7a38a95ea374695fc3128037f6feccf')>0" label="收藏" align="center" width="50">
|
v-if="isPermission('d9730d984627af948053df56a2db7997,dd4ea796dab7a01b105ba657b1968a84,a7a38a95ea374695fc3128037f6feccf')>0" label="收藏" align="center" width="50">
|
||||||
@@ -1190,6 +1209,16 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="企标制修订状态" title="企标制修订状态" class="add-form-item form-item-disabled">
|
||||||
|
<el-select v-model="sarBussionessSearch.reviseStatus" title="请选择" filterable clearable @change="getStandInfoByReviseStatus">
|
||||||
|
<el-option
|
||||||
|
v-for="item in opinionsStand"
|
||||||
|
:key="item.value"
|
||||||
|
:value="item.value"
|
||||||
|
:label="item.label"
|
||||||
|
></el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item label="发布日期" class="add-form-item form-item-disabled">
|
<el-form-item label="发布日期" class="add-form-item form-item-disabled">
|
||||||
<el-datePicker v-model="sarBussionessSearch.issueTime"
|
<el-datePicker v-model="sarBussionessSearch.issueTime"
|
||||||
:editable="false"
|
:editable="false"
|
||||||
@@ -1694,6 +1723,13 @@ export default {
|
|||||||
props: {},
|
props: {},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
opinionsStand:[
|
||||||
|
{value: 'buss1_1',label: '技术标准-制定'},
|
||||||
|
{value: 'buss1_2',label: '技术标准-修订'},
|
||||||
|
{value: 'buss2_1',label: '产品标准-制定'},
|
||||||
|
{value: 'buss2_2',label: '产品标准-修订'},
|
||||||
|
{value: 'buss2_3',label: '产品标准-修订'},
|
||||||
|
],
|
||||||
QCBFC: false, //C类标准展示备案日期
|
QCBFC: false, //C类标准展示备案日期
|
||||||
replaceLawsNumModel: false,
|
replaceLawsNumModel: false,
|
||||||
replaceLawType: '',
|
replaceLawType: '',
|
||||||
@@ -2450,6 +2486,31 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
filterReviseStatus(data){
|
||||||
|
if(data){
|
||||||
|
if(data.indexOf("buss1_") !== -1){
|
||||||
|
if(data === 'buss1_1'){
|
||||||
|
return "制定"
|
||||||
|
}else if(data === 'buss1_2'){
|
||||||
|
return "修订"
|
||||||
|
}else {
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
}else if(data.indexOf("buss2_") !== -1){
|
||||||
|
if(data === 'buss2_1'){
|
||||||
|
return "制定"
|
||||||
|
}else if(data === 'buss2_2'){
|
||||||
|
return "修订"
|
||||||
|
}else if(data === 'buss2_3'){
|
||||||
|
return "修改"
|
||||||
|
}else {
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}else {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
},
|
||||||
filterData(data){
|
filterData(data){
|
||||||
if(data.indexOf(",") !== -1){
|
if(data.indexOf(",") !== -1){
|
||||||
let permission = data.split(",");
|
let permission = data.split(",");
|
||||||
@@ -5163,6 +5224,11 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
|
'sarBussionessStandEO.standSort':{
|
||||||
|
handler:function(val){
|
||||||
|
this.QCBFC = !!(val && val.indexOf("QCBFC") !== -1);
|
||||||
|
}
|
||||||
|
},
|
||||||
'sarBussionessStandEO.QCDW'(val) {
|
'sarBussionessStandEO.QCDW'(val) {
|
||||||
this.filterData(val);
|
this.filterData(val);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user