Kaynağa Gözat

'修复bug2.21'

hhl123456789 2 yıl önce
ebeveyn
işleme
d53d53ab75

+ 2
- 2
src/views/caseManagement/components/paymentdetailsDialog.vue Dosyayı Görüntüle

1
 <template>
1
 <template>
2
   <div>
2
   <div>
3
     <el-dialog :title="title" :visible="openDialog" @close="cancel" :destroy-on-close="true" center>
3
     <el-dialog :title="title" :visible="openDialog" @close="cancel" :destroy-on-close="true" center>
4
-      <el-form ref="form" :model="form" label-width="180px" :disabled="true">
4
+      <el-form ref="form" :model="form" label-width="180px">
5
         <el-form-item label="案件编号:" prop="caseNum">
5
         <el-form-item label="案件编号:" prop="caseNum">
6
           <el-input v-model="form.caseNum" placeholder="" :disabled="true"/>
6
           <el-input v-model="form.caseNum" placeholder="" :disabled="true"/>
7
         </el-form-item>
7
         </el-form-item>
12
           <el-input v-model="form.applicationName" placeholder="" />
12
           <el-input v-model="form.applicationName" placeholder="" />
13
         </el-form-item> -->
13
         </el-form-item> -->
14
         <el-form-item label="缴费金额:" prop="feePayable">
14
         <el-form-item label="缴费金额:" prop="feePayable">
15
-          <el-input v-model="form.feePayable" />
15
+          <el-input v-model="form.feePayable" :disabled="true"/>
16
         </el-form-item>
16
         </el-form-item>
17
         <el-form-item label="申请人缴费凭证:" v-if="form.caseAttachList.length > 0">
17
         <el-form-item label="申请人缴费凭证:" v-if="form.caseAttachList.length > 0">
18
           <div style="color: #104fad;cursor:pointer" v-for="(item, index) in form.caseAttachList" :key="index"
18
           <div style="color: #104fad;cursor:pointer" v-for="(item, index) in form.caseAttachList" :key="index"

+ 22
- 2
src/views/officialSeal/components/addTemplate.vue Dosyayı Görüntüle

19
                     </el-select>
19
                     </el-select>
20
                 </el-form-item>
20
                 </el-form-item>
21
             </el-form>
21
             </el-form>
22
+            <el-upload class="avatar-uploader" :on-success="handleSuccessC" ref="upload" :action="UploadUrl()"
23
+                :headers="headers" :data="filedataC" :on-remove="handleRemoveC" :on-change="handleChangeC" accept=".doc,.docx"
24
+                :file-list="fileListC" :limit="1">
25
+                <el-button size="small" type="primary">选择自然人调解申请书模板</el-button>
26
+            </el-upload>
22
             <el-upload class="avatar-uploader" :on-success="handleSuccess" ref="upload" :action="UploadUrl()"
27
             <el-upload class="avatar-uploader" :on-success="handleSuccess" ref="upload" :action="UploadUrl()"
23
                 :headers="headers" :data="filedata" :on-remove="handleRemove" :on-change="handleChange" accept=".doc,.docx"
28
                 :headers="headers" :data="filedata" :on-remove="handleRemove" :on-change="handleChange" accept=".doc,.docx"
24
                 :file-list="fileList" :limit="1">
29
                 :file-list="fileList" :limit="1">
25
-                <el-button size="small" type="primary">选择调解申请书模板</el-button>
30
+                <el-button size="small" type="primary">选择机构调解申请书模板</el-button>
26
             </el-upload>
31
             </el-upload>
27
             <el-upload class="avatar-uploader" :on-success="handleSuccessA" ref="uploadA" :action="UploadUrl()"
32
             <el-upload class="avatar-uploader" :on-success="handleSuccessA" ref="uploadA" :action="UploadUrl()"
28
                 :headers="headers" :data="filedataA" :on-remove="handleRemoveA" :on-change="handleChangeA"
33
                 :headers="headers" :data="filedataA" :on-remove="handleRemoveA" :on-change="handleChangeA"
