fz 2 anni fa
parent
commit
434d6e186f

+ 16
- 2
src/views/awardManagement/components/paymentdetailsDialog.vue Vedi File

41
             <a href="#">{{ item }}</a>
41
             <a href="#">{{ item }}</a>
42
           </p>
42
           </p>
43
         </el-descriptions-item>
43
         </el-descriptions-item>
44
+        <el-descriptions-item label="庭审笔录附件">
45
+          <p v-for="(item, index) in bookFileArr" :key="index" @click="toFile(index, 7)">
46
+            <a href="#">{{ item }}</a>
47
+          </p>
48
+        </el-descriptions-item>
44
       </el-descriptions>
49
       </el-descriptions>
45
       <el-form ref="form" :model="arbitrateRecord" label-width="300px" label-position="left" :rules="rules"
50
       <el-form ref="form" :model="arbitrateRecord" label-width="300px" label-position="left" :rules="rules"
46
         :disabled="flag == 3">
51
         :disabled="flag == 3">
161
       applicantPathArr: [], //申请人
166
       applicantPathArr: [], //申请人
162
       respondentFileArr: [], //被申请人
167
       respondentFileArr: [], //被申请人
163
       respondenPathArr: [], //被申请人
168
       respondenPathArr: [], //被申请人
164
-      awardFileArr: [], //裁决书
165
-      awardPathArr: [], //裁决书
169
+      awardFileArr: [], //庭审笔录文件
170
+      awardPathArr: [], //庭审笔录路径
171
+      bookFileArr: [], //裁决书文件
172
+      bookPathArr: [], //庭审笔录路径
166
     };
173
     };
167
   },
174
   },
168
   watch: {
175
   watch: {
188
     // 申请人裁决书
195
     // 申请人裁决书
189
     evidenceFile(val) {
196
     evidenceFile(val) {
190
       if (val) {
197
       if (val) {
198
+        this.bookFileArr = [];
199
+        this.bookPathArr = [];
191
         val.caseAttachList.forEach((item) => {
200
         val.caseAttachList.forEach((item) => {
192
           if (item.annexType == 2) {
201
           if (item.annexType == 2) {
193
             this.applicantFileArr.push(item.annexName);
202
             this.applicantFileArr.push(item.annexName);
200
             this.awardPathArr = [];
209
             this.awardPathArr = [];
201
             this.awardFileArr.push(item.annexName);
210
             this.awardFileArr.push(item.annexName);
202
             this.awardPathArr.push(item.annexPath);
211
             this.awardPathArr.push(item.annexPath);
212
+          } else if (item.annexType == 7) {
213
+            this.bookFileArr.push(item.annexName);
214
+            this.bookPathArr.push(item.annexPath);
203
           }
215
           }
204
         });
216
         });
205
       }
217
       }
213
         window.open(headPath + this.respondenPathArr[index], "_blank");
225
         window.open(headPath + this.respondenPathArr[index], "_blank");
214
       } else if (val == 3) {
226
       } else if (val == 3) {
215
         window.open(headPath + this.awardPathArr[index], "_blank");
227
         window.open(headPath + this.awardPathArr[index], "_blank");
228
+      } else if (val == 7) {
229
+        window.open(headPath + this.bookPathArr[index], "_blank");
216
       }
230
       }
217
     },
231
     },
218
     // 校验裁决书
232
     // 校验裁决书

+ 3
- 3
src/views/caseManagement/caseList.vue Vedi File

381
         this.operateTitle = '批量删除';
381
         this.operateTitle = '批量删除';
382
         this.operateStatus = 1;
382
         this.operateStatus = 1;
383
       } else if (type == 2) {
383
       } else if (type == 2) {
384
-        this.operateTitle = '批量立案申请';
384
+        this.operateTitle = '批量立案审查';
385
         this.operateStatus = 2;
385
         this.operateStatus = 2;
386
       }
386
       }
387
     },
387
     },
458
     handleQuery() {
458
     handleQuery() {
459
       this.queryParams.caseStatusList = [];
459
       this.queryParams.caseStatusList = [];
460
       if (!this.queryParams.caseStatus) {
460
       if (!this.queryParams.caseStatus) {
461
-        this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10]
461
+        this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10,31]
462
       }
462
       }
