修改bug

This commit is contained in:
宋伟佳
2021-08-03 18:01:11 +08:00
parent 1281868ed3
commit 001353d687
4 changed files with 555 additions and 556 deletions
@@ -1305,6 +1305,7 @@ export default {
if (cur[i].pId == null || cur[i].pId === '') {
this.parentNode = cur[i]
}
console.log(str);
this.zNodes = str
}
// 查完左侧目录后,如果没有选中的,设置最外层选中
@@ -1450,7 +1451,6 @@ export default {
loading: 'loading'
},
res => {
console.log(res)
if (res.ok) {
this.$copyText(this.copyMessage).then((e) => {
})
@@ -1657,7 +1657,6 @@ export default {
let regSt = /<table/g
let countSt = newContent.match(regSt)
let countEd = newContent.match(regEd)
console.log(countSt)
if (countSt === null) {
this.$message.warning('内容必须包含一个表格')
} else if (countSt.length > 1 && countEd.length > 1) {
@@ -2115,7 +2114,6 @@ export default {
this.standItemEO.ZRBM = this.standItemEO.responsibleUnit
this.saveItemId = row.id
this.showUpdateItemInfo()
console.log(this.standItemEO)
},
getOrgTreeSource () {
this.$http.get('sys/org/getTree', {}, {_this: this},
@@ -2148,7 +2146,6 @@ export default {
attribute (row) {
this.getFileName(row)
this.showItemInfoEO = JSON.parse(JSON.stringify(row))
console.log(this.showItemInfoEO)
},
getDicTypeName(opt, type) {
const _type = type ? type.split(',') : []
@@ -376,7 +376,7 @@
import ProcessHeader from "../../components/ProcessHeader";
import ProcessFooter from "../../components/ProcessFooter";
import ProcessTitle from "../../components/ProcessTitle";
import { inboundLiaisonDetail, saveTaskFirst } from "api/process";
import { inboundLiaisonDetail, saveinboundTask } from "api/process";
export default {
name: "bzqdfbStep3",
@@ -700,9 +700,10 @@ export default {
pId: this.$route.query.prcId,
commentText: this.commentText
}));
saveTaskFirst(_formData).then(res => {
saveinboundTask(_formData).then(res => {
this.saveLoading = false;
this.$message.success("保存成功");
this.$router.push('/processCenter')
this.bpnId = res.result;
}).catch(e => {
this.saveLoading = false;
File diff suppressed because it is too large Load Diff
@@ -69,43 +69,43 @@
width="55"
align="center">
</el-table-column>
<el-table-column
prop="prcNum"
label="流程编号"
align="center"
width="150"
>
</el-table-column>
<!-- <el-table-column-->
<!-- prop="prcNum"-->
<!-- label="流程编号"-->
<!-- align="center"-->
<!-- width="150"-->
<!-- >-->
<!-- </el-table-column>-->
<el-table-column
prop="prcType"
label="流程类型"
align="center"
width="180"
width="500"
>
<template slot-scope="scope">
{{ scope.row.prcName || getPrcName(scope.row.prcType) }}
</template>
</el-table-column>
<el-table-column
prop="prcName"
label="流程名称"
show-overflow-tooltip
align="center"
min-width="250"
>
</el-table-column>
<!-- <el-table-column-->
<!-- prop="prcName"-->
<!-- label="流程名称"-->
<!-- show-overflow-tooltip-->
<!-- align="center"-->
<!-- min-width="250"-->
<!-- >-->
<!-- </el-table-column>-->
<el-table-column
prop="creatUserName"
label="发起人"
align="center"
width="90"
width="300"
>
</el-table-column>
<el-table-column
prop="creatTime"
label="创建日期"
align="center"
width="150"
width="380"
>
<template slot-scope="scope">
<span>{{ scope.row.creatTime ? $moment(scope.row.creatTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>
@@ -115,7 +115,7 @@
prop="endTime"
label="完成日期"
align="center"
width="150"
width="380"
>
<template slot-scope="scope">
<span>{{ scope.row.endTime ? $moment(scope.row.endTime).format('YYYY-MM-DD HH:mm:ss') : '' }}</span>