Parcourir la source

修改测试bug

gyj il y a 2 ans
Parent
révision
8081c417a4

BIN
dist.zip Voir le fichier


+ 0
- 1
dist/css/chunk-vendors.10dd4e95.css
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


BIN
dist/favicon.ico Voir le fichier


BIN
dist/fonts/element-icons.f1a45d74.ttf Voir le fichier


BIN
dist/fonts/element-icons.ff18efd1.woff Voir le fichier


+ 0
- 1
dist/index.html Voir le fichier

1
-<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>nouiroom</title><script defer="defer" src="/js/chunk-vendors.5307e452.js"></script><script defer="defer" src="/js/app.7dd34254.js"></script><link href="/css/chunk-vendors.10dd4e95.css" rel="stylesheet"><link href="/css/app.b59bb92e.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but nouiroom doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>

+ 1
- 1
src/api/home.js Voir le fichier

1
 import axios from "@/utils/request";
1
 import axios from "@/utils/request";
2
 // let baseUrlZc = 'https://api.xayunmei.com/zhongcaiapi';
2
 // let baseUrlZc = 'https://api.xayunmei.com/zhongcaiapi';
3
-let baseUrl = 'https://api.xayunmei.com/tiaojieapitest';
3
+// let baseUrl = 'https://api.xayunmei.com/tiaojieapitest';
4
 // let baseUrl = 'http://172.16.1.4:6001';
4
 // let baseUrl = 'http://172.16.1.4:6001';
5
 // 获取usersig
5
 // 获取usersig
6
 export function getUsersig(userId) {
6
 export function getUsersig(userId) {

+ 6
- 0
src/router/index.js Voir le fichier

38
         name: "testRoom",
38
         name: "testRoom",
39
         component: () => import("../views/testRoom.vue"),
39
         component: () => import("../views/testRoom.vue"),
40
         meta: { title: "testRoom" }
40
         meta: { title: "testRoom" }
41
+    },
42
+    {
43
+        path: "/sign",
44
+        name: "signFor",
45
+        component: () => import("../views/signFor.vue"),
46
+        meta: { title: "signFor" }
41
     }
47
     }
42
 ]
48
 ]
43
 
49
 

+ 5
- 4
src/views/room.vue Voir le fichier

289
         </el-form>
289
         </el-form>
290
       </div>
290
       </div>
291
       <div>
291
       <div>
292
-        <el-button style="width:100%;" type="primary" @click="determineMeeting">确定</el-button>
292
+        <el-button style="width:100%;" type="primary" @click="determineMeeting" :disabled="!updataFlag">确定</el-button>
293
       </div>
293
       </div>
294
     </el-drawer>
294
     </el-drawer>
295
   </div>
295
   </div>
583
       // setInterval(() => {
583
       // setInterval(() => {
584
       //   this.selectByIdFn(this.caseId);
584
       //   this.selectByIdFn(this.caseId);
585
       // }, 8000);
585
       // }, 8000);
586
-      this.selectRoleMenuByCaseIdFn(this.caseId);
587
-      this.getMenuPermsByUserFn();
586
+      // this.selectRoleMenuByCaseIdFn(this.caseId);
587
+      // this.getMenuPermsByUserFn();
588
     },
588
     },
589
     /** 获取证据列表 */
589
     /** 获取证据列表 */
590
     selectByIdFn(id) {
590
     selectByIdFn(id) {
755
        setInterval(() => {
755
        setInterval(() => {
756
         this.selectByIdFn(this.caseId);
756
         this.selectByIdFn(this.caseId);
757
       }, 8000);
757
       }, 8000);
758
-      console.log("iiiiiiiiiiiiiiiiiiiiiiiiiiii");
758
+      this.selectRoleMenuByCaseIdFn(this.caseId);
759
+      this.getMenuPermsByUserFn();
759
     },
760
     },
760
     // 确定会议结果
761
     // 确定会议结果