55
             fileList: [],
60
             fileList: [],
56
             fileListA: [],
61
             fileListA: [],
57
             fileListB: [],
62
             fileListB: [],
63
+            fileListC: [],
58
             data: [],
64
             data: [],
59
             tempList: [],
65
             tempList: [],
60
             isImg: false,
66
             isImg: false,
70
             filedataB: {
76
             filedataB: {
71
                 annexType: 3
77
                 annexType: 3
72
             },
78
             },
79
+            filedataC: {
80
+                annexType: 4
81
+            },
73
             flagBtn: false,
82
             flagBtn: false,
74
             ruleForm: {},
83
             ruleForm: {},
75
             rules: {
84
             rules: {
123
             console.log(res, "OOOOOOOOOOOOOOOOO");
132
             console.log(res, "OOOOOOOOOOOOOOOOO");
124
             this.submitForm.annexIds.push(res.annexId)
133
             this.submitForm.annexIds.push(res.annexId)
125
         },
134
         },
126
-
127
         handleChangeA(file, fileList) {
135
         handleChangeA(file, fileList) {
128
             this.isImg = file.type === '.doc' || '.docx'
136
             this.isImg = file.type === '.doc' || '.docx'
129
         },
137
         },
138
+        // 自然人
139
+        handleSuccessC(res) {
140
+        console.log(res,'自然人上传成功');
141
+            this.$message.success('上传成功');
142
+            this.submitForm.annexIds[4] = res.annexId;
143
+        },
144
+        handleRemoveC(file, fileList) {
145
+            console.log(file, fileList);
146
+        },
147
+        handleChangeC(file, fileList) {
148
+            this.isImg = file.type === '.doc' || '.docx'
149
+        },
130
         UploadUrl() {
150
         UploadUrl() {
131
             return window.location.origin + "/API/deptIdentify/upload";
151
             return window.location.origin + "/API/deptIdentify/upload";
132
         },
152
         },

+ 34
- 5
src/views/officialSeal/components/editTemplate.vue Dosyayı Görüntüle

1
 <template>
1
 <template>
2
     <div>
2
     <div>
3
         <el-dialog title="修改模板" :visible="editVisable" v-if="editVisable" @close="cancel" width="600px" center>
3
         <el-dialog title="修改模板" :visible="editVisable" v-if="editVisable" @close="cancel" width="600px" center>
4
-            <el-form :model="ruleForm" label-position="left" :rules="rules" ref="ruleForm" label-width="90px"
4
+            <el-form :model="ruleForm" label-position="left" :rules="rules" ref="ruleForm" label-width="170px"
5
                 class="demo-ruleForm">
5
                 class="demo-ruleForm">
6
                 <el-form-item label="模板名称" prop="temName">
6
                 <el-form-item label="模板名称" prop="temName">
7
                     <el-input v-model="ruleForm.temName"></el-input>
7
                     <el-input v-model="ruleForm.temName"></el-input>
12
                             :value="dict.value"></el-option>
12
                             :value="dict.value"></el-option>
13
                     </el-select>
13
                     </el-select>
14
                 </el-form-item> -->
14
                 </el-form-item> -->
15
-                <el-form-item label="调节申请书模板" v-if="ruleForm.applicationFile.fileName">
15
+                <el-form-item label="自然人调解申请书模板" v-if="ruleForm.personApplicationFile && ruleForm.personApplicationFile.fileName">
16
+                    <span style="color: #0e5ce3;cursor:pointer" @click="openUrl(ruleForm.personApplicationFile.temOrigPath)">{{
17
+                        ruleForm.personApplicationFile.fileName ? ruleForm.personApplicationFile.fileName : ""
18
+                    }}</span>
19
+                </el-form-item>
20
+                <el-form-item label="机构调解申请书模板" v-if="ruleForm.applicationFile.fileName">
16
                     <span style="color: #0e5ce3;cursor:pointer" @click="openUrl(ruleForm.applicationFile.temOrigPath)">{{
21
                     <span style="color: #0e5ce3;cursor:pointer" @click="openUrl(ruleForm.applicationFile.temOrigPath)">{{
17
                         ruleForm.applicationFile.fileName ? ruleForm.applicationFile.fileName : ""
22
                         ruleForm.applicationFile.fileName ? ruleForm.applicationFile.fileName : ""
18
                     }}</span>
23
                     }}</span>
