Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
40 changed files
with
606 additions
and
220 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-06-20 09:56:19 | 4 | * @LastEditTime: 2023-06-20 10:23:38 |
5 | --> | 5 | --> |
6 | <!DOCTYPE html> | 6 | <!DOCTYPE html> |
7 | <html> | 7 | <html> |
... | @@ -31,7 +31,7 @@ | ... | @@ -31,7 +31,7 @@ |
31 | business: 'http://localhost:7001' | 31 | business: 'http://localhost:7001' |
32 | } | 32 | } |
33 | } | 33 | } |
34 | fetch('<%= BASE_URL %>config.json') | 34 | fetch('/dj/config.json') |
35 | .then(response => response.json()) | 35 | .then(response => response.json()) |
36 | .then(config => { | 36 | .then(config => { |
37 | window.config = config | 37 | window.config = config | ... | ... |
... | @@ -4,7 +4,7 @@ | ... | @@ -4,7 +4,7 @@ |
4 | * @Author: sakuya | 4 | * @Author: sakuya |
5 | * @Date: 2021年6月10日10:04:07 | 5 | * @Date: 2021年6月10日10:04:07 |
6 | * @LastEditors: Please set LastEditors | 6 | * @LastEditors: Please set LastEditors |
7 | * @LastEditTime: 2023-11-07 09:23:12 | 7 | * @LastEditTime: 2023-11-07 10:04:18 |
8 | --> | 8 | --> |
9 | 9 | ||
10 | <template> | 10 | <template> | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-05 09:48:23 | 4 | * @LastEditTime: 2023-07-27 14:44:38 |
5 | */ | 5 | */ |
6 | //表格选择器配置 | 6 | //表格选择器配置 |
7 | 7 | ||
8 | export default { | 8 | export default { |
9 | pageSize: 10, //表格每一页条数 | ||
10 | parseData: function (res) { | 9 | parseData: function (res) { |
11 | return { | 10 | return { |
12 | data: res.data | 11 | data: res.data |
13 | } | 12 | } |
14 | }, | 13 | }, |
15 | request: { | ||
16 | page: 'page', //规定当前分页字段 | ||
17 | pageSize: 'pageSize', //规定一页条数字段 | ||
18 | }, | ||
19 | props: { | 14 | props: { |
20 | label: 'label', //映射label显示字段 | 15 | label: 'label', //映射label显示字段 |
21 | value: 'value', //映射value值字段 | 16 | value: 'value', //映射value值字段 | ... | ... |
... | @@ -62,7 +62,7 @@ Object.keys(filters).forEach(key => { | ... | @@ -62,7 +62,7 @@ Object.keys(filters).forEach(key => { |
62 | }) | 62 | }) |
63 | Vue.config.productionTip = false | 63 | Vue.config.productionTip = false |
64 | 64 | ||
65 | axios.get("/config.json") | 65 | axios.get("/dj/config.json") |
66 | .then((res) => { | 66 | .then((res) => { |
67 | Vue.prototype.BASE_API = res.data | 67 | Vue.prototype.BASE_API = res.data |
68 | localStorage.setItem('ApiUrl', JSON.stringify(res.data)); | 68 | localStorage.setItem('ApiUrl', JSON.stringify(res.data)); | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-02-01 08:52:00 | 4 | * @LastEditTime: 2024-02-01 16:27:16 |
5 | */ | 5 | */ |
6 | import { getUserInfo } from '@/api/user' | 6 | import { getUserInfo } from '@/api/user' |
7 | const state = { | 7 | const state = { | ... | ... |
... | @@ -234,7 +234,7 @@ | ... | @@ -234,7 +234,7 @@ |
234 | formData.append("bsmSj", this.previewImg.bsmSj); | 234 | formData.append("bsmSj", this.previewImg.bsmSj); |
235 | formData.append("bsmSlsq", this.previewImg.bsmSlsq); | 235 | formData.append("bsmSlsq", this.previewImg.bsmSlsq); |
236 | if (this.previewImg.imgList.length > 0) { | 236 | if (this.previewImg.imgList.length > 0) { |
237 | formData.append("ssBsmClmx", this.previewImg.imgList[this.previewImg.index].bsmClmx); | 237 | formData.append("index", this.previewImg.imgList[this.previewImg.index].sxh); |
238 | } | 238 | } |
239 | uploadSjClmx(formData).then((res) => { | 239 | uploadSjClmx(formData).then((res) => { |
240 | if (res.code == 200) { | 240 | if (res.code == 200) { | ... | ... |
... | @@ -454,7 +454,6 @@ | ... | @@ -454,7 +454,6 @@ |
454 | }; | 454 | }; |
455 | }, | 455 | }, |
456 | key: 0, | 456 | key: 0, |
457 | tdxz: null, | ||
458 | isShow: false, | 457 | isShow: false, |
459 | disabled: true, | 458 | disabled: true, |
460 | czrOptions: [], | 459 | czrOptions: [], |
... | @@ -675,6 +674,16 @@ | ... | @@ -675,6 +674,16 @@ |
675 | if (this.ruleForm.qlrData.length > 1) { | 674 | if (this.ruleForm.qlrData.length > 1) { |
676 | this.$message({ | 675 | this.$message({ |
677 | showClose: true, | 676 | showClose: true, |
677 | message: "请确认权利人信息", | ||
678 | type: "error", | ||
679 | }); | ||
680 | return false; | ||
681 | } | ||
682 | } | ||
683 | if (this.ruleForm.sldy.gyfs == "0") { | ||
684 | if (this.ruleForm.qlrData.length > 1) { | ||
685 | this.$message({ | ||
686 | showClose: true, | ||
678 | message: "共有方式:单独所有,权利人只能是一个人", | 687 | message: "共有方式:单独所有,权利人只能是一个人", |
679 | type: "error", | 688 | type: "error", |
680 | }); | 689 | }); | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-11-03 14:47:55 | 4 | * @LastEditTime: 2023-11-03 14:50:46 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -84,8 +84,6 @@ | ... | @@ -84,8 +84,6 @@ |
84 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> | 84 | <el-input disabled v-model="ruleForm.qlxx.ssywh"></el-input> |
85 | </el-form-item> | 85 | </el-form-item> |
86 | </el-col> | 86 | </el-col> |
87 | </el-row> | ||
88 | <el-row :gutter="10"> | ||
89 | <el-col :span="8"> | 87 | <el-col :span="8"> |
90 | <el-form-item label="权利类型:"> | 88 | <el-form-item label="权利类型:"> |
91 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> | 89 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> | ... | ... |
... | @@ -591,8 +591,6 @@ | ... | @@ -591,8 +591,6 @@ |
591 | this.loading = false | 591 | this.loading = false |
592 | if (res.code == 200) { | 592 | if (res.code == 200) { |
593 | this.ruleForm = res.result; | 593 | this.ruleForm = res.result; |
594 | this.ruleForm.tdsyq.mjdw = "1" | ||
595 | |||
596 | let djlx = this.ruleForm.qlxx.djlx; | 594 | let djlx = this.ruleForm.qlxx.djlx; |
597 | if (djlx == null || djlx == 100) { | 595 | if (djlx == null || djlx == 100) { |
598 | this.ssqlxxshow = false; | 596 | this.ssqlxxshow = false; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-19 16:30:06 | 4 | * @LastEditTime: 2024-01-29 14:27:07 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="clxx"> | 7 | <div class="clxx"> |
... | @@ -170,9 +170,9 @@ | ... | @@ -170,9 +170,9 @@ |
170 | }) | 170 | }) |
171 | } else { | 171 | } else { |
172 | var formdata = new FormData(); | 172 | var formdata = new FormData(); |
173 | formdata.append("bsmSlsq", this.formData.bsmSlsq); | 173 | formdata.append("bsmSlsq", this.formData.bsmSlsq ? this.formData.bsmSlsq : ''); |
174 | formdata.append("bsmSldy", this.formData.bsmSldy); | 174 | formdata.append("bsmSldy", this.formData.bsmSldy ? this.formData.bsmSldy : ''); |
175 | 175 | console.log(this.formData); | |
176 | InitClml(formdata).then((res) => { | 176 | InitClml(formdata).then((res) => { |
177 | if (res.code == 200) { | 177 | if (res.code == 200) { |
178 | resolve(res.code); | 178 | resolve(res.code); | ... | ... |
This diff is collapsed.
Click to expand it.
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-02-06 13:23:36 | 4 | * @LastEditTime: 2024-02-06 13:26:37 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
... | @@ -269,7 +269,20 @@ | ... | @@ -269,7 +269,20 @@ |
269 | context.fillStyle = '#000000'; | 269 | context.fillStyle = '#000000'; |
270 | context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 60, 56); | 270 | context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 60, 56); |
271 | context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 113, 56); | 271 | context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 113, 56); |
272 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 180, 56); | 272 | // context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 180, 56); |
273 | |||
274 | if (getByteLen(this.bdcqz.sxqc) > 14) { | ||
275 | const originalFont = context.font; | ||
276 | // 设置新的字体大小 | ||
277 | context.font = '14px 楷体'; // 替换为你想要的字体和大小 | ||
278 | // 绘制 bdcdyh | ||
279 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 165, 56); | ||
280 | // 恢复原始字体设置 | ||
281 | context.font = originalFont; | ||
282 | } else { | ||
283 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 170, 56); | ||
284 | } | ||
285 | |||
273 | context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 370, 56); | 286 | context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 370, 56); |
274 | context.fillText(this.bdcqz.qlr ? this.bdcqz.qlr : '', 129, 97); | 287 | context.fillText(this.bdcqz.qlr ? this.bdcqz.qlr : '', 129, 97); |
275 | context.fillText(this.bdcqz.gyqk ? this.bdcqz.gyqk : '', 129, 136); | 288 | context.fillText(this.bdcqz.gyqk ? this.bdcqz.gyqk : '', 129, 136); | ... | ... |
... | @@ -91,6 +91,7 @@ | ... | @@ -91,6 +91,7 @@ |
91 | import { getIdCardInfo } from '@/utils/operation.js' | 91 | import { getIdCardInfo } from '@/utils/operation.js' |
92 | import { getUnclaimedBdcqz, issueCertificate, getBdcqzQlr } from "@/api/bdcqz.js"; | 92 | import { getUnclaimedBdcqz, issueCertificate, getBdcqzQlr } from "@/api/bdcqz.js"; |
93 | import { datas } from "../../javascript/fzxxdata"; | 93 | import { datas } from "../../javascript/fzxxdata"; |
94 | import { log } from 'bpmn-js-token-simulation'; | ||
94 | export default { | 95 | export default { |
95 | props: { | 96 | props: { |
96 | formData: { | 97 | formData: { | ... | ... |
... | @@ -70,7 +70,6 @@ | ... | @@ -70,7 +70,6 @@ |
70 | ruleForm: { | 70 | ruleForm: { |
71 | bsmBdcqz: '', | 71 | bsmBdcqz: '', |
72 | szmc: '不动产权证书', | 72 | szmc: '不动产权证书', |
73 | bsmBdcqz: '', | ||
74 | szzh: '', | 73 | szzh: '', |
75 | ysxlh: '', | 74 | ysxlh: '', |
76 | }, | 75 | }, |
... | @@ -85,6 +84,7 @@ | ... | @@ -85,6 +84,7 @@ |
85 | //从按钮进入 | 84 | //从按钮进入 |
86 | this.getHeadTabBdcqz(); | 85 | this.getHeadTabBdcqz(); |
87 | } | 86 | } |
87 | |||
88 | }, | 88 | }, |
89 | methods: { | 89 | methods: { |
90 | /** | 90 | /** |
... | @@ -198,7 +198,17 @@ | ... | @@ -198,7 +198,17 @@ |
198 | context.fillStyle = '#000000'; | 198 | context.fillStyle = '#000000'; |
199 | context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 60, 56); | 199 | context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 60, 56); |
200 | context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 113, 56); | 200 | context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 113, 56); |
201 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 180, 56); | 201 | if (getByteLen(this.bdcqz.sxqc) > 14) { |
202 | const originalFont = context.font; | ||
203 | // 设置新的字体大小 | ||
204 | context.font = '14px 楷体'; // 替换为你想要的字体和大小 | ||
205 | // 绘制 bdcdyh | ||
206 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 165, 56); | ||
207 | // 恢复原始字体设置 | ||
208 | context.font = originalFont; | ||
209 | } else { | ||
210 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 170, 56); | ||
211 | } | ||
202 | context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 370, 56); | 212 | context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : '', 370, 56); |
203 | context.fillText(this.bdcqz.qlr ? this.bdcqz.qlr : '', 129, 97); | 213 | context.fillText(this.bdcqz.qlr ? this.bdcqz.qlr : '', 129, 97); |
204 | context.fillText(this.bdcqz.gyqk ? this.bdcqz.gyqk : '', 129, 136); | 214 | context.fillText(this.bdcqz.gyqk ? this.bdcqz.gyqk : '', 129, 136); | ... | ... |
... | @@ -21,7 +21,7 @@ | ... | @@ -21,7 +21,7 @@ |
21 | <div class="menu-con"> | 21 | <div class="menu-con"> |
22 | <p>{{ item.bdcdyh }}</p> | 22 | <p>{{ item.bdcdyh }}</p> |
23 | <el-tooltip effect="dark" :content="item.zl" placement="top"> | 23 | <el-tooltip effect="dark" :content="item.zl" placement="top"> |
24 | <p v-if="item.sqfl=='1'" class="title-detail">{{ item.zl }}</p> | 24 | <p v-if="item.zl" class="title-detail">{{ item.zl }}</p> |
25 | <p v-else class="title-detail">{{ item.qllxmc }}</p> | 25 | <p v-else class="title-detail">{{ item.qllxmc }}</p> |
26 | </el-tooltip> | 26 | </el-tooltip> |
27 | </div> | 27 | </div> | ... | ... |
... | @@ -159,6 +159,7 @@ | ... | @@ -159,6 +159,7 @@ |
159 | type="index" | 159 | type="index" |
160 | width="55px" | 160 | width="55px" |
161 | /> | 161 | /> |
162 | <el-table-column label="环节" prop="name" align="center" /> | ||
162 | <el-table-column | 163 | <el-table-column |
163 | label="转入时间" | 164 | label="转入时间" |
164 | prop="createTime" | 165 | prop="createTime" |
... | @@ -180,6 +181,7 @@ | ... | @@ -180,6 +181,7 @@ |
180 | width="160" | 181 | width="160" |
181 | align="center" | 182 | align="center" |
182 | /> | 183 | /> |
184 | <el-table-column label="经办人" prop="agent" align="center" /> | ||
183 | <el-table-column label="操作方式" prop="controls" align="center" /> | 185 | <el-table-column label="操作方式" prop="controls" align="center" /> |
184 | <el-table-column label="意见" prop="idea" align="center" /> | 186 | <el-table-column label="意见" prop="idea" align="center" /> |
185 | </el-table> | 187 | </el-table> | ... | ... |
src/views/workflow/components/spyj copy.vue
0 → 100644
1 | <!-- | ||
2 | * @Description: 审批意见 | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-08-16 14:39:55 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class="spyj loadingtext"> | ||
8 | <div class="box"> | ||
9 | <div class="spyj_title"> | ||
10 | <div class="righttitle">审批表</div> | ||
11 | </div> | ||
12 | |||
13 | <div v-for="(item, index) in tableData" :key="index"> | ||
14 | <el-form | ||
15 | :model="tableData[index]" | ||
16 | label-width="120px" | ||
17 | ref="ruleForm'" | ||
18 | > | ||
19 | <div class="spyj_form"> | ||
20 | <div class="item_left"> | ||
21 | <div class="right">{{ item.jdmc }}意见</div> | ||
22 | </div> | ||
23 | <div class="item_right"> | ||
24 | <el-row> | ||
25 | <el-col :span="24"> | ||
26 | <el-form-item | ||
27 | label-width="0" | ||
28 | class="opinion_item" | ||
29 | > | ||
30 | <el-input | ||
31 | :disabled="!viewEdit || item.show" | ||
32 | type="textarea" | ||
33 | :rows="4" | ||
34 | class="opinion" | ||
35 | placeholder="请输入审批意见" | ||
36 | v-model="item.shyj" | ||
37 | ></el-input> | ||
38 | <el-button | ||
39 | class="opinion_btn" | ||
40 | @click="commonOpinion(index)" | ||
41 | :disabled="!viewEdit|| item.show" | ||
42 | >常用意见</el-button | ||
43 | > | ||
44 | </el-form-item> | ||
45 | </el-col> | ||
46 | </el-row> | ||
47 | <el-row> | ||
48 | <el-col :span="16"> | ||
49 | <el-form-item label="审查人"> | ||
50 | {{ item.shryxm }} | ||
51 | </el-form-item> | ||
52 | </el-col> | ||
53 | <el-col :span="8"> | ||
54 | <el-form-item disabled label="审核时间" :key="refresh"> | ||
55 | {{ item.shjssj }} | ||
56 | </el-form-item> | ||
57 | </el-col> | ||
58 | </el-row> | ||
59 | </div> | ||
60 | </div> | ||
61 | </el-form> | ||
62 | </div> | ||
63 | <div class="submit_button" v-if="viewEdit"> | ||
64 | <el-button type="primary" :disabled="shows" @click="onSubmit()" | ||
65 | >保存</el-button | ||
66 | > | ||
67 | </div> | ||
68 | </div> | ||
69 | <!-- <el-empty v-if="isNoData" description="暂无数据"></el-empty> --> | ||
70 | </div> | ||
71 | </template> | ||
72 | <script> | ||
73 | import { saveSpyjBySlsq, getSpyjList } from "@/api/opinion.js"; | ||
74 | import { mapGetters } from "vuex"; | ||
75 | import { getNewDatesh } from "@/utils/util"; | ||
76 | export default { | ||
77 | computed: { | ||
78 | ...mapGetters(["userData", "yjsqOptions", "userInfo"]), | ||
79 | }, | ||
80 | data() { | ||
81 | return { | ||
82 | isNoData: false, | ||
83 | currentindex: 0, | ||
84 | bsmSlsq: "", | ||
85 | refresh: 10, | ||
86 | viewEdit: false, | ||
87 | bsmSlsq: this.$route.query.bsmSlsq, | ||
88 | bestepid: this.$route.query.bestepid, | ||
89 | propsParam: {}, | ||
90 | tableData: [], | ||
91 | falg: false, | ||
92 | falg1: false, | ||
93 | jdmc: "", | ||
94 | indexdqlc: 0, | ||
95 | shows: false, | ||
96 | }; | ||
97 | }, | ||
98 | |||
99 | watch: { | ||
100 | yjsqOptions: { | ||
101 | handler(val) { | ||
102 | this.add(val); | ||
103 | }, | ||
104 | deep: true, | ||
105 | immediate: true, | ||
106 | }, | ||
107 | }, | ||
108 | created() {}, | ||
109 | mounted() { | ||
110 | this.propsParam = this.$attrs; | ||
111 | this.viewEdit = this.$parent.currentSelectTab.ableOperation; | ||
112 | this.getShList(); | ||
113 | |||
114 | switch (this.$parent.dqhj) { | ||
115 | case "cs": | ||
116 | this.indexdqlc = 0; | ||
117 | this.jdmc = "初审"; | ||
118 | break; | ||
119 | case "fs": | ||
120 | this.indexdqlc = 1; | ||
121 | this.jdmc = "复审"; | ||
122 | break; | ||
123 | case "hd": | ||
124 | this.indexdqlc = 2; | ||
125 | this.jdmc = "核定"; | ||
126 | break; | ||
127 | } | ||
128 | }, | ||
129 | methods: { | ||
130 | /** | ||
131 | * @description: getShList | ||
132 | * @param {*} obj | ||
133 | * @author: renchao | ||
134 | */ | ||
135 | getShList() { | ||
136 | this.$startLoading(); | ||
137 | var formdata = new FormData(); | ||
138 | formdata.append("bsmBusiness", this.propsParam.bsmBusiness); | ||
139 | formdata.append("bestepid", this.$route.query.bestepid); | ||
140 | |||
141 | getSpyjList(formdata).then((res) => { | ||
142 | this.$endLoading(); | ||
143 | if (res.code === 200 && res.result) { | ||
144 | this.$nextTick(() => { | ||
145 | this.tableData = res.result; | ||
146 | if (this.shows) { | ||
147 | this.shows = false; | ||
148 | } | ||
149 | |||
150 | var index = this.tableData.findIndex( | ||
151 | (item) => item.jddm === this.$parent.dqhj | ||
152 | ); | ||
153 | if (index == -1) { | ||
154 | switch (this.$parent.dqhj) { | ||
155 | case "cs": | ||
156 | this.tableData.push({ jdmc: "初审", jddm: "cs", sxh: 1 }); | ||
157 | break; | ||
158 | case "fs": | ||
159 | this.tableData.push({ jdmc: "复审", jddm: "fs", sxh: 2 }); | ||
160 | break; | ||
161 | case "hd": | ||
162 | this.tableData.push({ jdmc: "核定", jddm: "hd", sxh: 3 }); | ||
163 | break; | ||
164 | } | ||
165 | } | ||
166 | this.tableData.forEach((item) => { | ||
167 | item.show = true; | ||
168 | if (this.$parent.dqhj == item.jddm) { | ||
169 | item["stepid"] = this.$route.query.bestepid; | ||
170 | item.shjssj = getNewDatesh(); | ||
171 | item.shkssj = getNewDatesh(); | ||
172 | item["shryxm"] = this.userInfo.name; | ||
173 | item["userid"] = this.userInfo.id; | ||
174 | item.show = false; | ||
175 | } | ||
176 | }); | ||
177 | }); | ||
178 | } | ||
179 | }); | ||
180 | }, | ||
181 | /** | ||
182 | * @description: judgment | ||
183 | * @param {*} obj | ||
184 | * @author: renchao | ||
185 | */ | ||
186 | judgment(obj) {}, | ||
187 | /** | ||
188 | * @description: onSubmit | ||
189 | * @author: renchao | ||
190 | */ | ||
191 | onSubmit() { | ||
192 | |||
193 | this.tableData.forEach((item, index) => { | ||
194 | item["bsmBusiness"] = this.propsParam.bsmBusiness; | ||
195 | item["czjg"] = "1"; | ||
196 | }); | ||
197 | var index = this.tableData.findIndex( | ||
198 | (item) => item.shyj === null||item.shyj === "" | ||
199 | ); | ||
200 | if(index==-1){ | ||
201 | this.shows = true; | ||
202 | saveSpyjBySlsq(this.tableData).then((res) => { | ||
203 | if (res.code === 200) { | ||
204 | this.$message.success("保存成功"); | ||
205 | this.refresh += 1; | ||
206 | this.getShList(); | ||
207 | } else { | ||
208 | this.$message.error(res.message); | ||
209 | } | ||
210 | }); | ||
211 | }else{ | ||
212 | this.$message.error("意见不能为空"); | ||
213 | } | ||
214 | |||
215 | }, | ||
216 | //打开常用意见列表弹窗 | ||
217 | /** | ||
218 | * @description: 打开常用意见列表弹窗 | ||
219 | * @param {*} index | ||
220 | * @author: renchao | ||
221 | */ | ||
222 | commonOpinion(index) { | ||
223 | this.currentindex = index; | ||
224 | this.$popupDialog( | ||
225 | "常用意见", | ||
226 | "workflow/components/dialog/commonOpinion", | ||
227 | {}, | ||
228 | "70%", | ||
229 | true | ||
230 | ); | ||
231 | }, | ||
232 | /** | ||
233 | * @description: add | ||
234 | * @param {*} val | ||
235 | * @author: renchao | ||
236 | */ | ||
237 | add(val) { | ||
238 | if (val != "") { | ||
239 | this.$set(this.tableData[this.currentindex], "shyj", val); | ||
240 | } | ||
241 | }, | ||
242 | }, | ||
243 | }; | ||
244 | </script> | ||
245 | <style scoped lang="scss"> | ||
246 | @import "~@/styles/mixin.scss"; | ||
247 | |||
248 | .spyj { | ||
249 | width: 100%; | ||
250 | height: 100%; | ||
251 | background-color: #f5f5f5; | ||
252 | padding: 5px; | ||
253 | .box { | ||
254 | overflow-x: auto; | ||
255 | width: 100%; | ||
256 | height: 95%; | ||
257 | background: #fff; | ||
258 | text-align: center; | ||
259 | padding: 4px; | ||
260 | overflow-y: scroll; | ||
261 | padding-top: 20px; | ||
262 | padding: 20px 40px; | ||
263 | .spyj_title { | ||
264 | width: 100%; | ||
265 | height: 80px; | ||
266 | border: 1px solid $borderColor; | ||
267 | background-color: #eceef2; | ||
268 | display: flex; | ||
269 | } | ||
270 | .leftadd { | ||
271 | width: 3%; | ||
272 | height: 100%; | ||
273 | display: flex; | ||
274 | font-size: 14px; | ||
275 | text-indent: 20px; | ||
276 | align-items: center; | ||
277 | border: 1px solid $borderColor; | ||
278 | } | ||
279 | .righttitle { | ||
280 | width: 80%; | ||
281 | height: 100%; | ||
282 | line-height: 80px; | ||
283 | border: 1px solid $borderColor; | ||
284 | margin: auto; | ||
285 | font-size: 22px; | ||
286 | font-weight: 400; | ||
287 | } | ||
288 | } | ||
289 | |||
290 | /deep/.el-form-item { | ||
291 | margin-bottom: 0; | ||
292 | } | ||
293 | |||
294 | .bottom10 { | ||
295 | margin-bottom: 15px; | ||
296 | } | ||
297 | |||
298 | .spyj_form { | ||
299 | display: flex; | ||
300 | border: 1px solid $borderColor; | ||
301 | |||
302 | .item_left { | ||
303 | width: 150px; | ||
304 | background-color: #f8f8fa; | ||
305 | color: #606266; | ||
306 | display: flex; | ||
307 | font-size: 14px; | ||
308 | text-indent: 50px; | ||
309 | align-items: center; | ||
310 | border-right: 1px solid $borderColor; | ||
311 | } | ||
312 | |||
313 | .item_right { | ||
314 | flex: 1; | ||
315 | width: 100%; | ||
316 | |||
317 | /deep/.el-form-item__label { | ||
318 | background-color: #f8f8fa; | ||
319 | } | ||
320 | /deep/.el-form-item__content { | ||
321 | display: block; | ||
322 | text-align: left; | ||
323 | } | ||
324 | .opinion_item { | ||
325 | /deep/.el-form-item__error { | ||
326 | margin-top: -16px !important; | ||
327 | left: 3px; | ||
328 | } | ||
329 | border-bottom: 1px solid $borderColor; | ||
330 | } | ||
331 | |||
332 | .opinion { | ||
333 | position: relative; | ||
334 | font-size: 14px; | ||
335 | |||
336 | /deep/.el-textarea__inner { | ||
337 | border: none; | ||
338 | } | ||
339 | } | ||
340 | |||
341 | .opinion_btn { | ||
342 | position: absolute; | ||
343 | right: 15px; | ||
344 | bottom: 10px; | ||
345 | } | ||
346 | } | ||
347 | } | ||
348 | |||
349 | .submit_button { | ||
350 | text-align: center; | ||
351 | margin: 15px 0; | ||
352 | } | ||
353 | |||
354 | .el-date-editor.el-input { | ||
355 | width: 100%; | ||
356 | } | ||
357 | } | ||
358 | </style> |
1 | <!-- | 1 | <!-- |
2 | * @Description: 审批意见 | 2 | * @Description: 审批意见 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-01-26 08:45:07 | 4 | * @LastEditTime: 2024-01-26 08:46:38 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="spyj" v-Loading="loading"> | 7 | <div class="spyj" v-Loading="loading"> |
... | @@ -132,6 +132,7 @@ | ... | @@ -132,6 +132,7 @@ |
132 | var index = this.tableData.findIndex( | 132 | var index = this.tableData.findIndex( |
133 | (item) => item.jddm === this.$parent.dqhj | 133 | (item) => item.jddm === this.$parent.dqhj |
134 | ); | 134 | ); |
135 | console.log("this.tableData111",this.tableData); | ||
135 | if (index == -1) { | 136 | if (index == -1) { |
136 | switch (this.$parent.dqhj) { | 137 | switch (this.$parent.dqhj) { |
137 | case "cs": | 138 | case "cs": |
... | @@ -144,6 +145,7 @@ | ... | @@ -144,6 +145,7 @@ |
144 | this.tableData.push({ jdmc: "核定", jddm: "hd", sxh: 3 }); | 145 | this.tableData.push({ jdmc: "核定", jddm: "hd", sxh: 3 }); |
145 | break; | 146 | break; |
146 | } | 147 | } |
148 | console.log("this.tableData222",this.tableData); | ||
147 | } | 149 | } |
148 | this.tableData.forEach((item) => { | 150 | this.tableData.forEach((item) => { |
149 | item.show = true; | 151 | item.show = true; |
... | @@ -155,6 +157,7 @@ | ... | @@ -155,6 +157,7 @@ |
155 | item["userid"] = this.userInfo.id; | 157 | item["userid"] = this.userInfo.id; |
156 | item.show = false; | 158 | item.show = false; |
157 | } | 159 | } |
160 | console.log("this.tableData333",this.tableData); | ||
158 | }); | 161 | }); |
159 | this.loading = false | 162 | this.loading = false |
160 | } | 163 | } | ... | ... |
... | @@ -18,7 +18,6 @@ export default { | ... | @@ -18,7 +18,6 @@ export default { |
18 | */ | 18 | */ |
19 | moreQueryClick () { | 19 | moreQueryClick () { |
20 | this.isSearch = true | 20 | this.isSearch = true |
21 | |||
22 | }, | 21 | }, |
23 | /** | 22 | /** |
24 | * @description: 查询事件 | 23 | * @description: 查询事件 |
... | @@ -80,6 +79,7 @@ export default { | ... | @@ -80,6 +79,7 @@ export default { |
80 | this.queryForm[item.zdm] = '' | 79 | this.queryForm[item.zdm] = '' |
81 | } | 80 | } |
82 | this.searchForm[item.zdm] = '' | 81 | this.searchForm[item.zdm] = '' |
82 | this.queryClick() | ||
83 | }, | 83 | }, |
84 | /** | 84 | /** |
85 | * @description: iterationData | 85 | * @description: iterationData | ... | ... |
... | @@ -10,17 +10,17 @@ | ... | @@ -10,17 +10,17 @@ |
10 | <el-row> | 10 | <el-row> |
11 | <!-- <el-col :span="8"> | 11 | <!-- <el-col :span="8"> |
12 | <el-form-item label="申请业务名称" prop="sqywmc"> | 12 | <el-form-item label="申请业务名称" prop="sqywmc"> |
13 | <el-input v-model="ruleForm.sqywmc" placeholder="请输入申请业务名称"></el-input> | 13 | <el-input v-model.trim="ruleForm.sqywmc" clearable placeholder="请输入申请业务名称"></el-input> |
14 | </el-form-item> | 14 | </el-form-item> |
15 | </el-col> --> | 15 | </el-col> --> |
16 | <el-col :span="8"> | 16 | <el-col :span="8"> |
17 | <el-form-item label="权利人" prop="qlrmc"> | 17 | <el-form-item label="权利人" prop="qlrmc"> |
18 | <el-input v-model="ruleForm.qlrmc" placeholder="请输入权利人"></el-input> | 18 | <el-input v-model.trim="ruleForm.qlrmc" clearable placeholder="请输入权利人"></el-input> |
19 | </el-form-item> | 19 | </el-form-item> |
20 | </el-col> | 20 | </el-col> |
21 | <el-col :span="8"> | 21 | <el-col :span="8"> |
22 | <el-form-item label="义务人" prop="ywrmc"> | 22 | <el-form-item label="义务人" prop="ywrmc"> |
23 | <el-input v-model="ruleForm.ywrmc" placeholder="请输入义务人"></el-input> | 23 | <el-input v-model.trim="ruleForm.ywrmc" clearable placeholder="请输入义务人"></el-input> |
24 | </el-form-item> | 24 | </el-form-item> |
25 | </el-col> | 25 | </el-col> |
26 | <el-col :span="8" class="btnColRight"> | 26 | <el-col :span="8" class="btnColRight"> | ... | ... |
... | @@ -235,7 +235,7 @@ | ... | @@ -235,7 +235,7 @@ |
235 | <el-form-item label="担保范围:"> | 235 | <el-form-item label="担保范围:"> |
236 | <el-input | 236 | <el-input |
237 | v-model="ruleForm.diyaq.dbfw" | 237 | v-model="ruleForm.diyaq.dbfw" |
238 | :disabled="(ruleForm.sldy.djlx == '300' && !viewEdit) || ruleForm.sldy.djlx == '400'"></el-input> | 238 | :disabled="!viewEdit || ruleForm.sldy.djlx == '400'"></el-input> |
239 | </el-form-item> | 239 | </el-form-item> |
240 | </el-col> | 240 | </el-col> |
241 | </el-row> | 241 | </el-row> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-27 17:19:42 | 4 | * @LastEditTime: 2023-10-30 09:01:45 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -193,24 +193,12 @@ | ... | @@ -193,24 +193,12 @@ |
193 | data () { | 193 | data () { |
194 | return { | 194 | return { |
195 | queryForm: { | 195 | queryForm: { |
196 | ywly: "", | ||
197 | qllx: "", | ||
198 | djlx: "", | ||
199 | ywh: "", | ||
200 | bdcdyh: "", | ||
201 | sqrmc: "", | ||
202 | sqrzjhm: "", | ||
203 | zl: "" | ||
204 | }, | 196 | }, |
205 | searchForm: { | 197 | searchForm: { |
206 | ywlymc: "", | 198 | ywlymc: "", |
207 | qllxmc: "", | 199 | qllxmc: "", |
208 | djlxmc: "", | 200 | djlxmc: "", |
209 | ywh: "", | 201 | ywh: "", |
210 | bdcdyh: "", | ||
211 | sqrmc: "", | ||
212 | sqrzjhm: "", | ||
213 | zl: "" | ||
214 | }, | 202 | }, |
215 | tableData: { | 203 | tableData: { |
216 | total: 0, | 204 | total: 0, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-02-02 14:56:22 | 4 | * @LastEditTime: 2024-02-06 14:43:33 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -76,7 +76,7 @@ | ... | @@ -76,7 +76,7 @@ |
76 | </div> | 76 | </div> |
77 | <div class="submit_button"> | 77 | <div class="submit_button"> |
78 | <el-button @click="$popupCacel">取消</el-button> | 78 | <el-button @click="$popupCacel">取消</el-button> |
79 | <el-button type="primary" plain @click="submitForm" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button> | 79 | <el-button type="primary" plain @click="handleAdd" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button> |
80 | <el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button> | 80 | <el-button type="primary" plain @click="submitForm" :loading="loading" v-else>发起申请</el-button> |
81 | </div> | 81 | </div> |
82 | </div> | 82 | </div> |
... | @@ -155,6 +155,35 @@ | ... | @@ -155,6 +155,35 @@ |
155 | * @description: submitForm | 155 | * @description: submitForm |
156 | * @author: renchao | 156 | * @author: renchao |
157 | */ | 157 | */ |
158 | handleAdd () { | ||
159 | let that = this | ||
160 | this.loading = true; | ||
161 | store.dispatch('user/reMenuRefresh', false) | ||
162 | againAddSldy({ | ||
163 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
164 | bdcdysz: that.bdcdysz, | ||
165 | bsmSlsq: that.sqywInfo.bsmSlsq, | ||
166 | }).then(res => { | ||
167 | that.loading = false | ||
168 | if (res.code == 200) { | ||
169 | if (this.sqywInfo.sqywdylx != "1") { | ||
170 | that.bdcdysz = [] | ||
171 | that.$refs.table.clearSelection() | ||
172 | } | ||
173 | store.dispatch('user/reMenuRefresh', true) | ||
174 | that.queryClick() | ||
175 | that.$message({ | ||
176 | showClose: true, | ||
177 | message: '添加成功', | ||
178 | type: 'success' | ||
179 | }) | ||
180 | } else { | ||
181 | that.$message.error(res.message); | ||
182 | } | ||
183 | }).catch(() => { | ||
184 | that.loading = false | ||
185 | }) | ||
186 | }, | ||
158 | submitForm () { | 187 | submitForm () { |
159 | let that = this | 188 | let that = this |
160 | if (this.bdcdysz.length == 0) { | 189 | if (this.bdcdysz.length == 0) { |
... | @@ -162,83 +191,55 @@ | ... | @@ -162,83 +191,55 @@ |
162 | return; | 191 | return; |
163 | } | 192 | } |
164 | this.loading = true | 193 | this.loading = true |
165 | if (this.sqywInfo.isworkFrame) { | 194 | if (!that.isJump) { |
166 | store.dispatch('user/reMenuRefresh', false) | 195 | startBusinessFlow({ |
167 | againAddSldy({ | ||
168 | bsmSqyw: that.sqywInfo.bsmSqyw, | 196 | bsmSqyw: that.sqywInfo.bsmSqyw, |
169 | bdcdysz: that.bdcdysz, | 197 | bdcdysz: that.bdcdysz, |
170 | bsmSlsq: that.sqywInfo.bsmSlsq, | 198 | }).then((res) => { |
171 | }).then(res => { | ||
172 | that.loading = false | 199 | that.loading = false |
173 | if (res.code == 200) { | 200 | if (res.code == 200) { |
174 | if (this.sqywInfo.sqywdylx != "1") { | 201 | that.$message({ |
175 | that.bdcdysz = [] | 202 | showClose: true, |
176 | that.$refs.table.clearSelection() | 203 | message: "发起申请成功", |
204 | type: "success", | ||
205 | }); | ||
206 | if (!that.isJump) { | ||
207 | that.jump(res.result, that.sqywInfo.djywbm); | ||
208 | } else { | ||
209 | store.dispatch('user/refreshPage', true); | ||
210 | } | ||
211 | that.$popupCacel() | ||
212 | |||
213 | } else { | ||
214 | if (res.result && res.result.length > 0) { | ||
215 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
216 | } else { | ||
217 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
177 | } | 218 | } |
178 | store.dispatch('user/reMenuRefresh', true) | 219 | } |
179 | that.queryClick() | 220 | }).catch(() => { |
221 | that.loading = false | ||
222 | }) | ||
223 | } else { | ||
224 | choiceBdcdy({ | ||
225 | bsmSlsq: that.$route.query.bsmSlsq, | ||
226 | bdcdysz: that.bdcdysz, | ||
227 | }).then((res) => { | ||
228 | that.loading = false | ||
229 | if (res.code == 200) { | ||
180 | that.$message({ | 230 | that.$message({ |
181 | showClose: true, | 231 | showClose: true, |
182 | message: '添加成功', | 232 | message: "发起申请成功", |
183 | type: 'success' | 233 | type: "success", |
184 | }) | 234 | }); |
235 | store.dispatch("user/refreshPage", true); | ||
185 | } else { | 236 | } else { |
186 | that.$message.error(res.message); | 237 | that.$message.error(res.message); |
187 | } | 238 | } |
239 | that.$popupCacel(); | ||
188 | }).catch(() => { | 240 | }).catch(() => { |
189 | that.loading = false | 241 | that.loading = false |
190 | }) | 242 | }) |
191 | } else { | ||
192 | if (!that.isJump) { | ||
193 | startBusinessFlow({ | ||
194 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
195 | bdcdysz: that.bdcdysz, | ||
196 | }).then((res) => { | ||
197 | that.loading = false | ||
198 | if (res.code == 200) { | ||
199 | that.$message({ | ||
200 | showClose: true, | ||
201 | message: "发起申请成功", | ||
202 | type: "success", | ||
203 | }); | ||
204 | if (!that.isJump) { | ||
205 | that.jump(res.result, that.sqywInfo.djywbm); | ||
206 | } else { | ||
207 | store.dispatch('user/refreshPage', true); | ||
208 | } | ||
209 | that.$popupCacel() | ||
210 | |||
211 | } else { | ||
212 | if (res.result && res.result.length > 0) { | ||
213 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
214 | } else { | ||
215 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
216 | } | ||
217 | } | ||
218 | }).catch(() => { | ||
219 | that.loading = false | ||
220 | }) | ||
221 | } else { | ||
222 | choiceBdcdy({ | ||
223 | bsmSlsq: that.$route.query.bsmSlsq, | ||
224 | bdcdysz: that.bdcdysz, | ||
225 | }).then((res) => { | ||
226 | that.loading = false | ||
227 | if (res.code == 200) { | ||
228 | that.$message({ | ||
229 | showClose: true, | ||
230 | message: "发起申请成功", | ||
231 | type: "success", | ||
232 | }); | ||
233 | store.dispatch("user/refreshPage", true); | ||
234 | } else { | ||
235 | that.$message.error(res.message); | ||
236 | } | ||
237 | that.$popupCacel(); | ||
238 | }).catch(() => { | ||
239 | that.loading = false | ||
240 | }) | ||
241 | } | ||
242 | } | 243 | } |
243 | }, | 244 | }, |
244 | /** | 245 | /** | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2024-02-02 16:35:05 | 4 | * @LastEditTime: 2024-02-06 14:43:44 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 抵押权利信息查询 --> | 7 | <!-- 抵押权利信息查询 --> |
... | @@ -67,7 +67,7 @@ | ... | @@ -67,7 +67,7 @@ |
67 | </div> | 67 | </div> |
68 | <div class="submit_button"> | 68 | <div class="submit_button"> |
69 | <el-button @click="$popupCacel">取消</el-button> | 69 | <el-button @click="$popupCacel">取消</el-button> |
70 | <el-button type="primary" plain @click="submitFormClick()" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button> | 70 | <el-button type="primary" plain @click="handleAdd" :loading="loading" v-if="sqywInfo.isworkFrame">添加单元</el-button> |
71 | <el-button type="primary" plain @click="submitFormClick()" :loading="loading" v-else>发起申请</el-button> | 71 | <el-button type="primary" plain @click="submitFormClick()" :loading="loading" v-else>发起申请</el-button> |
72 | </div> | 72 | </div> |
73 | </div> | 73 | </div> |
... | @@ -147,6 +147,35 @@ | ... | @@ -147,6 +147,35 @@ |
147 | * @description: submitFormClick | 147 | * @description: submitFormClick |
148 | * @author: renchao | 148 | * @author: renchao |
149 | */ | 149 | */ |
150 | handleAdd () { | ||
151 | let that = this | ||
152 | this.loading = true; | ||
153 | store.dispatch('user/reMenuRefresh', false) | ||
154 | againAddSldy({ | ||
155 | bsmSqyw: that.sqywInfo.bsmSqyw, | ||
156 | bdcdysz: that.bdcdysz, | ||
157 | bsmSlsq: that.sqywInfo.bsmSlsq, | ||
158 | }).then(res => { | ||
159 | that.loading = false | ||
160 | if (res.code == 200) { | ||
161 | if (this.sqywInfo.sqywdylx != "1") { | ||
162 | that.bdcdysz = [] | ||
163 | that.$refs.table.clearSelection() | ||
164 | } | ||
165 | store.dispatch('user/reMenuRefresh', true) | ||
166 | that.queryClick() | ||
167 | that.$message({ | ||
168 | showClose: true, | ||
169 | message: '添加成功', | ||
170 | type: 'success' | ||
171 | }) | ||
172 | } else { | ||
173 | that.$message.error(res.message); | ||
174 | } | ||
175 | }).catch(() => { | ||
176 | that.loading = false | ||
177 | }) | ||
178 | }, | ||
150 | submitFormClick () { | 179 | submitFormClick () { |
151 | let that = this | 180 | let that = this |
152 | if (this.bdcdysz.length == 0) { | 181 | if (this.bdcdysz.length == 0) { |
... | @@ -154,63 +183,35 @@ | ... | @@ -154,63 +183,35 @@ |
154 | return; | 183 | return; |
155 | } | 184 | } |
156 | this.loading = true; | 185 | this.loading = true; |
157 | if (this.sqywInfo.isworkFrame) { | 186 | startBusinessFlow({ |
158 | store.dispatch('user/reMenuRefresh', false) | 187 | bsmSqyw: this.sqywInfo.bsmSqyw, |
159 | againAddSldy({ | 188 | bdcdysz: this.bdcdysz, |
160 | bsmSqyw: that.sqywInfo.bsmSqyw, | 189 | // djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", |
161 | bdcdysz: that.bdcdysz, | 190 | // djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", |
162 | bsmSlsq: that.sqywInfo.bsmSlsq, | 191 | }).then((res) => { |
163 | }).then(res => { | 192 | this.loading = false |
164 | that.loading = false | 193 | if (res.code == 200) { |
165 | if (res.code == 200) { | 194 | that.$message({ |
166 | if (this.sqywInfo.sqywdylx != "1") { | 195 | showClose: true, |
167 | that.bdcdysz = [] | 196 | message: "发起申请成功", |
168 | that.$refs.table.clearSelection() | 197 | type: "success", |
169 | } | 198 | }); |
170 | store.dispatch('user/reMenuRefresh', true) | 199 | if (!that.isJump) { |
171 | that.queryClick() | 200 | that.jump(res.result, that.sqywInfo.djywbm); |
172 | that.$message({ | ||
173 | showClose: true, | ||
174 | message: '添加成功', | ||
175 | type: 'success' | ||
176 | }) | ||
177 | } else { | 201 | } else { |
178 | that.$message.error(res.message); | 202 | store.dispatch('user/refreshPage', true); |
179 | } | 203 | } |
180 | }).catch(() => { | 204 | that.$popupCacel() |
181 | that.loading = false | 205 | } else { |
182 | }) | 206 | if (res.result && res.result.length > 0) { |
183 | } else { | 207 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) |
184 | startBusinessFlow({ | ||
185 | bsmSqyw: this.sqywInfo.bsmSqyw, | ||
186 | bdcdysz: this.bdcdysz, | ||
187 | // djqxbm: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodecode : "", | ||
188 | // djqxmc: this.sqywInfo.nodetype == "djqx" ? this.sqywInfo.nodename : "", | ||
189 | }).then((res) => { | ||
190 | this.loading = false | ||
191 | if (res.code == 200) { | ||
192 | that.$message({ | ||
193 | showClose: true, | ||
194 | message: "发起申请成功", | ||
195 | type: "success", | ||
196 | }); | ||
197 | if (!that.isJump) { | ||
198 | that.jump(res.result, that.sqywInfo.djywbm); | ||
199 | } else { | ||
200 | store.dispatch('user/refreshPage', true); | ||
201 | } | ||
202 | that.$popupCacel() | ||
203 | } else { | 208 | } else { |
204 | if (res.result && res.result.length > 0) { | 209 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) |
205 | ywPopupDialog("申请错误明细", "components/ywdialog", { result: res.result }, '36%', true) | ||
206 | } else { | ||
207 | ywPopupDialog("申请错误明细", "components/ywdialog", { message: res.message }, '36%', true) | ||
208 | } | ||
209 | } | 210 | } |
210 | }).catch(() => { | 211 | } |
211 | this.loading = false | 212 | }).catch(() => { |
212 | }) | 213 | this.loading = false |
213 | } | 214 | }) |
214 | }, | 215 | }, |
215 | /** | 216 | /** |
216 | * @description: handleSelectionChange | 217 | * @description: handleSelectionChange | ... | ... |
... | @@ -10,7 +10,7 @@ | ... | @@ -10,7 +10,7 @@ |
10 | <el-form :model="queryForm" ref="queryForm" @submit.native.prevent label-width="70px"> | 10 | <el-form :model="queryForm" ref="queryForm" @submit.native.prevent label-width="70px"> |
11 | <el-row> | 11 | <el-row> |
12 | <el-col :span="4"> | 12 | <el-col :span="4"> |
13 | <el-form-item label="权利类型"> | 13 | <el-form-item label="权利类型" prop="qllx"> |
14 | <el-select v-model="queryForm.qllx" filterable class="width100" clearable placeholder="请选择权利类型"> | 14 | <el-select v-model="queryForm.qllx" filterable class="width100" clearable placeholder="请选择权利类型"> |
15 | <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 15 | <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
16 | </el-option> | 16 | </el-option> |
... | @@ -18,7 +18,7 @@ | ... | @@ -18,7 +18,7 @@ |
18 | </el-form-item> | 18 | </el-form-item> |
19 | </el-col> | 19 | </el-col> |
20 | <el-col :span="4"> | 20 | <el-col :span="4"> |
21 | <el-form-item label="登记类型"> | 21 | <el-form-item label="登记类型" prop="djlx"> |
22 | <el-select v-model="queryForm.djlx" filterable class="width100" clearable placeholder="请选择登记类型"> | 22 | <el-select v-model="queryForm.djlx" filterable class="width100" clearable placeholder="请选择登记类型"> |
23 | <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 23 | <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
24 | </el-option> | 24 | </el-option> |
... | @@ -26,7 +26,7 @@ | ... | @@ -26,7 +26,7 @@ |
26 | </el-form-item> | 26 | </el-form-item> |
27 | </el-col> | 27 | </el-col> |
28 | <el-col :span="4"> | 28 | <el-col :span="4"> |
29 | <el-form-item label="权属状态"> | 29 | <el-form-item label="权属状态" prop="qszt"> |
30 | <el-select v-model="queryForm.qszt" filterable class="width100" clearable placeholder="请选择登记类型"> | 30 | <el-select v-model="queryForm.qszt" filterable class="width100" clearable placeholder="请选择登记类型"> |
31 | <el-option | 31 | <el-option |
32 | v-for="item in qsztlist" | 32 | v-for="item in qsztlist" |
... | @@ -37,46 +37,47 @@ | ... | @@ -37,46 +37,47 @@ |
37 | </el-form-item> | 37 | </el-form-item> |
38 | </el-col> | 38 | </el-col> |
39 | <el-col :span="6"> | 39 | <el-col :span="6"> |
40 | <el-form-item label="不动产单元号" label-width="105px"> | 40 | <el-form-item label="不动产单元号" prop="bdcdyh" label-width="105px"> |
41 | <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width100"> | 41 | <el-input placeholder="请输入不动产单元号" maxlength="28" v-model.trim="queryForm.bdcdyh" clearable class="width100"> |
42 | </el-input> | 42 | </el-input> |
43 | </el-form-item> | 43 | </el-form-item> |
44 | </el-col> | 44 | </el-col> |
45 | <el-col :span="6"> | 45 | <el-col :span="6"> |
46 | <el-form-item label="不动产权证号" label-width="105px"> | 46 | <el-form-item label="不动产权证号" prop="bdcqzh" label-width="105px"> |
47 | <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width100"> | 47 | <el-input placeholder="请输入不动产权证号" v-model.trim="queryForm.bdcqzh" clearable class="width100"> |
48 | </el-input> | 48 | </el-input> |
49 | </el-form-item> | 49 | </el-form-item> |
50 | </el-col> | 50 | </el-col> |
51 | </el-row> | 51 | </el-row> |
52 | <el-row> | 52 | <el-row> |
53 | <el-col :span="5"> | 53 | <el-col :span="5"> |
54 | <el-form-item label="业务号:"> | 54 | <el-form-item label="业务号:" prop="ywh"> |
55 | <el-input placeholder="请输入业务号" v-model="queryForm.ywh" clearable class="width100"> | 55 | <el-input placeholder="请输入业务号" v-model.trim="queryForm.ywh" clearable class="width100"> |
56 | </el-input> | 56 | </el-input> |
57 | </el-form-item> | 57 | </el-form-item> |
58 | </el-col> | 58 | </el-col> |
59 | <el-col :span="5"> | 59 | <el-col :span="5"> |
60 | <el-form-item label="坐落:" label-width="105px"> | 60 | <el-form-item label="坐落:" prop="zl" label-width="105px"> |
61 | <el-input v-model="queryForm.zl" placeholder="坐落" clearable class="width100"> | 61 | <el-input v-model.trim="queryForm.zl" placeholder="坐落" clearable class="width100"> |
62 | </el-input> | 62 | </el-input> |
63 | </el-form-item> | 63 | </el-form-item> |
64 | </el-col> | 64 | </el-col> |
65 | <el-col :span="5"> | 65 | <el-col :span="5"> |
66 | <el-form-item label="权利人:" label-width="105px"> | 66 | <el-form-item label="权利人:" prop="qlrmc" label-width="105px"> |
67 | <el-input v-model="queryForm.qlrmc" placeholder="权利人" clearable class="width100"> | 67 | <el-input v-model.trim="queryForm.qlrmc" placeholder="权利人" clearable class="width100"> |
68 | </el-input> | 68 | </el-input> |
69 | </el-form-item> | 69 | </el-form-item> |
70 | </el-col> | 70 | </el-col> |
71 | <el-col :span="5"> | 71 | <el-col :span="5"> |
72 | <el-form-item label="义务人:"> | 72 | <el-form-item label="义务人:" prop="ywrmc"> |
73 | <el-input v-model="queryForm.ywrmc" placeholder="义务人" clearable class="width100"> | 73 | <el-input v-model.trim="queryForm.ywrmc" placeholder="义务人" clearable class="width100"> |
74 | </el-input> | 74 | </el-input> |
75 | </el-form-item> | 75 | </el-form-item> |
76 | </el-col> | 76 | </el-col> |
77 | 77 | ||
78 | <el-col :span="4" class="btnColRight"> | 78 | <el-col :span="4" class="btnColRight"> |
79 | <el-form-item> | 79 | <el-form-item> |
80 | <el-button @click="handleReset">重置</el-button> | ||
80 | <el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button> | 81 | <el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button> |
81 | </el-form-item> | 82 | </el-form-item> |
82 | </el-col> | 83 | </el-col> |
... | @@ -161,6 +162,9 @@ | ... | @@ -161,6 +162,9 @@ |
161 | } | 162 | } |
162 | }); | 163 | }); |
163 | }, | 164 | }, |
165 | handleReset () { | ||
166 | this.$refs.queryForm.resetFields(); | ||
167 | }, | ||
164 | /** | 168 | /** |
165 | * @description: handleSort | 169 | * @description: handleSort |
166 | * @param {*} name | 170 | * @param {*} name | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-10-17 09:29:06 | 4 | * @LastEditTime: 2023-10-31 14:44:39 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -10,7 +10,7 @@ | ... | @@ -10,7 +10,7 @@ |
10 | <el-form :model="queryForm" ref="queryForm" @submit.native.prevent label-width="100px"> | 10 | <el-form :model="queryForm" ref="queryForm" @submit.native.prevent label-width="100px"> |
11 | <el-row> | 11 | <el-row> |
12 | <el-col :span="5"> | 12 | <el-col :span="5"> |
13 | <el-form-item label="业务来源"> | 13 | <el-form-item label="业务来源" prop="ywly"> |
14 | <el-select v-model="queryForm.ywly" class="width100" filterable clearable placeholder="请选择业务来源"> | 14 | <el-select v-model="queryForm.ywly" class="width100" filterable clearable placeholder="请选择业务来源"> |
15 | <el-option v-for="item in dictData['ywly']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 15 | <el-option v-for="item in dictData['ywly']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
16 | </el-option> | 16 | </el-option> |
... | @@ -18,7 +18,7 @@ | ... | @@ -18,7 +18,7 @@ |
18 | </el-form-item> | 18 | </el-form-item> |
19 | </el-col> | 19 | </el-col> |
20 | <el-col :span="5"> | 20 | <el-col :span="5"> |
21 | <el-form-item label="权利类型"> | 21 | <el-form-item label="权利类型" prop="qllx"> |
22 | <el-select v-model="queryForm.qllx" class="width100" filterable clearable placeholder="请选择权利类型"> | 22 | <el-select v-model="queryForm.qllx" class="width100" filterable clearable placeholder="请选择权利类型"> |
23 | <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 23 | <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
24 | </el-option> | 24 | </el-option> |
... | @@ -26,7 +26,7 @@ | ... | @@ -26,7 +26,7 @@ |
26 | </el-form-item> | 26 | </el-form-item> |
27 | </el-col> | 27 | </el-col> |
28 | <el-col :span="5"> | 28 | <el-col :span="5"> |
29 | <el-form-item label="登记类型"> | 29 | <el-form-item label="登记类型" prop="djlx"> |
30 | <el-select v-model="queryForm.djlx" class="width100" filterable clearable placeholder="请选择登记类型"> | 30 | <el-select v-model="queryForm.djlx" class="width100" filterable clearable placeholder="请选择登记类型"> |
31 | <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 31 | <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
32 | </el-option> | 32 | </el-option> |
... | @@ -34,14 +34,15 @@ | ... | @@ -34,14 +34,15 @@ |
34 | </el-form-item> | 34 | </el-form-item> |
35 | </el-col> | 35 | </el-col> |
36 | <el-col :span="5"> | 36 | <el-col :span="5"> |
37 | <el-form-item label="业务号"> | 37 | <el-form-item label="业务号" prop="ywh"> |
38 | <el-input placeholder="请输入业务号" v-model="queryForm.ywh" clearable class="width200px"> | 38 | <el-input placeholder="请输入业务号" v-model.trim="queryForm.ywh" clearable class="width200px"> |
39 | </el-input> | 39 | </el-input> |
40 | </el-form-item> | 40 | </el-form-item> |
41 | </el-col> | 41 | </el-col> |
42 | 42 | ||
43 | <el-col :span="4" class="btnColRight"> | 43 | <el-col :span="4" class="btnColRight"> |
44 | <el-form-item> | 44 | <el-form-item> |
45 | <el-button @click="handleReset">重置</el-button> | ||
45 | <el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button> | 46 | <el-button type="primary" native-type="submit" @click="handleSearch">查询</el-button> |
46 | <!-- <el-button @click="moreQueryClick">高级查询</el-button> --> | 47 | <!-- <el-button @click="moreQueryClick">高级查询</el-button> --> |
47 | </el-form-item> | 48 | </el-form-item> |
... | @@ -49,25 +50,25 @@ | ... | @@ -49,25 +50,25 @@ |
49 | </el-row> | 50 | </el-row> |
50 | <el-row> | 51 | <el-row> |
51 | <el-col :span="5"> | 52 | <el-col :span="5"> |
52 | <el-form-item label="不动产单元号"> | 53 | <el-form-item label="不动产单元号" prop="bdcdyh"> |
53 | <el-input placeholder="请输入不动产单元号" v-model="queryForm.bdcdyh" clearable class="width100"> | 54 | <el-input placeholder="请输入不动产单元号" v-model.trim="queryForm.bdcdyh" clearable class="width100"> |
54 | </el-input> | 55 | </el-input> |
55 | </el-form-item> | 56 | </el-form-item> |
56 | </el-col> | 57 | </el-col> |
57 | <el-col :span="5"> | 58 | <el-col :span="5"> |
58 | <el-form-item label="申请人"> | 59 | <el-form-item label="申请人" prop="sqrmc"> |
59 | <el-input placeholder="如需要模糊查询,前后输入%" v-model="queryForm.sqrmc" clearable class="width100"> | 60 | <el-input placeholder="如需要模糊查询,前后输入%" v-model.trim="queryForm.sqrmc" clearable class="width100"> |
60 | </el-input> | 61 | </el-input> |
61 | </el-form-item> | 62 | </el-form-item> |
62 | </el-col> | 63 | </el-col> |
63 | <el-col :span="5"> | 64 | <el-col :span="5"> |
64 | <el-form-item label="申请人证件号"> | 65 | <el-form-item label="申请人证件号" prop="sqrzjhm"> |
65 | <el-input placeholder="如需要模糊查询,前后输入%" v-model="queryForm.sqrzjhm" clearable class="width100"> | 66 | <el-input placeholder="如需要模糊查询,前后输入%" v-model.trim="queryForm.sqrzjhm" clearable class="width100"> |
66 | </el-input> | 67 | </el-input> |
67 | </el-form-item> | 68 | </el-form-item> |
68 | </el-col> | 69 | </el-col> |
69 | <el-col :span="5"> | 70 | <el-col :span="5"> |
70 | <el-form-item label="坐落"> | 71 | <el-form-item label="坐落" prop="zl"> |
71 | <el-input placeholder="如需要模糊查询,前后输入%" v-model.trim="queryForm.zl" clearable class="width100"> | 72 | <el-input placeholder="如需要模糊查询,前后输入%" v-model.trim="queryForm.zl" clearable class="width100"> |
72 | </el-input> | 73 | </el-input> |
73 | </el-form-item> | 74 | </el-form-item> |
... | @@ -114,7 +115,6 @@ | ... | @@ -114,7 +115,6 @@ |
114 | this.queryClick() | 115 | this.queryClick() |
115 | }, | 116 | }, |
116 | methods: { | 117 | methods: { |
117 | // 初始化数据 | ||
118 | /** | 118 | /** |
119 | * @description: 初始化数据 | 119 | * @description: 初始化数据 |
120 | * @author: renchao | 120 | * @author: renchao |
... | @@ -130,6 +130,9 @@ | ... | @@ -130,6 +130,9 @@ |
130 | } | 130 | } |
131 | }) | 131 | }) |
132 | }, | 132 | }, |
133 | handleReset () { | ||
134 | this.$refs.queryForm.resetFields(); | ||
135 | }, | ||
133 | /** | 136 | /** |
134 | * @description: handleSort | 137 | * @description: handleSort |
135 | * @param {*} name | 138 | * @param {*} name | ... | ... |
... | @@ -11,25 +11,25 @@ | ... | @@ -11,25 +11,25 @@ |
11 | <el-row> | 11 | <el-row> |
12 | <el-col :span="5"> | 12 | <el-col :span="5"> |
13 | <el-form-item label="项目名称" label-width="70px"> | 13 | <el-form-item label="项目名称" label-width="70px"> |
14 | <el-input placeholder="请输入项目名称" v-model="queryForm.xmmc" clearable class="width100"> | 14 | <el-input placeholder="请输入项目名称" v-model.trim="queryForm.xmmc" clearable class="width100"> |
15 | </el-input> | 15 | </el-input> |
16 | </el-form-item> | 16 | </el-form-item> |
17 | </el-col> | 17 | </el-col> |
18 | <el-col :span="5"> | 18 | <el-col :span="5"> |
19 | <el-form-item label="项目编号"> | 19 | <el-form-item label="项目编号"> |
20 | <el-input placeholder="请输入项目编号" v-model="queryForm.xmbh" clearable class="width100"> | 20 | <el-input placeholder="请输入项目编号" v-model.trim="queryForm.xmbh" clearable class="width100"> |
21 | </el-input> | 21 | </el-input> |
22 | </el-form-item> | 22 | </el-form-item> |
23 | </el-col> | 23 | </el-col> |
24 | <el-col :span="5"> | 24 | <el-col :span="5"> |
25 | <el-form-item label="宗地代码"> | 25 | <el-form-item label="宗地代码"> |
26 | <el-input placeholder="请输入宗地代码" v-model="queryForm.zddm" clearable class="width100"> | 26 | <el-input placeholder="请输入宗地代码" v-model.trim="queryForm.zddm" clearable class="width100"> |
27 | </el-input> | 27 | </el-input> |
28 | </el-form-item> | 28 | </el-form-item> |
29 | </el-col> | 29 | </el-col> |
30 | <el-col :span="5"> | 30 | <el-col :span="5"> |
31 | <el-form-item label="自然幢号"> | 31 | <el-form-item label="自然幢号"> |
32 | <el-input placeholder="请输入自然幢号" v-model="queryForm.zrzh" clearable class="width100"> | 32 | <el-input placeholder="请输入自然幢号" v-model.trim="queryForm.zrzh" clearable class="width100"> |
33 | </el-input> | 33 | </el-input> |
34 | </el-form-item> | 34 | </el-form-item> |
35 | </el-col> | 35 | </el-col> | ... | ... |
... | @@ -11,25 +11,25 @@ | ... | @@ -11,25 +11,25 @@ |
11 | <el-row> | 11 | <el-row> |
12 | <el-col :span="5"> | 12 | <el-col :span="5"> |
13 | <el-form-item label="不动产权证号" label-width="100px"> | 13 | <el-form-item label="不动产权证号" label-width="100px"> |
14 | <el-input placeholder="请输入不动产权证号" class="width100" v-model="queryForm.bdcqzh" clearable> | 14 | <el-input placeholder="请输入不动产权证号" class="width100" v-model.trim="queryForm.bdcqzh" clearable> |
15 | </el-input> | 15 | </el-input> |
16 | </el-form-item> | 16 | </el-form-item> |
17 | </el-col> | 17 | </el-col> |
18 | <el-col :span="5"> | 18 | <el-col :span="5"> |
19 | <el-form-item label="印刷序列号" label-width="100px"> | 19 | <el-form-item label="印刷序列号" label-width="100px"> |
20 | <el-input placeholder="请输入印刷序列号" class="width100" v-model="queryForm.ysxlh" clearable> | 20 | <el-input placeholder="请输入印刷序列号" class="width100" v-model.trim="queryForm.ysxlh" clearable> |
21 | </el-input> | 21 | </el-input> |
22 | </el-form-item> | 22 | </el-form-item> |
23 | </el-col> | 23 | </el-col> |
24 | <el-col :span="5"> | 24 | <el-col :span="5"> |
25 | <el-form-item label="业务号"> | 25 | <el-form-item label="业务号"> |
26 | <el-input placeholder="请输入业务号" class="width100" v-model="queryForm.ywh" clearable> | 26 | <el-input placeholder="请输入业务号" class="width100" v-model.trim="queryForm.ywh" clearable> |
27 | </el-input> | 27 | </el-input> |
28 | </el-form-item> | 28 | </el-form-item> |
29 | </el-col> | 29 | </el-col> |
30 | <el-col :span="5"> | 30 | <el-col :span="5"> |
31 | <el-form-item label="领取人"> | 31 | <el-form-item label="领取人"> |
32 | <el-input placeholder="请输入领取人" class="width100" v-model="queryForm.lzrxm" clearable> | 32 | <el-input placeholder="请输入领取人" class="width100" v-model.trim="queryForm.lzrxm" clearable> |
33 | </el-input> | 33 | </el-input> |
34 | </el-form-item> | 34 | </el-form-item> |
35 | </el-col> | 35 | </el-col> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-24 14:07:02 | 4 | * @LastEditTime: 2023-10-27 16:12:06 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -11,19 +11,19 @@ | ... | @@ -11,19 +11,19 @@ |
11 | <el-row> | 11 | <el-row> |
12 | <el-col :span="5"> | 12 | <el-col :span="5"> |
13 | <el-form-item label="企业名称" label-width="70px"> | 13 | <el-form-item label="企业名称" label-width="70px"> |
14 | <el-input placeholder="请输入企业名称" v-model="queryForm.qymc" clearable> | 14 | <el-input placeholder="请输入企业名称" v-model.trim="queryForm.qymc" clearable> |
15 | </el-input> | 15 | </el-input> |
16 | </el-form-item> | 16 | </el-form-item> |
17 | </el-col> | 17 | </el-col> |
18 | <el-col :span="5"> | 18 | <el-col :span="5"> |
19 | <el-form-item label="项目名称" label-width="70px"> | 19 | <el-form-item label="项目名称" label-width="70px"> |
20 | <el-input placeholder="请输入项目名称" v-model="queryForm.xmmc" clearable> | 20 | <el-input placeholder="请输入项目名称" v-model.trim="queryForm.xmmc" clearable> |
21 | </el-input> | 21 | </el-input> |
22 | </el-form-item> | 22 | </el-form-item> |
23 | </el-col> | 23 | </el-col> |
24 | <el-col :span="5"> | 24 | <el-col :span="5"> |
25 | <el-form-item label="自然幢号"> | 25 | <el-form-item label="自然幢号"> |
26 | <el-input placeholder="请输入自然幢号" v-model="queryForm.zrzh" clearable> | 26 | <el-input placeholder="请输入自然幢号" v-model.trim="queryForm.zrzh" clearable> |
27 | </el-input> | 27 | </el-input> |
28 | </el-form-item> | 28 | </el-form-item> |
29 | </el-col> | 29 | </el-col> |
... | @@ -89,7 +89,7 @@ | ... | @@ -89,7 +89,7 @@ |
89 | } | 89 | } |
90 | }) | 90 | }) |
91 | }, | 91 | }, |
92 | openDialog(){ | 92 | openDialog () { |
93 | this.$popup('楼盘表', 'lpb/index', { | 93 | this.$popup('楼盘表', 'lpb/index', { |
94 | width: '85%', | 94 | width: '85%', |
95 | formData: { | 95 | formData: { | ... | ... |
... | @@ -45,7 +45,7 @@ module.exports = { | ... | @@ -45,7 +45,7 @@ module.exports = { |
45 | } | 45 | } |
46 | }, | 46 | }, |
47 | css: { | 47 | css: { |
48 | extract: false, // 是否使用css分离插件 ExtractTextPlugin | 48 | extract: true, // 是否使用css分离插件 ExtractTextPlugin |
49 | sourceMap: false, // 开启 CSS source maps? | 49 | sourceMap: false, // 开启 CSS source maps? |
50 | loaderOptions: { | 50 | loaderOptions: { |
51 | sass: { | 51 | sass: { |
... | @@ -56,6 +56,10 @@ module.exports = { | ... | @@ -56,6 +56,10 @@ module.exports = { |
56 | }, | 56 | }, |
57 | // configureWebpack通过操作对象的形式,来修改默认的webpack配置 | 57 | // configureWebpack通过操作对象的形式,来修改默认的webpack配置 |
58 | configureWebpack: { | 58 | configureWebpack: { |
59 | optimization: { | ||
60 | usedExports: true, | ||
61 | minimize: true | ||
62 | }, | ||
59 | entry: { | 63 | entry: { |
60 | app: './src/main.js' | 64 | app: './src/main.js' |
61 | }, | 65 | }, | ... | ... |
-
Please register or sign in to post a comment