761
     determineMeeting(){
762
     determineMeeting(){

+ 6
- 2
src/views/signFor.vue Voir le fichier

43
             <hr>
43
             <hr>
44
             <el-row style="height: 40px;line-height: 40px;text-align: center;">
44
             <el-row style="height: 40px;line-height: 40px;text-align: center;">
45
                 <el-col :span="7"><div>调解书</div></el-col>
45
                 <el-col :span="7"><div>调解书</div></el-col>
46
-                <el-col :span="15"><div v-for="(item,index) in fileList" :key="index" style="color: blue; cursor: pointer"  @click="toPreview(item.annexPath)">{{ item.annexName }}</div></el-col>
46
+                <el-col :span="15"><div v-for="(item,index) in fileList" :key="index" style="color: blue; cursor: pointer"  @click="toPreview(item.annexPath)">
47
+                    <span v-if="item.annexType==13">{{ item.annexName }}</span>
48
+                    </div></el-col>
47
             </el-row>
49
             </el-row>
48
             <hr>
50
             <hr>
49
             <el-row>
51
             <el-row>
50
                 <el-col :span="24">
52
                 <el-col :span="24">
51
-                    <div style="width: 90px; margin: 30px auto;">
53
+                    <div style="width: 90px; margin: 30px auto;" v-if="dataList.signFlag==1">
52
                         <el-button type="primary" @click="getMsCaseSign(caseId)" v-if="showSign" icon="el-icon-edit">签收</el-button>
54
                         <el-button type="primary" @click="getMsCaseSign(caseId)" v-if="showSign" icon="el-icon-edit">签收</el-button>
53
                     </div>
55
                     </div>
54
                 </el-col>
56
                 </el-col>
91
             await caseApplicationList(params).then(res =>{
93
             await caseApplicationList(params).then(res =>{
92
                 res.rows.forEach(item => {
94
                 res.rows.forEach(item => {
93
                     this.dataList = item;
95
                     this.dataList = item;
96
+                    
94
                 });
97
                 });
98
+                console.log( this.dataList.signFlag)
95
             })
99
             })
96
         },
100
         },
97
         // 案件签收
101
         // 案件签收

+ 19
- 1
vue.config.js Voir le fichier

4
   devServer: {
4
   devServer: {
5
     proxy: {
5
     proxy: {
6
       '/tiaojie': {
6
       '/tiaojie': {
7
-        target: 'https://api.xayunmei.com/tiaojieapitest', // 后端服务器地址
7
+        // target: 'https://api.xayunmei.com/tiaojieapitest', // 后端服务器地址
8
+        target: 'http://172.16.1.26:6001',
9
+        changeOrigin: true, // 是否改变Origin头信息
10
+        secure : false,
11
+        pathRewrite: {
12
+          '^/tiaojie': '' // 将/api前缀重写为空字符串
13
+        },
14
+      },
15
+      '/tiaojiez': {
16
+        target: 'https://api.xayunmei.com/tiaojieapi', // 后端服务器地址
17
+        // target: 'http://172.16.1.4:7001',
8
         changeOrigin: true, // 是否改变Origin头信息
18
         changeOrigin: true, // 是否改变Origin头信息
9
         secure : false,
19
         secure : false,
10
         pathRewrite: {
20
         pathRewrite: {
12
         },
22
         },
13
       },
23
       },
14
       '/zhongcai': {
24
       '/zhongcai': {
25
+        target: 'https://api.xayunmei.com/zhongcaiapitest', // 后端服务器地址
26
+        changeOrigin: true, // 是否改变Origin头信息
27
+        secure : false,
28
+        pathRewrite: {
29
+          '^/zhongcai': '' // 将/api前缀重写为空字符串
30
+        },
31
+      },
32
+      '/zhongcaiz': {
15
         target: 'https://api.xayunmei.com/zhongcaiapi', // 后端服务器地址
33
         target: 'https://api.xayunmei.com/zhongcaiapi', // 后端服务器地址
16
         changeOrigin: true, // 是否改变Origin头信息
34
         changeOrigin: true, // 是否改变Origin头信息
17
         secure : false,
35
         secure : false,