fz 2 年前
父节点
当前提交
48cb4e276a

+ 20
- 5
src/api/awardManagement/awardManagement.js 查看文件

67
         params: data
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
     return request({
79
     return request({
73
-        url: '/adjudication/signature',
80
+        url: '/caseApplication/selectSignUrl',
74
         method: 'post',
81
         method: 'post',
75
         data: data
82
         data: data
76
     })
83
     })
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
     return request({
103
     return request({
89
-        url: '/adjudication/stamp',
104
+        url: '/caseApplication/selectSealUrl',
90
         method: 'post',
105
         method: 'post',
91
         data: data
106
         data: data
92
     })
107
     })

+ 31
- 18
src/views/awardManagement/listofAwards.vue 查看文件

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

+ 6
- 15
src/views/caseManagement/caseList.vue 查看文件

65
       </el-table-column>
65
       </el-table-column>
66
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
66
       <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
67
         <template slot-scope="scope">
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
           <el-button size="mini" type="text" icon="el-icon-notebook-2" @click="caselogRow(scope.row)"
70
           <el-button size="mini" type="text" icon="el-icon-notebook-2" @click="caselogRow(scope.row)"
72
             v-hasPermi="['caseLog:list:detail']">案件日志</el-button>
71
             v-hasPermi="['caseLog:list:detail']">案件日志</el-button>
240
       showcaseLog: false, //案件日志弹框显示
239
       showcaseLog: false, //案件日志弹框显示
241
       flagLoading: true, //案件日志弹框loading
240
       flagLoading: true, //案件日志弹框loading
242
       caselogDataArr: [],
241
       caselogDataArr: [],
243
-      options:[]//机构数据
242
+      options: []//机构数据
244
     };
243
     };
245
   },
244
   },
246
   created() {
245
   created() {
255
       this.openbatch = false;
254
       this.openbatch = false;
256
     },
255
     },
257
     // 机构发生变化
256
     // 机构发生变化
258
-    changeDept(data){
257
+    changeDept(data) {
259
       this.queryParams.nameId = data[0]
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
           item.value = item.deptId;
264
           item.value = item.deptId;
266
           item.label = item.deptName
265
           item.label = item.deptName
267
         })
266
         })
273
       this.loading = true;
272
       this.loading = true;
274
       caseApply(val).then((response) => {
273
       caseApply(val).then((response) => {
275
         this.dataList = response.rows;
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
         this.total = response.total;
275
         this.total = response.total;
285
         this.loading = false;
276
         this.loading = false;
286
       });
277
       });

+ 2
- 2
src/views/login.vue 查看文件

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