463
       if(this.queryParams.selectCaseStatus == 1){
463
       if(this.queryParams.selectCaseStatus == 1){
464
         this.queryParams.caseStatus = null;
464
         this.queryParams.caseStatus = null;
474
     /** 重置按钮操作 */
474
     /** 重置按钮操作 */
475
     resetQuery() {
475
     resetQuery() {
476
       this.resetForm("queryForm");
476
       this.resetForm("queryForm");
477
-      (this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10]),
477
+      (this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10,31]),
478
         (this.queryParams.applicantName = ""),
478
         (this.queryParams.applicantName = ""),
479
         (this.queryParams.nameId = ""),
479
         (this.queryParams.nameId = ""),
480
         this.getcaseApply(this.queryParams);
480
         this.getcaseApply(this.queryParams);

+ 34
- 2
src/views/caseManagement/components/caseentryDialog.vue Vedi File

220
                 <el-input v-model="item.contactAddress" placeholder="请输入" />
220
                 <el-input v-model="item.contactAddress" placeholder="请输入" />
221
               </el-form-item>
221
               </el-form-item>
222
             </el-col>
222
             </el-col>
223
+            <el-col :span="12">
224
+              <el-form-item label="申请人住所:" :prop="'paymentArr.' + index + '.residenAffili'" :rules="[
225
+                {
226
+                  required: true,
227
+                  message: '申请人住所不能为空',
228
+                  trigger: 'blur',
229
+                },
230
+                { max: 50, message: '长度应小于50个字符', trigger: 'blur' }
231
+              ]">
232
+                <el-input v-model="item.residenAffili" placeholder="请输入" />
233
+              </el-form-item>
234
+            </el-col>
223
             <el-col :span="12">
235
             <el-col :span="12">
224
               <el-form-item label="法定代表人:" :prop="'paymentArr.' + index + '.compLegalPerson'" :rules="[
236
               <el-form-item label="法定代表人:" :prop="'paymentArr.' + index + '.compLegalPerson'" :rules="[
225
                 {
237
                 {
412
                 <el-input v-model="itm.contactAddress" placeholder="请输入" />
424
                 <el-input v-model="itm.contactAddress" placeholder="请输入" />
413
               </el-form-item>
425
               </el-form-item>
414
             </el-col>
426
             </el-col>
427
+            <el-col :span="12">
428
+              <el-form-item label="被申请人住所:" :prop="'paymentArr1.' + index + '.residenAffili'" :rules="[
429
+                {
430
+                  required: true,
431
+                  message: '被申请人住所不能为空',
432
+                  trigger: 'blur',
433
+                },
434
+                { max: 50, message: '长度应小于50个字符', trigger: 'blur' }
435
+              ]">
436
+                <el-input v-model="itm.residenAffili" placeholder="请输入" />
437
+              </el-form-item>
438
+            </el-col>
415
             <el-col :span="12">
439
             <el-col :span="12">
416
               <el-form-item label="被申请人性别:" :prop="'paymentArr1.' + index + '.responSex'" :rules="[
440
               <el-form-item label="被申请人性别:" :prop="'paymentArr1.' + index + '.responSex'" :rules="[
417
                 {
441
                 {
432
                   trigger: 'blur',
456
                   trigger: 'blur',
433
                 },
457
                 },
434
               ]">
458
               ]">
435
-                <el-date-picker v-model="itm.responBirth" type="datetime" placeholder="被申请人出生年月日">
459
+                <el-date-picker v-model="itm.responBirth" :picker-options="pickerOptions" type="datetime"
460
+                  placeholder="被申请人出生年月日">
436
                 </el-date-picker>
461
                 </el-date-picker>
437
               </el-form-item>
462
               </el-form-item>
438
             </el-col>
463
             </el-col>
557
             nameAgent: "",
582
             nameAgent: "",
558
             contactTelphoneAgent: "",
583
             contactTelphoneAgent: "",
559
             contactAddressAgent: "",
584
             contactAddressAgent: "",
585
+            residenAffili: ""
560
           },
586
           },
561
         ],
587
         ],
