fz 2 лет назад
Родитель
Сommit
48cb4e276a

+ 20
- 5
src/api/awardManagement/awardManagement.js Просмотреть файл

@@ -67,10 +67,17 @@ export function adjudicationLogistics(data) {
67 67
         params: data
68 68
     })
69 69
 }
70
-// 签名(暂时只改案件状态)
71
-export function adjudicationSignature(data) {
70
+// // 签名(暂时只改案件状态)
71
+// export function adjudicationSignature(data) {
72
+//     return request({
73
+//         url: '/adjudication/signature',
74
+//         method: 'post',
75
+//         data: data
76
+//     })
77
+// }
78
+export function selectSignUrl(data) {
72 79
     return request({
73
-        url: '/adjudication/signature',
80
+        url: '/caseApplication/selectSignUrl',
74 81
         method: 'post',
75 82
         data: data
76 83
     })
@@ -84,9 +91,17 @@ export function adjudicationCaseFile(data) {
84 91
     })
85 92
 }
86 93
 // 用印(暂时只改案件状态)
87
-export function adjudicationStamp(data) {
94
+// export function adjudicationStamp(data) {
95
+//     return request({
96
+//         url: '/adjudication/stamp',
97
+//         method: 'post',
98
+//         data: data
99
+//     })
100
+// }
101
+
102
+export function selectSealUrl(data) {
88 103
     return request({
89
-        url: '/adjudication/stamp',
104
+        url: '/caseApplication/selectSealUrl',
90 105
         method: 'post',
91 106
         data: data
92 107
     })

+ 31
- 18
src/views/awardManagement/listofAwards.vue Просмотреть файл

@@ -104,7 +104,9 @@ import {
104 104
     caseApplicationDetail,
105 105
     adjudicationLogistics,
106 106
     adjudicationCaseFile,
107
-    adjudicationStamp
107
+    adjudicationStamp,
108
+    selectSignUrl,
109
+    selectSealUrl
108 110
 } from "@/api/awardManagement/awardManagement";
109 111
 import paymentdetailsDialog from "./components/paymentdetailsDialog.vue";
110 112
 import mailawardDialog from './components/MailawardDialog.vue';
@@ -155,7 +157,7 @@ export default {
155 157
         this.getList(this.queryParams);
156 158
     },
157 159
     methods: {
158
-        updataList(){
160
+        updataList() {
159 161
             this.getList(this.queryParams);
160 162
         },
161 163
         /** 搜索按钮操作 */
@@ -179,20 +181,27 @@ export default {
179 181
         },
180 182
         // model框显示
181 183
         showModel(row, type) {
182
-            this.getDetail({ id: row.id });
183
-            this.openDialog = true;
184
+
184 185
             switch (type) {
185 186
                 case 1:
187
+                    this.getDetail({ id: row.id });
188
+                    this.openDialog = true;
186 189
                     this.title = "核验裁决书";
187 190
                     this.flag = 1;
188 191
                     break;
189 192
                 case 2:
193
+                    this.getDetail({ id: row.id });
194
+                    this.openDialog = true;
190 195
                     this.title = "审核裁决书";
191 196
                     this.flag = 2;
192 197
                     break;
193 198
                 case 3:
194
-                    this.title = "裁决书签名";
195
-                    this.flag = 3;
199
+                    // this.title = "裁决书签名";
200
+                    // this.flag = 3;
201
+                    selectSignUrl({ id: row.id }).then(res => {
202
+                        let url = res.data.signUrl;
203
+                        window.open(url)
204
+                    })
196 205
                     break;
197 206
                 default:
198 207
                     break;
@@ -206,20 +215,24 @@ export default {
206 215
         showaffixModel(row) {
207 216
             this.$modal.confirm('是否进行用印申请?')
208 217
                 .then(function () {
209
-                  return adjudicationStamp({id:row.id});
210
-            })
211
-            .then(() => {
212
-                this.getList(this.queryParams);
213
-                this.$modal.msgSuccess("用印成功!");
214
-            })
215
-            .catch(function () {
216
-            });
218
+                    // return adjudicationStamp({ id: row.id });
219
+                    selectSealUrl({ id: row.id }).then(res => {
220
+                        let url = res.data.sealUrl;
221
+                        window.open(url)
222
+                    })
223
+                })
224
+                // .then(() => {
225
+                //     this.getList(this.queryParams);
226
+                //     this.$modal.msgSuccess("用印成功!");
227
+                // })
228
+                .catch(function () {
229
+                });
217 230
         },
218 231
         // 快递信息弹框
219 232
         showDeliveryModel(row) {
220
-            console.log(row,'快递');
233
+            console.log(row, '快递');
221 234
             this.showDelivery = true
222
-            this.getadjudicationLogistics({id:row.id})
235
+            this.getadjudicationLogistics({ id: row.id })
223 236
         },
224 237
         closeDeliveryModel() {
225 238
             this.showDelivery = false
@@ -236,12 +249,12 @@ export default {
236 249
         showCasefilingModel(row) {
237 250
             this.$modal.confirm('是否确认立即进行案件扫描?').then(
238 251
                 function () {
239
-                    return adjudicationCaseFile({id:row.id})
252
+                    return adjudicationCaseFile({ id: row.id })
240 253
                 }
241 254
             ).then(() => {
242 255
                 this.getList(this.queryParams);
243 256
                 this.$modal.msgSuccess("归档成功!");
244
-            }).catch(function () {})
257
+            }).catch(function () { })
245 258
         },
246 259
         // 送达裁决书弹框
247 260
         showMailaward(row) {

+ 6
- 15
src/views/caseManagement/caseList.vue Просмотреть файл

@@ -65,8 +65,7 @@
65 65
       </el-table-column>
66 66
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
67 67
         <template slot-scope="scope">
68
-          <el-button size="mini" type="text" icon="el-icon-zoom-in" @click="detailRow(scope.row)"
69
-            v-hasPermi="['caseManagement:list:detail']">详情</el-button>
68
+          <el-button size="mini" type="text" icon="el-icon-zoom-in" @click="detailRow(scope.row)">详情</el-button>
70 69
           <!-- 案件日志 -->
71 70
           <el-button size="mini" type="text" icon="el-icon-notebook-2" @click="caselogRow(scope.row)"
72 71
             v-hasPermi="['caseLog:list:detail']">案件日志</el-button>
@@ -240,7 +239,7 @@ export default {
240 239
       showcaseLog: false, //案件日志弹框显示
241 240
       flagLoading: true, //案件日志弹框loading
242 241
       caselogDataArr: [],
243
-      options:[]//机构数据
242
+      options: []//机构数据
244 243
     };
245 244
   },
246 245
   created() {
@@ -255,13 +254,13 @@ export default {
255 254
       this.openbatch = false;
256 255
     },
257 256
     // 机构发生变化
258
-    changeDept(data){
257
+    changeDept(data) {
259 258
       this.queryParams.nameId = data[0]
260 259
     },
261 260
     // 获取机构数据
262
-    getInstitution(){
263
-      listDept().then(res=>{
264
-        res.data.forEach(item=>{
261
+    getInstitution() {
262
+      listDept().then(res => {
263
+        res.data.forEach(item => {
265 264
           item.value = item.deptId;
266 265
           item.label = item.deptName
267 266
         })
@@ -273,14 +272,6 @@ export default {
273 272
       this.loading = true;
274 273
       caseApply(val).then((response) => {
275 274
         this.dataList = response.rows;
276
-        // this.dataList.forEach((item) => {
277
-        //   if (item.arbitratMethod == 1) {
278
-        //     item.arbitratMethod = "视频仲裁";
279
-        //   }
280
-        //   if (item.arbitratMethod == 2) {
281
-        //     item.arbitratMethod = "书面仲裁";
282
-        //   }
283
-        // });
284 275
         this.total = response.total;
285 276
         this.loading = false;
286 277
       });

+ 2
- 2
src/views/login.vue Просмотреть файл

@@ -72,8 +72,8 @@ export default {
72 72
     return {
73 73
       codeUrl: "",
74 74
       loginForm: {
75
-        username: "admin",
76
-        password: "admin123",
75
+        username: "",
76
+        password: "",
77 77
         rememberMe: false,
78 78
         code: "",
79 79
         uuid: ""