qinzhipeng_v 5 lat temu
rodzic
commit
1cad579d7e

+ 1 - 1
src/layout/components/Navbar.vue

@@ -118,7 +118,7 @@ export default {
     get_bizArr() {
       settingQueryBizTypeList({}).then(res => {
         this.bizOptions = res.data.list
-        var int = Number(localStorage.getItem('key'))
+        var int = Number(localStorage.getItem('bizId'))
         int === 0 ? int = '' : ''
         this.bizShow.id = int
         memberQueryMemberInfoByIDAPorName({ memberIDAP: localStorage.getItem('realname') }).then(res => {

+ 7 - 7
src/views/Platform/Workbench/PersonalWorkbench.vue

@@ -160,7 +160,7 @@ export default {
       taskStatus: [{ name: '进行中', value: 0 }, { name: '已上线', value: 1 }],
       bugStatus: [{ name: '待解决', value: 0 }, { name: '已解决', value: 1 }],
       userInformation: localStorage.getItem('username'),
-      bizJson: localStorage.getItem('key'),
+      bizJson: localStorage.getItem('bizId'),
       dialogTableVisible: false,
       dialogTableVisible1: false,
       dialogTableVisible0: false,
@@ -227,7 +227,7 @@ export default {
     }
   },
   created() {
-    this.getTopShowData(localStorage.getItem('key'))
+    this.getTopShowData(localStorage.getItem('bizId'))
     this.Setstatus(1)
   },
   methods: {
@@ -290,7 +290,7 @@ export default {
         this.isBugOrTask = e.isBugOrTask
         this.userName = e
         this.userName.status = e.status
-        this.userName.bizId = localStorage.getItem('key')
+        this.userName.bizId = localStorage.getItem('bizId')
         this.userName.handlerPerson = this.userInformation
         this.userName.title = e.titles
         personalworkstationQueryBackLogBugAndTask(this.userName).then(res => {
@@ -318,7 +318,7 @@ export default {
       this.$set(this.bugOrTask1, 'status', '')
       this.tableType = []
       this.Informationen.isBugOrTask = e
-      this.Informationen.bizId = localStorage.getItem('key')
+      this.Informationen.bizId = localStorage.getItem('bizId')
       this.Informationen.handlerPerson = this.userInformation
       personalworkstationQueryStatusAndPriority(this.Informationen).then(res => {
         var backLogStatusList = res.data.backLogStatusList
@@ -341,7 +341,7 @@ export default {
       this.total = 0
       this.$set(this.bugOrTask, 'isBugOrTask', 1)
       if (tab.label === '工作统计') {
-        this.userName = { bizId: localStorage.getItem('key'), handlerPerson: this.userInformation, timeType: 0 }
+        this.userName = { bizId: localStorage.getItem('bizId'), handlerPerson: this.userInformation, timeType: 0 }
         personalworkstationQueryPeriodBugAndTask(this.userName).then(res => {
           this.HashSet = res.data.taskInfoDoingList.length
           this.HashSetArray = res.data.taskInfoDoingList
@@ -387,7 +387,7 @@ export default {
       if (e.value2) {
         if (e.value2 !== '') {
           var obj = {
-            bizId: localStorage.getItem('key'),
+            bizId: localStorage.getItem('bizId'),
             timeType: this.selectData,
             status: e.status,
             isBugOrTask: e.isBugOrTask,
@@ -423,7 +423,7 @@ export default {
     Setstatus(e) {
       this.$set(this.bugOrTask, 'status', '')
       this.Informationen.isBugOrTask = e
-      this.Informationen.bizId = localStorage.getItem('key')
+      this.Informationen.bizId = localStorage.getItem('bizId')
       this.Informationen.handlerPerson = this.userInformation
       personalworkstationQueryStatusAndPriority(this.Informationen).then(res => {
         if (res.code === 200) {

+ 5 - 5
src/views/Platform/defectManagement.vue

@@ -507,7 +507,7 @@ export default {
       },
       userInformation: localStorage.getItem('username'),
       userNames: localStorage.getItem('realname'),
-      bizJson: localStorage.getItem('key'),
+      bizJson: localStorage.getItem('bizId'),
       pageSize: 20,
       curIndex: 1,
       total: 0,
@@ -583,7 +583,7 @@ export default {
   },
   methods: {
     getList() {
-      this.bizJson = localStorage.getItem('key')
+      this.bizJson = localStorage.getItem('bizId')
       this.indexPage = {
         bizId: this.bizJson,
         pageSize: this.pageSize,
@@ -662,7 +662,7 @@ export default {
       }
     },
     dataQuery(e) {
-      this.bizJson = localStorage.getItem('key')
+      this.bizJson = localStorage.getItem('bizId')
       this.indexPage = e
       this.curIndex = 1
       this.indexPage.bizId = this.bizJson
@@ -866,7 +866,7 @@ export default {
       }
     },
     dataQueryInSearch(e) {
-      this.bizJson = localStorage.getItem('key')
+      this.bizJson = localStorage.getItem('bizId')
       this.indexPage = e
       this.indexPage.bizId = this.bizJson
       this.indexPage.pageSize = this.pageSize
@@ -946,7 +946,7 @@ export default {
     },
     getQueryData() {
       this.$route.query.code === 4 ? this.queryCode.taskId = this.$route.query.id : ''
-      this.bizJson = localStorage.getItem('key')
+      this.bizJson = localStorage.getItem('bizId')
       taskListCreate({ bizId: this.bizJson }).then(res => {
         this.taskIdStr = res.data
       })

+ 1 - 2
src/views/Platform/presentation/testPresentation.vue

@@ -178,7 +178,7 @@ export default {
       activeName: 'first',
       userInformation: localStorage.getItem('username'),
       userNames: localStorage.getItem('realname'),
-      bizJson: localStorage.getItem('key'),
+      bizJson: localStorage.getItem('bizId'),
       centerDialogVisible: false,
       getListAllData: [],
       queryDataState: {},
@@ -234,7 +234,6 @@ export default {
   },
   methods: {
     handleClick(tab, event) {
-      console.log(tab, event)
       switch (Number(tab.index)) {
         case 0:
           this.getList()

+ 2 - 2
src/views/Platform/projectPage.vue

@@ -375,7 +375,7 @@ export default {
   },
   methods: {
     getList() {
-      this.bizJson = localStorage.getItem('key')
+      this.bizJson = localStorage.getItem('bizId')
       this.bizData = { bizId: this.bizJson }
       this.queryListData = {
         ename: this.userNames,
@@ -597,7 +597,7 @@ export default {
     querychange(val) {
       this.Arra = []
       val.statusString !== '' ? this.Arra.push(val.statusString) : ''
-      this.bizJson = localStorage.getItem('key')
+      this.bizJson = localStorage.getItem('bizId')
       this.bizData = { bizId: this.bizJson }
       this.queryListData = val
       this.queryListData.ename = this.userNames

+ 1 - 1
src/views/Platform/setUp/teamPage.vue

@@ -92,7 +92,7 @@ export default {
       bizOptions: [],
       userInformation: localStorage.getItem('username'),
       userNames: localStorage.getItem('realname'),
-      bizJson: localStorage.getItem('key'),
+      bizJson: localStorage.getItem('bizId'),
       curIndex: 1, // 初始页
       pageSize: 10, // 每页的数据
       total: 0,

+ 1 - 1
src/views/Platform/useCase/createUse.vue

@@ -90,7 +90,7 @@ export default {
     return {
       data: [{ description: '', expectedResult: '' }],
       userNames: localStorage.getItem('username'),
-      bizJson: localStorage.getItem('key'),
+      bizJson: localStorage.getItem('bizId'),
       startId: '',
       caseData: {},
       dis: false,

+ 1 - 1
src/views/Platform/useCasePage.vue

@@ -536,7 +536,7 @@ export default {
     },
     handleDrop(draggingNode, dropNode, dropType, ev) {
       console.log('拖拽成功完成时触发的事件', dropNode.key, dropType)
-      var startEnd = { parentFolderId: dropNode.key, id: this.startKey, bizId: localStorage.getItem('key'), modifier: this.userInformation, creator: this.userInformation, xmindUrl: '' }
+      var startEnd = { parentFolderId: dropNode.key, id: this.startKey, bizId: localStorage.getItem('bizId'), modifier: this.userInformation, creator: this.userInformation, xmindUrl: '' }
       this.ConfirmSubmission(startEnd)
     },
 

+ 1 - 1
src/views/ToConfigure/configure.vue

@@ -243,7 +243,7 @@ export default {
   data() {
     return {
       userInformation: localStorage.getItem('username'),
-      bizJson: localStorage.getItem('key'),
+      bizJson: localStorage.getItem('bizId'),
       dialogFormVisible: false,
       dialogFormVisibleQuery: false,
       activeName: 'second',

+ 5 - 5
src/views/onlineProblem/problemList.vue

@@ -411,7 +411,7 @@ export default {
       },
       userInformation: localStorage.getItem('username'),
       userNames: localStorage.getItem('realname'),
-      bizJson: localStorage.getItem('key'),
+      bizJson: localStorage.getItem('bizId'),
       pageSize: 20,
       curIndex: 1,
       total: 0,
@@ -453,7 +453,7 @@ export default {
   },
   methods: {
     getList() {
-      this.bizJson = localStorage.getItem('key')
+      this.bizJson = localStorage.getItem('bizId')
       this.indexPage = {
         online: true,
         stage: 6,
@@ -493,7 +493,7 @@ export default {
       }
     },
     dataQuery(e) {
-      this.bizJson = localStorage.getItem('key')
+      this.bizJson = localStorage.getItem('bizId')
       this.indexPage = e
       this.curIndex = 1
       this.indexPage.bizId = this.bizJson
@@ -513,7 +513,7 @@ export default {
       })
     },
     dataQueryInSearch(e) {
-      this.bizJson = localStorage.getItem('key')
+      this.bizJson = localStorage.getItem('bizId')
       this.indexPage = e
       this.indexPage.bizId = this.bizJson
       this.indexPage.pageSize = this.pageSize
@@ -588,7 +588,7 @@ export default {
     },
     getQueryData() {
       this.$route.query.code === 4 ? this.queryCode.taskId = this.$route.query.id : ''
-      this.bizJson = localStorage.getItem('key')
+      this.bizJson = localStorage.getItem('bizId')
       taskListCreate({ bizId: this.bizJson }).then(res => {
         this.taskIdStr = res.data
       })

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

@@ -148,6 +148,9 @@ export default {
   created() {
     this.get_taskSelect()
   },
+  mounted() {
+    this.bugDataGet()
+  },
   methods: {
     init(e, id) {
       this.tit_Name = '新建任务'