562
       }, //申请人主体信息
588
       }, //申请人主体信息
574
             contactTelphoneAgent: "",
600
             contactTelphoneAgent: "",
575
             contactAddressAgent: "",
601
             contactAddressAgent: "",
576
             responSex: 1,
602
             responSex: 1,
577
-            responBirth: ""
603
+            responBirth: "",
604
+            residenAffili: ""
578
           },
605
           },
579
         ],
606
         ],
580
       }, //被申请人主体信息
607
       }, //被申请人主体信息
669
       fileList: [],
696
       fileList: [],
670
       applicateArr: [],
697
       applicateArr: [],
671
       quiltArr: [],
698
       quiltArr: [],
699
+      pickerOptions: {
700
+        disabledDate(time) {
701
+          return time.getTime() > Date.now() - 8.64e6;
702
+        }
703
+      }
672
     };
704
     };
673
   },
705
   },
674
   watch: {
706
   watch: {

+ 124
- 36
src/views/caseManagement/components/courtReviewDialog.vue Vedi File

1
 <template>
1
 <template>
2
   <div>
2
   <div>
3
     <!-- 组庭确认页面 -->
3
     <!-- 组庭确认页面 -->
4
-    <el-dialog
5
-      title="组庭确认"
6
-      :visible="showcourtReview"
7
-      @close="cancel"
8
-      :destroy-on-close="true"
9
-      center
10
-    >
4
+    <el-dialog title="组庭确认" :visible="showcourtReview" @close="cancel" :destroy-on-close="true" center>
11
       <el-form ref="courtReviewform" :model="courtReviewform">
5
       <el-form ref="courtReviewform" :model="courtReviewform">
12
-        <el-form-item
13
-          label="开庭日期:"
14
-          prop="hearDate"
15
-          :rules="[
16
-            {
17
-              required: true,
18
-              message: '请选择开庭日期',
19
-              trigger: 'blur',
20
-            },
21
-          ]"
22
-        >
6
+        <el-form-item label="开庭日期:" prop="hearDate" :rules="[
7
+          {
8
+            required: true,
9
+            message: '请选择开庭日期',
10
+            trigger: 'blur',
11
+          },
12
+        ]">
23
           <div class="reviewbox">
13
           <div class="reviewbox">
24
-            <el-date-picker
25
-              v-model="courtReviewform.hearDate"
26
-              type="datetime"
27
-              placeholder="选择日期"
28
-            >
14
+            <el-date-picker v-model="courtReviewform.hearDate" :picker-options="pickerOptions" type="datetime"
15
+              placeholder="选择日期">
29
             </el-date-picker>
16
             </el-date-picker>
30
           </div>
17
           </div>
31
         </el-form-item>
18
         </el-form-item>
19
+        <el-form-item label="是否同意组庭:">
20
+          <el-radio-group v-model="isAgreePendTral">
21
+            <el-radio :label="1">是</el-radio>
22
+            <el-radio :label="0">否</el-radio>
23
+          </el-radio-group>
24
+        </el-form-item>
32
       </el-form>
25
       </el-form>
26
+      <el-tag type="warning" v-if="noArbitrator">当前案件未指定仲裁员,请先指定仲裁员!</el-tag>
27
+      <p></p>
28
+      <!-- <el-form ref="form"> -->
29
+      <!-- v-if="isAgreePendTral == 0 || noArbitrator" -->
30
+      <div style="display: inline-flex; margin-bottom: 8px">
31
+        <div class="infoIcon"></div>
32
+        <div>
33
+          <span v-if="isAgreePendTral == 1">当前案件</span>仲裁员<span v-if="isAgreePendTral !== 1">信息列表</span>
34
+        </div>
35
+      </div>
36
+      <div v-if="isAgreePendTral == 1" class="nowarbitrator">
37
+        <el-tag size="medium">
38
+          {{ form.arbitratorName }}
39
+        </el-tag>
40
+      </div>
41
+      <div v-if="noArbitrator || isAgreePendTral == 0">
42
+        <el-table :data="dataList" style="width: 100%" @selection-change="handleSelectionChange">
43
+          <el-table-column type="selection" width="55" v-if="noArbitrator || isAgreePendTral == 0">
44
+          </el-table-column>
45
+          <el-table-column label="仲裁员姓名" align="center" prop="nickName" :show-overflow-tooltip="true" />
46
+          <el-table-column label="介绍" align="center" prop="remark" :show-overflow-tooltip="true" />
47
+        </el-table>
48
+        <pagination v-show="total > 0" :total="total" :page.sync="queryParams1.pageNum"
49
+          :limit.sync="queryParams1.pageSize" @pagination="getarbitrAtor" v-if="isAgreePendTral == 0" />
50
+      </div>
33
       <div slot="footer" class="dialog-footer">
