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

This commit is contained in:
fanlin
2021-07-29 14:16:56 +08:00
10 changed files with 83 additions and 44 deletions
@@ -46,7 +46,6 @@
row-key="standId" row-key="standId"
height="70%" height="70%"
border border
@selection-change="selectStandChange"
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}" fontWeight: 'bold', height: '48px'}"
> >
@@ -175,6 +174,12 @@
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
<el-table-column
prop="workPeople"
align="center"
width="200"
label="责任人">
</el-table-column>
</el-table> </el-table>
</div> </div>
<div> <div>
@@ -387,6 +392,7 @@ export default {
this.listForm.bzFlag = "1"; this.listForm.bzFlag = "1";
this.listForm.commentText = this.commentText; this.listForm.commentText = this.commentText;
const json = JSON.stringify(this.listForm); const json = JSON.stringify(this.listForm);
console.log(json)
this.$http.post("lawss/activiti/completeTask", { this.$http.post("lawss/activiti/completeTask", {
taskIds: this.taskIds, taskIds: this.taskIds,
userId: this.userId, userId: this.userId,
@@ -46,7 +46,6 @@
row-key="standId" row-key="standId"
height="70%" height="70%"
border border
@selection-change="selectStandChange"
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}" fontWeight: 'bold', height: '48px'}"
> >
@@ -175,6 +174,12 @@
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
<el-table-column
prop="workPeople"
align="center"
width="200"
label="责任人">
</el-table-column>
</el-table> </el-table>
</div> </div>
<div> <div>
@@ -335,6 +340,7 @@ export default {
taskIds: this.taskIds, taskIds: this.taskIds,
pId: this.pId pId: this.pId
}).then(res => { }).then(res => {
console.log(res.mesg)
if (res) { if (res) {
const processForm = JSON.parse(res.mesg); const processForm = JSON.parse(res.mesg);
this.getFormFieldList(processForm); this.getFormFieldList(processForm);
@@ -46,7 +46,6 @@
row-key="standId" row-key="standId"
height="70%" height="70%"
border border
@selection-change="selectStandChange"
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}" fontWeight: 'bold', height: '48px'}"
> >
@@ -175,6 +174,12 @@
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
<el-table-column
prop="workPeople"
align="center"
width="200"
label="责任人">
</el-table-column>
</el-table> </el-table>
</div> </div>
<div> <div>
@@ -312,6 +312,9 @@ export default {
}, },
//驳回事件 //驳回事件
beforeBack() { beforeBack() {
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
this.$message.warning('审批意见不能为空')
}else{
this.listForm.BZFlag = "2"; this.listForm.BZFlag = "2";
this.listForm.commentText = this.commentText; this.listForm.commentText = this.commentText;
const json = JSON.stringify(this.listForm); const json = JSON.stringify(this.listForm);
@@ -328,9 +331,13 @@ export default {
} }
}, e => { }, e => {
}); });
}
}, },
//提交事件 //提交事件
handleSubmit() { handleSubmit() {
if(this.commentText === null || this.commentText === undefined || this.commentText === ''){
this.$message.warning('审批意见不能为空')
}else{
this.listForm.BZFlag = "1"; this.listForm.BZFlag = "1";
this.listForm.commentText = this.commentText; this.listForm.commentText = this.commentText;
const json = JSON.stringify(this.listForm); const json = JSON.stringify(this.listForm);
@@ -348,6 +355,7 @@ export default {
}, e => { }, e => {
}); });
} }
}
}, },
computed: { computed: {
listNoDataText() { listNoDataText() {
@@ -46,7 +46,6 @@
row-key="standId" row-key="standId"
height="70%" height="70%"
border border
@selection-change="selectStandChange"
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}" fontWeight: 'bold', height: '48px'}"
> >
@@ -175,6 +174,12 @@
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
<el-table-column
prop="workPeople"
align="center"
width="200"
label="责任人">
</el-table-column>
</el-table> </el-table>
</div> </div>
<div> <div>
@@ -335,6 +340,7 @@
taskIds: this.taskIds, taskIds: this.taskIds,
pId: this.pId pId: this.pId
}).then(res => { }).then(res => {
console.log(res.mesg)
if (res) { if (res) {
const processForm = JSON.parse(res.mesg); const processForm = JSON.parse(res.mesg);
this.getFormFieldList(processForm); this.getFormFieldList(processForm);
@@ -46,7 +46,6 @@
row-key="standId" row-key="standId"
height="70%" height="70%"
border border
@selection-change="selectStandChange"
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}" fontWeight: 'bold', height: '48px'}"
> >
@@ -175,6 +174,12 @@
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
<el-table-column
prop="workPeople"
align="center"
width="200"
label="责任人">
</el-table-column>
</el-table> </el-table>
</div> </div>
<div> <div>
@@ -46,7 +46,6 @@
row-key="standId" row-key="standId"
height="70%" height="70%"
border border
@selection-change="selectStandChange"
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}" fontWeight: 'bold', height: '48px'}"
> >
@@ -175,6 +174,12 @@
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
<el-table-column
prop="workPeople"
align="center"
width="200"
label="责任人">
</el-table-column>
</el-table> </el-table>
</div> </div>
<div> <div>
@@ -1173,7 +1173,6 @@ export default {
return items.id == item.id return items.id == item.id
}) })
if(addList > -1){ if(addList > -1){
this.$message.warning('请勿添加重复数据')
// this.$refs.accessTypeSelect.clearSelection() // this.$refs.accessTypeSelect.clearSelection()
this.$refs.entryTable.clearSelection() this.$refs.entryTable.clearSelection()
this.$refs.searchTable.clearSelection() this.$refs.searchTable.clearSelection()
@@ -1184,6 +1183,7 @@ export default {
this.$refs.searchTable.clearSelection() this.$refs.searchTable.clearSelection()
} }
}) })
this.$message.warning('请勿添加重复数据')
} else { } else {
this.$message.error('请选中需要添加到 清单条目 的(标准号/政策编号)') this.$message.error('请选中需要添加到 清单条目 的(标准号/政策编号)')
} }
@@ -1142,7 +1142,6 @@ export default {
return items.id == item.id return items.id == item.id
}) })
if(addList > -1){ if(addList > -1){
this.$message.warning('请勿添加重复数据')
// this.$refs.accessTypeSelect.clearSelection() // this.$refs.accessTypeSelect.clearSelection()
this.$refs.entryTable.clearSelection() this.$refs.entryTable.clearSelection()
this.$refs.searchTable.clearSelection() this.$refs.searchTable.clearSelection()
@@ -1153,6 +1152,7 @@ export default {
this.$refs.searchTable.clearSelection() this.$refs.searchTable.clearSelection()
} }
}) })
this.$message.warning('请勿添加重复数据')
this.selectedAccInfoSearchList = [] this.selectedAccInfoSearchList = []
this.$refs.entryTable.clearSelection() this.$refs.entryTable.clearSelection()
this.$refs.searchTable.clearSelection() this.$refs.searchTable.clearSelection()
@@ -1326,7 +1326,6 @@ export default {
loading: 'loadData' loading: 'loadData'
}, res => { }, res => {
if (res.ok) { if (res.ok) {
this.$message.success('编辑成功')
this.isNext = true this.isNext = true
this.$router.push({ this.$router.push({
name: 'AccessStandardsAndRegulations' name: 'AccessStandardsAndRegulations'
@@ -1141,7 +1141,6 @@ export default {
return items.id == item.id return items.id == item.id
}) })
if(addList > -1){ if(addList > -1){
this.$message.warning('请勿添加重复数据')
// this.$refs.accessTypeSelect.clearSelection() // this.$refs.accessTypeSelect.clearSelection()
this.$refs.entryTable.clearSelection() this.$refs.entryTable.clearSelection()
this.$refs.searchTable.clearSelection() this.$refs.searchTable.clearSelection()
@@ -1152,6 +1151,7 @@ export default {
this.$refs.searchTable.clearSelection() this.$refs.searchTable.clearSelection()
} }
}) })
this.$message.warning('请勿添加重复数据')
this.selectedAccInfoSearchList = [] this.selectedAccInfoSearchList = []
this.$refs.entryTable.clearSelection() this.$refs.entryTable.clearSelection()
this.$refs.searchTable.clearSelection() this.$refs.searchTable.clearSelection()
@@ -1325,7 +1325,6 @@ export default {
loading: 'loadData' loading: 'loadData'
}, res => { }, res => {
if (res.ok) { if (res.ok) {
this.$message.success('编辑成功')
this.isNext = true this.isNext = true
this.$router.push({ this.$router.push({
name: 'AccessStandardsAndRegulations' name: 'AccessStandardsAndRegulations'