Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -535,6 +535,11 @@ export default {
|
|||||||
message: '删除成功!'
|
message: '删除成功!'
|
||||||
});
|
});
|
||||||
this.getTree()
|
this.getTree()
|
||||||
|
} else if(!res.ok) {
|
||||||
|
this.$message({
|
||||||
|
type: 'warning',
|
||||||
|
message: res.message
|
||||||
|
});
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
|
|||||||
@@ -354,9 +354,10 @@
|
|||||||
<p class=""><label style=" margin-right: 171px;">企标号</label><span>{{ sarStandardsInfoEO.standCode }}</span></p>
|
<p class=""><label style=" margin-right: 171px;">企标号</label><span>{{ sarStandardsInfoEO.standCode }}</span></p>
|
||||||
<template v-for="(child, childIndex) in item.child1">
|
<template v-for="(child, childIndex) in item.child1">
|
||||||
<div class="files-title" style="border-bottom: 1px solid #E5E5E5">
|
<div class="files-title" style="border-bottom: 1px solid #E5E5E5">
|
||||||
<label style="float: left;">{{ child.attrName }}</label>
|
<label style="float: left;min-height: 43px;line-height: 43px;">{{ child.attrName }}</label>
|
||||||
<div style="margin-left: 220px;">
|
<template style="margin-left: 220px;">
|
||||||
<div v-if="child.value && child.value.length > 0" v-for="(file, fileIndex) in child1Func(child.value)" style="line-height: 50px;">
|
<div style="position: relative;margin-left: 214px;">
|
||||||
|
<div v-if="child.value && child.value.length > 0" v-for="(file, fileIndex) in child1Func(child.value)" style="display: flex">
|
||||||
<!-- 单个文件-->
|
<!-- 单个文件-->
|
||||||
<span v-if="child.value && child.value.length > 0 && child.value.length === 1">
|
<span v-if="child.value && child.value.length > 0 && child.value.length === 1">
|
||||||
<a style="font-size: 16px;color: #409EFF;cursor: pointer" @click="openFileInPdf(file.id, file.oldFileName)" target="_blank" :title="file.oldFileName">{{ file.oldFileName | ellipsis50 }}</a>
|
<a style="font-size: 16px;color: #409EFF;cursor: pointer" @click="openFileInPdf(file.id, file.oldFileName)" target="_blank" :title="file.oldFileName">{{ file.oldFileName | ellipsis50 }}</a>
|
||||||
@@ -409,7 +410,8 @@
|
|||||||
<!-- <el-button v-if="child.value.length > 1" style="color:#409EFF;border: 1px solid #409EFF;background: rgba(64, 158, 255, 0.1);"-->
|
<!-- <el-button v-if="child.value.length > 1" style="color:#409EFF;border: 1px solid #409EFF;background: rgba(64, 158, 255, 0.1);"-->
|
||||||
<!-- class="decomposition-btn" icon="icon-relation" @click="relateEvent1(child.value)">更多</el-button>-->
|
<!-- class="decomposition-btn" icon="icon-relation" @click="relateEvent1(child.value)">更多</el-button>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</template>
|
||||||
<template v-if="child.value === null" >-</template>
|
<template v-if="child.value === null" >-</template>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -372,6 +372,10 @@
|
|||||||
<el-form-item label="代替企标编号" prop="DTQBBHBUSS" class="add-form-item form-item-disabled">
|
<el-form-item label="代替企标编号" prop="DTQBBHBUSS" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.DTQBBHBUSS"
|
v-model="form.DTQBBHBUSS"
|
||||||
|
type="textarea"
|
||||||
|
resize="none"
|
||||||
|
:autosize="true"
|
||||||
|
:title="form.DTQBBHBUSS"
|
||||||
placeholder="请输入代替标准号"
|
placeholder="请输入代替标准号"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
@@ -411,6 +415,10 @@
|
|||||||
<el-form-item label="被代替企标编号" prop="BDTQBBHBUSS" class="add-form-item form-item-disabled">
|
<el-form-item label="被代替企标编号" prop="BDTQBBHBUSS" class="add-form-item form-item-disabled">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="form.BDTQBBHBUSS"
|
v-model="form.BDTQBBHBUSS"
|
||||||
|
type="textarea"
|
||||||
|
resize="none"
|
||||||
|
:autosize="true"
|
||||||
|
:title="form.BDTQBBHBUSS"
|
||||||
placeholder="请输入被代替企标编号"
|
placeholder="请输入被代替企标编号"
|
||||||
clearable
|
clearable
|
||||||
></el-input>
|
></el-input>
|
||||||
@@ -1896,16 +1904,23 @@
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.verifySarStandard = this.$route.query.verifySarStandard
|
this.verifySarStandard = this.$route.query.verifySarStandard
|
||||||
let mes = JSON.parse(res.mes)
|
let mes = JSON.parse(res.mes)
|
||||||
|
console.log(mes)
|
||||||
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
||||||
this.form = mes.form
|
this.form = mes.form
|
||||||
this.roleForm = mes.roleForm
|
this.form['id'] = mes.form.id
|
||||||
this.commentText = mes.commentText
|
this.standardCheckedList = []
|
||||||
|
this.standardCheckedList.push({id:mes.form.id})
|
||||||
|
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
||||||
|
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
|
||||||
|
this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS'])
|
||||||
this.FBGBUSSFileList=this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName);
|
this.FBGBUSSFileList=this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName);
|
||||||
this.BZSMBUSSFileList=this.assemble(this.form.BZSMBUSS,this.form.BZSMBUSSName);
|
this.BZSMBUSSFileList=this.assemble(this.form.BZSMBUSS,this.form.BZSMBUSSName);
|
||||||
this.LSBBBUSSFileList=this.assemble(this.form.LSBBBUSS,this.form.LSBBBUSSName);
|
this.LSBBBUSSFileList=this.assemble(this.form.LSBBBUSS,this.form.LSBBBUSSName);
|
||||||
this.QTWJBUSSFileList=this.assemble(this.form.QTWJBUSS,this.form.QTWJBUSSName);
|
this.QTWJBUSSFileList=this.assemble(this.form.QTWJBUSS,this.form.QTWJBUSSName);
|
||||||
this.GLWJBUSSFileList=this.assemble(this.form.GLWJBUSS,this.form.GLWJBUSSName);
|
this.GLWJBUSSFileList=this.assemble(this.form.GLWJBUSS,this.form.GLWJBUSSName);
|
||||||
this.XGDFileList=this.assemble(this.form.XGD,this.form.XGDName);
|
this.XGDFileList=this.assemble(this.form.XGD,this.form.XGDName);
|
||||||
|
this.roleForm = mes.roleForm
|
||||||
|
this.formTongGuo.commentText = mes.commentText
|
||||||
})
|
})
|
||||||
}else {
|
}else {
|
||||||
this.form.XCSJBUSS = this.dateFormatter()
|
this.form.XCSJBUSS = this.dateFormatter()
|
||||||
@@ -1980,6 +1995,16 @@
|
|||||||
XCSJBUSS: '',
|
XCSJBUSS: '',
|
||||||
} // 标准信息
|
} // 标准信息
|
||||||
},
|
},
|
||||||
|
filterObj(obj){
|
||||||
|
if(obj && obj !== ''){
|
||||||
|
if(obj instanceof Array){
|
||||||
|
return obj;
|
||||||
|
}else {
|
||||||
|
return obj.split(",")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
},
|
||||||
handleProcessStandardNext(status) {
|
handleProcessStandardNext(status) {
|
||||||
switch (status) {
|
switch (status) {
|
||||||
// 新增
|
// 新增
|
||||||
@@ -2017,11 +2042,11 @@
|
|||||||
this.form.WJSCRYBUSS= this.$store.getters.userInfo.userId
|
this.form.WJSCRYBUSS= this.$store.getters.userInfo.userId
|
||||||
this.form.WJSCRYBUSSName= this.$store.getters.userInfo.userName
|
this.form.WJSCRYBUSSName= this.$store.getters.userInfo.userName
|
||||||
this.form['id'] = bringData.id
|
this.form['id'] = bringData.id
|
||||||
|
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
||||||
|
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
|
||||||
|
this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS'])
|
||||||
this.standardDrawer = false
|
this.standardDrawer = false
|
||||||
this.verifySarStandard = true
|
this.verifySarStandard = true
|
||||||
this.busVsFunc()
|
|
||||||
this.modelFunc()
|
|
||||||
this.$forceUpdate()
|
|
||||||
this.BZSMBUSSFileList=this.assemble(this.form.BZSMBUSS,this.form.BZSMBUSSName);
|
this.BZSMBUSSFileList=this.assemble(this.form.BZSMBUSS,this.form.BZSMBUSSName);
|
||||||
this.QTWJBUSSFileList=this.assemble(this.form.QTWJBUSS,this.form.QTWJBUSSName);
|
this.QTWJBUSSFileList=this.assemble(this.form.QTWJBUSS,this.form.QTWJBUSSName);
|
||||||
this.GLWJBUSSFileList=this.assemble(this.form.GLWJBUSS,this.form.GLWJBUSSName);
|
this.GLWJBUSSFileList=this.assemble(this.form.GLWJBUSS,this.form.GLWJBUSSName);
|
||||||
@@ -2036,7 +2061,7 @@
|
|||||||
this.FBGBUSSFileList= []
|
this.FBGBUSSFileList= []
|
||||||
this.FBGBUSS = ""
|
this.FBGBUSS = ""
|
||||||
this.FBGBUSSName = ""
|
this.FBGBUSSName = ""
|
||||||
console.log(this.form)
|
this.$forceUpdate()
|
||||||
}
|
}
|
||||||
// 遍历对象初始化文件信息
|
// 遍历对象初始化文件信息
|
||||||
for(const p in this.form) {
|
for(const p in this.form) {
|
||||||
|
|||||||
@@ -2297,8 +2297,22 @@
|
|||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form['id'] = item.id
|
this.form['id'] = item.id
|
||||||
|
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
||||||
|
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
|
||||||
|
this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS'])
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
filterObj(obj){
|
||||||
|
if(obj && obj !== ''){
|
||||||
|
if(obj instanceof Array){
|
||||||
|
return obj;
|
||||||
|
}else {
|
||||||
|
return obj.split(",")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
},
|
||||||
assemble(ids,names){
|
assemble(ids,names){
|
||||||
let list= new Array();
|
let list= new Array();
|
||||||
if(ids && ids !== '' && names && names !== ''){
|
if(ids && ids !== '' && names && names !== ''){
|
||||||
|
|||||||
@@ -2297,8 +2297,22 @@
|
|||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form['id'] = item.id
|
this.form['id'] = item.id
|
||||||
|
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
||||||
|
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
|
||||||
|
this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS'])
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
filterObj(obj){
|
||||||
|
if(obj && obj !== ''){
|
||||||
|
if(obj instanceof Array){
|
||||||
|
return obj;
|
||||||
|
}else {
|
||||||
|
return obj.split(",")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
},
|
||||||
assemble(ids,names){
|
assemble(ids,names){
|
||||||
let list= new Array();
|
let list= new Array();
|
||||||
if(ids && ids !== '' && names && names !== ''){
|
if(ids && ids !== '' && names && names !== ''){
|
||||||
|
|||||||
@@ -2297,8 +2297,22 @@
|
|||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form['id'] = item.id
|
this.form['id'] = item.id
|
||||||
|
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
||||||
|
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
|
||||||
|
this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS'])
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
filterObj(obj){
|
||||||
|
if(obj && obj !== ''){
|
||||||
|
if(obj instanceof Array){
|
||||||
|
return obj;
|
||||||
|
}else {
|
||||||
|
return obj.split(",")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
},
|
||||||
assemble(ids,names){
|
assemble(ids,names){
|
||||||
let list= new Array();
|
let list= new Array();
|
||||||
if(ids && ids !== '' && names && names !== ''){
|
if(ids && ids !== '' && names && names !== ''){
|
||||||
|
|||||||
@@ -1370,6 +1370,9 @@
|
|||||||
getTaskId (mesg) {
|
getTaskId (mesg) {
|
||||||
this.form = mesg.form
|
this.form = mesg.form
|
||||||
this.form.date = new Date(this.$moment(mesg.form.date).format('YYYY-MM-DD'))
|
this.form.date = new Date(this.$moment(mesg.form.date).format('YYYY-MM-DD'))
|
||||||
|
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
||||||
|
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
|
||||||
|
this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS'])
|
||||||
this.form['WJSCRYBUSS'] = this.$store.getters.userInfo.userName +'('+ (this.$store.getters.userInfo.userId)+')'
|
this.form['WJSCRYBUSS'] = this.$store.getters.userInfo.userName +'('+ (this.$store.getters.userInfo.userId)+')'
|
||||||
this.form['WJSCRYBUSSName'] = this.$store.getters.userInfo.userName +'('+ (this.$store.getters.userInfo.userId)+')'
|
this.form['WJSCRYBUSSName'] = this.$store.getters.userInfo.userName +'('+ (this.$store.getters.userInfo.userId)+')'
|
||||||
this.getStandInfoByReviseStatus()
|
this.getStandInfoByReviseStatus()
|
||||||
@@ -1384,6 +1387,16 @@
|
|||||||
this.formTongGuo.commentText = mesg.commentText
|
this.formTongGuo.commentText = mesg.commentText
|
||||||
this.formKey++
|
this.formKey++
|
||||||
},
|
},
|
||||||
|
filterObj(obj){
|
||||||
|
if(obj && obj !== ''){
|
||||||
|
if(obj instanceof Array){
|
||||||
|
return obj;
|
||||||
|
}else {
|
||||||
|
return obj.split(",")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
},
|
||||||
// 将文本状态的id与name对应
|
// 将文本状态的id与name对应
|
||||||
setMap(data){
|
setMap(data){
|
||||||
data.forEach(item => {
|
data.forEach(item => {
|
||||||
@@ -2513,6 +2526,9 @@
|
|||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form.issueTime = this.dateFormatter()
|
this.form.issueTime = this.dateFormatter()
|
||||||
this.form['id'] = item.id
|
this.form['id'] = item.id
|
||||||
|
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
||||||
|
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
|
||||||
|
this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS'])
|
||||||
this.form['WJSCRYBUSS'] = this.$store.getters.userInfo.userName +'('+ (this.$store.getters.userInfo.userId)+')'
|
this.form['WJSCRYBUSS'] = this.$store.getters.userInfo.userName +'('+ (this.$store.getters.userInfo.userId)+')'
|
||||||
this.form['WJSCRYBUSSName'] = this.$store.getters.userInfo.userName +'('+ (this.$store.getters.userInfo.userId)+')'
|
this.form['WJSCRYBUSSName'] = this.$store.getters.userInfo.userName +'('+ (this.$store.getters.userInfo.userId)+')'
|
||||||
this.FBGBUSSFileList=this.assemble(item.FBGBUSS,item.FBGBUSSName);
|
this.FBGBUSSFileList=this.assemble(item.FBGBUSS,item.FBGBUSSName);
|
||||||
|
|||||||
@@ -1250,6 +1250,16 @@
|
|||||||
if (!value) return true;
|
if (!value) return true;
|
||||||
return data.name.indexOf(value) !== -1;
|
return data.name.indexOf(value) !== -1;
|
||||||
},
|
},
|
||||||
|
filterObj(obj){
|
||||||
|
if(obj && obj !== ''){
|
||||||
|
if(obj instanceof Array){
|
||||||
|
return obj;
|
||||||
|
}else {
|
||||||
|
return obj.split(",")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
},
|
||||||
getTaskId () {
|
getTaskId () {
|
||||||
if(this.$route.query.bpnId){
|
if(this.$route.query.bpnId){
|
||||||
queryTaskFirst({
|
queryTaskFirst({
|
||||||
@@ -1259,6 +1269,9 @@
|
|||||||
let mes = JSON.parse(res.mes)
|
let mes = JSON.parse(res.mes)
|
||||||
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
||||||
this.form = mes.form
|
this.form = mes.form
|
||||||
|
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
||||||
|
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
|
||||||
|
this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS'])
|
||||||
this.footFileList=this.assemble(this.form.footFile,this.form.footFileName);
|
this.footFileList=this.assemble(this.form.footFile,this.form.footFileName);
|
||||||
this.FBGBUSSFileList=this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName);
|
this.FBGBUSSFileList=this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName);
|
||||||
this.BZSMBUSSFileList=this.assemble(this.form.BZSMBUSS,this.form.BZSMBUSSName);
|
this.BZSMBUSSFileList=this.assemble(this.form.BZSMBUSS,this.form.BZSMBUSSName);
|
||||||
@@ -2357,6 +2370,9 @@
|
|||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form['id'] = item.id
|
this.form['id'] = item.id
|
||||||
|
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
||||||
|
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
|
||||||
|
this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS'])
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
assemble(ids,names){
|
assemble(ids,names){
|
||||||
@@ -2380,7 +2396,6 @@
|
|||||||
if (res) {
|
if (res) {
|
||||||
this.taskInfo = '企标编写流程'
|
this.taskInfo = '企标编写流程'
|
||||||
const processForm = JSON.parse(res.mesg)
|
const processForm = JSON.parse(res.mesg)
|
||||||
console.log(processForm)
|
|
||||||
const dateArr = []
|
const dateArr = []
|
||||||
if(processForm.commentCycleStart && processForm.commentCycleEnd){
|
if(processForm.commentCycleStart && processForm.commentCycleEnd){
|
||||||
dateArr[0] = processForm.commentCycleStart
|
dateArr[0] = processForm.commentCycleStart
|
||||||
|
|||||||
@@ -1429,6 +1429,9 @@
|
|||||||
},
|
},
|
||||||
getTaskId (mesg) {
|
getTaskId (mesg) {
|
||||||
this.form = mesg.form
|
this.form = mesg.form
|
||||||
|
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
||||||
|
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
|
||||||
|
this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS'])
|
||||||
this.form.date = new Date(this.$moment(mesg.form.date).format('YYYY-MM-DD'))
|
this.form.date = new Date(this.$moment(mesg.form.date).format('YYYY-MM-DD'))
|
||||||
this.footFileList=this.assemble(this.form.footFile,this.form.footFileName);
|
this.footFileList=this.assemble(this.form.footFile,this.form.footFileName);
|
||||||
this.FBGBUSSFileList=this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName);
|
this.FBGBUSSFileList=this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName);
|
||||||
@@ -2566,6 +2569,9 @@
|
|||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form['id'] = item.id
|
this.form['id'] = item.id
|
||||||
|
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
||||||
|
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
|
||||||
|
this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS'])
|
||||||
const dateArr = []
|
const dateArr = []
|
||||||
if(item.commentCycleStart && item.commentCycleEnd){
|
if(item.commentCycleStart && item.commentCycleEnd){
|
||||||
dateArr[0] = item.commentCycleStart
|
dateArr[0] = item.commentCycleStart
|
||||||
@@ -2583,6 +2589,16 @@
|
|||||||
this.formKey++
|
this.formKey++
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
filterObj(obj){
|
||||||
|
if(obj && obj !== ''){
|
||||||
|
if(obj instanceof Array){
|
||||||
|
return obj;
|
||||||
|
}else {
|
||||||
|
return obj.split(",")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
},
|
||||||
assemble(ids,names){
|
assemble(ids,names){
|
||||||
let list= new Array();
|
let list= new Array();
|
||||||
if(ids && ids !== '' && names && names !== ''){
|
if(ids && ids !== '' && names && names !== ''){
|
||||||
|
|||||||
@@ -2296,8 +2296,22 @@
|
|||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form['id'] = item.id
|
this.form['id'] = item.id
|
||||||
|
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
||||||
|
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
|
||||||
|
this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS'])
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
filterObj(obj){
|
||||||
|
if(obj && obj !== ''){
|
||||||
|
if(obj instanceof Array){
|
||||||
|
return obj;
|
||||||
|
}else {
|
||||||
|
return obj.split(",")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
},
|
||||||
assemble(ids,names){
|
assemble(ids,names){
|
||||||
let list= new Array();
|
let list= new Array();
|
||||||
if(ids && ids !== '' && names && names !== ''){
|
if(ids && ids !== '' && names && names !== ''){
|
||||||
|
|||||||
@@ -1666,7 +1666,10 @@
|
|||||||
return data.name.indexOf(value) !== -1;
|
return data.name.indexOf(value) !== -1;
|
||||||
},
|
},
|
||||||
getTaskId (mesg) {
|
getTaskId (mesg) {
|
||||||
this.form = mes.form
|
this.form = mesg.form
|
||||||
|
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
||||||
|
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
|
||||||
|
this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS'])
|
||||||
this.form.date = new Date(this.$moment(mesg.form.date).format('YYYY-MM-DD'))
|
this.form.date = new Date(this.$moment(mesg.form.date).format('YYYY-MM-DD'))
|
||||||
this.FBGBUSSFileList=this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName);
|
this.FBGBUSSFileList=this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName);
|
||||||
this.BZSMBUSSFileList=this.assemble(this.form.BZSMBUSS,this.form.BZSMBUSSName);
|
this.BZSMBUSSFileList=this.assemble(this.form.BZSMBUSS,this.form.BZSMBUSSName);
|
||||||
@@ -2713,6 +2716,9 @@
|
|||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form['id'] = item.id
|
this.form['id'] = item.id
|
||||||
|
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
||||||
|
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
|
||||||
|
this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS'])
|
||||||
const dateArr = []
|
const dateArr = []
|
||||||
if(item.commentCycleStart && item.commentCycleEnd){
|
if(item.commentCycleStart && item.commentCycleEnd){
|
||||||
dateArr[0] = item.commentCycleStart
|
dateArr[0] = item.commentCycleStart
|
||||||
@@ -2729,6 +2735,16 @@
|
|||||||
this.XGDFileList=this.assemble(item.XGD,item.XGDName);
|
this.XGDFileList=this.assemble(item.XGD,item.XGDName);
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
filterObj(obj){
|
||||||
|
if(obj && obj !== ''){
|
||||||
|
if(obj instanceof Array){
|
||||||
|
return obj;
|
||||||
|
}else {
|
||||||
|
return obj.split(",")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
},
|
||||||
assemble(ids,names){
|
assemble(ids,names){
|
||||||
let list= new Array();
|
let list= new Array();
|
||||||
if(ids && ids !== '' && names && names !== ''){
|
if(ids && ids !== '' && names && names !== ''){
|
||||||
|
|||||||
@@ -1521,6 +1521,9 @@
|
|||||||
},
|
},
|
||||||
getTaskId (mesg) {
|
getTaskId (mesg) {
|
||||||
this.form = mesg.form
|
this.form = mesg.form
|
||||||
|
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
||||||
|
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
|
||||||
|
this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS'])
|
||||||
this.form.date = new Date(this.$moment(mesg.form.date).format('YYYY-MM-DD'))
|
this.form.date = new Date(this.$moment(mesg.form.date).format('YYYY-MM-DD'))
|
||||||
this.footFileList=this.assemble(this.form.footFile,this.form.footFileName);
|
this.footFileList=this.assemble(this.form.footFile,this.form.footFileName);
|
||||||
this.FBGBUSSFileList=this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName);
|
this.FBGBUSSFileList=this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName);
|
||||||
@@ -1533,6 +1536,16 @@
|
|||||||
this.formTongGuo.commentText = mesg.commentText
|
this.formTongGuo.commentText = mesg.commentText
|
||||||
this.formKey++
|
this.formKey++
|
||||||
},
|
},
|
||||||
|
filterObj(obj){
|
||||||
|
if(obj && obj !== ''){
|
||||||
|
if(obj instanceof Array){
|
||||||
|
return obj;
|
||||||
|
}else {
|
||||||
|
return obj.split(",")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
},
|
||||||
// 将文本状态的id与name对应
|
// 将文本状态的id与name对应
|
||||||
setMap(data){
|
setMap(data){
|
||||||
data.forEach(item => {
|
data.forEach(item => {
|
||||||
@@ -2657,6 +2670,10 @@
|
|||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form['id'] = item.id
|
this.form['id'] = item.id
|
||||||
|
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
||||||
|
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
|
||||||
|
this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS'])
|
||||||
|
|
||||||
const dateArr = []
|
const dateArr = []
|
||||||
if(item.commentCycleStart && item.commentCycleEnd){
|
if(item.commentCycleStart && item.commentCycleEnd){
|
||||||
dateArr[0] = item.commentCycleStart
|
dateArr[0] = item.commentCycleStart
|
||||||
|
|||||||
@@ -2400,6 +2400,10 @@
|
|||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form['id'] = item.id
|
this.form['id'] = item.id
|
||||||
|
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
||||||
|
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
|
||||||
|
this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS'])
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
assemble(ids,names){
|
assemble(ids,names){
|
||||||
@@ -2464,6 +2468,16 @@
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
filterObj(obj){
|
||||||
|
if(obj && obj !== ''){
|
||||||
|
if(obj instanceof Array){
|
||||||
|
return obj;
|
||||||
|
}else {
|
||||||
|
return obj.split(",")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
},
|
||||||
processTable () {
|
processTable () {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
Promise.all([this.getTaskId()]).then((value) => {
|
Promise.all([this.getTaskId()]).then((value) => {
|
||||||
|
|||||||
@@ -2297,8 +2297,21 @@
|
|||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form['id'] = item.id
|
this.form['id'] = item.id
|
||||||
|
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
||||||
|
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
|
||||||
|
this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS'])
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
filterObj(obj){
|
||||||
|
if(obj && obj !== ''){
|
||||||
|
if(obj instanceof Array){
|
||||||
|
return obj;
|
||||||
|
}else {
|
||||||
|
return obj.split(",")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
},
|
||||||
assemble(ids,names){
|
assemble(ids,names){
|
||||||
let list= new Array();
|
let list= new Array();
|
||||||
if(ids && ids !== '' && names && names !== ''){
|
if(ids && ids !== '' && names && names !== ''){
|
||||||
|
|||||||
@@ -2297,8 +2297,22 @@
|
|||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form['id'] = item.id
|
this.form['id'] = item.id
|
||||||
|
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
||||||
|
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
|
||||||
|
this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS'])
|
||||||
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
filterObj(obj){
|
||||||
|
if(obj && obj !== ''){
|
||||||
|
if(obj instanceof Array){
|
||||||
|
return obj;
|
||||||
|
}else {
|
||||||
|
return obj.split(",")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
},
|
||||||
assemble(ids,names){
|
assemble(ids,names){
|
||||||
let list= new Array();
|
let list= new Array();
|
||||||
if(ids && ids !== '' && names && names !== ''){
|
if(ids && ids !== '' && names && names !== ''){
|
||||||
|
|||||||
@@ -1430,6 +1430,9 @@
|
|||||||
},
|
},
|
||||||
getTaskId (mesg) {
|
getTaskId (mesg) {
|
||||||
this.form = mesg.form
|
this.form = mesg.form
|
||||||
|
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
||||||
|
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
|
||||||
|
this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS'])
|
||||||
this.form.date = new Date(this.$moment(mesg.form.date).format('YYYY-MM-DD'))
|
this.form.date = new Date(this.$moment(mesg.form.date).format('YYYY-MM-DD'))
|
||||||
this.footFileList=this.assemble(this.form.footFile,this.form.footFileName);
|
this.footFileList=this.assemble(this.form.footFile,this.form.footFileName);
|
||||||
this.FBGBUSSFileList=this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName);
|
this.FBGBUSSFileList=this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName);
|
||||||
@@ -2567,6 +2570,10 @@
|
|||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form['id'] = item.id
|
this.form['id'] = item.id
|
||||||
|
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
||||||
|
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
|
||||||
|
this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS'])
|
||||||
|
|
||||||
const dateArr = []
|
const dateArr = []
|
||||||
if(item.commentCycleStart && item.commentCycleEnd){
|
if(item.commentCycleStart && item.commentCycleEnd){
|
||||||
dateArr[0] = item.commentCycleStart
|
dateArr[0] = item.commentCycleStart
|
||||||
@@ -2584,6 +2591,16 @@
|
|||||||
this.formKey++
|
this.formKey++
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
filterObj(obj){
|
||||||
|
if(obj && obj !== ''){
|
||||||
|
if(obj instanceof Array){
|
||||||
|
return obj;
|
||||||
|
}else {
|
||||||
|
return obj.split(",")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
},
|
||||||
assemble(ids,names){
|
assemble(ids,names){
|
||||||
let list= new Array();
|
let list= new Array();
|
||||||
if(ids && ids !== '' && names && names !== ''){
|
if(ids && ids !== '' && names && names !== ''){
|
||||||
|
|||||||
@@ -1530,6 +1530,10 @@
|
|||||||
},
|
},
|
||||||
getTaskId (mesg) {
|
getTaskId (mesg) {
|
||||||
this.form = mesg.form
|
this.form = mesg.form
|
||||||
|
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
||||||
|
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
|
||||||
|
this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS'])
|
||||||
|
|
||||||
this.form.date = new Date(this.$moment(mesg.form.date).format('YYYY-MM-DD'))
|
this.form.date = new Date(this.$moment(mesg.form.date).format('YYYY-MM-DD'))
|
||||||
this.footFileList=this.assemble(this.form.footFile,this.form.footFileName);
|
this.footFileList=this.assemble(this.form.footFile,this.form.footFileName);
|
||||||
this.FBGBUSSFileList=this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName);
|
this.FBGBUSSFileList=this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName);
|
||||||
@@ -1542,6 +1546,16 @@
|
|||||||
this.formTongGuo.commentText = mesg.commentText
|
this.formTongGuo.commentText = mesg.commentText
|
||||||
this.formKey++
|
this.formKey++
|
||||||
},
|
},
|
||||||
|
filterObj(obj){
|
||||||
|
if(obj && obj !== ''){
|
||||||
|
if(obj instanceof Array){
|
||||||
|
return obj;
|
||||||
|
}else {
|
||||||
|
return obj.split(",")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
},
|
||||||
// 将文本状态的id与name对应
|
// 将文本状态的id与name对应
|
||||||
setMap(data){
|
setMap(data){
|
||||||
data.forEach(item => {
|
data.forEach(item => {
|
||||||
@@ -2665,6 +2679,10 @@
|
|||||||
this.form = JSON.parse(JSON.stringify(item))
|
this.form = JSON.parse(JSON.stringify(item))
|
||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
|
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
||||||
|
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
|
||||||
|
this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS'])
|
||||||
|
|
||||||
this.form['id'] = item.id
|
this.form['id'] = item.id
|
||||||
const dateArr = []
|
const dateArr = []
|
||||||
if(item.commentCycleStart && item.commentCycleEnd){
|
if(item.commentCycleStart && item.commentCycleEnd){
|
||||||
|
|||||||
@@ -2228,8 +2228,21 @@
|
|||||||
this.form.prcNum = this.prcNum
|
this.form.prcNum = this.prcNum
|
||||||
this.form.prcName = this.prcName
|
this.form.prcName = this.prcName
|
||||||
this.form['id'] = item.id
|
this.form['id'] = item.id
|
||||||
|
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
||||||
|
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
|
||||||
|
this.form['SYCPXCLASS'] = this.filterObj(this.form['SYCPXCLASS'])
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
filterObj(obj){
|
||||||
|
if(obj && obj !== ''){
|
||||||
|
if(obj instanceof Array){
|
||||||
|
return obj;
|
||||||
|
}else {
|
||||||
|
return obj.split(",")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
},
|
||||||
assemble(ids,names){
|
assemble(ids,names){
|
||||||
let list= new Array();
|
let list= new Array();
|
||||||
if(ids && ids !== '' && names && names !== ''){
|
if(ids && ids !== '' && names && names !== ''){
|
||||||
|
|||||||
@@ -1862,13 +1862,13 @@
|
|||||||
let mes = JSON.parse(res.mes)
|
let mes = JSON.parse(res.mes)
|
||||||
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD'))
|
||||||
this.form = mes.form
|
this.form = mes.form
|
||||||
this.roleForm = mes.roleForm
|
|
||||||
this.commentText = mes.commentText
|
|
||||||
this.FBGBUSSFileList=this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName);
|
this.FBGBUSSFileList=this.assemble(this.form.FBGBUSS,this.form.FBGBUSSName);
|
||||||
this.BZSMBUSSFileList=this.assemble(this.form.BZSMBUSS,this.form.BZSMBUSSName);
|
this.BZSMBUSSFileList=this.assemble(this.form.BZSMBUSS,this.form.BZSMBUSSName);
|
||||||
this.LSBBBUSSFileList=this.assemble(this.form.LSBBBUSS,this.form.LSBBBUSSName);
|
this.LSBBBUSSFileList=this.assemble(this.form.LSBBBUSS,this.form.LSBBBUSSName);
|
||||||
this.QTWJBUSSFileList=this.assemble(this.form.QTWJBUSS,this.form.QTWJBUSSName);
|
this.QTWJBUSSFileList=this.assemble(this.form.QTWJBUSS,this.form.QTWJBUSSName);
|
||||||
this.GLWJBUSSFileList=this.assemble(this.form.GLWJBUSS,this.form.GLWJBUSSName);
|
this.GLWJBUSSFileList=this.assemble(this.form.GLWJBUSS,this.form.GLWJBUSSName);
|
||||||
|
this.roleForm = mes.roleForm
|
||||||
|
this.formTongGuo.commentText = mes.commentText
|
||||||
})
|
})
|
||||||
}else {
|
}else {
|
||||||
this.form.XCSJBUSS = this.dateFormatter()
|
this.form.XCSJBUSS = this.dateFormatter()
|
||||||
|
|||||||
Reference in New Issue
Block a user