51
       <div slot="footer" class="dialog-footer">
34
-        <el-button type="primary" @click="submitForm" class="endbutton"
35
-          ><span>确 定</span>
52
+        <el-button type="primary" @click="submitForm" class="endbutton"><span>确 定</span>
36
         </el-button>
53
         </el-button>
37
-        <el-button @click="cancel" class="endbutton1"
38
-          ><span> 取 消</span></el-button
39
-        >
54
+        <el-button @click="cancel" class="endbutton1"><span> 取 消</span></el-button>
40
       </div>
55
       </div>
41
     </el-dialog>
56
     </el-dialog>
42
   </div>
57
   </div>
44
 
59
 
45
 <script>
60
 <script>
46
 import { pendTralSure } from "@/api/caseManagement/caseManagement.js";
61
 import { pendTralSure } from "@/api/caseManagement/caseManagement.js";
62
+import { arbitrAtor, pendTralCheck } from "@/api/formationCourt/formationCourt";
47
 import moment from "moment";
63
 import moment from "moment";
48
 export default {
64
 export default {
49
   name: "courtReviewDialog",
65
   name: "courtReviewDialog",
52
     return {
68
     return {
53
       hearDate: "",
69
       hearDate: "",
54
       courtReviewform: {},
70
       courtReviewform: {},
71
+      noArbitrator: false,
72
+      isAgreePendTral: 1,
73
+      total: 0,
74
+      queryParams1: {
75
+        pageNum: 1,
76
+        pageSize: 10,
77
+      },
78
+      paramsdata: {},
79
+      pickerOptions: {
80
+        disabledDate(time) {
81
+          return time.getTime() < Date.now() - 8.64e7;
82
+        }
83
+      },
55
     };
84
     };
56
   },
85
   },