30
                     }}</span>
35
                     }}</span>
31
                 </el-form-item>
36
                 </el-form-item>
32
             </el-form>
37
             </el-form>
38
+            <el-upload class="avatar-uploader" :on-success="handleSuccessC" ref="upload" :action="UploadUrl()"
39
+                :headers="headers" :data="filedataC" :on-remove="handleRemoveC" :on-change="handleChangeC" accept=".doc,.docx"
40
+                :file-list="fileListC" :limit="1">
41
+                <el-button size="small" type="primary">选择自然人调解申请书模板</el-button>
42
+            </el-upload>
33
             <el-upload class="avatar-uploader" :on-success="handleSuccess" ref="upload" :action="UploadUrl()"
43
             <el-upload class="avatar-uploader" :on-success="handleSuccess" ref="upload" :action="UploadUrl()"
34
                 :headers="headers" :data="filedata" :on-remove="handleRemove" :on-change="handleChange" accept=".doc,.docx"
44
                 :headers="headers" :data="filedata" :on-remove="handleRemove" :on-change="handleChange" accept=".doc,.docx"
35
                 :file-list="fileList" :limit="1">
45
                 :file-list="fileList" :limit="1">
36
-                <el-button size="small" type="primary">选择调解申请书模板</el-button>
46
+                <el-button size="small" type="primary">选择机构调解申请书模板</el-button>
37
             </el-upload>
47
             </el-upload>
38
             <el-upload class="avatar-uploader" :on-success="handleSuccessA" ref="uploadA" :action="UploadUrl()"
48
             <el-upload class="avatar-uploader" :on-success="handleSuccessA" ref="uploadA" :action="UploadUrl()"
39
                 :headers="headers" :data="filedataA" :on-remove="handleRemoveA" :on-change="handleChangeA"
49
                 :headers="headers" :data="filedataA" :on-remove="handleRemoveA" :on-change="handleChangeA"
63
             fileList: [],
73
             fileList: [],
64
             fileListA: [],
74
             fileListA: [],
65
             fileListB: [],
75
             fileListB: [],
76
+            fileListC: [],
66
             data: [],
77
             data: [],
