[update] 修改流程查看详情进入报任务不存在,市场清单流程类型和国家地区没返回,市场清单子表增加备注字段

This commit is contained in:
lideqin
2024-07-22 17:50:42 +08:00
parent 70082bb352
commit 6483e07518
9 changed files with 54 additions and 29 deletions
@@ -24,7 +24,7 @@
:wrapperCol="$i18n.locale === EN ? wrapperColEn : wrapperCol"
:label="$t('processName')"
:colon="formItemColon">
<a-input :placeholder="$t('pleaseEnter') + $t('processName')"
<a-input :placeholder="$t('autoTakeout')"
disabled
:maxLength="50"
v-decorator="['processName', validatorRules.processName]" />
@@ -202,14 +202,6 @@ export default {
}
}
})
if (this.$route.query.taskId && !this.$route.query.draftId) {
// 有流程id说明是从流程中心来的,需要初始化数据
this.getProcessData('todo', { taskId: this.$route.query.taskId })
}
if (this.$route.query.draftId) {
// 有草稿id,说明是从流程中心-草稿来的,需要初始化数据
this.getProcessData('draft', { draftId: this.$route.query.draftId, projectId: this.$route.query.projectId })
}
if (this.$route.query.isLook + '' === '1') {
// 是查看
this.isLook = true
@@ -217,6 +209,15 @@ export default {
this.initPersonInfoData(false)
// 查询数据
this.getProcessData('look', { snapshotId: this.$route.query.snapshotId })
} else {
if (this.$route.query.taskId && !this.$route.query.draftId) {
// 有流程id说明是从流程中心来的,需要初始化数据
this.getProcessData('todo', { taskId: this.$route.query.taskId })
}
if (this.$route.query.draftId) {
// 有草稿id,说明是从流程中心-草稿来的,需要初始化数据
this.getProcessData('draft', { draftId: this.$route.query.draftId, projectId: this.$route.query.projectId })
}
}
if (this.$route.query.taskName) {
// 说明是已发起流程