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