gyj 2 лет назад
Родитель
Сommit
d625e62ff9

+ 1
- 1
.env.production Просмотреть файл

@@ -5,4 +5,4 @@ VUE_APP_TITLE = 调解系统
5 5
 ENV = 'production'
6 6
 
7 7
 # 若依管理系统/生产环境
8
-VUE_APP_BASE_API = '/prod-api'
8
+VUE_APP_BASE_API = '/API'

+ 1
- 2
package.json Просмотреть файл

@@ -9,8 +9,7 @@
9 9
     "build:prod": "vue-cli-service build",
10 10
     "build:stage": "vue-cli-service build --mode staging",
11 11
     "preview": "node build/index.js --preview",
12
-    "lint": "eslint --ext .js,.vue src",
13
-    "dev_t": "set NODE_OPTIONS=\"--openssl-legacy-provider\" & npm run dev\n"
12
+    "lint": "eslint --ext .js,.vue src"
14 13
   },
15 14
   "husky": {
16 15
     "hooks": {

+ 1
- 1
src/api/metting/metting.js Просмотреть файл

@@ -3,7 +3,7 @@ import request from '@/utils/request'
3 3
 // 生成会议号
4 4
 export function createRoomId(data) {
5 5
   return request({
6
-    url: 'video/createRoomId',
6
+    url: 'caseApplication/createRoomId',
7 7
     method: 'get',
8 8
     params: data
9 9
   })

+ 1
- 1
src/store/modules/permission.js Просмотреть файл

@@ -126,7 +126,7 @@ export const loadView = (view) => {
126 126
     return (resolve) => require([`@/views/${view}`], resolve)
127 127
   } else {
128 128
     // 使用 import 实现生产环境的路由懒加载
129
-    return () => import(`@/views/${view}`)
129
+    return (resolve) => require([`@/views/${view}`], resolve)
130 130
   }
131 131
 }
132 132
 

+ 3
- 3
src/views/caseManagement/components/selectMediator.vue Просмотреть файл

@@ -105,9 +105,9 @@ export default {
105 105
                     userName:item.mediatorName
106 106
                 })
107 107
             })
108
-            await this.createRoomIdFn({
109
-                caseId:this.mediatorData.id
110
-            })
108
+            // await this.createRoomIdFn({
109
+            //     caseId:this.mediatorData.id
110
+            // })
111 111
             await this.updateBookingFn({
112 112
                 id:this.mediatorData.id,
113 113
                 caseFlowId:this.mediatorData.caseFlowId,

+ 10
- 0
src/views/caseManagement/components/timeConfirm.vue Просмотреть файл

@@ -31,6 +31,7 @@
31 31
 <script>
32 32
 import { Message } from 'element-ui'
33 33
 import { listMediator, selectReservation,confirmDate } from '@/api/caseManagement/caseManagement.js'
34
+import { createRoomId } from '@/api/metting/metting.js'
34 35
 import moment from "moment";
35 36
 export default {
36 37
     props: ["timeConfirmVisable", "timeConfirmData", "queryParams"],
@@ -89,8 +90,17 @@ export default {
89 90
                 this.$emit('getList', this.queryParams);
90 91
             })
91 92
         },
93
+        // 生成会议房间号
94
+        createRoomIdFn(data){
95
+            createRoomId(data).then(res=>{
96
+                console.log(res,"房间号");
97
+            })
98
+        },
92 99
         /**提交选择结果*/
93 100
         async submitMediator() {
101
+            this.createRoomIdFn({
102
+                caseId:this.timeConfirmData.id
103
+            })
94 104
             if (this.confirmFlag == 1) {
95 105
                 let userArr = [];
96 106
                 this.tableData.forEach(item => {