diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index ac24b9540..0e9a838b7 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -2170,7 +2170,7 @@ export default { this.$message.error('水印下载仅支持PDF,pdf格式文件') } else { if (attId != null && attId !== '') { - window.location.href = '/api/att/attFile/downloadFileForSarWaterMark?fileId=' + attId + window.location.href = '/api/att/attFile/downloadFileForSarWaterMark?fileId=' + attId + '&userId=' + this.$store.getters.userInfo.userId } else { this.$message.error('请选择要下载的文件') } diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue index d4b576538..0fff44a57 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue @@ -1130,7 +1130,7 @@ import ProcessHeader from '../../components/ProcessHeader' import ProcessFooter from '../../components/ProcessFooter' import ProcessTitle from '../../components/ProcessTitle' - import {saveTaskFirst} from "api/process"; + import {saveTaskFirst, queryTaskFirst} from "api/process"; import TreeSelect from '@/components/treeSelect/treeSelect.vue'; import TreeSelectNew from '@/components/treeSelect/treeSelectNew.vue'; @@ -1444,6 +1444,18 @@ }, }, methods: { + getTaskId () { + queryTaskFirst({ + bpnId: this.$route.query.bpnId + }).then(res => { + this.verifySarStandard = this.$route.query.verifySarStandard + let mes = JSON.parse(res.mes) + mes.form.date = new Date(this.$moment(mes.form.date).format('YYYY-MM-DD')) + this.form = mes.form + this.roleForm = mes.roleForm + this.commentText = mes.commentText + }) + }, // 将文本状态的id与name对应 setMap(data){ data.forEach(item => { @@ -2036,15 +2048,20 @@ // _formData.append('id', this.bpnId) _formData.append('createUser', this.$store.getters.userInfo.userId) _formData.append('createUserName', this.$store.getters.userInfo.uName) - _formData.append('prcType', this.$route.query.type) + _formData.append('prcType', '1') _formData.append('json', JSON.stringify({ - prcForm: this.prcForm, - sarAccessInfoList: this.sarAccessInfoList, - sarAccessInfoListADMIN: this.sarAccessInfoListADMIN, - bzqdForm: this.bzqdForm, - listInfo: this.listInfo, - id: this.id + // prcForm: this.prcForm, + // sarAccessInfoList: this.sarAccessInfoList, + // sarAccessInfoListADMIN: this.sarAccessInfoListADMIN, + // bzqdForm: this.bzqdForm, + // listInfo: this.listInfo, + // id: this.id + taskInfo: '申请人发起', + form: this.form, + roleForm: this.roleForm, + commentText: this.commentText })) + console.log(_formData, '参数') saveTaskFirst(_formData).then(res => { this.saveLoading = false this.$message.success('保存成功') @@ -2123,6 +2140,7 @@ }, }, mounted () { + this.getTaskId() this.getTree() this.$http.get('sys/dictype/getDicTypeListCode', '', { _this: this diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue index f1d620249..1a4702620 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step2.vue @@ -514,25 +514,38 @@ -