Browse Source

bug修改

wangfei 6 years ago
parent
commit
dfe73f9136
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      src/pages/system/cmsManager/majorProjects/index.vue

+ 3
- 2
src/pages/system/cmsManager/majorProjects/index.vue View File

109
     ...mapState({
109
     ...mapState({
110
       OrgId: x => x.app.user.OrgId,
110
       OrgId: x => x.app.user.OrgId,
111
       caseList: x => x.app.cases.list,
111
       caseList: x => x.app.cases.list,
112
-      defaultCaseId: x => x.app.cases.default
112
+      defaultCaseId: x => x.app.cases.default,
113
+      clientUrl: x => x.app.clientUrl,
113
     })
114
     })
114
   },
115
   },
115
   components: {
116
   components: {
149
       this.$router.push({ name: 'editIndexCase', query: { id: row.CmsCaseId } })
150
       this.$router.push({ name: 'editIndexCase', query: { id: row.CmsCaseId } })
150
     },
151
     },
151
     returnUrl (id) {
152
     returnUrl (id) {
152
-      return window.location.origin + window.location.pathname + 'user.html#/majorProjects?id=' + id
153
+      return this.clientUrl + 'user.html#/majorProjects?id=' + id
153
     },
154
     },
154
     deleteItem (index, row) { // 删除
155
     deleteItem (index, row) { // 删除
155
       this.$confirm('确认删除此项目专题?', '提示', {
156
       this.$confirm('确认删除此项目专题?', '提示', {