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

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

5
 ENV = 'production'
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
     "build:prod": "vue-cli-service build",
9
     "build:prod": "vue-cli-service build",
10
     "build:stage": "vue-cli-service build --mode staging",
10
     "build:stage": "vue-cli-service build --mode staging",
11
     "preview": "node build/index.js --preview",
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
   "husky": {
14
   "husky": {
16
     "hooks": {
15
     "hooks": {

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

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

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

126
     return (resolve) => require([`@/views/${view}`], resolve)
126
     return (resolve) => require([`@/views/${view}`], resolve)
127
   } else {
127
   } else {
128
     // 使用 import 实现生产环境的路由懒加载
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
                     userName:item.mediatorName
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
             await this.updateBookingFn({
111
             await this.updateBookingFn({
112
                 id:this.mediatorData.id,
112
                 id:this.mediatorData.id,
113
                 caseFlowId:this.mediatorData.caseFlowId,
113
                 caseFlowId:this.mediatorData.caseFlowId,

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

31
 <script>
31
 <script>
32
 import { Message } from 'element-ui'
32
 import { Message } from 'element-ui'
33
 import { listMediator, selectReservation,confirmDate } from '@/api/caseManagement/caseManagement.js'
33
 import { listMediator, selectReservation,confirmDate } from '@/api/caseManagement/caseManagement.js'
34
+import { createRoomId } from '@/api/metting/metting.js'
34
 import moment from "moment";
35
 import moment from "moment";
35
 export default {
36
 export default {
36
     props: ["timeConfirmVisable", "timeConfirmData", "queryParams"],
37
     props: ["timeConfirmVisable", "timeConfirmData", "queryParams"],
89
                 this.$emit('getList', this.queryParams);
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
         async submitMediator() {
100
         async submitMediator() {
101
+            this.createRoomIdFn({
102
+                caseId:this.timeConfirmData.id
103
+            })
94
             if (this.confirmFlag == 1) {
104
             if (this.confirmFlag == 1) {
95
                 let userArr = [];
105
                 let userArr = [];
96
                 this.tableData.forEach(item => {
106
                 this.tableData.forEach(item => {