princeLee 4 жил өмнө
parent
commit
21faee1b5e

+ 3 - 2
src/views/projectManage/dialog_vue.vue

@@ -100,7 +100,7 @@
 
 <script>
 import { mapGetters } from 'vuex'
-import { analysisBizId_id } from '@/utils/crypto-js.js'
+import { analysisBizId_id, EncryptId } from '@/utils/crypto-js.js'
 const _ = require('lodash')
 import { taskCreate, memberQueryMemberInfoByIDAPorName, configShowTaskEnum, configShowRequirementVersionEnum, taskGet, taskUpdate, projectListProject } from '@/api/taskIndex' // ajax
 import { projectList, settingGetBizList } from '@/api/projectIndex'
@@ -322,7 +322,8 @@ export default {
             this.dialogFormVisible = false
             this.$message({ message: res.msg, type: 'success', duration: 1000, offset: 150 })
             if (!this.noJump) {
-              this.$router.push({ name: '任务详情', query: { id: res.data.id }})
+              const bizId_id = EncryptId(`${this.bizId}_${res.data.id}`)
+              this.$router.push({ name: '任务详情', query: { bizId_id: bizId_id }})
             } else {
               this.$emit('change')
             }