86
+  created() {
87
+    this.getarbitrAtor();
88
+  },
89
+  watch: {
90
+    showformateCourt(val) {
91
+      if (val) {
92
+        this.isAgreePendTral = 1;
93
+      }
94
+    },
95
+    form: {
96
+      handler(val) {
97
+        if (val.arbitratorName == null) {
98
+          this.noArbitrator = true;
99
+        } else {
100
+          this.noArbitrator = false;
101
+        }
102
+      },
103
+    },
104
+  },
57
   methods: {
105
   methods: {
106
+    // 获取仲裁员信息
107
+    getarbitrAtor() {
108
+      arbitrAtor({}).then((res) => {
109
+        this.dataList = res.rows;
110
+        this.total = res.total;
111
+      });
112
+    },
113
+    // 勾选仲裁员
114
+    handleSelectionChange(val) {
115
+      this.arbitrators = [];
116
+      val.forEach((item) => {
117
+        this.arbitrators.push({
118
+          id: item.userId,
119
+          arbitratorName: item.nickName,
120
+        });
121
+      });
122
+    },
58
     submitForm() {
123
     submitForm() {
124
+      if (this.noArbitrator) {
125
+        this.paramsdata = {
126
+          id: this.form.id,
127
+          arbitrators: this.arbitrators,
128
+        };
129
+      } else {
130
+        if (this.isAgreePendTral == 0) {
131
+          this.paramsdata = {
132
+            isAgreePendTral: 0,
133
+            id: this.form.id,
134
+            arbitrators: this.arbitrators,
135
+          };
136
+        } else {
137
+          this.paramsdata = {
138
+            isAgreePendTral: 1,
139
+            id: this.form.id,
140
+          };
141
+        }
142
+      }
59
       this.$refs["courtReviewform"].validate((valid) => {
143
       this.$refs["courtReviewform"].validate((valid) => {
60
         if (valid) {
144
         if (valid) {
61
           this.courtReviewform.hearDate = moment(
145
           this.courtReviewform.hearDate = moment(
62
             this.courtReviewform.hearDate
146
             this.courtReviewform.hearDate
63
           ).format("YYYY-MM-DD HH:mm:ss");
147
           ).format("YYYY-MM-DD HH:mm:ss");
64
-          pendTralSure({
65
-            id: this.form.id,
66
-            hearDate: this.courtReviewform.hearDate,
67
-          })
148
+          this.paramsdata.hearDate = this.courtReviewform.hearDate;
149
+          pendTralSure(
150
+            this.paramsdata
151
+          )
68
             .then((res) => {
152
             .then((res) => {
69
               this.$modal.msgSuccess("确认成功");
153
               this.$modal.msgSuccess("确认成功");
70
               this.cancel();
154
               this.cancel();
71
-              this.$emit("getcaseApply",this.queryParams);
155
+              this.$emit("getcaseApply", this.queryParams);
72
             })
156
             })
73
-            .catch((err) => {});
157
+            .catch((err) => { });
74
         }
158
         }
75
       });
159
       });
76
     },
160
     },
83
 
167
 
84
 <style lang="scss" scoped>
168
 <style lang="scss" scoped>
85
 ::v-deep .el-dialog {
169
 ::v-deep .el-dialog {
86
-  width: 422px;
87
-  height: 245px;
88
   background: #ffffff;
170
   background: #ffffff;
89
   border-radius: 20px;
171
   border-radius: 20px;
90
 }
172
 }
173
+
91
 .el-form-item {
174
 .el-form-item {
92
   margin-left: 10%;
175
   margin-left: 10%;
93
 }
176
 }
177
+
94
 .endbutton {
178
 .endbutton {
95
   width: 124px;
179
   width: 124px;
96
   height: 37px;
180
   height: 37px;
97
   background: #0072ff;
181
   background: #0072ff;
98
   border-radius: 19px;
182
   border-radius: 19px;
183
+
99
   span {
184
   span {
100
     width: 32px;
185
     width: 32px;
101
     height: 15px;
186
     height: 15px;
106
     // line-height: 48px;
191
     // line-height: 48px;
107
   }
192
   }
108
 }
193
 }
194
+
109
 .endbutton1 {
195
 .endbutton1 {
110
   width: 124px;
196
   width: 124px;
111
   height: 37px;
197
   height: 37px;
112
   background: #ffffff;
198
   background: #ffffff;
113
   border: 1px solid #d0d0d0;
199
   border: 1px solid #d0d0d0;
114
   border-radius: 19px;
200
   border-radius: 19px;
201
+
115
   span {
202
   span {
116
     width: 31px;
203
     width: 31px;
117
     height: 13px;
204
     height: 13px;
122
     // line-height: 48px;
209
     // line-height: 48px;
123
   }
210
   }
124
 }
211
 }
212
+
125
 ::v-deep .el-form-item__error {
213
 ::v-deep .el-form-item__error {
126
   left: 90px;
214
   left: 90px;
127
 }
215
 }

+ 14
- 6
src/views/caseManagement/components/evidenceDialog.vue Vedi File

16
                 </el-descriptions-item>
16
                 </el-descriptions-item>
17
             </el-descriptions>
17
             </el-descriptions>
18
             <div style="margin-top: 30px;">
18
             <div style="margin-top: 30px;">
19
-                <el-upload class="upload-demo" ref="upload" action="" accept=".png,.jpg,.doc,.docx,.txt,.pdf"
20
-                    :auto-upload="false" :http-request="uploadFile" :on-change="beforeAvatarUpload" multiple>
19
+                <el-upload class="upload-demo" ref="upload" action="" :file-list="fileList" accept=".png,.jpg,.doc,.docx,.txt,.pdf"
20
+                    :auto-upload="false" :http-request="uploadFile" :on-change="beforeAvatarUpload" :before-remove="beforeRemove" multiple>
21
                     <el-button type="primary"><span>修改证据</span></el-button>
21
                     <el-button type="primary"><span>修改证据</span></el-button>
22
                 </el-upload>
22
                 </el-upload>
23
             </div>
23
             </div>
44
             info: {
44
             info: {
45
                 annexType: 2,
45
                 annexType: 2,
46
             },
46
             },
47
+            fileList:[]
47
             // headers: {
48
             // headers: {
48
             //     Authorization: "Bearer " + getToken(),
49
             //     Authorization: "Bearer " + getToken(),
49
             // },
50
             // },
51
     },
52
     },
