feat: There is no way the, #55969 企标顺序号相关逻辑
This commit is contained in:
@@ -1626,23 +1626,23 @@
|
|||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
}
|
}
|
||||||
this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1',standSort:this.form.standSort}, {
|
// 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
|
||||||
let standSn = (obj === null || obj.newStandSn === null) ? '2280' : 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 = 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 )
|
||||||
this.FBGBUSSFileList = []
|
// this.FBGBUSSFileList = []
|
||||||
this.LSBBBUSSFileList = []
|
// this.LSBBBUSSFileList = []
|
||||||
if(this.form.standStatus === '1'){
|
// if(this.form.standStatus === '1'){
|
||||||
this.isSubmit = false
|
// this.isSubmit = false
|
||||||
this.saveLoading = false
|
// this.saveLoading = false
|
||||||
}
|
// }
|
||||||
}, e => {
|
// }, e => {
|
||||||
})
|
// })
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1050,6 +1050,13 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch:{
|
watch:{
|
||||||
|
'form.standSort': {
|
||||||
|
handler (val) {
|
||||||
|
if (val !== '' && val !== null && typeof (val) !== 'undefined') {
|
||||||
|
this.getStandInfoByReviseStatus()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
'form.issueTime': {
|
'form.issueTime': {
|
||||||
handler: function() {
|
handler: function() {
|
||||||
if(this.form.issueTime !== undefined && this.form.issueTime !== null && this.form.issueTime !== ''){
|
if(this.form.issueTime !== undefined && this.form.issueTime !== null && this.form.issueTime !== ''){
|
||||||
@@ -1063,7 +1070,7 @@
|
|||||||
if (month.length == 1) {
|
if (month.length == 1) {
|
||||||
month = "0" + month;
|
month = "0" + month;
|
||||||
}
|
}
|
||||||
if (day.length == 1) {
|
if (day.length === 1) {
|
||||||
day = "0" + day;
|
day = "0" + day;
|
||||||
}
|
}
|
||||||
const FSRQBUSS = year + "-" + month + "-" + day;
|
const FSRQBUSS = year + "-" + month + "-" + day;
|
||||||
@@ -2608,13 +2615,23 @@
|
|||||||
pId: this.pId
|
pId: this.pId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
const processForm = JSON.parse(res.mesg)
|
if(res.nowTaskInfo && res.nowTaskInfo === '发布') {
|
||||||
if (processForm.form === undefined) {
|
const processForm = JSON.parse(res.mesg)
|
||||||
this.getFormFieldList(processForm)
|
if (processForm.form === undefined) {
|
||||||
} else {
|
this.getFormFieldList(processForm)
|
||||||
//表单文件处理
|
} else {
|
||||||
this.getTaskId(processForm)
|
//表单文件处理
|
||||||
|
this.getTaskId(processForm)
|
||||||
|
}
|
||||||
|
}else {
|
||||||
|
this.$alert('当前任务'+(res.nowTaskInfo ?res.nowTaskInfo:"")+'不是发布节点,禁止跨路由访问当前页面', '', {
|
||||||
|
confirmButtonText: '确定',
|
||||||
|
callback: action => {
|
||||||
|
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1149,22 +1149,23 @@
|
|||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
}
|
}
|
||||||
this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1'}, {
|
this.formKey++
|
||||||
_this: this
|
// this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1'}, {
|
||||||
}, res => {
|
// _this: this
|
||||||
const obj = res.data
|
// }, res => {
|
||||||
let standSn = (obj === null || obj.newStandSn === null) ? '2280' : obj.newStandSn
|
// const obj = res.data
|
||||||
this.form.standSn = standSn
|
// let standSn = (obj === null || obj.newStandSn === null) ? '2280' : obj.newStandSn
|
||||||
this.form.standNumber = standSn
|
// this.form.standSn = standSn
|
||||||
this.form.standYear = year // 待带入立项标准
|
// this.form.standNumber = standSn
|
||||||
this.form.standCode = this.form.standSort + ' ' + standSn + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
// this.form.standYear = year // 待带入立项标准
|
||||||
if(type === '1'){
|
// this.form.standCode = this.form.standSort + ' ' + standSn + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||||
this.isSubmit = false
|
// if(type === '1'){
|
||||||
this.saveLoading = false
|
// this.isSubmit = false
|
||||||
}
|
// this.saveLoading = false
|
||||||
this.formKey++
|
// }
|
||||||
}, e => {
|
// this.formKey++
|
||||||
})
|
// }, e => {
|
||||||
|
// })
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
checkedRoleTransfer (data) {
|
checkedRoleTransfer (data) {
|
||||||
|
|||||||
@@ -1169,7 +1169,7 @@
|
|||||||
let year = date.getFullYear()+5;
|
let year = date.getFullYear()+5;
|
||||||
let month =(date.getMonth() + 1).toString();
|
let month =(date.getMonth() + 1).toString();
|
||||||
let day = (date.getDate()).toString();
|
let day = (date.getDate()).toString();
|
||||||
if (month.length == 1) {
|
if (month.length === 1) {
|
||||||
month = "0" + month;
|
month = "0" + month;
|
||||||
}
|
}
|
||||||
if (day.length == 1) {
|
if (day.length == 1) {
|
||||||
@@ -1227,22 +1227,23 @@
|
|||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
}
|
}
|
||||||
this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1'}, {
|
this.formKey++
|
||||||
_this: this
|
// this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1'}, {
|
||||||
}, res => {
|
// _this: this
|
||||||
const obj = res.data
|
// }, res => {
|
||||||
let standSn = (obj === null || obj.newStandSn === null) ? '2280' : obj.newStandSn
|
// const obj = res.data
|
||||||
this.form.standSn = standSn
|
// let standSn = (obj === null || obj.newStandSn === null) ? '2280' : obj.newStandSn
|
||||||
this.form.standNumber = standSn
|
// this.form.standSn = standSn
|
||||||
this.form.standYear = year // 待带入立项标准
|
// this.form.standNumber = standSn
|
||||||
this.form.standCode = this.form.standSort + ' ' + standSn + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
// this.form.standYear = year // 待带入立项标准
|
||||||
if(type === '1'){
|
// this.form.standCode = this.form.standSort + ' ' + standSn + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||||
this.isSubmit = false
|
// if(type === '1'){
|
||||||
this.saveLoading = false
|
// this.isSubmit = false
|
||||||
}
|
// this.saveLoading = false
|
||||||
this.formKey++
|
// }
|
||||||
}, e => {
|
// this.formKey++
|
||||||
})
|
// }, e => {
|
||||||
|
// })
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1149,22 +1149,23 @@
|
|||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
}
|
}
|
||||||
this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1'}, {
|
this.formKey++
|
||||||
_this: this
|
// this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1'}, {
|
||||||
}, res => {
|
// _this: this
|
||||||
const obj = res.data
|
// }, res => {
|
||||||
let standSn = (obj === null || obj.newStandSn === null) ? '2280' : obj.newStandSn
|
// const obj = res.data
|
||||||
this.form.standSn = standSn
|
// let standSn = (obj === null || obj.newStandSn === null) ? '2280' : obj.newStandSn
|
||||||
this.form.standNumber = standSn
|
// this.form.standSn = standSn
|
||||||
this.form.standYear = year // 待带入立项标准
|
// this.form.standNumber = standSn
|
||||||
this.form.standCode = this.form.standSort + ' ' + standSn + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
// this.form.standYear = year // 待带入立项标准
|
||||||
if(type === '1'){
|
// this.form.standCode = this.form.standSort + ' ' + standSn + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||||
this.isSubmit = false
|
// if(type === '1'){
|
||||||
this.saveLoading = false
|
// this.isSubmit = false
|
||||||
}
|
// this.saveLoading = false
|
||||||
this.formKey++
|
// }
|
||||||
}, e => {
|
// this.formKey++
|
||||||
})
|
// }, e => {
|
||||||
|
// })
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1237,22 +1237,23 @@
|
|||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
this.saveLoading = true
|
this.saveLoading = true
|
||||||
}
|
}
|
||||||
this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1'}, {
|
this.formKey++
|
||||||
_this: this
|
// this.$http.get('lawss/sarBussionessStand/getStandInfoByReviseStatus',{reviseStatus:'buss2_1'}, {
|
||||||
}, res => {
|
// _this: this
|
||||||
const obj = res.data
|
// }, res => {
|
||||||
let standSn = (obj === null || obj.newStandSn === null) ? '2280' : obj.newStandSn
|
// const obj = res.data
|
||||||
this.form.standSn = standSn
|
// let standSn = (obj === null || obj.newStandSn === null) ? '2280' : obj.newStandSn
|
||||||
this.form.standNumber = standSn
|
// this.form.standSn = standSn
|
||||||
this.form.standYear = year // 待带入立项标准
|
// this.form.standNumber = standSn
|
||||||
this.form.standCode = this.form.standSort + ' ' + standSn + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
// this.form.standYear = year // 待带入立项标准
|
||||||
if(type === '1'){
|
// this.form.standCode = this.form.standSort + ' ' + standSn + ( this.form.standYear === '' ? '' : '-' + this.form.standYear )
|
||||||
this.isSubmit = false
|
// if(type === '1'){
|
||||||
this.saveLoading = false
|
// this.isSubmit = false
|
||||||
}
|
// this.saveLoading = false
|
||||||
this.formKey++
|
// }
|
||||||
}, e => {
|
// this.formKey++
|
||||||
})
|
// }, e => {
|
||||||
|
// })
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1957,7 +1957,7 @@
|
|||||||
if(this.replaceLawType === 'DTQBBHBUSS'){
|
if(this.replaceLawType === 'DTQBBHBUSS'){
|
||||||
let arr1 = this.form.DTQBBHBUSS ? this.form.DTQBBHBUSS + ',' + textArr.join(',') : textArr.join(',')
|
let arr1 = this.form.DTQBBHBUSS ? this.form.DTQBBHBUSS + ',' + textArr.join(',') : textArr.join(',')
|
||||||
this.form.DTQBBHBUSS = this.filterSetData(arr1)
|
this.form.DTQBBHBUSS = this.filterSetData(arr1)
|
||||||
this.getStandInfoByReviseStatus()
|
// this.getStandInfoByReviseStatus()
|
||||||
}else if(this.replaceLawType === 'CYBZ'){
|
}else if(this.replaceLawType === 'CYBZ'){
|
||||||
let arr1 = this.form.CYBZ ? this.form.CYBZ + ',' +textArr.join(',') : textArr.join(',')
|
let arr1 = this.form.CYBZ ? this.form.CYBZ + ',' +textArr.join(',') : textArr.join(',')
|
||||||
this.form.CYBZ = this.filterSetData(arr1)
|
this.form.CYBZ = this.filterSetData(arr1)
|
||||||
@@ -2672,12 +2672,21 @@
|
|||||||
pId: this.pId
|
pId: this.pId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res) {
|
if (res) {
|
||||||
const processForm = JSON.parse(res.mesg)
|
if(res.nowTaskInfo && res.nowTaskInfo === '发布'){
|
||||||
if (processForm.form === undefined) {
|
const processForm = JSON.parse(res.mesg)
|
||||||
this.getFormFieldList(processForm)
|
if (processForm.form === undefined) {
|
||||||
} else {
|
this.getFormFieldList(processForm)
|
||||||
//表单文件处理
|
} else {
|
||||||
this.getTaskId(processForm)
|
//表单文件处理
|
||||||
|
this.getTaskId(processForm)
|
||||||
|
}
|
||||||
|
}else {
|
||||||
|
this.$alert('当前任务'+(res.nowTaskInfo ?res.nowTaskInfo:"")+'不是发布节点,禁止跨路由访问当前页面', '', {
|
||||||
|
confirmButtonText: '确定',
|
||||||
|
callback: action => {
|
||||||
|
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
|
|||||||
@@ -1702,7 +1702,6 @@
|
|||||||
this.form.evaluationData = []
|
this.form.evaluationData = []
|
||||||
this.pid = this.form.topId
|
this.pid = this.form.topId
|
||||||
this.evaluationHisListRep()
|
this.evaluationHisListRep()
|
||||||
this.getStandInfoByReviseStatus()
|
|
||||||
this.evaluationHisListRepSum()
|
this.evaluationHisListRepSum()
|
||||||
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);
|
||||||
@@ -2825,7 +2824,6 @@
|
|||||||
this.form['id'] = item.id
|
this.form['id'] = item.id
|
||||||
this.form.evaluationData = []
|
this.form.evaluationData = []
|
||||||
this.evaluationHisListRep()
|
this.evaluationHisListRep()
|
||||||
this.getStandInfoByReviseStatus()
|
|
||||||
this.evaluationHisListRepSum()
|
this.evaluationHisListRepSum()
|
||||||
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
this.form['SYCXCLASS'] = this.filterObj(this.form['SYCXCLASS'])
|
||||||
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
|
this.form['NYLXCLASS'] = this.filterObj(this.form['NYLXCLASS'])
|
||||||
|
|||||||
Reference in New Issue
Block a user