67
             headers: {
78
             headers: {
68
                 Authorization: "Bearer " + getToken(),
79
                 Authorization: "Bearer " + getToken(),
77
             filedataB: {
88
             filedataB: {
78
                 annexType: 3
89
                 annexType: 3
79
             },
90
             },
91
+            filedataC: {
92
+                annexType: 4
93
+            },
80
             flagBtn: false,
94
             flagBtn: false,
81
             ruleForm: {
95
             ruleForm: {
82
                 agreementFile:{},
96
                 agreementFile:{},
136
                             this.submitForm.identifyId = this.ruleForm.identifyId;
150
                             this.submitForm.identifyId = this.ruleForm.identifyId;
137
                             this.submitForm.temName = this.ruleForm.temName;
151
                             this.submitForm.temName = this.ruleForm.temName;
138
                             this.submitForm.id = this.ruleForm.id;
152
                             this.submitForm.id = this.ruleForm.id;
139
-                            console.log(this.submitForm.annexIds,'ooooooooooooooooooooooooooooo');
153
+                            console.log(this.submitForm,'ooooooooooooooooooooooooooooo');
140
                             updateTemplate(this.submitForm).then(res => {
154
                             updateTemplate(this.submitForm).then(res => {
141
                                 this.$message.success('修改成功');
155
                                 this.$message.success('修改成功');
142
                                 this.$emit("cancelEdit");
156
                                 this.$emit("cancelEdit");
156
         handleRemove(file, fileList) {
170
         handleRemove(file, fileList) {
157
             console.log(file, fileList);
171
             console.log(file, fileList);
158
         },
172
         },
173
+        // 机构
159
         handleSuccess(res) {
174
         handleSuccess(res) {
175
+        console.log(res,'机构上传成功');
160
             this.$message.success('上传成功');
176
             this.$message.success('上传成功');
161
             // this.submitForm.annexIds.push(res.annexId);
177
             // this.submitForm.annexIds.push(res.annexId);
162
             this.submitForm.annexIds[1] = res.annexId;
178
             this.submitForm.annexIds[1] = res.annexId;
163
         },
179
         },
164
-
180
+        // 自然人
181
+        handleSuccessC(res) {
182
+        console.log(res,'自然人上传成功');
183
+            this.$message.success('上传成功');
184
+            this.submitForm.annexIds[4] = res.annexId;
185
+        },
186
+        handleRemoveC(file, fileList) {
187
+            console.log(file, fileList);
188
+        },
189
+        handleChangeC(file, fileList) {
190
+            this.isImg = file.type === '.doc' || '.docx'
191
+        },
165
         handleChangeA(file, fileList) {
192
         handleChangeA(file, fileList) {
166
             this.isImg = file.type === '.doc' || '.docx'
193
             this.isImg = file.type === '.doc' || '.docx'
167
         },
194
         },
171
         handleRemoveA(file, fileList) {
198
         handleRemoveA(file, fileList) {
172
             console.log(file, fileList);
199
             console.log(file, fileList);
173
         },
200
         },
201
+        // 和解协议
174
         handleSuccessA(res) {
202
         handleSuccessA(res) {
175
             this.$message.success('上传成功');
203
             this.$message.success('上传成功');
176
             // this.submitForm.annexIds.push(res.annexId);
204
             // this.submitForm.annexIds.push(res.annexId);
186
         handleRemoveB(file, fileList) {
214
         handleRemoveB(file, fileList) {
187
             console.log(file, fileList);
215
             console.log(file, fileList);
188
         },
216
         },
217
+        // 调解书
189
         handleSuccessB(res) {
218
         handleSuccessB(res) {
190
             this.$message.success('上传成功');
219
             this.$message.success('上传成功');
191
             // this.submitForm.annexIds.push(res.annexId);
220
             // this.submitForm.annexIds.push(res.annexId);

+ 2
- 12
vue.config.js Dosyayı Görüntüle

12
 const port = process.env.port || process.env.npm_config_port || 80 // 端口
12
 const port = process.env.port || process.env.npm_config_port || 80 // 端口
13
 
13
 
14
 // const API = 'http://121.40.189.20:9001'  //生产
14
 // const API = 'http://121.40.189.20:9001'  //生产
15
-// const API = 'http://121.40.189.20:6001'  //测试
15
+const API = 'http://121.40.189.20:6001'  //测试
16
 // const API = 'http://192.168.3.18:6001'  //B
16
 // const API = 'http://192.168.3.18:6001'  //B
17
-<<<<<<< HEAD
18
-// const API = 'http://172.16.0.237:6001' //Q
17
+// const API = 'http://172.16.0.210:6001' //Q
19
 // const API = 'http://172.16.1.43:6001' //w
18
 // const API = 'http://172.16.1.43:6001' //w
20
-=======
21
-// const API = 'http://172.16.1.30:6001' //Q
22
-<<<<<<< HEAD
23
-// const API = 'http://172.16.1.43:6001' //w
24
-=======
25
-// const API = 'http://172.16.1.17:6001' //w
26
->>>>>>> 14df1eebfbde9573a5c541678ad9dfbb33797007
27
->>>>>>> 2fbaf17b60f7f1acb11b1a884129643927270d1b
28
-
29
 // vue.config.js 配置说明
19
 // vue.config.js 配置说明
30
 //官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions
20
 //官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions
31
 // 这里只列一部分,具体配置参考文档
21
 // 这里只列一部分,具体配置参考文档