52
     watch: {
53
     watch: {
53
         evidenceVisable(val) {
54
         evidenceVisable(val) {
55
+            this.fileList = []
54
             if (val) {
56
             if (val) {
55
                 this.getEvidenceList({ caseAppliId: this.evidenceData.id, annexTypeList: "2" })
57
                 this.getEvidenceList({ caseAppliId: this.evidenceData.id, annexTypeList: "2" })
56
             }
58
             }
72
         cancel() {
74
         cancel() {
73
             this.$emit("cancelEvidence");
75
             this.$emit("cancelEvidence");
74
         },
76
         },
75
-        // // 修改当前文件列表长度
77
+        // 修改当前文件列表长度
76
         // changeFileLength(file, fileList) {
78
         // changeFileLength(file, fileList) {
77
-        //     this.filesLength = fileList.length
79
+        //     this.uploadFiles.push(file)
78
         // },
80
         // },
81
+        // 删除文件
82
+        beforeRemove(file, fileList){
83
+            this.uploadFiles = fileList
84
+        },
79
         // 文件上传之前处理
85
         // 文件上传之前处理
80
-        beforeAvatarUpload(file) {
86
+        beforeAvatarUpload(file,fileList) {
87
+            console.log(file,fileList,"before");
81
             this.uploadFiles = [];
88
             this.uploadFiles = [];
82
-            this.uploadFiles.push(file)
89
+            // this.uploadFiles.push(file)
90
+            this.uploadFiles = fileList
83
         },
91
         },
84
         // 用户点击上传调用
92
         // 用户点击上传调用
85
         async upload() {
93
         async upload() {

+ 1
- 0
src/views/caseManagement/components/operateDialog.vue Vedi File

72
     },
72
     },
73
     watch: {
73
     watch: {
74
         operateVisable(val) {
74
         operateVisable(val) {
75
+            this.radio = 1;
75
             if (val) {
76
             if (val) {
76
                 this.getcaseApply(this.queryParamsData)
77
                 this.getcaseApply(this.queryParamsData)
77
             }
78
             }

+ 8
- 2
src/views/caseManagement/components/timeDialog.vue Vedi File

10
                 </el-descriptions-item>
10
                 </el-descriptions-item>
11
                 <el-descriptions-item label="仲裁方式">{{ timeData.arbitratMethodName }}</el-descriptions-item>
11
                 <el-descriptions-item label="仲裁方式">{{ timeData.arbitratMethodName }}</el-descriptions-item>
12
                 <el-descriptions-item label="开庭时间">
12
                 <el-descriptions-item label="开庭时间">
13
-                    <el-date-picker v-model="loanStartDate" type="datetime" placeholder="开庭时间">
13
+                    <el-date-picker v-model="loanStartDate" :picker-options="pickerOptions" type="datetime"
14
+                        placeholder="开庭时间">
14
                     </el-date-picker>
15
                     </el-date-picker>
15
                 </el-descriptions-item>
16
                 </el-descriptions-item>
16
 
17
 
31
     props: ["timeVisable", "timeData"],
32
     props: ["timeVisable", "timeData"],
32
     data() {
33
     data() {
33
         return {
34
         return {
34
-            loanStartDate: ""
35
+            loanStartDate: "",
36
+            pickerOptions: {
37
+                disabledDate(time) {
38
+                    return time.getTime() < Date.now() - 8.64e7;
39
+                }
40
+            }
35
         };
41
         };
36
     },
42
     },
37
     watch: {
43
     watch: {

+ 35
- 9
src/views/caseManagement/components/uploadCaseDialog.vue Vedi File

3
         <el-dialog title="上传证据目录" :visible="uploadCaseVisable" @close="cancel" center :distroy-on-close="true">
3
         <el-dialog title="上传证据目录" :visible="uploadCaseVisable" @close="cancel" center :distroy-on-close="true">
4
             <el-upload class="upload-demo" :before-upload="beforeUpload" ref="upload" accept=".zip"
4
             <el-upload class="upload-demo" :before-upload="beforeUpload" ref="upload" accept=".zip"
5
                 action="https://jsonplaceholder.typicode.com/posts/" :action="UploadUrl()" :headers="headers"
5
                 action="https://jsonplaceholder.typicode.com/posts/" :action="UploadUrl()" :headers="headers"
6
-                :data="filedata" :on-preview="handlePreview" :on-remove="handleRemove"  :on-success="handleSuccess" :file-list="fileList"
7
-                :auto-upload="false">
6
+                :data="filedata" :on-preview="handlePreview" :on-remove="handleRemove" :on-success="handleSuccess"
7
+                :file-list="fileList" :auto-upload="false">
8
                 <el-button slot="trigger" size="small" type="primary" :disabled="flagBtn">选取文件</el-button>
8
                 <el-button slot="trigger" size="small" type="primary" :disabled="flagBtn">选取文件</el-button>
9
-                <el-button style="margin-left: 10px;" size="small" type="success" @click="submitUpload" :disabled="flagBtn">上传压缩包</el-button>
10
-                <div slot="tip" class="el-upload__tip">只能上传zip文件,并且格式为一级目录上传申请书证据材料,二级目录为申请书和证据材料</div>
9
+                <el-button style="margin-left: 10px;" size="small" type="success" @click="submitUpload"
10
+                    :disabled="flagBtn">上传压缩包</el-button>
11
+                <div slot="tip" class="el-upload__tip">
12
+                    <div>结构示例</div>
13
+                    <el-tree :data="dataTip"></el-tree>
14
+                    <div>说明:1、压缩包目录结构为三级目录,
15
+                        2、第2级目录名称应为“申请书”或“证据材料”。</div>
16
+                </div>
11
             </el-upload>
17
             </el-upload>
12
             <div class="title">证据目录结构</div>
18
             <div class="title">证据目录结构</div>
13
             <el-tree :data="data" @node-click="handleNodeClick"></el-tree>
19
             <el-tree :data="data" @node-click="handleNodeClick"></el-tree>
28
                 Authorization: "Bearer " + getToken(),
34
                 Authorization: "Bearer " + getToken(),
29
             },
35
             },
30
             filedata: {
36
             filedata: {
31
-                id:this.uploadCaseData.id
37
+                id: this.uploadCaseData.id
32
             },
38
             },
33
-            flagBtn:false
39
+            flagBtn: false,
40
+            dataTip: [{
41
+                label: '压缩包名称',
42
+                children: [{
43
+                    label: '申请书',
44
+                    children: [{
45
+                        label: '申请书名称.pdf'
46
+                    }]
47
+                }, {
48
+                    label: '证据材料',
49
+                    children: [{
50
+                        label: '证据1.pdf'
51
+                    }, {
52
+                        label: '证据2.pdf'
53
+                    }]
54
+                }]
55
+            },],
34
         };
56
         };
35
     },
57
     },
36
     watch: {
58
     watch: {
62
         },
84
         },
63
         handleNodeClick(data) {
85
         handleNodeClick(data) {
64
             console.log(data);
86
             console.log(data);
87
+            let headPath = window.location.origin + "/API";
88
+            if(data.annexPath){
89
+                window.open(headPath + data.annexPath, "_blank")
90
+            }
65
         },
91
         },
66
         // 递归替换key
92
         // 递归替换key
67
         setData(data) {
93
         setData(data) {
75
             evidenceTree(data).then(res => {
101
             evidenceTree(data).then(res => {
76
                 this.setData(res.data);
102
                 this.setData(res.data);
77
                 this.data = res.data;
103
                 this.data = res.data;
78
-                if(this.data.length > 0){
104
+                if (this.data.length > 0) {
79
                     this.flagBtn = true;
105
                     this.flagBtn = true;
80
-                }else{
106
+                } else {
81
                     this.flagBtn = false;
107
                     this.flagBtn = false;
82
                 }
108
                 }
83
             })
109
             })
84
         },
110
         },
85
-        handleSuccess(){
111
+        handleSuccess() {
86
             this.evidenceTreeFn({ caseId: this.uploadCaseData.id })
112
             this.evidenceTreeFn({ caseId: this.uploadCaseData.id })
87
         },
113
         },
88
         beforeUpload(file) {
114
         beforeUpload(file) {

+ 1
- 4
src/views/officialSeal/officialSealList.vue Vedi File

69
     methods: {
69
     methods: {
70
         // 启用认证按钮
70
         // 启用认证按钮
71
         changeStatus(row) {
71
         changeStatus(row) {
72
-            enableDept({ id: row.id }).then(res => {
73
-                this.getList(this.queryParams);
74
-            })
75
             this.$modal.confirm('是否进行启用?')
72
             this.$modal.confirm('是否进行启用?')
76
                 .then(function () {
73
                 .then(function () {
77
-                    
74
+
78
                 })
75
                 })
79
                 .then(() => {
76
                 .then(() => {
80
                     enableDept({ id: row.id }).then(res => {
77
                     enableDept({ id: row.id }).then(res => {

+ 22
- 7
src/views/system/dept/index.vue Vedi File

103
               <el-input v-model="form.deptType" placeholder="请输入部门编码" maxlength="50" />
103
               <el-input v-model="form.deptType" placeholder="请输入部门编码" maxlength="50" />
104
             </el-form-item>
104
             </el-form-item>
105
           </el-col> -->
105
           </el-col> -->
106
+          <el-col :span="12">
107
+            <el-form-item label="部门类型" prop="deptType">
108
+              <el-select v-model="form.deptType" placeholder="请选择部门类型">
109
+                <el-option v-for="item in options" :key="item.value" :label="item.label" :value="item.value">
110
+                </el-option>
111
+              </el-select>
112
+            </el-form-item>
113
+          </el-col>
106
         </el-row>
114
         </el-row>
107
         <el-row>
115
         <el-row>
108
           <el-col :span="12">
116
           <el-col :span="12">
109
             <el-form-item label="部门状态">
117
             <el-form-item label="部门状态">
110
               <el-radio-group v-model="form.status">
118
               <el-radio-group v-model="form.status">
111
-                <el-radio v-for="dict in dict.type.sys_normal_disable" :key="dict.value"
112
-                  :label="dict.value">{{ dict.label }}</el-radio>
119
+                <el-radio v-for="dict in dict.type.sys_normal_disable" :key="dict.value" :label="dict.value">{{ dict.label
120
+                }}</el-radio>
113
               </el-radio-group>
121
               </el-radio-group>
114
             </el-form-item>
122
             </el-form-item>
115
           </el-col>
123
           </el-col>
134
   components: { Treeselect },
142
   components: { Treeselect },
135
   data() {
143
   data() {
136
     return {
144
     return {
137
-      flag:false,
145
+      flag: false,
138
       // 遮罩层
146
       // 遮罩层
139
       loading: true,
147
       loading: true,
140
       // 显示搜索条件
148
       // 显示搜索条件
186
             trigger: "blur"
194
             trigger: "blur"
187
           }
195
           }
188
         ]
196
         ]
189
-      }
197
+      },
198
+      options: [{
199
+        value: 1,
200
+        label: '仲裁机构'
201
+      }, {
202
+        value: 2,
203
+        label: '金融公司'
204
+      },],
190
     };
205
     };
191
   },
206
   },
192
   created() {
207
   created() {
242
     },
257
     },
243
     /** 新增按钮操作 */
258
     /** 新增按钮操作 */
244
     handleAdd(row) {
259
     handleAdd(row) {
245
-      console.log(row,"LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL");
246
-      if(row == 1){
260
+      console.log(row, "LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL");
261
+      if (row == 1) {
247
         this.flag = false;
262
         this.flag = false;
248
-      }else{
263
+      } else {
249
         this.flag = true;
264
         this.flag = true;
250
       }
265
       }
251
       this.reset();
266
       this.reset();