Selaa lähdekoodia

修改测试bug

gyj 2 vuotta sitten
vanhempi
commit
4d25d5a564
2 muutettua tiedostoa jossa 19 lisäystä ja 9 poistoa
  1. 2
    2
      src/api/home.js
  2. 17
    7
      src/views/signFor.vue

+ 2
- 2
src/api/home.js Näytä tiedosto

43
         return axios.post(`tiaojie/mssignSeal/msCaseSign`, data);
43
         return axios.post(`tiaojie/mssignSeal/msCaseSign`, data);
44
 }
44
 }
45
 //根据案件id获取附件
45
 //根据案件id获取附件
46
-export function fileList(caseAppliId,annexTypeList) {
47
-    return axios.get(`tiaojie/common/fileList?caseAppliId=${caseAppliId}&annexTypeList=${annexTypeList}`);
46
+export function fileList(caseAppliId) {
47
+    return axios.get(`tiaojie/common/fileList?caseAppliId=${caseAppliId}`);
48
   }
48
   }
49
 // 确定会议结果
49
 // 确定会议结果
50
 export function confirmMeetingResult(data) {
50
 export function confirmMeetingResult(data) {

+ 17
- 7
src/views/signFor.vue Näytä tiedosto

42
             </el-row>
42
             </el-row>
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>
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>
45
+                <el-col :span="8"><div>签署前调解书</div></el-col>
46
+                <el-col :span="16"><div v-for="(item,index) in fileList" :key="index" style="color: blue; cursor: pointer"  @click="toPreview(item.annexPath)">
47
+                    <span v-if="item.annexType==7">{{ item.annexName }}</span>
48
                     </div></el-col>
48
                     </div></el-col>
49
             </el-row>
49
             </el-row>
50
             <hr>
50
             <hr>
51
+             <el-row style="height: 40px;line-height: 40px;text-align: center;"
52
+                <el-col :span="8"><div>签署后调解书</div></el-col>
53
+                <el-col :span="16"><div v-for="(item,index) in fileList" :key="index" style="color: blue; cursor: pointer"  @click="toPreview(item.annexPath)">
54
+                    <div v-if="item.annexType==13"><span>{{ item.annexName }}</span></div>
55
+                    </div></el-col>
56
+            </el-row>
51
             <el-row>
57
             <el-row>
52
                 <el-col :span="24">
58
                 <el-col :span="24">
53
                     <div style="width: 90px; margin: 30px auto;" v-if="dataList.signFlag==1">
59
                     <div style="width: 90px; margin: 30px auto;" v-if="dataList.signFlag==1">
114
             })
120
             })
115
         },
121
         },
116
         // 查看附件
122
         // 查看附件
117
-        async getFileList(caseAppliIds,annexTypeList){
118
-            fileList(caseAppliIds,annexTypeList).then(res=>{
123
+        async getFileList(caseAppliIds){
124
+            fileList(caseAppliIds).then(res=>{
125
+                console.log(res)
119
                 this.fileList = res.data;
126
                 this.fileList = res.data;
120
                 console.log(this.fileList)
127
                 console.log(this.fileList)
121
             })
128
             })
131
         await this.getList(this.caseId)
138
         await this.getList(this.caseId)
132
         // await this.getList("5461248676208928")
139
         // await this.getList("5461248676208928")
133
         let caseAppliIds = this.caseId
140
         let caseAppliIds = this.caseId
134
-        let annexTypeList = 7
135
-        await this.getFileList(caseAppliIds,annexTypeList)
141
+        await this.getFileList(caseAppliIds)
136
     }
142
     }
137
 };
143
 };
138
 </script>
144
 </script>
142
         margin-top: 30px;
148
         margin-top: 30px;
143
         width: 100%;
149
         width: 100%;
144
     }
150
     }
151
+    /* 允许换行 */
152
+    .flex-wrap {
153
+    flex-wrap: wrap;
154
+    }
145
 </style>
155
 </style>