合并分支 'fix_foton' 到 'FOTON'
Fix foton 查看合并请求 laws-foton-slrs/foton-laws-system-front!12
This commit is contained in:
@@ -886,6 +886,9 @@ export default {
|
|||||||
this.getReplaceLawsNumRow()
|
this.getReplaceLawsNumRow()
|
||||||
},
|
},
|
||||||
replaceLawsNumModelCancel () {
|
replaceLawsNumModelCancel () {
|
||||||
|
this.replaceLawsNumForm.standCode = ''
|
||||||
|
this.replaceLawsNumForm.issueTimeArr = ''
|
||||||
|
this.replaceLawsNumForm.reviewTimeArr = ''
|
||||||
// this.replaceLawsNumModel = false
|
// this.replaceLawsNumModel = false
|
||||||
this.$refs.selections.clearSelection()
|
this.$refs.selections.clearSelection()
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1009,6 +1009,28 @@ export default {
|
|||||||
},
|
},
|
||||||
deep: true //对象的深度验证
|
deep: true //对象的深度验证
|
||||||
},
|
},
|
||||||
|
// 删除文件后监听已上传的文件 并回显
|
||||||
|
FBGBUSSFileListSub:function(val){
|
||||||
|
this.FBGBUSSFileList = val
|
||||||
|
},
|
||||||
|
LSBBBUSSFileListSub:function(val) {
|
||||||
|
this.LSBBBUSSFileList = val
|
||||||
|
},
|
||||||
|
BZSMBUSSFileListSub:function(val) {
|
||||||
|
this.BZSMBUSSFileList = val
|
||||||
|
},
|
||||||
|
QTWJBUSSFileListSub:function(val) {
|
||||||
|
this.QTWJBUSSFileList = val
|
||||||
|
},
|
||||||
|
GLWJBUSSFileListSub:function(val) {
|
||||||
|
this.GLWJBUSSFileList = val
|
||||||
|
},
|
||||||
|
summaryFileListSub:function(val) {
|
||||||
|
this.summaryFileList = val
|
||||||
|
},
|
||||||
|
madelSubListSub:function(val) {
|
||||||
|
this.madelSubList = val
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -3406,4 +3406,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/deep/ .el-form-item__error{
|
||||||
|
right:50px !important;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -2228,6 +2228,8 @@
|
|||||||
break;
|
break;
|
||||||
default : ;
|
default : ;
|
||||||
}
|
}
|
||||||
|
// 刷新组件
|
||||||
|
this.formKey++
|
||||||
},
|
},
|
||||||
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData) {
|
if(checkedData) {
|
||||||
@@ -2382,25 +2384,33 @@
|
|||||||
fileInfoHandle(){
|
fileInfoHandle(){
|
||||||
|
|
||||||
//拼接文件名和id 提交到流程Activity
|
//拼接文件名和id 提交到流程Activity
|
||||||
this.form.FBGBUSS=this.FBGBUSSFileList.map(item => item.id).join(",")
|
// this.form.FBGBUSS=this.FBGBUSSFileList.map(item => item.id).join(",")
|
||||||
|
// 修复将文件删除为一个后提交不显示的bug
|
||||||
|
this.form.FBGBUSS=this.FBGBUSSFileList.map(item => item.id ? item.id : item.response.data.id).join(",")
|
||||||
this.form.FBGBUSSName=this.FBGBUSSFileList.map(item => item.name).join(",")
|
this.form.FBGBUSSName=this.FBGBUSSFileList.map(item => item.name).join(",")
|
||||||
|
|
||||||
this.form.BZSMBUSS=this.BZSMBUSSFileList.map(item => item.id).join(",")
|
// this.form.BZSMBUSS=this.BZSMBUSSFileList.map(item => item.id).join(",")
|
||||||
|
this.form.BZSMBUSS=this.BZSMBUSSFileList.map(item => item.id ? item.id : item.response.data.id).join(",")
|
||||||
this.form.BZSMBUSSName=this.BZSMBUSSFileList.map(item => item.name).join(",")
|
this.form.BZSMBUSSName=this.BZSMBUSSFileList.map(item => item.name).join(",")
|
||||||
|
|
||||||
this.form.LSBBBUSS=this.LSBBBUSSFileList.map(item => item.id).join(",")
|
// this.form.LSBBBUSS=this.LSBBBUSSFileList.map(item => item.id).join(",")
|
||||||
|
this.form.LSBBBUSS=this.LSBBBUSSFileList.map(item => item.id ? item.id : item.response.data.id).join(",")
|
||||||
this.form.LSBBBUSSName=this.LSBBBUSSFileList.map(item => item.name).join(",")
|
this.form.LSBBBUSSName=this.LSBBBUSSFileList.map(item => item.name).join(",")
|
||||||
|
|
||||||
this.form.QTWJBUSS=this.QTWJBUSSFileList.map(item => item.id).join(",")
|
// this.form.QTWJBUSS=this.QTWJBUSSFileList.map(item => item.id).join(",")
|
||||||
|
this.form.QTWJBUSS=this.QTWJBUSSFileList.map(item => item.id ? item.id : item.response.data.id).join(",")
|
||||||
this.form.QTWJBUSSName=this.QTWJBUSSFileList.map(item => item.name).join(",")
|
this.form.QTWJBUSSName=this.QTWJBUSSFileList.map(item => item.name).join(",")
|
||||||
|
|
||||||
this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.id).join(",")
|
// this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.id).join(",")
|
||||||
|
this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.id ? item.id : item.response.data.id).join(",")
|
||||||
this.form.GLWJBUSSName=this.GLWJBUSSFileList.map(item => item.name).join(",")
|
this.form.GLWJBUSSName=this.GLWJBUSSFileList.map(item => item.name).join(",")
|
||||||
|
|
||||||
this.form.summaryFile=this.summaryFileList.map(item => item.id).join(",")
|
// this.form.summaryFile=this.summaryFileList.map(item => item.id).join(",")
|
||||||
|
this.form.summaryFile=this.summaryFileList.map(item => item.id ? item.id : item.response.data.id).join(",")
|
||||||
this.form.summaryFileName=this.summaryFileList.map(item => item.name).join(",")
|
this.form.summaryFileName=this.summaryFileList.map(item => item.name).join(",")
|
||||||
|
|
||||||
this.form.madelSub=this.madelSubList.map(item => item.id).join(",")
|
// this.form.madelSub=this.madelSubList.map(item => item.id).join(",")
|
||||||
|
this.form.madelSub=this.madelSubList.map(item => item.id ? item.id : item.response.data.id).join(",")
|
||||||
this.form.madelSubName=this.madelSubList.map(item => item.name).join(",")
|
this.form.madelSubName=this.madelSubList.map(item => item.name).join(",")
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -2270,6 +2270,7 @@
|
|||||||
break;
|
break;
|
||||||
default : ;
|
default : ;
|
||||||
}
|
}
|
||||||
|
this.formKey++
|
||||||
},
|
},
|
||||||
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData) {
|
if(checkedData) {
|
||||||
@@ -2437,25 +2438,33 @@
|
|||||||
fileInfoHandle(){
|
fileInfoHandle(){
|
||||||
|
|
||||||
//拼接文件名和id 提交到流程Activity
|
//拼接文件名和id 提交到流程Activity
|
||||||
this.form.FBGBUSS=this.FBGBUSSFileList.map(item => item.id).join(",")
|
// this.form.FBGBUSS=this.FBGBUSSFileList.map(item => item.id).join(",")
|
||||||
|
// 修复将文件删除为一个后提交不显示的bug
|
||||||
|
this.form.FBGBUSS=this.FBGBUSSFileList.map(item => item.id ? item.id : item.response.data.id).join(",")
|
||||||
this.form.FBGBUSSName=this.FBGBUSSFileList.map(item => item.name).join(",")
|
this.form.FBGBUSSName=this.FBGBUSSFileList.map(item => item.name).join(",")
|
||||||
|
|
||||||
this.form.BZSMBUSS=this.BZSMBUSSFileList.map(item => item.id).join(",")
|
// this.form.BZSMBUSS=this.BZSMBUSSFileList.map(item => item.id).join(",")
|
||||||
|
this.form.BZSMBUSS=this.BZSMBUSSFileList.map(item => item.id ? item.id : item.response.data.id).join(",")
|
||||||
this.form.BZSMBUSSName=this.BZSMBUSSFileList.map(item => item.name).join(",")
|
this.form.BZSMBUSSName=this.BZSMBUSSFileList.map(item => item.name).join(",")
|
||||||
|
|
||||||
this.form.LSBBBUSS=this.LSBBBUSSFileList.map(item => item.id).join(",")
|
// this.form.LSBBBUSS=this.LSBBBUSSFileList.map(item => item.id).join(",")
|
||||||
|
this.form.LSBBBUSS=this.LSBBBUSSFileList.map(item => item.id ? item.id : item.response.data.id).join(",")
|
||||||
this.form.LSBBBUSSName=this.LSBBBUSSFileList.map(item => item.name).join(",")
|
this.form.LSBBBUSSName=this.LSBBBUSSFileList.map(item => item.name).join(",")
|
||||||
|
|
||||||
this.form.QTWJBUSS=this.QTWJBUSSFileList.map(item => item.id).join(",")
|
// this.form.QTWJBUSS=this.QTWJBUSSFileList.map(item => item.id).join(",")
|
||||||
|
this.form.QTWJBUSS=this.QTWJBUSSFileList.map(item => item.id ? item.id : item.response.data.id).join(",")
|
||||||
this.form.QTWJBUSSName=this.QTWJBUSSFileList.map(item => item.name).join(",")
|
this.form.QTWJBUSSName=this.QTWJBUSSFileList.map(item => item.name).join(",")
|
||||||
|
|
||||||
this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.id).join(",")
|
// this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.id).join(",")
|
||||||
|
this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.id ? item.id : item.response.data.id).join(",")
|
||||||
this.form.GLWJBUSSName=this.GLWJBUSSFileList.map(item => item.name).join(",")
|
this.form.GLWJBUSSName=this.GLWJBUSSFileList.map(item => item.name).join(",")
|
||||||
|
|
||||||
this.form.summaryFile=this.summaryFileList.map(item => item.id).join(",")
|
// this.form.summaryFile=this.summaryFileList.map(item => item.id).join(",")
|
||||||
|
this.form.summaryFile=this.summaryFileList.map(item => item.id ? item.id : item.response.data.id).join(",")
|
||||||
this.form.summaryFileName=this.summaryFileList.map(item => item.name).join(",")
|
this.form.summaryFileName=this.summaryFileList.map(item => item.name).join(",")
|
||||||
|
|
||||||
this.form.madelSub=this.madelSubList.map(item => item.id).join(",")
|
// this.form.madelSub=this.madelSubList.map(item => item.id).join(",")
|
||||||
|
this.form.madelSub=this.madelSubList.map(item => item.id ? item.id : item.response.data.id).join(",")
|
||||||
this.form.madelSubName=this.madelSubList.map(item => item.name).join(",")
|
this.form.madelSubName=this.madelSubList.map(item => item.name).join(",")
|
||||||
|
|
||||||
},
|
},
|
||||||
@@ -2709,7 +2718,7 @@
|
|||||||
this.GLWJBUSSFileList=this.assemble(item.GLWJBUSS,item.GLWJBUSSName);
|
this.GLWJBUSSFileList=this.assemble(item.GLWJBUSS,item.GLWJBUSSName);
|
||||||
this.summaryFileList=this.assemble(item.summaryFile,item.summaryFileName);
|
this.summaryFileList=this.assemble(item.summaryFile,item.summaryFileName);
|
||||||
this.madelSubList=this.assemble(item.madelSub,item.madelSubName);
|
this.madelSubList=this.assemble(item.madelSub,item.madelSubName);
|
||||||
|
this.formKey++
|
||||||
this.getStandInfoByReviseStatus()
|
this.getStandInfoByReviseStatus()
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -2811,23 +2811,30 @@
|
|||||||
fileInfoHandle(){
|
fileInfoHandle(){
|
||||||
|
|
||||||
//拼接文件名和id 提交到流程Activity
|
//拼接文件名和id 提交到流程Activity
|
||||||
console.log(this.FBGBUSSFileList)
|
|
||||||
this.form.FBGBUSS=this.FBGBUSSFileList.map(item => item.id).join(",")
|
// 修复将文件删除为一个后提交不显示的bug
|
||||||
|
// this.form.FBGBUSS=this.FBGBUSSFileList.map(item => item.id).join(",")
|
||||||
|
this.form.FBGBUSS=this.FBGBUSSFileList.map(item => item.id ? item.id : item.response.data.id).join(",")
|
||||||
this.form.FBGBUSSName=this.FBGBUSSFileList.map(item => item.name).join(",")
|
this.form.FBGBUSSName=this.FBGBUSSFileList.map(item => item.name).join(",")
|
||||||
|
|
||||||
this.form.BZSMBUSS=this.BZSMBUSSFileList.map(item => item.id).join(",")
|
// this.form.BZSMBUSS=this.BZSMBUSSFileList.map(item => item.id).join(",")
|
||||||
|
this.form.BZSMBUSS=this.BZSMBUSSFileList.map(item => item.id ? item.id : item.response.data.id).join(",")
|
||||||
this.form.BZSMBUSSName=this.BZSMBUSSFileList.map(item => item.name).join(",")
|
this.form.BZSMBUSSName=this.BZSMBUSSFileList.map(item => item.name).join(",")
|
||||||
|
|
||||||
this.form.LSBBBUSS=this.LSBBBUSSFileList.map(item => item.id).join(",")
|
// this.form.LSBBBUSS=this.LSBBBUSSFileList.map(item => item.id).join(",")
|
||||||
|
this.form.LSBBBUSS=this.LSBBBUSSFileList.map(item => item.id ? item.id : item.response.data.id).join(",")
|
||||||
this.form.LSBBBUSSName=this.LSBBBUSSFileList.map(item => item.name).join(",")
|
this.form.LSBBBUSSName=this.LSBBBUSSFileList.map(item => item.name).join(",")
|
||||||
|
|
||||||
this.form.QTWJBUSS=this.QTWJBUSSFileList.map(item => item.id).join(",")
|
// this.form.QTWJBUSS=this.QTWJBUSSFileList.map(item => item.id).join(",")
|
||||||
|
this.form.QTWJBUSS=this.QTWJBUSSFileList.map(item => item.id ? item.id : item.response.data.id).join(",")
|
||||||
this.form.QTWJBUSSName=this.QTWJBUSSFileList.map(item => item.name).join(",")
|
this.form.QTWJBUSSName=this.QTWJBUSSFileList.map(item => item.name).join(",")
|
||||||
|
|
||||||
this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.id).join(",")
|
// this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.id).join(",")
|
||||||
|
this.form.GLWJBUSS=this.GLWJBUSSFileList.map(item => item.id ? item.id : item.response.data.id).join(",")
|
||||||
this.form.GLWJBUSSName=this.GLWJBUSSFileList.map(item => item.name).join(",")
|
this.form.GLWJBUSSName=this.GLWJBUSSFileList.map(item => item.name).join(",")
|
||||||
|
|
||||||
this.form.summaryFile=this.summaryFileList.map(item => item.id).join(",")
|
// this.form.summaryFile=this.summaryFileList.map(item => item.id).join(",")
|
||||||
|
this.form.summaryFile=this.summaryFileList.map(item => item.id ? item.id : item.response.data.id).join(",")
|
||||||
this.form.summaryFileName=this.summaryFileList.map(item => item.name).join(",")
|
this.form.summaryFileName=this.summaryFileList.map(item => item.name).join(",")
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -592,21 +592,21 @@ export default {
|
|||||||
qbzxdFrom.commentText = this.commentText;
|
qbzxdFrom.commentText = this.commentText;
|
||||||
qbzxdFrom.addFlag = '0'
|
qbzxdFrom.addFlag = '0'
|
||||||
let json = Object.assign(qbzxdFrom, this.roleForm);
|
let json = Object.assign(qbzxdFrom, this.roleForm);
|
||||||
this.$http.post("lawss/activiti/startProcessRollBack", {
|
// this.$http.post("lawss/activiti/startProcessRollBack", {
|
||||||
createUser: this.$store.getters.userInfo.userId,
|
// createUser: this.$store.getters.userInfo.userId,
|
||||||
createUserName: this.$store.getters.userInfo.userName,
|
// createUserName: this.$store.getters.userInfo.userName,
|
||||||
type: '25',
|
// type: '25',
|
||||||
json: JSON.stringify({
|
// json: JSON.stringify({
|
||||||
roleForm: this.roleForm,
|
// roleForm: this.roleForm,
|
||||||
qbfsForm: qbzxdFrom,
|
// qbfsForm: qbzxdFrom,
|
||||||
commentText: this.commentText
|
// commentText: this.commentText
|
||||||
})
|
// })
|
||||||
}, {
|
// }, {
|
||||||
_this: this
|
// _this: this
|
||||||
}, res => {
|
// }, res => {
|
||||||
if (res.ok) {
|
// if (res.ok) {
|
||||||
this.$http.post("lawss/activiti/completeTask", {
|
this.$http.post("lawss/activiti/completeTask", {
|
||||||
taskIds: res.data,
|
taskIds: this.$route.query.taskIds,
|
||||||
userId: this.$store.getters.userInfo.userId,
|
userId: this.$store.getters.userInfo.userId,
|
||||||
json: JSON.stringify(json)
|
json: JSON.stringify(json)
|
||||||
}, {
|
}, {
|
||||||
@@ -628,8 +628,8 @@ export default {
|
|||||||
this.$router.push({ path: "/processCenter?tabsName=ProcessCenter" });
|
this.$router.push({ path: "/processCenter?tabsName=ProcessCenter" });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
}else {
|
}else {
|
||||||
this.$refs["roleForm"].validate((valid) => {
|
this.$refs["roleForm"].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
|||||||
Reference in New Issue
Block a user