Merge branch 'master' into dev
Showing
133 changed files
with
1251 additions
and
1560 deletions
src/api/business.js
0 → 100644
1 | import request from '@/utils/request' | ||
2 | import SERVER from './config' | ||
3 | |||
4 | class business { | ||
5 | /* | ||
6 | 成功率统计 | ||
7 | startDate:开始日期 | ||
8 | endDate:结束日期 | ||
9 | */ | ||
10 | async getSuucessRate(startDate,endDate,qxdm) { | ||
11 | return request({ | ||
12 | url: SERVER.SERVERAPI + '/rest/statistics/Business/sf', | ||
13 | method: 'get', | ||
14 | params: { | ||
15 | startDate:startDate, | ||
16 | endDate:endDate, | ||
17 | qxdm:qxdm | ||
18 | } | ||
19 | }) | ||
20 | } | ||
21 | } | ||
22 | export default new business() | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/api/efficient.js
0 → 100644
1 | import request from "@/utils/request"; | ||
2 | import SERVER from "./config"; | ||
3 | |||
4 | class efficient { | ||
5 | /* | ||
6 | 获取对应的业务量总数 | ||
7 | startDate:开始日期 | ||
8 | endDate:结束日期 | ||
9 | */ | ||
10 | async getProcessCounts(startDate, endDate,qxdm) { | ||
11 | return request({ | ||
12 | url: SERVER.SERVERAPI + "/rest/statistics/Efficient/getProcessCounts", | ||
13 | method: "post", | ||
14 | params: { | ||
15 | startDate: startDate, | ||
16 | endDate: endDate, | ||
17 | qxdm:qxdm | ||
18 | }, | ||
19 | }); | ||
20 | } | ||
21 | /* | ||
22 | 获取各区县业务对应的天数 | ||
23 | recType:业务代码 | ||
24 | startDate:开始日期 | ||
25 | endDate:结束日期 | ||
26 | */ | ||
27 | async getProcessDays(recType, startDate, endDate) { | ||
28 | return request({ | ||
29 | url: SERVER.SERVERAPI + "/rest/statistics/Efficient/getProcessDays", | ||
30 | method: "post", | ||
31 | params: { | ||
32 | recType: recType, | ||
33 | startDate: startDate, | ||
34 | endDate: endDate, | ||
35 | }, | ||
36 | }); | ||
37 | } | ||
38 | } | ||
39 | export default new efficient(); |
... | @@ -61,6 +61,7 @@ export default { | ... | @@ -61,6 +61,7 @@ export default { |
61 | background: linear-gradient(90deg, #0047B8 0%, rgba(0, 26, 95, 0.1) 100%); | 61 | background: linear-gradient(90deg, #0047B8 0%, rgba(0, 26, 95, 0.1) 100%); |
62 | line-height: 32px; | 62 | line-height: 32px; |
63 | color: #FFFFFF; | 63 | color: #FFFFFF; |
64 | margin-bottom: 8px; | ||
64 | } | 65 | } |
65 | 66 | ||
66 | /deep/.el-icon-arrow-right { | 67 | /deep/.el-icon-arrow-right { | ... | ... |
... | @@ -30,9 +30,9 @@ | ... | @@ -30,9 +30,9 @@ |
30 | border-right: none; | 30 | border-right: none; |
31 | text-align: center; | 31 | text-align: center; |
32 | padding: 0; | 32 | padding: 0; |
33 | color: #05bbdb; | ||
33 | line-height: 16px; | 34 | line-height: 16px; |
34 | font-size: 12px; | 35 | font-size: 12px; |
35 | color: #CEF8FF; | ||
36 | margin-top: 8px !important; | 36 | margin-top: 8px !important; |
37 | } | 37 | } |
38 | 38 | ||
... | @@ -52,7 +52,7 @@ | ... | @@ -52,7 +52,7 @@ |
52 | /deep/.el-textarea__inner { | 52 | /deep/.el-textarea__inner { |
53 | margin: 5px; | 53 | margin: 5px; |
54 | width: 96%; | 54 | width: 96%; |
55 | background: #05275B; | 55 | background: none; |
56 | color: #FFFFFF; | 56 | color: #FFFFFF; |
57 | border-radius: 2px; | 57 | border-radius: 2px; |
58 | border: 1px solid #6BC1FC; | 58 | border: 1px solid #6BC1FC; | ... | ... |
... | @@ -74,7 +74,7 @@ | ... | @@ -74,7 +74,7 @@ |
74 | </span> | 74 | </span> |
75 | <!-- <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.czjg" placeholder="权利人通讯地址"> | 75 | <!-- <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.czjg" placeholder="权利人通讯地址"> |
76 | </el-input> --> | 76 | </el-input> --> |
77 | <el-select :disabled="$store.state.business.Edit" v-model="ruleForm.czjg" placeholder="请选择"> | 77 | <el-select :disabled="$store.state.business.Edit" v-model="ruleForm.czjg" placeholder="操作结果"> |
78 | <el-option v-for="item in dicData['A37']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | 78 | <el-option v-for="item in dicData['A37']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> |
79 | </el-option> | 79 | </el-option> |
80 | </el-select> | 80 | </el-select> | ... | ... |
... | @@ -95,7 +95,7 @@ | ... | @@ -95,7 +95,7 @@ |
95 | 领证人证件类别: <br /> | 95 | 领证人证件类别: <br /> |
96 | <p class="label-detail">(LZRZJLB)</p> | 96 | <p class="label-detail">(LZRZJLB)</p> |
97 | </span> | 97 | </span> |
98 | <el-select :disabled="$store.state.business.Edit" v-model="ruleForm.LZRZJLB" placeholder="请选择"> | 98 | <el-select :disabled="$store.state.business.Edit" v-model="ruleForm.LZRZJLB" placeholder="领证人证件类别"> |
99 | <el-option v-for="item in dicData['A30']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | 99 | <el-option v-for="item in dicData['A30']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> |
100 | </el-option> | 100 | </el-option> |
101 | </el-select> | 101 | </el-select> | ... | ... |
... | @@ -110,7 +110,7 @@ | ... | @@ -110,7 +110,7 @@ |
110 | <p class="label-detail">(CZJG)</p> | 110 | <p class="label-detail">(CZJG)</p> |
111 | </span> | 111 | </span> |
112 | <el-select :disabled="$store.state.business.Edit" v-model="form.auditInfo[index].CZJG" | 112 | <el-select :disabled="$store.state.business.Edit" v-model="form.auditInfo[index].CZJG" |
113 | placeholder="请选择操作结果"> | 113 | placeholder="操作结果"> |
114 | <el-option v-for="item in dicData['A37']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | 114 | <el-option v-for="item in dicData['A37']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> |
115 | </el-option> | 115 | </el-option> |
116 | </el-select> | 116 | </el-select> | ... | ... |
... | @@ -49,7 +49,7 @@ | ... | @@ -49,7 +49,7 @@ |
49 | <p class="label-detail">(SJLX)</p> | 49 | <p class="label-detail">(SJLX)</p> |
50 | </span> | 50 | </span> |
51 | <el-select :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].SJLX" | 51 | <el-select :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].SJLX" |
52 | placeholder="请选择"> | 52 | placeholder="收件类型"> |
53 | <el-option v-for="item in dicData['A40']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | 53 | <el-option v-for="item in dicData['A40']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> |
54 | </el-option> | 54 | </el-option> |
55 | </el-select> | 55 | </el-select> |
... | @@ -88,7 +88,7 @@ | ... | @@ -88,7 +88,7 @@ |
88 | <p class="label-detail">(SFSJSY)</p> | 88 | <p class="label-detail">(SFSJSY)</p> |
89 | </span> | 89 | </span> |
90 | <el-select :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].SFSJSY" | 90 | <el-select :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].SFSJSY" |
91 | placeholder="请选择"> | 91 | placeholder="是否收缴收验"> |
92 | <el-option v-for="item in dicData['A6']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | 92 | <el-option v-for="item in dicData['A6']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> |
93 | </el-option> | 93 | </el-option> |
94 | </el-select> | 94 | </el-select> |
... | @@ -102,7 +102,7 @@ | ... | @@ -102,7 +102,7 @@ |
102 | <p class="label-detail">(SFEWSJ)</p> | 102 | <p class="label-detail">(SFEWSJ)</p> |
103 | </span> | 103 | </span> |
104 | <el-select :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].SFEWSJ" | 104 | <el-select :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].SFEWSJ" |
105 | placeholder="请选择"> | 105 | placeholder="是否额外收件"> |
106 | <el-option v-for="item in dicData['A6']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | 106 | <el-option v-for="item in dicData['A6']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> |
107 | </el-option> | 107 | </el-option> |
108 | </el-select> | 108 | </el-select> |
... | @@ -116,7 +116,7 @@ | ... | @@ -116,7 +116,7 @@ |
116 | <p class="label-detail">(SFBCSJ)</p> | 116 | <p class="label-detail">(SFBCSJ)</p> |
117 | </span> | 117 | </span> |
118 | <el-select :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].SFBCSJ" | 118 | <el-select :disabled="$store.state.business.Edit" v-model="form.receivingInfo[index].SFBCSJ" |
119 | placeholder="请选择"> | 119 | placeholder="是否补充收件"> |
120 | <el-option v-for="item in dicData['A6']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | 120 | <el-option v-for="item in dicData['A6']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> |
121 | </el-option> | 121 | </el-option> |
122 | </el-select> | 122 | </el-select> | ... | ... |
... | @@ -364,8 +364,9 @@ | ... | @@ -364,8 +364,9 @@ |
364 | 分摊土地面积: <br /> | 364 | 分摊土地面积: <br /> |
365 | <p class="label-detail">(FTTDMJ)</p> | 365 | <p class="label-detail">(FTTDMJ)</p> |
366 | </span> | 366 | </span> |
367 | <el-input :disabled="$store.state.business.Edit" : 999999999999999, min: 0, precision: 3 }" | 367 | <el-input :disabled="$store.state.business.Edit" |
368 | placeholder="分摊土地面积" type="number" v-model.number="ruleForm.fttdmj"></el-input> | 368 | v-only-number="{ max: 999999999999999, min: 0, precision: 3 }" placeholder="分摊土地面积" type="number" |
369 | v-model.number="ruleForm.fttdmj"></el-input> | ||
369 | </el-form-item> | 370 | </el-form-item> |
370 | </el-col> | 371 | </el-col> |
371 | </el-row> | 372 | </el-row> | ... | ... |
... | @@ -110,7 +110,7 @@ | ... | @@ -110,7 +110,7 @@ |
110 | 状态: <br /> | 110 | 状态: <br /> |
111 | <p class="label-detail">(ZT)</p> | 111 | <p class="label-detail">(ZT)</p> |
112 | </span> | 112 | </span> |
113 | <el-select :disabled="$store.state.business.Edit" v-model="ruleForm.ZT" placeholder="请选择"> | 113 | <el-select :disabled="$store.state.business.Edit" v-model="ruleForm.ZT" placeholder="状态"> |
114 | <el-option v-for="item in ZTOptions" :key="item.value" :label="item.label" :value="item.value"> | 114 | <el-option v-for="item in ZTOptions" :key="item.value" :label="item.label" :value="item.value"> |
115 | </el-option> | 115 | </el-option> |
116 | </el-select> | 116 | </el-select> | ... | ... |
... | @@ -52,7 +52,7 @@ | ... | @@ -52,7 +52,7 @@ |
52 | 宗海特征码: <br /> | 52 | 宗海特征码: <br /> |
53 | <p class="label-detail">(ZHTZM)</p> | 53 | <p class="label-detail">(ZHTZM)</p> |
54 | </span> | 54 | </span> |
55 | <el-select :disabled="$store.state.business.Edit" v-model="ruleForm.ZHTZM" placeholder="请选择宗海特征码"> | 55 | <el-select :disabled="$store.state.business.Edit" v-model="ruleForm.ZHTZM" placeholder="宗海特征码"> |
56 | <el-option v-for="item in dicData['A44']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | 56 | <el-option v-for="item in dicData['A44']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> |
57 | </el-option> | 57 | </el-option> |
58 | </el-select> | 58 | </el-select> |
... | @@ -77,7 +77,7 @@ | ... | @@ -77,7 +77,7 @@ |
77 | 项目性质: <br /> | 77 | 项目性质: <br /> |
78 | <p class="label-detail">(XMXZ)</p> | 78 | <p class="label-detail">(XMXZ)</p> |
79 | </span> | 79 | </span> |
80 | <el-select :disabled="$store.state.business.Edit" v-model="ruleForm.XMXZ" placeholder="请选择项目性质"> | 80 | <el-select :disabled="$store.state.business.Edit" v-model="ruleForm.XMXZ" placeholder="项目性质"> |
81 | <el-option v-for="item in dicData['A49']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | 81 | <el-option v-for="item in dicData['A49']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> |
82 | </el-option> | 82 | </el-option> |
83 | </el-select> | 83 | </el-select> | ... | ... |
... | @@ -50,7 +50,7 @@ | ... | @@ -50,7 +50,7 @@ |
50 | 权利类型: <br /> | 50 | 权利类型: <br /> |
51 | <p class="label-detail">(QLLX)</p> | 51 | <p class="label-detail">(QLLX)</p> |
52 | </span> | 52 | </span> |
53 | <el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLLX" placeholder="请选择"> | 53 | <el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QLLX" placeholder="权利类型"> |
54 | <el-option v-for="item in dicData['A8']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | 54 | <el-option v-for="item in dicData['A8']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> |
55 | </el-option> | 55 | </el-option> |
56 | </el-select> | 56 | </el-select> |
... | @@ -63,7 +63,7 @@ | ... | @@ -63,7 +63,7 @@ |
63 | 登记类型: <br /> | 63 | 登记类型: <br /> |
64 | <p class="label-detail">(DJLX)</p> | 64 | <p class="label-detail">(DJLX)</p> |
65 | </span> | 65 | </span> |
66 | <el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJLX" placeholder="请选择"> | 66 | <el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJLX" placeholder="登记类型"> |
67 | <el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | 67 | <el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> |
68 | </el-option> | 68 | </el-option> |
69 | </el-select> | 69 | </el-select> |
... | @@ -201,7 +201,7 @@ | ... | @@ -201,7 +201,7 @@ |
201 | 权属状态: <br /> | 201 | 权属状态: <br /> |
202 | <p class="label-detail">(QSZT)</p> | 202 | <p class="label-detail">(QSZT)</p> |
203 | </span> | 203 | </span> |
204 | <el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QSZT" placeholder="请选择"> | 204 | <el-select :disabled="$store.state.business.Edit" v-model="ruleForm.QSZT" placeholder="权属状态"> |
205 | <el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | 205 | <el-option v-for="item in dicData['A22']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> |
206 | </el-option> | 206 | </el-option> |
207 | </el-select> | 207 | </el-select> | ... | ... |
... | @@ -83,7 +83,7 @@ | ... | @@ -83,7 +83,7 @@ |
83 | <p class="label-detail">(SFCZR)</p> | 83 | <p class="label-detail">(SFCZR)</p> |
84 | </span> | 84 | </span> |
85 | <el-select :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].SFCZR" | 85 | <el-select :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].SFCZR" |
86 | placeholder="请选择"> | 86 | placeholder="是否持证人"> |
87 | <el-option v-for="item in dicData['A6']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | 87 | <el-option v-for="item in dicData['A6']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> |
88 | </el-option> | 88 | </el-option> |
89 | </el-select> | 89 | </el-select> |
... | @@ -97,7 +97,7 @@ | ... | @@ -97,7 +97,7 @@ |
97 | <p class="label-detail">(ZJZL)</p> | 97 | <p class="label-detail">(ZJZL)</p> |
98 | </span> | 98 | </span> |
99 | <el-select :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].ZJZL" | 99 | <el-select :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].ZJZL" |
100 | placeholder="请选择"> | 100 | placeholder="证件种类"> |
101 | <el-option v-for="item in dicData['A30']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | 101 | <el-option v-for="item in dicData['A30']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> |
102 | </el-option> | 102 | </el-option> |
103 | </el-select> | 103 | </el-select> |
... | @@ -170,7 +170,7 @@ | ... | @@ -170,7 +170,7 @@ |
170 | <p class="label-detail">(XB)</p> | 170 | <p class="label-detail">(XB)</p> |
171 | </span> | 171 | </span> |
172 | <el-select :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].XB" | 172 | <el-select :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].XB" |
173 | placeholder="请选择"> | 173 | placeholder="性别"> |
174 | <el-option v-for="item in dicData['A43']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | 174 | <el-option v-for="item in dicData['A43']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> |
175 | </el-option> | 175 | </el-option> |
176 | </el-select> | 176 | </el-select> |
... | @@ -243,7 +243,7 @@ | ... | @@ -243,7 +243,7 @@ |
243 | <p class="label-detail">(QLRLX)</p> | 243 | <p class="label-detail">(QLRLX)</p> |
244 | </span> | 244 | </span> |
245 | <el-select :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].QLRLX" | 245 | <el-select :disabled="$store.state.business.Edit" v-model="obligeeForm.obligeeList[index].QLRLX" |
246 | placeholder="请选择"> | 246 | placeholder="权利人类型"> |
247 | <el-option v-for="item in dicData['A36']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | 247 | <el-option v-for="item in dicData['A36']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> |
248 | </el-option> | 248 | </el-option> |
249 | </el-select> | 249 | </el-select> | ... | ... |
1 | <template> | 1 | <template> |
2 | <el-dialog | 2 | <el-dialog :title="title" :visible.sync="visible" :width="width" :append-to-body="appendToBody" :modal="modal" |
3 | :title="title" | 3 | :close-on-click-modal="false" :fullscreen="fullscreen" :destroy-on-close="destroyOnClose" |
4 | :visible.sync="visible" | 4 | :modal-append-to-body="modalAppendToBody" :class="customClass" @close="close" class="dialog"> |
5 | :width="width" | ||
6 | :append-to-body="appendToBody" | ||
7 | :modal="modal" | ||
8 | :close-on-click-modal="false" | ||
9 | :fullscreen="fullscreen" | ||
10 | :destroy-on-close="destroyOnClose" | ||
11 | :modal-append-to-body="modalAppendToBody" | ||
12 | :class="customClass" | ||
13 | @close="close" | ||
14 | class="dialog" | ||
15 | > | ||
16 | <slot name="content" /> | 5 | <slot name="content" /> |
17 | <span slot="footer" class="dialog-footer"> | 6 | <span slot="footer" class="dialog-footer"> |
18 | <slot name="footer" /> | 7 | <slot name="footer" /> |
... | @@ -66,21 +55,21 @@ export default { | ... | @@ -66,21 +55,21 @@ export default { |
66 | default: '30%' | 55 | default: '30%' |
67 | } | 56 | } |
68 | }, | 57 | }, |
69 | data() { | 58 | data () { |
70 | return {} | 59 | return {} |
71 | }, | 60 | }, |
72 | computed: { | 61 | computed: { |
73 | visible: { | 62 | visible: { |
74 | get() { | 63 | get () { |
75 | return this.show | 64 | return this.show |
76 | }, | 65 | }, |
77 | set(val) { | 66 | set (val) { |
78 | this.$emit('update:show', val) // visible 改变的时候通知父组件 | 67 | this.$emit('update:show', val) // visible 改变的时候通知父组件 |
79 | } | 68 | } |
80 | } | 69 | } |
81 | }, | 70 | }, |
82 | methods: { | 71 | methods: { |
83 | close() { | 72 | close () { |
84 | this.$emit('close') | 73 | this.$emit('close') |
85 | } | 74 | } |
86 | } | 75 | } |
... | @@ -88,21 +77,23 @@ export default { | ... | @@ -88,21 +77,23 @@ export default { |
88 | </script> | 77 | </script> |
89 | 78 | ||
90 | <style lang="scss" scoped> | 79 | <style lang="scss" scoped> |
91 | |||
92 | .dialog { | 80 | .dialog { |
93 | /deep/.el-dialog{ | 81 | /deep/.el-dialog { |
94 | overflow: hidden; | 82 | overflow: hidden; |
95 | background: url("~@/image/dialogBg.png") no-repeat !important; | 83 | background: url("~@/image/dialogBg.png") no-repeat !important; |
96 | background-size: 100% 100% !important; | 84 | background-size: 100% 100% !important; |
97 | } | 85 | } |
86 | |||
98 | .el-dialog__header { | 87 | .el-dialog__header { |
99 | padding: 0; | 88 | padding: 0; |
100 | height: 56px; | 89 | height: 56px; |
101 | line-height: 56px; | 90 | line-height: 56px; |
102 | border-bottom: none; | 91 | border-bottom: none; |
92 | |||
103 | .el-dialog__title { | 93 | .el-dialog__title { |
104 | font-weight: 400; | 94 | font-weight: 400; |
105 | } | 95 | } |
96 | |||
106 | .el-dialog__title:before { | 97 | .el-dialog__title:before { |
107 | display: inline-block; | 98 | display: inline-block; |
108 | content: ''; | 99 | content: ''; |
... | @@ -114,31 +105,38 @@ overflow: hidden; | ... | @@ -114,31 +105,38 @@ overflow: hidden; |
114 | position: relative; | 105 | position: relative; |
115 | top: 2px; | 106 | top: 2px; |
116 | } | 107 | } |
108 | |||
117 | .el-dialog__headerbtn { | 109 | .el-dialog__headerbtn { |
118 | position: absolute; | 110 | position: absolute; |
119 | // top: 2%; | 111 | // top: 2%; |
120 | right: 12px; | 112 | right: 12px; |
121 | } | 113 | } |
122 | } | 114 | } |
115 | |||
123 | .el-dialog__body { | 116 | .el-dialog__body { |
124 | margin: 0px 12px; | 117 | margin: 0px 12px; |
125 | padding: 48px 24px; | 118 | padding: 48px 24px; |
126 | background: #fff; | 119 | background: #fff; |
127 | border: 1px solid #dfe7f3; | 120 | border: 1px solid #dfe7f3; |
121 | |||
128 | .el-button { | 122 | .el-button { |
129 | padding: 8px 16px; | 123 | padding: 8px 16px; |
130 | border: none; | 124 | border: none; |
131 | } | 125 | } |
126 | |||
132 | .el-form { | 127 | .el-form { |
133 | .el-checkbox { | 128 | .el-checkbox { |
134 | line-height: 32px; | 129 | line-height: 32px; |
135 | height: 32px; | 130 | height: 32px; |
136 | } | 131 | } |
132 | |||
137 | .form-item-mb0 { | 133 | .form-item-mb0 { |
138 | margin-bottom: 0 !important; | 134 | margin-bottom: 0 !important; |
139 | } | 135 | } |
136 | |||
140 | .el-form-item { | 137 | .el-form-item { |
141 | margin-bottom: 24px; | 138 | margin-bottom: 24px; |
139 | |||
142 | .el-form-item__label { | 140 | .el-form-item__label { |
143 | height: 32px; | 141 | height: 32px; |
144 | line-height: 32px; | 142 | line-height: 32px; |
... | @@ -148,21 +146,25 @@ overflow: hidden; | ... | @@ -148,21 +146,25 @@ overflow: hidden; |
148 | .el-form-item__content { | 146 | .el-form-item__content { |
149 | // height: 32px; | 147 | // height: 32px; |
150 | line-height: 32px; | 148 | line-height: 32px; |
149 | |||
151 | // date 组件有图标 | 150 | // date 组件有图标 |
152 | .has-icon.el-date-editor { | 151 | .has-icon.el-date-editor { |
153 | .el-input__inner { | 152 | .el-input__inner { |
154 | padding-left: 32px; | 153 | padding-left: 32px; |
155 | } | 154 | } |
156 | } | 155 | } |
156 | |||
157 | .el-input__inner { | 157 | .el-input__inner { |
158 | padding: 0 8px; | 158 | padding: 0 8px; |
159 | height: 32px; | 159 | height: 32px; |
160 | line-height: 32px; | 160 | line-height: 32px; |
161 | text-align: left; | 161 | text-align: left; |
162 | } | 162 | } |
163 | |||
163 | .el-textarea__inner { | 164 | .el-textarea__inner { |
164 | padding: 8px 8px; | 165 | padding: 8px 8px; |
165 | } | 166 | } |
167 | |||
166 | .el-input .el-input__icon { | 168 | .el-input .el-input__icon { |
167 | font-size: 14px; | 169 | font-size: 14px; |
168 | color: #747e8c; | 170 | color: #747e8c; |
... | @@ -170,6 +172,7 @@ overflow: hidden; | ... | @@ -170,6 +172,7 @@ overflow: hidden; |
170 | } | 172 | } |
171 | } | 173 | } |
172 | } | 174 | } |
175 | |||
173 | .el-select, | 176 | .el-select, |
174 | .el-cascader, | 177 | .el-cascader, |
175 | .el-date-editor { | 178 | .el-date-editor { |
... | @@ -183,11 +186,13 @@ overflow: hidden; | ... | @@ -183,11 +186,13 @@ overflow: hidden; |
183 | height: 56px; | 186 | height: 56px; |
184 | line-height: 56px; | 187 | line-height: 56px; |
185 | border: none; | 188 | border: none; |
189 | |||
186 | .el-button { | 190 | .el-button { |
187 | padding: 8px 16px; | 191 | padding: 8px 16px; |
188 | border: none; | 192 | border: none; |
189 | } | 193 | } |
190 | .el-button + .el-button { | 194 | |
195 | .el-button+.el-button { | ||
191 | margin-left: 12px; | 196 | margin-left: 12px; |
192 | } | 197 | } |
193 | } | 198 | } | ... | ... |
... | @@ -16,9 +16,10 @@ | ... | @@ -16,9 +16,10 @@ |
16 | <slot></slot> | 16 | <slot></slot> |
17 | </div> | 17 | </div> |
18 | <div slot="footer" class="dialog_footer" v-if="isButton"> | 18 | <div slot="footer" class="dialog_footer" v-if="isButton"> |
19 | <el-button @click="closeDialog" v-if="isReset">取消</el-button> | 19 | <btn nativeType="cz" @click="closeDialog" v-if="isReset">取消</btn> |
20 | <el-button type="primary" plain @click="submitForm" v-if="isSave" :disabled="btnDisabled" :loading="saveloding"> | 20 | <btn nativeType="cx" type="primary" plain @click="submitForm" v-if="isSave" :disabled="btnDisabled" |
21 | {{ saveButton }}</el-button> | 21 | :loading="saveloding"> |
22 | {{ saveButton }}</btn> | ||
22 | </div> | 23 | </div> |
23 | </el-dialog> | 24 | </el-dialog> |
24 | </template> | 25 | </template> | ... | ... |
1 | <template> | 1 | <template> |
2 | <!-- 折线图 --> | 2 | <!-- 折线图 --> |
3 | <Echart | 3 | <Echart :options="options" id="bottomLeftChart" height="100%" width="100%"></Echart> |
4 | :options="options" | ||
5 | id="bottomLeftChart" | ||
6 | height="100%" | ||
7 | width="100%" | ||
8 | ></Echart> | ||
9 | </template> | 4 | </template> |
10 | 5 | ||
11 | <script> | 6 | <script> |
12 | import Echart from "@/common/echart"; | 7 | import Echart from "@/common/echart"; |
13 | export default { | 8 | export default { |
14 | data() { | 9 | data () { |
15 | return { | 10 | return { |
16 | xAxisData: {}, | 11 | xAxisData: {}, |
17 | yAxisData1: {}, | 12 | yAxisData1: {}, |
... | @@ -30,7 +25,7 @@ export default { | ... | @@ -30,7 +25,7 @@ export default { |
30 | }, | 25 | }, |
31 | }, | 26 | }, |
32 | methods: { | 27 | methods: { |
33 | hexToRgba(hex, opacity) { | 28 | hexToRgba (hex, opacity) { |
34 | let rgbaColor = ""; | 29 | let rgbaColor = ""; |
35 | let reg = /^#[\da-f]{6}$/i; | 30 | let reg = /^#[\da-f]{6}$/i; |
36 | if (reg.test(hex)) { | 31 | if (reg.test(hex)) { |
... | @@ -43,7 +38,7 @@ export default { | ... | @@ -43,7 +38,7 @@ export default { |
43 | }, | 38 | }, |
44 | watch: { | 39 | watch: { |
45 | cdata: { | 40 | cdata: { |
46 | handler(newData) { | 41 | handler (newData) { |
47 | this.xAxisData = newData.echartData.map((v) => v.name); | 42 | this.xAxisData = newData.echartData.map((v) => v.name); |
48 | this.yAxisData1 = newData.echartData.map((v) => v.value1); | 43 | this.yAxisData1 = newData.echartData.map((v) => v.value1); |
49 | this.yAxisData2 = newData.echartData.map((v) => v.value2); | 44 | this.yAxisData2 = newData.echartData.map((v) => v.value2); |
... | @@ -65,12 +60,10 @@ export default { | ... | @@ -65,12 +60,10 @@ export default { |
65 | let html = ""; | 60 | let html = ""; |
66 | params.forEach((v) => { | 61 | params.forEach((v) => { |
67 | html += `<div style="color: #000;font-size: 14px;line-height: 24px background-color: #000000"> | 62 | html += `<div style="color: #000;font-size: 14px;line-height: 24px background-color: #000000"> |
68 | <span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:${ | 63 | <span style="display:inline-block;margin-right:5px;border-radius:10px;width:10px;height:10px;background-color:${newData.color[v.componentIndex] |
69 | newData.color[v.componentIndex] | ||
70 | };"></span> | 64 | };"></span> |
71 | ${v.seriesName}.${v.name} | 65 | ${v.seriesName}.${v.name} |
72 | <span style="color:${ | 66 | <span style="color:${newData.color[v.componentIndex] |
73 | newData.color[v.componentIndex] | ||
74 | };font-weight:700;font-size: 18px">${v.value}</span> | 67 | };font-weight:700;font-size: 18px">${v.value}</span> |
75 | 个`; | 68 | 个`; |
76 | }); | 69 | }); |
... | @@ -140,8 +133,8 @@ export default { | ... | @@ -140,8 +133,8 @@ export default { |
140 | { | 133 | { |
141 | name: newData.legendItem[0], | 134 | name: newData.legendItem[0], |
142 | type: "line", | 135 | type: "line", |
143 | smooth: true, //是否平滑 | 136 | smooth: false, //是否平滑 |
144 | showSymbol: false, | 137 | showSymbol: true, |
145 | symbol: "circle", | 138 | symbol: "circle", |
146 | symbolSize: 6, | 139 | symbolSize: 6, |
147 | zlevel: 3, | 140 | zlevel: 3, |
... | @@ -158,8 +151,8 @@ export default { | ... | @@ -158,8 +151,8 @@ export default { |
158 | { | 151 | { |
159 | name: newData.legendItem[1], | 152 | name: newData.legendItem[1], |
160 | type: "line", | 153 | type: "line", |
161 | smooth: true, | 154 | smooth: false, |
162 | showSymbol: false, | 155 | showSymbol: true, |
163 | symbol: "circle", | 156 | symbol: "circle", |
164 | symbolSize: 8, | 157 | symbolSize: 8, |
165 | zlevel: 3, | 158 | zlevel: 3, |
... | @@ -176,8 +169,8 @@ export default { | ... | @@ -176,8 +169,8 @@ export default { |
176 | { | 169 | { |
177 | name: newData.legendItem[2], | 170 | name: newData.legendItem[2], |
178 | type: "line", | 171 | type: "line", |
179 | smooth: true, | 172 | smooth: false, |
180 | showSymbol: false, | 173 | showSymbol: true, |
181 | symbol: "circle", | 174 | symbol: "circle", |
182 | symbolSize: 8, | 175 | symbolSize: 8, |
183 | zlevel: 3, | 176 | zlevel: 3, | ... | ... |
... | @@ -76,7 +76,6 @@ export default { | ... | @@ -76,7 +76,6 @@ export default { |
76 | itemStyle: { | 76 | itemStyle: { |
77 | normal: { | 77 | normal: { |
78 | // 这里设置圆角 | 78 | // 这里设置圆角 |
79 | barBorderRadius: [0, 10, 10, 0], | ||
80 | color: "#16F4D2", | 79 | color: "#16F4D2", |
81 | } | 80 | } |
82 | }, | 81 | }, |
... | @@ -89,7 +88,6 @@ export default { | ... | @@ -89,7 +88,6 @@ export default { |
89 | itemStyle: { | 88 | itemStyle: { |
90 | normal: { | 89 | normal: { |
91 | // 这里设置圆角 | 90 | // 这里设置圆角 |
92 | barBorderRadius: [0, 10, 10, 0], | ||
93 | color: "#C99E68" | 91 | color: "#C99E68" |
94 | }, | 92 | }, |
95 | }, | 93 | }, | ... | ... |
... | @@ -25,7 +25,7 @@ export default { | ... | @@ -25,7 +25,7 @@ export default { |
25 | async submitViews () { | 25 | async submitViews () { |
26 | try { | 26 | try { |
27 | let { result: res } = await work.submitViews("A20"); | 27 | let { result: res } = await work.submitViews("A20"); |
28 | res.filter((item) => { | 28 | res.map((item) => { |
29 | return ( | 29 | return ( |
30 | this.cdata.category.push(item.areaName), | 30 | this.cdata.category.push(item.areaName), |
31 | this.cdata.barData.push(item.successCount), | 31 | this.cdata.barData.push(item.successCount), | ... | ... |
... | @@ -30,7 +30,7 @@ export default { | ... | @@ -30,7 +30,7 @@ export default { |
30 | XZQDM: "", | 30 | XZQDM: "", |
31 | }; | 31 | }; |
32 | let res = await work.getDjlxtotal(p); | 32 | let res = await work.getDjlxtotal(p); |
33 | res.result.filter((item) => { | 33 | res.result.map((item) => { |
34 | return ( | 34 | return ( |
35 | this.cdata.category.push(item.AREACODE), | 35 | this.cdata.category.push(item.AREACODE), |
36 | this.cdata.lineData.push(item.ywtotal) | 36 | this.cdata.lineData.push(item.ywtotal) | ... | ... |
... | @@ -10,8 +10,8 @@ export default { | ... | @@ -10,8 +10,8 @@ export default { |
10 | data () { | 10 | data () { |
11 | return { | 11 | return { |
12 | options: {}, | 12 | options: {}, |
13 | max: "9000", //最大value值 | 13 | max: "100", //最大value值 |
14 | min: "500", // 最小value值 | 14 | min: "1", // 最小value值 |
15 | }; | 15 | }; |
16 | }, | 16 | }, |
17 | components: { | 17 | components: { |
... | @@ -41,41 +41,6 @@ export default { | ... | @@ -41,41 +41,6 @@ export default { |
41 | 宁强县: [106.25958, 32.82881, 20], | 41 | 宁强县: [106.25958, 32.82881, 20], |
42 | 略阳县: [106.15399, 33.33009, 20], | 42 | 略阳县: [106.15399, 33.33009, 20], |
43 | }; | 43 | }; |
44 | let seriesData = [ | ||
45 | { | ||
46 | name: '汉台区', | ||
47 | }, | ||
48 | { | ||
49 | name: '南郑区', | ||
50 | }, | ||
51 | { | ||
52 | name: '城固县', | ||
53 | }, | ||
54 | { | ||
55 | name: '洋县', | ||
56 | }, | ||
57 | { | ||
58 | name: '西乡县', | ||
59 | }, | ||
60 | { | ||
61 | name: '镇巴县', | ||
62 | }, | ||
63 | { | ||
64 | name: '勉县', | ||
65 | }, | ||
66 | { | ||
67 | name: '留坝县', | ||
68 | }, | ||
69 | { | ||
70 | name: '佛坪县', | ||
71 | }, | ||
72 | { | ||
73 | name: '宁强县', | ||
74 | }, | ||
75 | { | ||
76 | name: '略阳县' | ||
77 | } | ||
78 | ]; | ||
79 | let convertData = function (data) { | 44 | let convertData = function (data) { |
80 | let scatterData = []; | 45 | let scatterData = []; |
81 | for (var i = 0; i < data.length; i++) { | 46 | for (var i = 0; i < data.length; i++) { |
... | @@ -103,7 +68,7 @@ export default { | ... | @@ -103,7 +68,7 @@ export default { |
103 | }, | 68 | }, |
104 | // 如果需要自定义 tooltip样式,需要使用formatter | 69 | // 如果需要自定义 tooltip样式,需要使用formatter |
105 | formatter: params => { | 70 | formatter: params => { |
106 | return `<div style="">${params.name}:${params.value}</div>` | 71 | return `<div style="">${params.name}:${params.value + "个"}</div>` |
107 | } | 72 | } |
108 | }, | 73 | }, |
109 | visualMap: { | 74 | visualMap: { |
... | @@ -116,15 +81,32 @@ export default { | ... | @@ -116,15 +81,32 @@ export default { |
116 | itemWidth: 20, // 每个图元的宽度 | 81 | itemWidth: 20, // 每个图元的宽度 |
117 | itemGap: 2, // 每两个图元之间的间隔距离,单位为px | 82 | itemGap: 2, // 每两个图元之间的间隔距离,单位为px |
118 | pieces: [ // 自定义每一段的范围,以及每一段的文字 | 83 | pieces: [ // 自定义每一段的范围,以及每一段的文字 |
119 | { gte: 6000, label: '6000以上', color: '#035cf5' }, // 不指定 max,表示 max 为无限大(Infinity)。 | 84 | { gte: 100, label: '100以上', color: '#035cf5' }, // 不指定 max,表示 max 为无限大(Infinity)。 |
120 | { gte: 2000, lte: 6000, label: '2000-6000', color: '#3375e4' }, | 85 | { gte: 50, lte: 6000, label: '20-100', color: '#3375e4' }, |
121 | { gte: 1000, lte: 2000, label: '1000-2000', color: '#6797ef' }, | 86 | { gte: 20, lte: 2000, label: '1-200', color: '#6797ef' }, |
122 | { gte: 500, lte: 1000, label: '500-1000', color: '#96b5ef' }, | 87 | { gte: 1, lte: 1000, label: '1-20', color: '#96b5ef' }, |
123 | ], | 88 | ], |
124 | textStyle: { | 89 | textStyle: { |
125 | color: '#737373' | 90 | color: '#737373' |
126 | } | 91 | } |
127 | }, | 92 | }, |
93 | geo: { | ||
94 | aspectScale: 1, //长宽比 | ||
95 | zoom: 1.1, | ||
96 | mapType: '汉中市', // 自定义扩展图表类型 | ||
97 | top: '15%', | ||
98 | left: '10%', | ||
99 | map: '汉中市', | ||
100 | itemStyle: { | ||
101 | normal: {//阴影 | ||
102 | areaColor: '#02D9FD ', | ||
103 | shadowColor: '#01271F', | ||
104 | borderWidth: 0, | ||
105 | shadowOffsetX: 2, | ||
106 | shadowOffsetY: 25 | ||
107 | } | ||
108 | } | ||
109 | }, | ||
128 | series: [ | 110 | series: [ |
129 | { | 111 | { |
130 | type: 'map', | 112 | type: 'map', |
... | @@ -135,22 +117,25 @@ export default { | ... | @@ -135,22 +117,25 @@ export default { |
135 | left: '10%', | 117 | left: '10%', |
136 | itemStyle: { | 118 | itemStyle: { |
137 | normal: { | 119 | normal: { |
138 | areaColor: 'rgba(19,54,162, .5)', | 120 | areaColor: 'rgba(19,54,162,.5)', |
139 | borderColor: 'rgba(0,242,252,.3)', | 121 | borderColor: 'rgba(0,242,252,.5)', |
140 | borderWidth: 1, | 122 | borderWidth: 2, |
141 | shadowBlur: 7, | 123 | shadowBlur: 7, |
142 | shadowColor: '#00f2fc', | 124 | borderColor: 'rgba(19,54,162,.1)', |
125 | shadowColor: '#44f2fc', | ||
143 | }, | 126 | }, |
144 | emphasis: { | 127 | emphasis: { |
145 | areaColor: '#4f7fff', | 128 | areaColor: '#4f7fff', |
146 | borderColor: 'rgba(0,242,252,.6)', | 129 | borderColor: 'rgba(0,242,252,.5)', |
147 | borderWidth: 2, | 130 | borderWidth: 2, |
148 | shadowBlur: 10, | 131 | shadowBlur: 10, |
149 | shadowColor: '#00f2fc', | 132 | shadowColor: '#00f2fc', |
150 | }, | 133 | }, |
151 | }, | 134 | }, |
152 | label: { | 135 | label: { |
153 | formatter: params => `${params.name}`, | 136 | formatter: params => { |
137 | return `${params.name}\n${params.value+"个"}`; | ||
138 | }, | ||
154 | show: true, | 139 | show: true, |
155 | position: 'insideRight', | 140 | position: 'insideRight', |
156 | textStyle: { | 141 | textStyle: { |
... | @@ -164,29 +149,7 @@ export default { | ... | @@ -164,29 +149,7 @@ export default { |
164 | } | 149 | } |
165 | }, | 150 | }, |
166 | data: newData, | 151 | data: newData, |
167 | }, | 152 | } |
168 | { | ||
169 | type: 'effectScatter', | ||
170 | coordinateSystem: 'geo', | ||
171 | symbolSize: 7, | ||
172 | effectType: 'ripple', | ||
173 | legendHoverLink: false, | ||
174 | showEffectOn: 'render', | ||
175 | rippleEffect: { | ||
176 | period: 4, | ||
177 | scale: 2.5, | ||
178 | brushType: 'stroke', | ||
179 | }, | ||
180 | zlevel: 1, | ||
181 | itemStyle: { | ||
182 | normal: { | ||
183 | color: '#99FBFE', | ||
184 | shadowBlur: 5, | ||
185 | shadowColor: '#fff', | ||
186 | }, | ||
187 | }, | ||
188 | data: convertData(seriesData), | ||
189 | }, | ||
190 | ], | 153 | ], |
191 | }; | 154 | }; |
192 | // 重新选择区域 | 155 | // 重新选择区域 | ... | ... |
... | @@ -22,9 +22,9 @@ export default { | ... | @@ -22,9 +22,9 @@ export default { |
22 | async mapViews () { | 22 | async mapViews () { |
23 | try { | 23 | try { |
24 | let { result: res } = await work.mapViews("A20"); | 24 | let { result: res } = await work.mapViews("A20"); |
25 | res.filter((item) => { | 25 | res.map((item) => { |
26 | return ( | 26 | return ( |
27 | this.cdata.push({ "name": item.areaName, "value": item.areaCode }) | 27 | this.cdata.push({ "name": item.areaName, "value": item.ywtotal }) |
28 | ) | 28 | ) |
29 | 29 | ||
30 | }); | 30 | }); | ... | ... |
src/components/Echart/Rose copy/Chart.vue
0 → 100644
1 | <template> | ||
2 | <Echart :options="options" id="centreLeft1Chart" :key="key" height="225px" width="80%"></Echart> | ||
3 | </template> | ||
4 | <script> | ||
5 | import Echart from '@/common/echart' | ||
6 | export default { | ||
7 | components: { | ||
8 | Echart, | ||
9 | }, | ||
10 | data() { | ||
11 | return { | ||
12 | key:0 | ||
13 | } | ||
14 | }, | ||
15 | props: { | ||
16 | cdata: { | ||
17 | type: Object, | ||
18 | default: () => ({}) | ||
19 | }, | ||
20 | }, | ||
21 | watch: { | ||
22 | cdata: { | ||
23 | handler (newData) { | ||
24 | console.log("newData",newData); | ||
25 | this.options = { | ||
26 | grid: { | ||
27 | right:"1%", | ||
28 | bottom:"4%" | ||
29 | }, | ||
30 | color: [ | ||
31 | "#37a2da", | ||
32 | "#32c5e9", | ||
33 | "#9fe6b8", | ||
34 | "#ffdb5c", | ||
35 | "#ff9f7f", | ||
36 | "#fb7293", | ||
37 | "#e7bcf3", | ||
38 | "#8378ea" | ||
39 | ], | ||
40 | tooltip: { | ||
41 | trigger: "item", | ||
42 | formatter: "{a} <br/>{b} : {c} ({d}%)" | ||
43 | }, | ||
44 | toolbox: { | ||
45 | show: true | ||
46 | }, | ||
47 | calculable: true, | ||
48 | series: [ | ||
49 | { | ||
50 | name: "业务量", | ||
51 | type: "pie", | ||
52 | radius: [40,100], | ||
53 | roseType: "area", | ||
54 | data: newData.seriesData | ||
55 | } | ||
56 | ], | ||
57 | |||
58 | } | ||
59 | this.key++ | ||
60 | }, | ||
61 | immediate: true, | ||
62 | deep: true | ||
63 | } | ||
64 | } | ||
65 | }; | ||
66 | </script> | ||
67 | |||
68 | <style lang="scss" scoped> | ||
69 | #centreLeft1Chart { | ||
70 | margin-bottom: 10px; | ||
71 | margin-left: 60px; | ||
72 | } | ||
73 | </style> |
src/components/Echart/Rose copy/index.vue
0 → 100644
1 | <template> | ||
2 | <div> | ||
3 | <Chart :cdata="cdata" /> | ||
4 | </div> | ||
5 | </template> | ||
6 | |||
7 | <script> | ||
8 | import Chart from "./Chart"; | ||
9 | import work from "@/api/work"; | ||
10 | export default { | ||
11 | data () { | ||
12 | return { | ||
13 | cdata: { | ||
14 | seriesData: [], | ||
15 | }, | ||
16 | }; | ||
17 | }, | ||
18 | components: { | ||
19 | Chart, | ||
20 | }, | ||
21 | mounted () { | ||
22 | this.getdjywltotal(); | ||
23 | |||
24 | |||
25 | }, | ||
26 | methods: { | ||
27 | // 获取登记业务量玫瑰图数据 | ||
28 | async getdjywltotal () { | ||
29 | try { | ||
30 | let p = { | ||
31 | DJLX: "", | ||
32 | QLLX: "", | ||
33 | XZQDM: "", | ||
34 | }; | ||
35 | let res = await work.getdjywltotal(p); | ||
36 | console.log("res",res); | ||
37 | // 遍历修改数组键,作为echars图表的参数 | ||
38 | res.result.map((item) => { | ||
39 | return ( | ||
40 | this.cdata.seriesData.push({ "name": item.AREACODE, "value": item.ywtotal }) | ||
41 | ) | ||
42 | }); | ||
43 | } catch (error) { | ||
44 | console.log(error); | ||
45 | } | ||
46 | |||
47 | |||
48 | }, | ||
49 | }, | ||
50 | }; | ||
51 | </script> | ||
52 | |||
53 | <style lang="scss" scoped> | ||
54 | </style> |
1 | <template> | 1 | <template> |
2 | <Echart :options="options" id="centreLeft1Chart" height="200px" width="100%"></Echart> | 2 | <Echart :options="options" id="centreLeft1Chart" :key="key" height="225px" width="80%"></Echart> |
3 | </template> | 3 | </template> |
4 | <script> | 4 | <script> |
5 | import Echart from '@/common/echart' | 5 | import Echart from '@/common/echart' |
... | @@ -7,6 +7,11 @@ export default { | ... | @@ -7,6 +7,11 @@ export default { |
7 | components: { | 7 | components: { |
8 | Echart, | 8 | Echart, |
9 | }, | 9 | }, |
10 | data () { | ||
11 | return { | ||
12 | key: 0 | ||
13 | } | ||
14 | }, | ||
10 | props: { | 15 | props: { |
11 | cdata: { | 16 | cdata: { |
12 | type: Object, | 17 | type: Object, |
... | @@ -18,9 +23,8 @@ export default { | ... | @@ -18,9 +23,8 @@ export default { |
18 | handler (newData) { | 23 | handler (newData) { |
19 | this.options = { | 24 | this.options = { |
20 | grid: { | 25 | grid: { |
21 | // 让图表占满容器 | 26 | right: "1%", |
22 | top: 20, | 27 | bottom: "4%" |
23 | right: 0, | ||
24 | }, | 28 | }, |
25 | color: [ | 29 | color: [ |
26 | "#37a2da", | 30 | "#37a2da", |
... | @@ -44,12 +48,14 @@ export default { | ... | @@ -44,12 +48,14 @@ export default { |
44 | { | 48 | { |
45 | name: "业务量", | 49 | name: "业务量", |
46 | type: "pie", | 50 | type: "pie", |
47 | radius: [0, 80], | 51 | radius: [0,100], |
48 | roseType: "area", | 52 | roseType: "area", |
49 | data: newData.seriesData | 53 | data: newData.seriesData |
50 | } | 54 | } |
51 | ] | 55 | ], |
56 | |||
52 | } | 57 | } |
58 | this.key++ | ||
53 | }, | 59 | }, |
54 | immediate: true, | 60 | immediate: true, |
55 | deep: true | 61 | deep: true |
... | @@ -60,6 +66,7 @@ export default { | ... | @@ -60,6 +66,7 @@ export default { |
60 | 66 | ||
61 | <style lang="scss" scoped> | 67 | <style lang="scss" scoped> |
62 | #centreLeft1Chart { | 68 | #centreLeft1Chart { |
63 | margin-left: -20px; | 69 | margin-bottom: 10px; |
70 | margin-left: 60px; | ||
64 | } | 71 | } |
65 | </style> | 72 | </style> | ... | ... |
1 | <template> | 1 | <template> |
2 | <div> | 2 | <div> |
3 | <Chart :cdata="cdata" /> | 3 | <Chart :cdata="cdata" /> |
4 | <el-carousel height="40px" indicator-position="none"> | ||
5 | <el-carousel-item v-for="item in 4" :key="item"> | ||
6 | <div class="rotograph">佛坪县</div> | ||
7 | </el-carousel-item> | ||
8 | </el-carousel> | ||
9 | </div> | 4 | </div> |
10 | </template> | 5 | </template> |
11 | 6 | ||
... | @@ -29,6 +24,7 @@ export default { | ... | @@ -29,6 +24,7 @@ export default { |
29 | 24 | ||
30 | }, | 25 | }, |
31 | methods: { | 26 | methods: { |
27 | // 获取登记业务量玫瑰图数据 | ||
32 | async getdjywltotal () { | 28 | async getdjywltotal () { |
33 | try { | 29 | try { |
34 | let p = { | 30 | let p = { |
... | @@ -37,15 +33,16 @@ export default { | ... | @@ -37,15 +33,16 @@ export default { |
37 | XZQDM: "", | 33 | XZQDM: "", |
38 | }; | 34 | }; |
39 | let res = await work.getdjywltotal(p); | 35 | let res = await work.getdjywltotal(p); |
40 | console.log("res",res); | 36 | // 遍历修改数组键,作为echars图表的参数 |
41 | res.result.filter((item) => { | 37 | res.result.map((item) => { |
38 | |||
42 | return ( | 39 | return ( |
43 | this.cdata.seriesData.push({ "name": item.AREACODE, "value": item.ywtotal }) | 40 | this.cdata.seriesData.push({ "name": item.AREACODE, "value": item.ywtotal }) |
41 | |||
44 | ) | 42 | ) |
45 | }); | 43 | }); |
46 | console.log("this.cdata.seriesData",this.cdata.seriesData); | ||
47 | } catch (error) { | 44 | } catch (error) { |
48 | this.$refs.msg.messageShow(); | 45 | console.log(error); |
49 | } | 46 | } |
50 | 47 | ||
51 | 48 | ||
... | @@ -55,16 +52,5 @@ export default { | ... | @@ -55,16 +52,5 @@ export default { |
55 | </script> | 52 | </script> |
56 | 53 | ||
57 | <style lang="scss" scoped> | 54 | <style lang="scss" scoped> |
58 | .rotograph { | 55 | |
59 | margin: auto; | ||
60 | width: 200px; | ||
61 | height: 30px; | ||
62 | background-color: rgb(6, 121, 167); | ||
63 | font-size: 20px; | ||
64 | line-height: 30px; | ||
65 | text-align: center; | ||
66 | border-radius: 6px; | ||
67 | font-weight: 600; | ||
68 | color: #02d9fd; | ||
69 | } | ||
70 | </style> | 56 | </style> | ... | ... |
... | @@ -5,10 +5,10 @@ | ... | @@ -5,10 +5,10 @@ |
5 | <template> | 5 | <template> |
6 | <div class='result'> | 6 | <div class='result'> |
7 | <p>响应xml</p> | 7 | <p>响应xml</p> |
8 | <el-input type="textarea" :rows="6" class="resulttext" placeholder="请输入内容" v-model="REPMSGXML"> | 8 | <el-input type="textarea" :rows="6" class="resulttext" placeholder="响应xml" v-model="REPMSGXML"> |
9 | </el-input> | 9 | </el-input> |
10 | <p>错误信息</p> | 10 | <p>错误信息</p> |
11 | <el-input type="textarea" :rows="6" class="resulttext" placeholder="请输入内容" v-model="ERRORINFO"> | 11 | <el-input type="textarea" :rows="6" class="resulttext" placeholder="错误信息" v-model="ERRORINFO"> |
12 | </el-input> | 12 | </el-input> |
13 | </div> | 13 | </div> |
14 | </template> | 14 | </template> | ... | ... |
... | @@ -3,90 +3,87 @@ | ... | @@ -3,90 +3,87 @@ |
3 | <el-dialog :close-on-click-modal="false" top="0" @close="closeDialog" | 3 | <el-dialog :close-on-click-modal="false" top="0" @close="closeDialog" |
4 | custom-class="dialogBox editDialogBox mainCenter" :visible.sync="dialogVisible" width="85%"> | 4 | custom-class="dialogBox editDialogBox mainCenter" :visible.sync="dialogVisible" width="85%"> |
5 | <div slot="title" class="dialog_title" ref="dialogTitle"> | 5 | <div slot="title" class="dialog_title" ref="dialogTitle"> |
6 | <b>{{ title || '标题' }}</b> | 6 | {{ title || '标题' }} |
7 | </div> | 7 | </div> |
8 | <div class="editDialogBox-box"> | ||
8 | <el-tabs v-model="titleName" type="card" @tab-click="handleTitleTab"> | 9 | <el-tabs v-model="titleName" type="card" @tab-click="handleTitleTab"> |
9 | <el-tab-pane label="数据模型" name="sjmx"></el-tab-pane> | 10 | <el-tab-pane label="数据模型" name="sjmx"></el-tab-pane> |
10 | <el-tab-pane v-if="visiableXml" label="xml报文" name="xml"></el-tab-pane> | 11 | <el-tab-pane v-if="visiableXml" label="xml报文" name="xml"></el-tab-pane> |
11 | <el-tab-pane v-if="visiableXml" label="响应结果" name="xyjg"></el-tab-pane> | 12 | <el-tab-pane v-if="visiableXml" label="响应结果" name="xyjg"></el-tab-pane> |
12 | </el-tabs> | 13 | </el-tabs> |
13 | <div v-if="titleName == 'sjmx'" class="sjmx"> | 14 | <div class="dialog-from" v-if="titleName == 'sjmx'"> |
14 | <div class="dialog-from"> | ||
15 | <el-row> | 15 | <el-row> |
16 | <el-col :span="5"> | 16 | <el-col :span="5"> |
17 | <span>业务报文ID:</span> | 17 | <span>业务报文ID:</span> |
18 | <div>{{ dataReport.BizMsgId }}</div> | 18 | <p>{{ dataReport.BizMsgId }}</p> |
19 | </el-col> | 19 | </el-col> |
20 | <el-col :span="7"> | 20 | <el-col :span="7"> |
21 | <span>接入报文ID:</span> | 21 | <span>接入报文ID:</span> |
22 | <div>{{ dataReport.ASID }}</div> | 22 | <p>{{ dataReport.ASID }}</p> |
23 | </el-col> | 23 | </el-col> |
24 | <el-col :span="5"> | 24 | <el-col :span="5"> |
25 | <span>行政区划编码:</span> | 25 | <span>行政区划编码:</span> |
26 | <div>{{ dataReport.AreaCode }}</div> | 26 | <p>{{ dataReport.AreaCode }}</p> |
27 | </el-col> | 27 | </el-col> |
28 | <el-col :span="7"> | 28 | <el-col :span="7"> |
29 | <span>上次不动产单元号:</span> | 29 | <span>上次不动产单元号:</span> |
30 | <div>{{ dataReport.PreEstateNum }}</div> | 30 | <p>{{ dataReport.PreEstateNum }}</p> |
31 | </el-col> | 31 | </el-col> |
32 | </el-row> | 32 | </el-row> |
33 | <el-row> | 33 | <el-row> |
34 | <el-col :span="5"> | 34 | <el-col :span="5"> |
35 | <span>业务编码:</span> | 35 | <span>业务编码:</span> |
36 | <div>{{ dataReport.RecType }}</div> | 36 | <p>{{ dataReport.RecType }}</p> |
37 | </el-col> | 37 | </el-col> |
38 | <el-col :span="7"> | 38 | <el-col :span="7"> |
39 | <span>权利类型:</span> | 39 | <span>权利类型:</span> |
40 | <div>{{ dataReport.RightType }}</div> | 40 | <p>{{ dataReport.RightType }}</p> |
41 | </el-col> | 41 | </el-col> |
42 | <el-col :span="5"> | 42 | <el-col :span="5"> |
43 | <span>登记类型:</span> | 43 | <span>登记类型:</span> |
44 | <div>{{ dataReport.RegType }}</div> | 44 | <p>{{ dataReport.RegType }}</p> |
45 | </el-col> | 45 | </el-col> |
46 | <el-col :span="7"> | 46 | <el-col :span="7"> |
47 | <span>不动产权证书数量:</span> | 47 | <span>不动产权证书数量:</span> |
48 | <div>{{ dataReport.CertCount }}</div> | 48 | <p>{{ dataReport.CertCount }}</p> |
49 | </el-col> | 49 | </el-col> |
50 | </el-row> | 50 | </el-row> |
51 | <el-row> | 51 | <el-row> |
52 | <el-col :span="5"> | 52 | <el-col :span="5"> |
53 | <span>创建时间:</span> | 53 | <span>创建时间:</span> |
54 | <div>{{ dataReport.createDate }}</div> | 54 | <p>{{ dataReport.createDate }}</p> |
55 | </el-col> | 55 | </el-col> |
56 | <el-col :span="7"> | 56 | <el-col :span="7"> |
57 | <span>业务流水号:</span> | 57 | <span>业务流水号:</span> |
58 | <div>{{ dataReport.RecFlowID }}</div> | 58 | <p>{{ dataReport.RecFlowID }}</p> |
59 | </el-col> | 59 | </el-col> |
60 | <el-col :span="5"> | 60 | <el-col :span="5"> |
61 | <span>登记机构:</span> | 61 | <span>登记机构:</span> |
62 | <div>{{ dataReport.RegOrgID }}</div> | 62 | <p>{{ dataReport.RegOrgID }}</p> |
63 | </el-col> | 63 | </el-col> |
64 | <el-col :span="7"> | 64 | <el-col :span="7"> |
65 | <span>证明数量:</span> | 65 | <span>证明数量:</span> |
66 | <div>{{ dataReport.ProofCount }}</div> | 66 | <p>{{ dataReport.ProofCount }}</p> |
67 | </el-col> | 67 | </el-col> |
68 | </el-row> | 68 | </el-row> |
69 | <el-row> | 69 | <el-row> |
70 | <el-col :span="5"> | 70 | <el-col :span="5"> |
71 | <span>宗地/宗海代码:</span> | 71 | <span>宗地/宗海代码:</span> |
72 | <div>{{ dataReport.ParcelID }}</div> | 72 | <p>{{ dataReport.ParcelID }}</p> |
73 | </el-col> | 73 | </el-col> |
74 | <el-col :span="7"> | 74 | <el-col :span="7"> |
75 | <span>不动产单元号:</span> | 75 | <span>不动产单元号:</span> |
76 | <div>{{ dataReport.EstateNum }}</div> | 76 | <p>{{ dataReport.EstateNum }}</p> |
77 | </el-col> | 77 | </el-col> |
78 | <el-col :span="10"> | 78 | <el-col :span="11"> |
79 | <span>上次不动产权证号/不动产登记证明:</span> | 79 | <span>上次不动产权证号/不动产登记证明:</span> |
80 | <div>{{ dataReport.PreCertID }}</div> | 80 | <p>{{ dataReport.PreCertID }}</p> |
81 | </el-col> | 81 | </el-col> |
82 | </el-row> | 82 | </el-row> |
83 | <!-- <el-row> | ||
84 | <el-col :span="24"> | ||
85 | <span>数字签名:</span> | ||
86 | <div>{{ dataReport.digitalsign }}</div> | ||
87 | </el-col> | ||
88 | </el-row> --> | ||
89 | </div> | 83 | </div> |
84 | </div> | ||
85 | <div class="editDialogBox-box"> | ||
86 | <div v-if="titleName == 'sjmx'" class="sjmx"> | ||
90 | <el-tabs v-model="activeName" ref="elTabs" type="card" @tab-click="changeList"> | 87 | <el-tabs v-model="activeName" ref="elTabs" type="card" @tab-click="changeList"> |
91 | <el-tab-pane :name="item.soleurl" v-for="item in headerList" :key="item.soleurl"> | 88 | <el-tab-pane :name="item.soleurl" v-for="item in headerList" :key="item.soleurl"> |
92 | <div slot="label" class="tab-pane-item"> | 89 | <div slot="label" class="tab-pane-item"> |
... | @@ -104,6 +101,7 @@ | ... | @@ -104,6 +101,7 @@ |
104 | <Xyjg :form-data='dataReport'></Xyjg> | 101 | <Xyjg :form-data='dataReport'></Xyjg> |
105 | </div> | 102 | </div> |
106 | <JsonEditor :resultInfo="resultInfo" v-if="titleName == 'xml'" /> | 103 | <JsonEditor :resultInfo="resultInfo" v-if="titleName == 'xml'" /> |
104 | </div> | ||
107 | </el-dialog> | 105 | </el-dialog> |
108 | </template> | 106 | </template> |
109 | 107 | ||
... | @@ -281,12 +279,16 @@ export default { | ... | @@ -281,12 +279,16 @@ export default { |
281 | border: 1px solid #224C7C !important; | 279 | border: 1px solid #224C7C !important; |
282 | margin: 0 0 10px 0 !important; | 280 | margin: 0 0 10px 0 !important; |
283 | width: 100% !important; | 281 | width: 100% !important; |
282 | color: #dadde3 !important; | ||
283 | background: transparent !important; | ||
284 | } | 284 | } |
285 | 285 | ||
286 | /deep/.el-input__inner { | 286 | /deep/.el-input__inner { |
287 | border: 1px solid #224C7C !important; | 287 | border: 1px solid #224C7C !important; |
288 | margin: 0 !important; | 288 | margin: 0 !important; |
289 | width: 100% !important; | 289 | width: 100% !important; |
290 | color: #dadde3 !important; | ||
291 | background: transparent !important; | ||
290 | } | 292 | } |
291 | } | 293 | } |
292 | 294 | ||
... | @@ -296,7 +298,6 @@ export default { | ... | @@ -296,7 +298,6 @@ export default { |
296 | } | 298 | } |
297 | 299 | ||
298 | /deep/ .el-tabs { | 300 | /deep/ .el-tabs { |
299 | margin: 0 15px 0 15px; | ||
300 | color: #CEF8FF; | 301 | color: #CEF8FF; |
301 | } | 302 | } |
302 | 303 | ||
... | @@ -342,6 +343,7 @@ export default { | ... | @@ -342,6 +343,7 @@ export default { |
342 | 343 | ||
343 | /deep/.el-tabs__header { | 344 | /deep/.el-tabs__header { |
344 | border: none; | 345 | border: none; |
346 | margin-bottom: 0; | ||
345 | } | 347 | } |
346 | 348 | ||
347 | /deep/.el-tabs__item.is-top:not(:last-child) { | 349 | /deep/.el-tabs__item.is-top:not(:last-child) { |
... | @@ -367,6 +369,7 @@ export default { | ... | @@ -367,6 +369,7 @@ export default { |
367 | 369 | ||
368 | .tab-pane-item { | 370 | .tab-pane-item { |
369 | line-height: 20px; | 371 | line-height: 20px; |
372 | color: #02D9FD; | ||
370 | 373 | ||
371 | p { | 374 | p { |
372 | text-align: center; | 375 | text-align: center; |
... | @@ -389,11 +392,14 @@ export default { | ... | @@ -389,11 +392,14 @@ export default { |
389 | height: 825px !important; | 392 | height: 825px !important; |
390 | 393 | ||
391 | .dialog-from { | 394 | .dialog-from { |
392 | padding: 15px; | 395 | padding: 13px; |
393 | background: #08346F; | ||
394 | border-radius: 2px; | 396 | border-radius: 2px; |
395 | box-sizing: border-box; | 397 | box-sizing: border-box; |
396 | margin: -3px 15px 15px 15px; | 398 | |
399 | .el-row { | ||
400 | display: flex; | ||
401 | flex-wrap: nowrap; | ||
402 | } | ||
397 | 403 | ||
398 | .el-col { | 404 | .el-col { |
399 | line-height: 18px; | 405 | line-height: 18px; |
... | @@ -401,19 +407,22 @@ export default { | ... | @@ -401,19 +407,22 @@ export default { |
401 | align-items: center; | 407 | align-items: center; |
402 | margin-bottom: 3px; | 408 | margin-bottom: 3px; |
403 | color: #B5D6DC; | 409 | color: #B5D6DC; |
410 | border-radius: 2px; | ||
411 | border: 1px solid #224C7C; | ||
412 | margin: 5px; | ||
404 | 413 | ||
405 | span { | 414 | span { |
406 | display: inline-block; | 415 | display: inline-block; |
407 | padding: 3px; | 416 | padding: 3px; |
408 | border-radius: 3px; | 417 | border-radius: 3px; |
409 | overflow: hidden; | 418 | overflow: hidden; |
410 | min-width: 140px; | 419 | width: 100px; |
411 | text-align: right; | 420 | white-space: nowrap; |
412 | margin-right: 5px; | 421 | text-align: left; |
413 | color: #02D9FD; | 422 | color: #02D9FD; |
414 | } | 423 | } |
415 | 424 | ||
416 | div { | 425 | p { |
417 | flex: 1; | 426 | flex: 1; |
418 | width: 100%; | 427 | width: 100%; |
419 | padding-left: 5px; | 428 | padding-left: 5px; |
... | @@ -421,6 +430,7 @@ export default { | ... | @@ -421,6 +430,7 @@ export default { |
421 | color: #c0c4cc; | 430 | color: #c0c4cc; |
422 | cursor: not-allowed; | 431 | cursor: not-allowed; |
423 | margin-right: 5px; | 432 | margin-right: 5px; |
433 | text-align: right; | ||
424 | } | 434 | } |
425 | } | 435 | } |
426 | } | 436 | } |
... | @@ -428,17 +438,17 @@ export default { | ... | @@ -428,17 +438,17 @@ export default { |
428 | .dialog_title { | 438 | .dialog_title { |
429 | display: flex; | 439 | display: flex; |
430 | position: relative; | 440 | position: relative; |
431 | top: -2px; | 441 | font-size: 24px; |
432 | 442 | top: -11px; | |
433 | b { | 443 | width: 38%; |
434 | flex: 1; | 444 | height: 40px; |
435 | width: 100%; | 445 | margin-left: 28px; |
436 | @flex-center(); | 446 | justify-content: center; |
437 | } | ||
438 | } | 447 | } |
439 | 448 | ||
440 | .el-dialog__header { | 449 | .el-dialog__header { |
441 | height: 50px; | 450 | display: flex; |
451 | margin-bottom: 15px; | ||
442 | } | 452 | } |
443 | 453 | ||
444 | .dialog_footer { | 454 | .dialog_footer { | ... | ... |
... | @@ -28,7 +28,7 @@ | ... | @@ -28,7 +28,7 @@ |
28 | </i> | 28 | </i> |
29 | </el-upload> | 29 | </el-upload> |
30 | <div> | 30 | <div> |
31 | <el-input v-model="iconName" class="icon-name" placeholder="请输入图标代码"></el-input> | 31 | <el-input v-model="iconName" class="icon-name" placeholder="图标代码"></el-input> |
32 | </div> | 32 | </div> |
33 | <el-button class="confirm" type="primary" @click="changeIconName">确定</el-button> | 33 | <el-button class="confirm" type="primary" @click="changeIconName">确定</el-button> |
34 | </el-tab-pane> | 34 | </el-tab-pane> | ... | ... |
1 | <template> | 1 | <template> |
2 | <div> | 2 | <div> |
3 | <i class="icon-tubiao-242 iconfont" :title="title" @click="openDialog" /> | 3 | <i class="icon-tubiao-242 iconfont" :title="title" @click="openDialog" /> |
4 | <el-dialog | 4 | <el-dialog :key="key" :title="title" :inner-dialog="true" :visible.sync="dialogVisible" width="600px" |
5 | :key="key" | 5 | :close-on-click-modal="false" append-to-body @cancel="cancel"> |
6 | :title="title" | 6 | <vue-json-editor id="minejson" v-model="resultInfo" :mode="'code'" lang="zh" @json-change="onJsonChange" |
7 | :inner-dialog="true" | 7 | @json-save="onJsonSave" @has-error="onError" /> |
8 | :visible.sync="dialogVisible" | 8 | <el-tooltip content="全屏缩放" effect="dark" placement="bottom" fullscreen class="fullScreen"> |
9 | width="600px" | ||
10 | :close-on-click-modal="false" | ||
11 | append-to-body | ||
12 | @cancel="cancel" | ||
13 | > | ||
14 | <vue-json-editor | ||
15 | id="minejson" | ||
16 | v-model="resultInfo" | ||
17 | :mode="'code'" | ||
18 | lang="zh" | ||
19 | @json-change="onJsonChange" | ||
20 | @json-save="onJsonSave" | ||
21 | @has-error="onError" | ||
22 | /> | ||
23 | <el-tooltip | ||
24 | content="全屏缩放" | ||
25 | effect="dark" | ||
26 | placement="bottom" | ||
27 | fullscreen | ||
28 | class="fullScreen" | ||
29 | > | ||
30 | <i class="el-icon-full-screen" @click="enLarge" /> | 9 | <i class="el-icon-full-screen" @click="enLarge" /> |
31 | </el-tooltip> | 10 | </el-tooltip> |
32 | <template slot="footer"> | 11 | <template slot="footer"> |
33 | <div class="dialog-footer flex flex-pack-center"> | 12 | <div class="dialog-footer flex flex-pack-center"> |
34 | <el-button | 13 | <el-button type="primary" class="confirmBtn" @click="onJsonSave">保存</el-button> |
35 | type="primary" | 14 | <el-button type="primary" class="cancelBtn" @click="cancel">关闭</el-button> |
36 | class="confirmBtn" | ||
37 | @click="onJsonSave" | ||
38 | >保存</el-button> | ||
39 | <el-button | ||
40 | type="primary" | ||
41 | class="cancelBtn" | ||
42 | @click="cancel" | ||
43 | >关闭</el-button> | ||
44 | </div> | 15 | </div> |
45 | </template> | 16 | </template> |
46 | </el-dialog> | 17 | </el-dialog> |
... | @@ -62,7 +33,7 @@ export default { | ... | @@ -62,7 +33,7 @@ export default { |
62 | default: '' | 33 | default: '' |
63 | } | 34 | } |
64 | }, | 35 | }, |
65 | data() { | 36 | data () { |
66 | return { | 37 | return { |
67 | activeNames: [], | 38 | activeNames: [], |
68 | resultInfo: {}, | 39 | resultInfo: {}, |
... | @@ -75,7 +46,7 @@ export default { | ... | @@ -75,7 +46,7 @@ export default { |
75 | }, | 46 | }, |
76 | watch: { | 47 | watch: { |
77 | resultInfos: { | 48 | resultInfos: { |
78 | handler: function(val) { | 49 | handler: function (val) { |
79 | ++this.key | 50 | ++this.key |
80 | this.resultInfo = | 51 | this.resultInfo = |
81 | this.resultInfos === '' ? {} : JSON.parse(this.resultInfos) | 52 | this.resultInfos === '' ? {} : JSON.parse(this.resultInfos) |
... | @@ -86,17 +57,17 @@ export default { | ... | @@ -86,17 +57,17 @@ export default { |
86 | } | 57 | } |
87 | }, | 58 | }, |
88 | 59 | ||
89 | mounted() { | 60 | mounted () { |
90 | this.resultInfo = | 61 | this.resultInfo = |
91 | this.resultInfos === '' ? {} : JSON.parse(this.resultInfos) | 62 | this.resultInfos === '' ? {} : JSON.parse(this.resultInfos) |
92 | }, | 63 | }, |
93 | 64 | ||
94 | methods: { | 65 | methods: { |
95 | onJsonChange(value) { | 66 | onJsonChange (value) { |
96 | // 只有在格式正确的时候进入此事件 | 67 | // 只有在格式正确的时候进入此事件 |
97 | this.hasJsonFlag = true | 68 | this.hasJsonFlag = true |
98 | }, | 69 | }, |
99 | onJsonSave() { | 70 | onJsonSave () { |
100 | const value = this.resultInfo | 71 | const value = this.resultInfo |
101 | console.log(this.resultInfo, 'resultInfo') | 72 | console.log(this.resultInfo, 'resultInfo') |
102 | if (this.hasJsonFlag === false) { | 73 | if (this.hasJsonFlag === false) { |
... | @@ -109,19 +80,19 @@ export default { | ... | @@ -109,19 +80,19 @@ export default { |
109 | return true | 80 | return true |
110 | } | 81 | } |
111 | }, | 82 | }, |
112 | onError(value) { | 83 | onError (value) { |
113 | this.hasJsonFlag = false | 84 | this.hasJsonFlag = false |
114 | }, | 85 | }, |
115 | openDialog() { | 86 | openDialog () { |
116 | this.dialogVisible = true | 87 | this.dialogVisible = true |
117 | }, | 88 | }, |
118 | cancel() { | 89 | cancel () { |
119 | console.log(this.tmpResultInfo, 'tmpResultInfo') | 90 | console.log(this.tmpResultInfo, 'tmpResultInfo') |
120 | this.resultInfo = this.tmpResultInfo | 91 | this.resultInfo = this.tmpResultInfo |
121 | this.dialogVisible = false | 92 | this.dialogVisible = false |
122 | }, | 93 | }, |
123 | // 放大 | 94 | // 放大 |
124 | enLarge() { | 95 | enLarge () { |
125 | const fullarea = document.getElementById('minejson') | 96 | const fullarea = document.getElementById('minejson') |
126 | if (fullarea.requestFullscreen) { | 97 | if (fullarea.requestFullscreen) { |
127 | fullarea.requestFullscreen() | 98 | fullarea.requestFullscreen() |
... | @@ -146,9 +117,11 @@ export default { | ... | @@ -146,9 +117,11 @@ export default { |
146 | top: 1px; | 117 | top: 1px; |
147 | color: #349af3; | 118 | color: #349af3; |
148 | } | 119 | } |
120 | |||
149 | ::v-deep .jsoneditor-vue { | 121 | ::v-deep .jsoneditor-vue { |
150 | height: 100%; | 122 | height: 100%; |
151 | } | 123 | } |
124 | |||
152 | .fullScreen { | 125 | .fullScreen { |
153 | position: absolute; | 126 | position: absolute; |
154 | right: 5%; | 127 | right: 5%; |
... | @@ -156,22 +129,28 @@ export default { | ... | @@ -156,22 +129,28 @@ export default { |
156 | cursor: pointer; | 129 | cursor: pointer; |
157 | color: #fff; | 130 | color: #fff; |
158 | } | 131 | } |
132 | |||
159 | ::v-deep .jsoneditor-modes { | 133 | ::v-deep .jsoneditor-modes { |
160 | display: none !important; | 134 | display: none !important; |
161 | } | 135 | } |
136 | |||
162 | .jsoneditor-poweredBy { | 137 | .jsoneditor-poweredBy { |
163 | display: none !important; | 138 | display: none !important; |
164 | } | 139 | } |
140 | |||
165 | .jsoneditor-menu { | 141 | .jsoneditor-menu { |
166 | background-color: #9c9e9f !important; | 142 | background-color: #9c9e9f !important; |
167 | border-bottom: 1px solid #9c9e9f !important; | 143 | border-bottom: 1px solid #9c9e9f !important; |
168 | } | 144 | } |
145 | |||
169 | .jsoneditor { | 146 | .jsoneditor { |
170 | border: 1px solid #9c9e9f !important; | 147 | border: 1px solid #9c9e9f !important; |
171 | } | 148 | } |
149 | |||
172 | .el-collapse { | 150 | .el-collapse { |
173 | border: 0; | 151 | border: 0; |
174 | } | 152 | } |
153 | |||
175 | .el-collapse-item__header { | 154 | .el-collapse-item__header { |
176 | height: 44px; | 155 | height: 44px; |
177 | } | 156 | } | ... | ... |
src/image/closebg.png
0 → 100644
493 Bytes
src/image/rqjx.png
0 → 100644
6.22 KB
... | @@ -66,13 +66,24 @@ export default { | ... | @@ -66,13 +66,24 @@ export default { |
66 | .sidebarLeft { | 66 | .sidebarLeft { |
67 | position: relative; | 67 | position: relative; |
68 | top: 13px; | 68 | top: 13px; |
69 | left: 10px; | 69 | width: 30%; |
70 | } | ||
71 | |||
72 | /deep/.el-menu { | ||
73 | display: flex; | ||
74 | justify-content: space-between; | ||
75 | } | ||
76 | |||
77 | /deep/.el-menu-item { | ||
78 | flex: 1; | ||
79 | width: 100%; | ||
70 | } | 80 | } |
71 | 81 | ||
72 | .sidebarRight { | 82 | .sidebarRight { |
73 | position: relative; | 83 | position: relative; |
74 | left: 10px; | ||
75 | top: 13px; | 84 | top: 13px; |
85 | width: 30%; | ||
86 | padding-left: 20px; | ||
76 | } | 87 | } |
77 | 88 | ||
78 | // 导航选中背景色 | 89 | // 导航选中背景色 | ... | ... |
1 | <template> | 1 | <template> |
2 | <el-menu router :default-active="activeMenu" mode="horizontal" menu-trigger="click"> | 2 | <el-menu router :default-active="activeMenu" mode="horizontal"> |
3 | <!-- 权限菜单 --> | 3 | <!-- 权限菜单 --> |
4 | <sidebar-item v-for="route in permission_routes.slice(1, 4)" :key="route.path" :item="route" | 4 | <sidebar-item v-for="route in permission_routes.slice(1, 4)" :key="route.path" :item="route" |
5 | :base-path="route.path" /> | 5 | :base-path="route.path" /> | ... | ... |
... | @@ -38,7 +38,21 @@ let mixin = { | ... | @@ -38,7 +38,21 @@ let mixin = { |
38 | }, | 38 | }, |
39 | // 详情 | 39 | // 详情 |
40 | handleEdit (row) { | 40 | handleEdit (row) { |
41 | this.title = row.rectypeName | 41 | let Title = '' |
42 | this.dicData['A21'].map(item => { | ||
43 | if (item.DCODE == row.DJLX || item.DCODE == row.djlx) { | ||
44 | Title = item.DNAME | ||
45 | return | ||
46 | } | ||
47 | }) | ||
48 | |||
49 | this.dicData['A8'].map(item => { | ||
50 | if (item.DCODE == row.QLLX || item.DCODE == row.qllx) { | ||
51 | Title += '-' + item.DNAME | ||
52 | return | ||
53 | } | ||
54 | }) | ||
55 | this.title = Title | ||
42 | this.$refs.editLog.isShow(row); | 56 | this.$refs.editLog.isShow(row); |
43 | }, | 57 | }, |
44 | // // 重置表单 | 58 | // // 重置表单 | ... | ... |
... | @@ -41,22 +41,7 @@ export const constantRoutes = [ | ... | @@ -41,22 +41,7 @@ export const constantRoutes = [ |
41 | * the routes that need to be dynamically loaded based on user roles | 41 | * the routes that need to be dynamically loaded based on user roles |
42 | */ | 42 | */ |
43 | export const asyncRoutes = [ | 43 | export const asyncRoutes = [ |
44 | // 监管首页 | 44 | // 接收报文查询 |
45 | { | ||
46 | path: '/', | ||
47 | component: Layout, | ||
48 | redirect: '/jgHome', | ||
49 | meta: { title: '首页' }, | ||
50 | children: [ | ||
51 | { | ||
52 | path: 'jgHome', | ||
53 | component: () => import('@/views/home/index'), | ||
54 | name: 'jgHome', | ||
55 | meta: { title: '首页', icon: 'workbench', affix: true } | ||
56 | } | ||
57 | ] | ||
58 | }, | ||
59 | // // 接收报文查询 | ||
60 | { | 45 | { |
61 | path: '/jsbwcx', | 46 | path: '/jsbwcx', |
62 | component: Layout, | 47 | component: Layout, |
... | @@ -76,13 +61,13 @@ export const asyncRoutes = [ | ... | @@ -76,13 +61,13 @@ export const asyncRoutes = [ |
76 | children: [ | 61 | children: [ |
77 | { | 62 | { |
78 | path: 'sbbwcx', | 63 | path: 'sbbwcx', |
79 | component: () => import('@/views/sbbwcx/index'), | 64 | component: () => import('@/views/sthj/sbbwcx/index'), |
80 | name: 'sbbwcx', | 65 | name: 'sbbwcx', |
81 | meta: { title: '上报报文', icon: 'zsgl' } | 66 | meta: { title: '上报报文', icon: 'zsgl' } |
82 | }, | 67 | }, |
83 | { | 68 | { |
84 | path: 'dbrzcx', | 69 | path: 'dbrzcx', |
85 | component: () => import('@/views/dbrzcx/index'), | 70 | component: () => import('@/views/sthj/dbrzcx/index'), |
86 | name: 'dbrzcx', | 71 | name: 'dbrzcx', |
87 | meta: { title: '登簿日志', icon: 'zsgl' } | 72 | meta: { title: '登簿日志', icon: 'zsgl' } |
88 | } | 73 | } |
... | @@ -108,71 +93,6 @@ export const asyncRoutes = [ | ... | @@ -108,71 +93,6 @@ export const asyncRoutes = [ |
108 | } | 93 | } |
109 | ] | 94 | ] |
110 | }, | 95 | }, |
111 | // 接入区域管理 | ||
112 | { | ||
113 | path: '/jrqygl', | ||
114 | component: Layout, | ||
115 | children: [ | ||
116 | { | ||
117 | path: 'index', | ||
118 | component: () => import('@/views/jrqygl/index'), | ||
119 | name: 'jrqygl', | ||
120 | meta: { title: '接入区域管理', icon: 'zhcx' } | ||
121 | } | ||
122 | ] | ||
123 | }, | ||
124 | // 接收规则管理 | ||
125 | { | ||
126 | path: '/jsgzgl', | ||
127 | component: Layout, | ||
128 | children: [ | ||
129 | { | ||
130 | path: 'index', | ||
131 | component: () => import('@/views/jsgzgl/index'), | ||
132 | name: 'jsgzgl', | ||
133 | meta: { title: '接收规则管理', icon: 'zhcx' } | ||
134 | } | ||
135 | ] | ||
136 | }, | ||
137 | // 接收报文重新入库 | ||
138 | { | ||
139 | path: '/jsbwcxrk', | ||
140 | component: Layout, | ||
141 | children: [ | ||
142 | { | ||
143 | path: 'index', | ||
144 | component: () => import('@/views/jsbwcxrk/index'), | ||
145 | name: 'jsbwcxrk', | ||
146 | meta: { title: '接收报文重新入库', icon: 'zhcx' } | ||
147 | } | ||
148 | ] | ||
149 | }, | ||
150 | // 报文重新入库日志 | ||
151 | { | ||
152 | path: '/bwcxrkrz', | ||
153 | component: Layout, | ||
154 | children: [ | ||
155 | { | ||
156 | path: 'index', | ||
157 | component: () => import('@/views/bwcxrkrz/index'), | ||
158 | name: 'bwcxrkrz', | ||
159 | meta: { title: '报文重新入库日志', icon: 'zhcx' } | ||
160 | } | ||
161 | ] | ||
162 | }, | ||
163 | // 中心日志 | ||
164 | { | ||
165 | path: '/zxrz', | ||
166 | component: Layout, | ||
167 | children: [ | ||
168 | { | ||
169 | path: 'index', | ||
170 | component: () => import('@/views/zxrz/index'), | ||
171 | name: 'zxrz', | ||
172 | meta: { title: '中心日志', icon: 'zhcx' } | ||
173 | } | ||
174 | ] | ||
175 | }, | ||
176 | // 接入业务信息-不动产数据 | 96 | // 接入业务信息-不动产数据 |
177 | { | 97 | { |
178 | path: '/busineInfo', | 98 | path: '/busineInfo', |
... | @@ -184,91 +104,91 @@ export const asyncRoutes = [ | ... | @@ -184,91 +104,91 @@ export const asyncRoutes = [ |
184 | children: [ | 104 | children: [ |
185 | { | 105 | { |
186 | path: 'tdsyq', | 106 | path: 'tdsyq', |
187 | component: () => import('@/views/business-info/tdsyq/index'), | 107 | component: () => import('@/views/bdcsj/tdsyq/index'), |
188 | name: 'tdsyq', | 108 | name: 'tdsyq', |
189 | meta: { title: '土地所有权' } | 109 | meta: { title: '土地所有权' } |
190 | }, | 110 | }, |
191 | { | 111 | { |
192 | path: 'jsydzjdsyq', | 112 | path: 'jsydzjdsyq', |
193 | component: () => import('@/views/business-info/jsydzjdsyq/index'), | 113 | component: () => import('@/views/bdcsj/jsydzjdsyq/index'), |
194 | name: 'jsydzjdsyq', | 114 | name: 'jsydzjdsyq', |
195 | meta: { title: '建设用地、宅基地使用权' } | 115 | meta: { title: '建设用地、宅基地使用权' } |
196 | }, | 116 | }, |
197 | { | 117 | { |
198 | path: 'fdcqdz', | 118 | path: 'fdcqdz', |
199 | component: () => import('@/views/business-info/fdcqdz/index'), | 119 | component: () => import('@/views/bdcsj/fdcqdz/index'), |
200 | name: 'fdcqdz', | 120 | name: 'fdcqdz', |
201 | meta: { title: '房地产权(项目内多幢房屋)' } | 121 | meta: { title: '房地产权(项目内多幢房屋)' } |
202 | }, | 122 | }, |
203 | { | 123 | { |
204 | path: 'fdcqyz', | 124 | path: 'fdcqyz', |
205 | component: () => import('@/views/business-info/fdcqyz/index'), | 125 | component: () => import('@/views/bdcsj/fdcqyz/index'), |
206 | name: 'fdcqyz', | 126 | name: 'fdcqyz', |
207 | meta: { title: '房地产权(独幢、层、套、间、房屋)' } | 127 | meta: { title: '房地产权(独幢、层、套、间、房屋)' } |
208 | }, | 128 | }, |
209 | { | 129 | { |
210 | path: 'fdcqqfsyq', | 130 | path: 'fdcqqfsyq', |
211 | component: () => import('@/views/business-info/fdcqqfsyq/index'), | 131 | component: () => import('@/views/bdcsj/fdcqqfsyq/index'), |
212 | name: 'fdcqqfsyq', | 132 | name: 'fdcqqfsyq', |
213 | meta: { title: '建筑物区分所有权业主共有部分' } | 133 | meta: { title: '建筑物区分所有权业主共有部分' } |
214 | }, | 134 | }, |
215 | { | 135 | { |
216 | path: 'hysyq', | 136 | path: 'hysyq', |
217 | component: () => import('@/views/business-info/hysyq/index'), | 137 | component: () => import('@/views/bdcsj/hysyq/index'), |
218 | name: 'hysyq', | 138 | name: 'hysyq', |
219 | meta: { title: '海域(含无居民海岛)使用权' } | 139 | meta: { title: '海域(含无居民海岛)使用权' } |
220 | }, | 140 | }, |
221 | { | 141 | { |
222 | path: 'gzwsyq', | 142 | path: 'gzwsyq', |
223 | component: () => import('@/views/business-info/gzwsyq/index'), | 143 | component: () => import('@/views/bdcsj/gzwsyq/index'), |
224 | name: 'gzwsyq', | 144 | name: 'gzwsyq', |
225 | meta: { title: '构(建)筑物所有权' } | 145 | meta: { title: '构(建)筑物所有权' } |
226 | }, | 146 | }, |
227 | { | 147 | { |
228 | path: 'nydsyq', | 148 | path: 'nydsyq', |
229 | component: () => import('@/views/business-info/nydsyq/index'), | 149 | component: () => import('@/views/bdcsj/nydsyq/index'), |
230 | name: 'nydsyq', | 150 | name: 'nydsyq', |
231 | meta: { title: '农用地使用权(非林地)' } | 151 | meta: { title: '农用地使用权(非林地)' } |
232 | }, | 152 | }, |
233 | { | 153 | { |
234 | path: 'lq', | 154 | path: 'lq', |
235 | component: () => import('@/views/business-info/lq/index'), | 155 | component: () => import('@/views/bdcsj/lq/index'), |
236 | name: 'lq', | 156 | name: 'lq', |
237 | meta: { title: '林权' } | 157 | meta: { title: '林权' } |
238 | }, | 158 | }, |
239 | { | 159 | { |
240 | path: 'zxdj', | 160 | path: 'zxdj', |
241 | component: () => import('@/views/business-info/zxdj/index'), | 161 | component: () => import('@/views/bdcsj/zxdj/index'), |
242 | name: 'zxdj', | 162 | name: 'zxdj', |
243 | meta: { title: '注销登记' } | 163 | meta: { title: '注销登记' } |
244 | }, | 164 | }, |
245 | { | 165 | { |
246 | path: 'yydj', | 166 | path: 'yydj', |
247 | component: () => import('@/views/business-info/yydj/index'), | 167 | component: () => import('@/views/bdcsj/yydj/index'), |
248 | name: 'yydj', | 168 | name: 'yydj', |
249 | meta: { title: '异议登记' } | 169 | meta: { title: '异议登记' } |
250 | }, | 170 | }, |
251 | { | 171 | { |
252 | path: 'ygdj', | 172 | path: 'ygdj', |
253 | component: () => import('@/views/business-info/ygdj/index'), | 173 | component: () => import('@/views/bdcsj/ygdj/index'), |
254 | name: 'ygdj', | 174 | name: 'ygdj', |
255 | meta: { title: '预告登记' } | 175 | meta: { title: '预告登记' } |
256 | }, | 176 | }, |
257 | { | 177 | { |
258 | path: 'Cfdj', | 178 | path: 'Cfdj', |
259 | component: () => import('@/views/business-info/Cfdj/index'), | 179 | component: () => import('@/views/bdcsj/cfdj/index'), |
260 | name: 'Cfdj', | 180 | name: 'Cfdj', |
261 | meta: { title: '查封登记' } | 181 | meta: { title: '查封登记' } |
262 | }, | 182 | }, |
263 | { | 183 | { |
264 | path: 'dyaq', | 184 | path: 'dyaq', |
265 | component: () => import('@/views/business-info/dyaq/index'), | 185 | component: () => import('@/views/bdcsj/dyaq/index'), |
266 | name: 'dyaq', | 186 | name: 'dyaq', |
267 | meta: { title: '抵押权登记' } | 187 | meta: { title: '抵押权登记' } |
268 | }, | 188 | }, |
269 | { | 189 | { |
270 | path: 'dyiq', | 190 | path: 'dyiq', |
271 | component: () => import('@/views/business-info/dyiq/index'), | 191 | component: () => import('@/views/bdcsj/dyiq/index'), |
272 | name: 'dyiq', | 192 | name: 'dyiq', |
273 | meta: { title: '地役权登记' } | 193 | meta: { title: '地役权登记' } |
274 | } | 194 | } | ... | ... |
... | @@ -7,11 +7,18 @@ | ... | @@ -7,11 +7,18 @@ |
7 | display: flex; | 7 | display: flex; |
8 | position: relative; | 8 | position: relative; |
9 | top: -2px; | 9 | top: -2px; |
10 | |||
11 | b { | 10 | b { |
12 | @include flex-center; | 11 | font-weight: 200; |
13 | flex: 1; | 12 | display: inline-block; |
14 | width: 100%; | 13 | position: relative; |
14 | font-size: 24px; | ||
15 | top: -11px; | ||
16 | width: 38%; | ||
17 | height: 40px; | ||
18 | margin-left: 28px; | ||
19 | // @include flex-center; | ||
20 | display: flex; | ||
21 | justify-content: center; | ||
15 | } | 22 | } |
16 | } | 23 | } |
17 | 24 | ||
... | @@ -28,13 +35,21 @@ | ... | @@ -28,13 +35,21 @@ |
28 | } | 35 | } |
29 | 36 | ||
30 | .dialog_footer { | 37 | .dialog_footer { |
31 | margin-top: 8px; | 38 | margin-bottom: 8px; |
32 | @include flex-center; | 39 | @include flex-center; |
33 | } | 40 | } |
34 | 41 | ||
35 | .dialogBox-content { | 42 | .dialogBox-content { |
36 | height: auto | 43 | height: auto |
37 | } | 44 | } |
45 | |||
46 | .editDialogBox-box { | ||
47 | background: #031A46; | ||
48 | box-shadow: inset 0px 0px 12px 0px #02D9FD; | ||
49 | border-radius: 2px; | ||
50 | border: 1px solid #6BC1FC; | ||
51 | margin: 0 18px 15px 18px; | ||
52 | } | ||
38 | } | 53 | } |
39 | 54 | ||
40 | .dialog_title { | 55 | .dialog_title { |
... | @@ -57,13 +72,21 @@ | ... | @@ -57,13 +72,21 @@ |
57 | padding-bottom: 0; | 72 | padding-bottom: 0; |
58 | } | 73 | } |
59 | 74 | ||
60 | .el-dialog__headerbtn .el-dialog__close { | 75 | .el-dialog__headerbtn { |
61 | color: #FFFFFF !important; | 76 | width: 42px; |
62 | position: relative; | 77 | height: 20px; |
63 | top: -2px; | 78 | background: url("~@/image/closebg.png") no-repeat; |
64 | right: 15px | 79 | background-size: 100% 100%; |
80 | right: 40px; | ||
81 | top: 33px; | ||
82 | &:hover{ | ||
83 | box-shadow: inset 0px 0px 12px 0px #02D9FD; | ||
84 | } | ||
65 | } | 85 | } |
66 | 86 | ||
87 | .el-dialog__close { | ||
88 | font-size: 0; | ||
89 | } | ||
67 | 90 | ||
68 | .el-form-item { | 91 | .el-form-item { |
69 | @include flex; | 92 | @include flex; |
... | @@ -88,8 +111,9 @@ | ... | @@ -88,8 +111,9 @@ |
88 | top: 50%; | 111 | top: 50%; |
89 | left: 50%; | 112 | left: 50%; |
90 | transform: translate(-50%, -50%); | 113 | transform: translate(-50%, -50%); |
114 | |||
91 | // 展开收起按钮位置 | 115 | // 展开收起按钮位置 |
92 | .el-input__suffix{ | 116 | .el-input__suffix { |
93 | right: 10px; | 117 | right: 10px; |
94 | } | 118 | } |
95 | } | 119 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -66,7 +66,7 @@ | ... | @@ -66,7 +66,7 @@ |
66 | // refine element ui upload | 66 | // refine element ui upload |
67 | .el-input.is-disabled .el-input__inner { | 67 | .el-input.is-disabled .el-input__inner { |
68 | color: #FFFFFF !important; | 68 | color: #FFFFFF !important; |
69 | // background-color: transparent !important; | 69 | background-color: transparent !important; |
70 | border: 1px solid #224C7C !important; | 70 | border: 1px solid #224C7C !important; |
71 | } | 71 | } |
72 | 72 | ||
... | @@ -180,13 +180,13 @@ table th { | ... | @@ -180,13 +180,13 @@ table th { |
180 | border-bottom: none !important; | 180 | border-bottom: none !important; |
181 | } | 181 | } |
182 | 182 | ||
183 | .el-table__body { | 183 | // .el-table__body { |
184 | -webkit-border-vertical-spacing: 6px !important; // 垂直间距 | 184 | // -webkit-border-vertical-spacing: 6px !important; // 垂直间距 |
185 | } | 185 | // } |
186 | 186 | ||
187 | table td { | 187 | table td { |
188 | box-sizing: border-box; | 188 | box-sizing: border-box; |
189 | border-bottom: none !important; | 189 | border-bottom: 1px solid #458ACF !important; |
190 | } | 190 | } |
191 | 191 | ||
192 | //去掉最下面的那一条线 | 192 | //去掉最下面的那一条线 |
... | @@ -283,6 +283,24 @@ table td { | ... | @@ -283,6 +283,24 @@ table td { |
283 | 283 | ||
284 | // 时间选择框样式 | 284 | // 时间选择框样式 |
285 | .el-date-picker { | 285 | .el-date-picker { |
286 | background: url("~@/image/slbg.png") no-repeat; | ||
287 | background-size: 100% 100%; | ||
288 | padding-top: 13px; | ||
289 | padding-bottom: 13px; | ||
290 | border: none; | ||
291 | margin-top: 5px !important; | ||
292 | |||
293 | table { | ||
294 | background: url("~@/image/rqjx.png") no-repeat; | ||
295 | background-size: 100% 100%; | ||
296 | padding: 8px; | ||
297 | } | ||
298 | |||
299 | table td { | ||
300 | box-sizing: border-box; | ||
301 | border-bottom: 0px solid #074487 !important; | ||
302 | } | ||
303 | |||
286 | .el-input__inner { | 304 | .el-input__inner { |
287 | background-color: #031a46; | 305 | background-color: #031a46; |
288 | } | 306 | } |
... | @@ -292,6 +310,7 @@ table td { | ... | @@ -292,6 +310,7 @@ table td { |
292 | } | 310 | } |
293 | 311 | ||
294 | .el-picker-panel__footer { | 312 | .el-picker-panel__footer { |
313 | display: none; | ||
295 | background-color: #031a46; | 314 | background-color: #031a46; |
296 | } | 315 | } |
297 | 316 | ||
... | @@ -299,18 +318,27 @@ table td { | ... | @@ -299,18 +318,27 @@ table td { |
299 | background-color: #074487; | 318 | background-color: #074487; |
300 | } | 319 | } |
301 | 320 | ||
302 | background-color: #031a46; | 321 | .el-date-picker__header { |
322 | margin-bottom: 0px; | ||
323 | } | ||
303 | 324 | ||
304 | .el-date-picker__header-label { | 325 | .el-date-picker__header-label { |
305 | color: #A6CFD6; | 326 | color: #A6CFD6; |
306 | } | 327 | } |
307 | 328 | ||
308 | .el-picker-panel__content { | 329 | .el-picker-panel__content { |
309 | background-color: #074487; | 330 | padding-top: 0px; |
331 | margin-top: 0px; | ||
310 | 332 | ||
311 | .disabled { | 333 | .disabled { |
312 | background-color: #074487; | 334 | background-color: #074487; |
313 | 335 | ||
336 | div { | ||
337 | span { | ||
338 | color: rgba(172, 239, 250, .5) | ||
339 | } | ||
340 | } | ||
341 | |||
314 | } | 342 | } |
315 | } | 343 | } |
316 | 344 | ||
... | @@ -324,7 +352,7 @@ table td { | ... | @@ -324,7 +352,7 @@ table td { |
324 | } | 352 | } |
325 | 353 | ||
326 | .el-date-table td span { | 354 | .el-date-table td span { |
327 | color: #A6CFD6; | 355 | color: #DBFAFF |
328 | } | 356 | } |
329 | 357 | ||
330 | .el-date-table td.current:not(.disabled) span { | 358 | .el-date-table td.current:not(.disabled) span { |
... | @@ -361,10 +389,6 @@ table td { | ... | @@ -361,10 +389,6 @@ table td { |
361 | background-color: #031a46; | 389 | background-color: #031a46; |
362 | } | 390 | } |
363 | 391 | ||
364 | .el-picker-panel__footer { | ||
365 | background-color: #031a46; | ||
366 | } | ||
367 | |||
368 | .el-time-panel { | 392 | .el-time-panel { |
369 | background-color: #074487 !important; | 393 | background-color: #074487 !important; |
370 | color: #E3F1FF; | 394 | color: #E3F1FF; |
... | @@ -419,7 +443,7 @@ table td { | ... | @@ -419,7 +443,7 @@ table td { |
419 | 443 | ||
420 | [class^="el-icon-"], | 444 | [class^="el-icon-"], |
421 | [class*=" el-icon-"] { | 445 | [class*=" el-icon-"] { |
422 | display: none; | 446 | // display: none; |
423 | } | 447 | } |
424 | 448 | ||
425 | .el-range-separator { | 449 | .el-range-separator { |
... | @@ -444,7 +468,7 @@ table td { | ... | @@ -444,7 +468,7 @@ table td { |
444 | } | 468 | } |
445 | 469 | ||
446 | .el-select-dropdown { | 470 | .el-select-dropdown { |
447 | top: 203px !important; | 471 | margin-top: 5px !important; |
448 | } | 472 | } |
449 | 473 | ||
450 | .el-menu--horizontal .el-menu--popup .el-menu-item:not(.is-disabled):hover, | 474 | .el-menu--horizontal .el-menu--popup .el-menu-item:not(.is-disabled):hover, |
... | @@ -460,5 +484,4 @@ table td { | ... | @@ -460,5 +484,4 @@ table td { |
460 | .el-select-dropdown__item.hover, | 484 | .el-select-dropdown__item.hover, |
461 | .el-select-dropdown__item:hover { | 485 | .el-select-dropdown__item:hover { |
462 | background-color: transparent !important; | 486 | background-color: transparent !important; |
463 | ; | ||
464 | } | 487 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -5,16 +5,16 @@ | ... | @@ -5,16 +5,16 @@ |
5 | background-color: rgba(0, 0, 0, 0); | 5 | background-color: rgba(0, 0, 0, 0); |
6 | 6 | ||
7 | .el-table__header-wrapper { | 7 | .el-table__header-wrapper { |
8 | border-right: 1px solid #103E99; | 8 | border-right: none; |
9 | 9 | ||
10 | } | 10 | } |
11 | 11 | ||
12 | .el-table__row .cell { | 12 | .el-table__row .cell { |
13 | color: #DBFAFF !important; | 13 | color: #CEF8FF !important; |
14 | } | 14 | } |
15 | 15 | ||
16 | .el-table__row { | 16 | .el-table__row { |
17 | background: #0F56A3 !important; | 17 | background: rgba(0, 0, 0, 0) !important; |
18 | } | 18 | } |
19 | 19 | ||
20 | thead { | 20 | thead { | ... | ... |
src/utils/operation copy.js
0 → 100644
1 | import { Message } from "element-ui"; | ||
2 | export function removeTreeListItem (treeList, dictId, idName = 'bsmDict') { | ||
3 | if (!treeList || !treeList.length) { | ||
4 | return | ||
5 | } | ||
6 | for (let i = 0; i < treeList.length; i++) { | ||
7 | if (treeList[i][idName] === dictId) { | ||
8 | treeList.splice(i, 1); | ||
9 | break; | ||
10 | } | ||
11 | removeTreeListItem(treeList[i].children, dictId) | ||
12 | } | ||
13 | } | ||
14 | // 创造id | ||
15 | export function getUuid (len, radix) { | ||
16 | var chars = "0123456789abcdefghijklmnopqrstuvwxyz".split( | ||
17 | "" | ||
18 | ); | ||
19 | var uuid = [], | ||
20 | i; | ||
21 | radix = radix || chars.length; | ||
22 | if (len) { | ||
23 | for (i = 0; i < len; i++) uuid[i] = chars[0 | (Math.random() * radix)]; | ||
24 | } else { | ||
25 | var r; | ||
26 | uuid[8] = uuid[13] = uuid[18] = uuid[23] = "-"; | ||
27 | uuid[14] = "4"; | ||
28 | for (i = 0; i < 36; i++) { | ||
29 | if (!uuid[i]) { | ||
30 | r = 0 | (Math.random() * 16); | ||
31 | uuid[i] = chars[i == 19 ? (r & 0x3) | 0x8 : r]; | ||
32 | } | ||
33 | } | ||
34 | } | ||
35 | return uuid.join(""); | ||
36 | } | ||
37 | export function judgeSort (arr) { | ||
38 | if (arr.length) { | ||
39 | for (let i in arr) { | ||
40 | arr[i]["isTop"] = false; | ||
41 | arr[i]["isBottom"] = false; | ||
42 | arr[i] == arr[0] && (arr[i].isTop = true); | ||
43 | arr[i] == arr[arr.length - 1] && (arr[i].isBottom = true); | ||
44 | arr[i].children && arr[i].children.length && judgeSort(arr[i].children) | ||
45 | } | ||
46 | } | ||
47 | return arr | ||
48 | } | ||
49 | // 上下移动 | ||
50 | export function realMove (bsmDict, operate, data) { | ||
51 | function changeSort (arr, bsmDict) { | ||
52 | if (arr.length) { | ||
53 | let flag = false; | ||
54 | for (let i in arr) { | ||
55 | if (arr[i].bsmDict == bsmDict) { | ||
56 | if (operate === "UP") { | ||
57 | arr[i] = arr.splice(i - 1, 1, arr[i])[0]; | ||
58 | } else if (operate === "DOWN") { | ||
59 | let temp = arr.splice(i - 0 + 1, 1, arr[i]) | ||
60 | arr[i] = temp[0]; | ||
61 | } | ||
62 | flag = true; | ||
63 | break; | ||
64 | } | ||
65 | if (!flag && arr[i].children && arr[i].children.length) { | ||
66 | arr[i].children = changeSort(arr[i].children, bsmDict); | ||
67 | } | ||
68 | } | ||
69 | } | ||
70 | return arr; | ||
71 | } | ||
72 | data = judgeSort(changeSort(data, bsmDict)); | ||
73 | } | ||
74 | // 获取所有父节点 | ||
75 | export function findParents (treeData, bsmDict) { | ||
76 | if (treeData.length == 0) return | ||
77 | for (let i = 0; i < treeData.length; i++) { | ||
78 | if (treeData[i].bsmDict == bsmDict) { | ||
79 | return [] | ||
80 | } else { | ||
81 | if (treeData[i].children) { | ||
82 | let res = findParents(treeData[i].children, bsmDict) | ||
83 | if (res !== undefined) { | ||
84 | return res.concat(treeData[i].bsmDict) | ||
85 | } | ||
86 | } | ||
87 | } | ||
88 | } | ||
89 | } | ||
90 | // 上移下移 | ||
91 | export function upward (index, data) { | ||
92 | if (index > 0) { | ||
93 | let upData = data[index - 1]; | ||
94 | data.splice(index - 1, 1); | ||
95 | data.splice(index, 0, upData); | ||
96 | } else { | ||
97 | Message({ | ||
98 | message: '已经是第一条,上移失败' | ||
99 | }); | ||
100 | } | ||
101 | } | ||
102 | export function down (index, data) { | ||
103 | if ((index + 1) == data.length) { | ||
104 | Message({ | ||
105 | message: '已经是最后一条,下移失败' | ||
106 | }); | ||
107 | } else { | ||
108 | let downData = data[index + 1]; | ||
109 | data.splice(index + 1, 1); | ||
110 | data.splice(index, 0, downData); | ||
111 | } | ||
112 | } |
... | @@ -52,7 +52,7 @@ export function realMove (bsmDict, operate, data) { | ... | @@ -52,7 +52,7 @@ export function realMove (bsmDict, operate, data) { |
52 | if (arr.length) { | 52 | if (arr.length) { |
53 | let flag = false; | 53 | let flag = false; |
54 | for (let i in arr) { | 54 | for (let i in arr) { |
55 | if (arr[i].bsmDict == bsmDict) { | 55 | if (arr[i].dictid == bsmDict) { |
56 | if (operate === "UP") { | 56 | if (operate === "UP") { |
57 | arr[i] = arr.splice(i - 1, 1, arr[i])[0]; | 57 | arr[i] = arr.splice(i - 1, 1, arr[i])[0]; |
58 | } else if (operate === "DOWN") { | 58 | } else if (operate === "DOWN") { |
... | @@ -110,3 +110,32 @@ export function down (index, data) { | ... | @@ -110,3 +110,32 @@ export function down (index, data) { |
110 | data.splice(index, 0, downData); | 110 | data.splice(index, 0, downData); |
111 | } | 111 | } |
112 | } | 112 | } |
113 | |||
114 | export function timeFormat (date, end) { | ||
115 | if (!date || typeof (date) === "string") { | ||
116 | this.error("参数异常,请检查..."); | ||
117 | } | ||
118 | var y = date.getFullYear(); //年 | ||
119 | var m = date.getMonth() + 1; //月 | ||
120 | var d = date.getDate(); //日 | ||
121 | if (end) { | ||
122 | return y + "/" + m + "/" + d + ' 23:59:59'; | ||
123 | } else { | ||
124 | return y + "/" + m + "/" + d + ' 00:00:00'; | ||
125 | } | ||
126 | } | ||
127 | export function getFirstDayOfSeason (d) { | ||
128 | let date = d || new Date() | ||
129 | var month = date.getMonth(); | ||
130 | if (month < 3) { | ||
131 | date.setMonth(0); | ||
132 | } else if (2 < month && month < 6) { | ||
133 | date.setMonth(3); | ||
134 | } else if (5 < month && month < 9) { | ||
135 | date.setMonth(6); | ||
136 | } else if (8 < month && month < 11) { | ||
137 | date.setMonth(9); | ||
138 | } | ||
139 | date.setDate(1); | ||
140 | return timeFormat(date); | ||
141 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -7,6 +7,7 @@ class data extends filter { | ... | @@ -7,6 +7,7 @@ class data extends filter { |
7 | return [ | 7 | return [ |
8 | { | 8 | { |
9 | label: "行政区", | 9 | label: "行政区", |
10 | width: 80, | ||
10 | render: (h, scope) => { | 11 | render: (h, scope) => { |
11 | return ( | 12 | return ( |
12 | <div> | 13 | <div> |
... | @@ -17,6 +18,7 @@ class data extends filter { | ... | @@ -17,6 +18,7 @@ class data extends filter { |
17 | }, | 18 | }, |
18 | { | 19 | { |
19 | label: "权属状态", | 20 | label: "权属状态", |
21 | width: 80, | ||
20 | render: (h, scope) => { | 22 | render: (h, scope) => { |
21 | return ( | 23 | return ( |
22 | <div> | 24 | <div> | ... | ... |
... | @@ -2,6 +2,9 @@ | ... | @@ -2,6 +2,9 @@ |
2 | <div class="Cfdj from-clues"> | 2 | <div class="Cfdj from-clues"> |
3 | <div class="from-clues-header"> | 3 | <div class="from-clues-header"> |
4 | <el-form ref="form" :model="form" label-width="130px"> | 4 | <el-form ref="form" :model="form" label-width="130px"> |
5 | <el-form-item> | ||
6 | <Breadcrumb /> | ||
7 | </el-form-item> | ||
5 | <el-row> | 8 | <el-row> |
6 | <el-col :span="5"> | 9 | <el-col :span="5"> |
7 | <el-form-item label="行政区" label-width="80px"> | 10 | <el-form-item label="行政区" label-width="80px"> |
... | @@ -77,7 +80,7 @@ | ... | @@ -77,7 +80,7 @@ |
77 | </lb-table> | 80 | </lb-table> |
78 | </div> | 81 | </div> |
79 | <!-- 编辑 --> | 82 | <!-- 编辑 --> |
80 | <dataDetails ref="editLog" :title="title" :tabsActiveName="'qlfQlCfdj'" /> | 83 | <dataDetails ref="editLog" title="查封登记" :tabsActiveName="'qlfQlCfdj'" /> |
81 | </div> | 84 | </div> |
82 | </template> | 85 | </template> |
83 | <script> | 86 | <script> |
... | @@ -112,7 +115,7 @@ export default { | ... | @@ -112,7 +115,7 @@ export default { |
112 | }].concat(data.columns()).concat([ | 115 | }].concat(data.columns()).concat([ |
113 | { | 116 | { |
114 | label: "操作", | 117 | label: "操作", |
115 | width: 170, | 118 | width: 80, |
116 | render: (h, scope) => { | 119 | render: (h, scope) => { |
117 | return ( | 120 | return ( |
118 | <div> | 121 | <div> | ... | ... |
... | @@ -7,6 +7,7 @@ class data extends filter { | ... | @@ -7,6 +7,7 @@ class data extends filter { |
7 | return [ | 7 | return [ |
8 | { | 8 | { |
9 | label: "行政区", | 9 | label: "行政区", |
10 | width: 80, | ||
10 | render: (h, scope) => { | 11 | render: (h, scope) => { |
11 | return ( | 12 | return ( |
12 | <div> | 13 | <div> |
... | @@ -17,6 +18,7 @@ class data extends filter { | ... | @@ -17,6 +18,7 @@ class data extends filter { |
17 | }, | 18 | }, |
18 | { | 19 | { |
19 | label: "权属状态", | 20 | label: "权属状态", |
21 | width: 80, | ||
20 | render: (h, scope) => { | 22 | render: (h, scope) => { |
21 | return ( | 23 | return ( |
22 | <div> | 24 | <div> |
... | @@ -31,11 +33,13 @@ class data extends filter { | ... | @@ -31,11 +33,13 @@ class data extends filter { |
31 | }, | 33 | }, |
32 | { | 34 | { |
33 | label: "不动产单元号", | 35 | label: "不动产单元号", |
34 | prop: "bdcdyh" | 36 | prop: "bdcdyh", |
37 | width: 150, | ||
35 | }, | 38 | }, |
36 | { | 39 | { |
37 | label: "不动产权证号", | 40 | label: "不动产权证号", |
38 | prop: "bdcdjzmh" | 41 | prop: "bdcdjzmh", |
42 | width: 150, | ||
39 | }, | 43 | }, |
40 | { | 44 | { |
41 | label: "抵押类型", | 45 | label: "抵押类型", |
... | @@ -63,7 +67,8 @@ class data extends filter { | ... | @@ -63,7 +67,8 @@ class data extends filter { |
63 | }, | 67 | }, |
64 | { | 68 | { |
65 | label: "被担保主债权数额", | 69 | label: "被担保主债权数额", |
66 | prop: "bdbzzqse" | 70 | prop: "bdbzzqse", |
71 | width: 135, | ||
67 | }, | 72 | }, |
68 | { | 73 | { |
69 | label: "最高债权额", | 74 | label: "最高债权额", |
... | @@ -71,11 +76,13 @@ class data extends filter { | ... | @@ -71,11 +76,13 @@ class data extends filter { |
71 | }, | 76 | }, |
72 | { | 77 | { |
73 | label: "登记时间", | 78 | label: "登记时间", |
74 | prop: "djsj" | 79 | prop: "djsj", |
80 | width: 140, | ||
75 | }, | 81 | }, |
76 | { | 82 | { |
77 | label: "登记机构", | 83 | label: "登记机构", |
78 | prop: "djjg" | 84 | prop: "djjg", |
85 | width: 140, | ||
79 | } | 86 | } |
80 | ] | 87 | ] |
81 | } | 88 | } | ... | ... |
... | @@ -2,6 +2,9 @@ | ... | @@ -2,6 +2,9 @@ |
2 | <div class="dyaq from-clues"> | 2 | <div class="dyaq from-clues"> |
3 | <div class="from-clues-header"> | 3 | <div class="from-clues-header"> |
4 | <el-form ref="form" :model="form" label-width="120px"> | 4 | <el-form ref="form" :model="form" label-width="120px"> |
5 | <el-form-item> | ||
6 | <Breadcrumb /> | ||
7 | </el-form-item> | ||
5 | <el-row> | 8 | <el-row> |
6 | <el-col :span="5"> | 9 | <el-col :span="5"> |
7 | <el-form-item label="行政区" label-width="80px"> | 10 | <el-form-item label="行政区" label-width="80px"> |
... | @@ -72,7 +75,7 @@ | ... | @@ -72,7 +75,7 @@ |
72 | </lb-table> | 75 | </lb-table> |
73 | </div> | 76 | </div> |
74 | <!-- 编辑 --> | 77 | <!-- 编辑 --> |
75 | <dataDetails ref="editLog" :title="title" :tabsActiveName="'qlfQlDyaq'" /> | 78 | <dataDetails ref="editLog" title="抵押权登记" :tabsActiveName="'qlfQlDyaq'" /> |
76 | </div> | 79 | </div> |
77 | </template> | 80 | </template> |
78 | 81 | ||
... | @@ -110,7 +113,7 @@ export default { | ... | @@ -110,7 +113,7 @@ export default { |
110 | }].concat(data.columns()).concat([ | 113 | }].concat(data.columns()).concat([ |
111 | { | 114 | { |
112 | label: "操作", | 115 | label: "操作", |
113 | width: 170, | 116 | width: 80, |
114 | render: (h, scope) => { | 117 | render: (h, scope) => { |
115 | return ( | 118 | return ( |
116 | <div> | 119 | <div> | ... | ... |
... | @@ -2,6 +2,9 @@ | ... | @@ -2,6 +2,9 @@ |
2 | <div class="from-clues"> | 2 | <div class="from-clues"> |
3 | <div class="from-clues-header"> | 3 | <div class="from-clues-header"> |
4 | <el-form ref="form" :model="form" label-width="150px"> | 4 | <el-form ref="form" :model="form" label-width="150px"> |
5 | <el-form-item> | ||
6 | <Breadcrumb /> | ||
7 | </el-form-item> | ||
5 | <el-row> | 8 | <el-row> |
6 | <el-col :span="5"> | 9 | <el-col :span="5"> |
7 | <el-form-item label="行政区" label-width="80px"> | 10 | <el-form-item label="行政区" label-width="80px"> |
... | @@ -73,7 +76,7 @@ | ... | @@ -73,7 +76,7 @@ |
73 | </lb-table> | 76 | </lb-table> |
74 | </div> | 77 | </div> |
75 | <!-- 编辑 --> | 78 | <!-- 编辑 --> |
76 | <dataDetails ref="editLog" :title="title" :tabsActiveName="'qlfQlDyiq'" /> | 79 | <dataDetails ref="editLog" title="地役权登记" :tabsActiveName="'qlfQlDyiq'" /> |
77 | </div> | 80 | </div> |
78 | </template> | 81 | </template> |
79 | 82 | ... | ... |
... | @@ -7,7 +7,7 @@ class data extends filter { | ... | @@ -7,7 +7,7 @@ class data extends filter { |
7 | return [ | 7 | return [ |
8 | { | 8 | { |
9 | label: "行政区", | 9 | label: "行政区", |
10 | width: 150, | 10 | width: 80, |
11 | render: (h, scope) => { | 11 | render: (h, scope) => { |
12 | return ( | 12 | return ( |
13 | <div> | 13 | <div> |
... | @@ -18,7 +18,7 @@ class data extends filter { | ... | @@ -18,7 +18,7 @@ class data extends filter { |
18 | }, | 18 | }, |
19 | { | 19 | { |
20 | label: "权属状态", | 20 | label: "权属状态", |
21 | width: 100, | 21 | width: 80, |
22 | render: (h, scope) => { | 22 | render: (h, scope) => { |
23 | return ( | 23 | return ( |
24 | <div> | 24 | <div> |
... | @@ -29,8 +29,7 @@ class data extends filter { | ... | @@ -29,8 +29,7 @@ class data extends filter { |
29 | }, | 29 | }, |
30 | { | 30 | { |
31 | label: "业务号", | 31 | label: "业务号", |
32 | prop: "ywh", | 32 | prop: "ywh" |
33 | width: 150 | ||
34 | }, | 33 | }, |
35 | { | 34 | { |
36 | label: "不动产单元号", | 35 | label: "不动产单元号", |
... | @@ -42,7 +41,8 @@ class data extends filter { | ... | @@ -42,7 +41,8 @@ class data extends filter { |
42 | }, | 41 | }, |
43 | { | 42 | { |
44 | label: "权利人", | 43 | label: "权利人", |
45 | prop: "qlrmc" | 44 | prop: "qlrmc", |
45 | width: 150 | ||
46 | }, | 46 | }, |
47 | { | 47 | { |
48 | label: "用途", | 48 | label: "用途", |
... | @@ -50,6 +50,7 @@ class data extends filter { | ... | @@ -50,6 +50,7 @@ class data extends filter { |
50 | }, | 50 | }, |
51 | { | 51 | { |
52 | label: "权利类型", | 52 | label: "权利类型", |
53 | width: 150, | ||
53 | render: (h, scope) => { | 54 | render: (h, scope) => { |
54 | return ( | 55 | return ( |
55 | <div> | 56 | <div> | ... | ... |
... | @@ -2,6 +2,9 @@ | ... | @@ -2,6 +2,9 @@ |
2 | <div class="fdcqdz from-clues"> | 2 | <div class="fdcqdz from-clues"> |
3 | <div class="from-clues-header"> | 3 | <div class="from-clues-header"> |
4 | <el-form ref="form" :model="form" label-width="120px"> | 4 | <el-form ref="form" :model="form" label-width="120px"> |
5 | <el-form-item> | ||
6 | <Breadcrumb /> | ||
7 | </el-form-item> | ||
5 | <el-row> | 8 | <el-row> |
6 | <el-col :span="6"> | 9 | <el-col :span="6"> |
7 | <el-form-item label="行政区"> | 10 | <el-form-item label="行政区"> |
... | @@ -34,7 +37,7 @@ | ... | @@ -34,7 +37,7 @@ |
34 | <el-col :span="6"> | 37 | <el-col :span="6"> |
35 | <el-form-item label="登记类型"> | 38 | <el-form-item label="登记类型"> |
36 | <el-select v-model="form.DJLX" clearable class="width100" ref="selectlandDJ" | 39 | <el-select v-model="form.DJLX" clearable class="width100" ref="selectlandDJ" |
37 | @visible-change="isShowSelectOptions" placeholder="请选择登记类型"> | 40 | @visible-change="isShowSelectOptions" placeholder="登记类型"> |
38 | <el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | 41 | <el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> |
39 | </el-option> | 42 | </el-option> |
40 | </el-select> | 43 | </el-select> |
... | @@ -63,7 +66,7 @@ | ... | @@ -63,7 +66,7 @@ |
63 | :data="tableData.data"> | 66 | :data="tableData.data"> |
64 | </lb-table> | 67 | </lb-table> |
65 | </div> | 68 | </div> |
66 | <dataDetails ref="editLog" :title="title" :tabsActiveName="'qltFwFdcqDz'"/> | 69 | <dataDetails ref="editLog" :title="title" :tabsActiveName="'qltFwFdcqDz'" /> |
67 | </div> | 70 | </div> |
68 | </template> | 71 | </template> |
69 | 72 | ||
... | @@ -101,7 +104,7 @@ export default { | ... | @@ -101,7 +104,7 @@ export default { |
101 | }].concat(data.columns()).concat([ | 104 | }].concat(data.columns()).concat([ |
102 | { | 105 | { |
103 | label: "操作", | 106 | label: "操作", |
104 | width: 170, | 107 | width: 90, |
105 | render: (h, scope) => { | 108 | render: (h, scope) => { |
106 | return ( | 109 | return ( |
107 | <div> | 110 | <div> | ... | ... |
File moved
... | @@ -2,6 +2,9 @@ | ... | @@ -2,6 +2,9 @@ |
2 | <div class="fdcqqfsyq from-clues"> | 2 | <div class="fdcqqfsyq from-clues"> |
3 | <div class="from-clues-header"> | 3 | <div class="from-clues-header"> |
4 | <el-form ref="form" :model="form" label-width="80px"> | 4 | <el-form ref="form" :model="form" label-width="80px"> |
5 | <el-form-item> | ||
6 | <Breadcrumb /> | ||
7 | </el-form-item> | ||
5 | <el-row> | 8 | <el-row> |
6 | <el-col :span="5"> | 9 | <el-col :span="5"> |
7 | <el-form-item label="业务号"> | 10 | <el-form-item label="业务号"> |
... | @@ -11,7 +14,7 @@ | ... | @@ -11,7 +14,7 @@ |
11 | <el-col :span="5"> | 14 | <el-col :span="5"> |
12 | <el-form-item label="权利类型"> | 15 | <el-form-item label="权利类型"> |
13 | <el-select v-model="form.QLLX" ref="selectshareQL" @visible-change="isShowSelectOptions" clearable | 16 | <el-select v-model="form.QLLX" ref="selectshareQL" @visible-change="isShowSelectOptions" clearable |
14 | placeholder="请选择权利类型"> | 17 | placeholder="权利类型"> |
15 | <el-option v-for="item in dicData['A8']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | 18 | <el-option v-for="item in dicData['A8']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> |
16 | </el-option> | 19 | </el-option> |
17 | </el-select> | 20 | </el-select> |
... | @@ -69,7 +72,7 @@ export default { | ... | @@ -69,7 +72,7 @@ export default { |
69 | }].concat(data.columns()).concat([ | 72 | }].concat(data.columns()).concat([ |
70 | { | 73 | { |
71 | label: "操作", | 74 | label: "操作", |
72 | width: 170, | 75 | width: 80, |
73 | render: (h, scope) => { | 76 | render: (h, scope) => { |
74 | return ( | 77 | return ( |
75 | <div> | 78 | <div> | ... | ... |
... | @@ -7,7 +7,7 @@ class data extends filter { | ... | @@ -7,7 +7,7 @@ class data extends filter { |
7 | return [ | 7 | return [ |
8 | { | 8 | { |
9 | label: "行政区", | 9 | label: "行政区", |
10 | width: 150, | 10 | width: 80, |
11 | render: (h, scope) => { | 11 | render: (h, scope) => { |
12 | return ( | 12 | return ( |
13 | <div> | 13 | <div> |
... | @@ -18,7 +18,7 @@ class data extends filter { | ... | @@ -18,7 +18,7 @@ class data extends filter { |
18 | }, | 18 | }, |
19 | { | 19 | { |
20 | label: "权属状态", | 20 | label: "权属状态", |
21 | width: 100, | 21 | width: 80, |
22 | render: (h, scope) => { | 22 | render: (h, scope) => { |
23 | return ( | 23 | return ( |
24 | <div> | 24 | <div> |
... | @@ -30,19 +30,21 @@ class data extends filter { | ... | @@ -30,19 +30,21 @@ class data extends filter { |
30 | { | 30 | { |
31 | label: "业务号", | 31 | label: "业务号", |
32 | prop: "ywh", | 32 | prop: "ywh", |
33 | width: 150 | ||
34 | }, | 33 | }, |
35 | { | 34 | { |
36 | label: "不动产单元号", | 35 | label: "不动产单元号", |
37 | prop: "bdcdyh" | 36 | prop: "bdcdyh", |
37 | width: 150 | ||
38 | }, | 38 | }, |
39 | { | 39 | { |
40 | label: "不动产权证号", | 40 | label: "不动产权证号", |
41 | prop: "bdcqzh" | 41 | prop: "bdcqzh", |
42 | width: 150 | ||
42 | }, | 43 | }, |
43 | { | 44 | { |
44 | label: "权利人", | 45 | label: "权利人", |
45 | prop: "qlrmc" | 46 | prop: "qlrmc", |
47 | width: 150 | ||
46 | }, | 48 | }, |
47 | { | 49 | { |
48 | label: "用途", | 50 | label: "用途", | ... | ... |
... | @@ -2,6 +2,9 @@ | ... | @@ -2,6 +2,9 @@ |
2 | <div class="fdcqyz from-clues"> | 2 | <div class="fdcqyz from-clues"> |
3 | <div class="from-clues-header"> | 3 | <div class="from-clues-header"> |
4 | <el-form ref="form" :model="form" label-width="120px"> | 4 | <el-form ref="form" :model="form" label-width="120px"> |
5 | <el-form-item> | ||
6 | <Breadcrumb /> | ||
7 | </el-form-item> | ||
5 | <el-row> | 8 | <el-row> |
6 | <el-col :span="6"> | 9 | <el-col :span="6"> |
7 | <el-form-item label="行政区"> | 10 | <el-form-item label="行政区"> |
... | @@ -34,7 +37,7 @@ | ... | @@ -34,7 +37,7 @@ |
34 | <el-col :span="6"> | 37 | <el-col :span="6"> |
35 | <el-form-item label="登记类型"> | 38 | <el-form-item label="登记类型"> |
36 | <el-select v-model="form.DJLX" clearable class="width100" ref="selectlandDJ" | 39 | <el-select v-model="form.DJLX" clearable class="width100" ref="selectlandDJ" |
37 | @visible-change="isShowSelectOptions" placeholder="请选择登记类型"> | 40 | @visible-change="isShowSelectOptions" placeholder="登记类型"> |
38 | <el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | 41 | <el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> |
39 | </el-option> | 42 | </el-option> |
40 | </el-select> | 43 | </el-select> |
... | @@ -63,7 +66,7 @@ | ... | @@ -63,7 +66,7 @@ |
63 | :data="tableData.data"> | 66 | :data="tableData.data"> |
64 | </lb-table> | 67 | </lb-table> |
65 | </div> | 68 | </div> |
66 | <dataDetails ref="editLog" :title="title" :tabsActiveName="'qltFwFdcqYz'"/> | 69 | <dataDetails ref="editLog" :title="title" :tabsActiveName="'qltFwFdcqYz'" /> |
67 | </div> | 70 | </div> |
68 | </template> | 71 | </template> |
69 | 72 | ||
... | @@ -101,7 +104,7 @@ export default { | ... | @@ -101,7 +104,7 @@ export default { |
101 | }].concat(data.columns()).concat([ | 104 | }].concat(data.columns()).concat([ |
102 | { | 105 | { |
103 | label: "操作", | 106 | label: "操作", |
104 | width: 170, | 107 | width: 80, |
105 | render: (h, scope) => { | 108 | render: (h, scope) => { |
106 | return ( | 109 | return ( |
107 | <div> | 110 | <div> | ... | ... |
... | @@ -2,6 +2,9 @@ | ... | @@ -2,6 +2,9 @@ |
2 | <div class="gzwsyq from-clues"> | 2 | <div class="gzwsyq from-clues"> |
3 | <div class="from-clues-header"> | 3 | <div class="from-clues-header"> |
4 | <el-form ref="form" :model="form" label-width="105px"> | 4 | <el-form ref="form" :model="form" label-width="105px"> |
5 | <el-form-item> | ||
6 | <Breadcrumb /> | ||
7 | </el-form-item> | ||
5 | <el-row> | 8 | <el-row> |
6 | <el-col :span="6"> | 9 | <el-col :span="6"> |
7 | <el-form-item label="行政区"> | 10 | <el-form-item label="行政区"> |
... | @@ -21,17 +24,17 @@ | ... | @@ -21,17 +24,17 @@ |
21 | </el-col> | 24 | </el-col> |
22 | <el-col :span="6"> | 25 | <el-col :span="6"> |
23 | <el-form-item label="坐落"> | 26 | <el-form-item label="坐落"> |
24 | <el-input v-model="form.ZL" placeholder="请输入坐落"></el-input> | 27 | <el-input v-model="form.ZL" placeholder="坐落"></el-input> |
25 | </el-form-item> | 28 | </el-form-item> |
26 | </el-col> | 29 | </el-col> |
27 | <el-col :span="6"> | 30 | <el-col :span="6"> |
28 | <el-form-item label="不动产权证号" label-width="105px"> | 31 | <el-form-item label="不动产权证号" label-width="105px"> |
29 | <el-input v-model="form.BDCQZH" placeholder="请输入不动产权证号"></el-input> | 32 | <el-input v-model="form.BDCQZH" placeholder="不动产权证号"></el-input> |
30 | </el-form-item> | 33 | </el-form-item> |
31 | </el-col> | 34 | </el-col> |
32 | <el-col :span="6" class="mt-10"> | 35 | <el-col :span="6" class="mt-10"> |
33 | <el-form-item label="权利人"> | 36 | <el-form-item label="权利人"> |
34 | <el-input v-model="form.QLR" placeholder="请输入权利人"></el-input> | 37 | <el-input v-model="form.QLR" placeholder="权利人"></el-input> |
35 | </el-form-item> | 38 | </el-form-item> |
36 | </el-col> | 39 | </el-col> |
37 | <el-col :span="6" class="mt-10"> | 40 | <el-col :span="6" class="mt-10"> |
... | @@ -44,7 +47,7 @@ | ... | @@ -44,7 +47,7 @@ |
44 | </el-col> | 47 | </el-col> |
45 | <el-col :span="6" class="mt-10"> | 48 | <el-col :span="6" class="mt-10"> |
46 | <el-form-item label="建筑名称"> | 49 | <el-form-item label="建筑名称"> |
47 | <el-input v-model="form.JZWMC" placeholder="请输入建筑名称"></el-input> | 50 | <el-input v-model="form.JZWMC" placeholder="建筑名称"></el-input> |
48 | </el-form-item> | 51 | </el-form-item> |
49 | </el-col> | 52 | </el-col> |
50 | <el-col :span="6" class="btnColRight mt-10"> | 53 | <el-col :span="6" class="btnColRight mt-10"> | ... | ... |
... | @@ -2,6 +2,9 @@ | ... | @@ -2,6 +2,9 @@ |
2 | <div class="hysyq from-clues"> | 2 | <div class="hysyq from-clues"> |
3 | <div class="from-clues-header"> | 3 | <div class="from-clues-header"> |
4 | <el-form ref="form" :model="form" label-width="105px"> | 4 | <el-form ref="form" :model="form" label-width="105px"> |
5 | <el-form-item> | ||
6 | <Breadcrumb /> | ||
7 | </el-form-item> | ||
5 | <el-row> | 8 | <el-row> |
6 | <el-col :span="6"> | 9 | <el-col :span="6"> |
7 | <el-form-item label="行政区"> | 10 | <el-form-item label="行政区"> |
... | @@ -21,17 +24,17 @@ | ... | @@ -21,17 +24,17 @@ |
21 | </el-col> | 24 | </el-col> |
22 | <el-col :span="6"> | 25 | <el-col :span="6"> |
23 | <el-form-item label="坐落"> | 26 | <el-form-item label="坐落"> |
24 | <el-input v-model="form.ZL" placeholder="请输入坐落"></el-input> | 27 | <el-input v-model="form.ZL" placeholder="坐落"></el-input> |
25 | </el-form-item> | 28 | </el-form-item> |
26 | </el-col> | 29 | </el-col> |
27 | <el-col :span="6"> | 30 | <el-col :span="6"> |
28 | <el-form-item label="不动产权证号" label-width="105px"> | 31 | <el-form-item label="不动产权证号" label-width="105px"> |
29 | <el-input v-model="form.BDCQZH" placeholder="请输入不动产权证号"></el-input> | 32 | <el-input v-model="form.BDCQZH" placeholder="不动产权证号"></el-input> |
30 | </el-form-item> | 33 | </el-form-item> |
31 | </el-col> | 34 | </el-col> |
32 | <el-col :span="6" class="mt-10"> | 35 | <el-col :span="6" class="mt-10"> |
33 | <el-form-item label="权利人"> | 36 | <el-form-item label="权利人"> |
34 | <el-input v-model="form.QLR" placeholder="请输入权利人"></el-input> | 37 | <el-input v-model="form.QLR" placeholder="权利人"></el-input> |
35 | </el-form-item> | 38 | </el-form-item> |
36 | </el-col> | 39 | </el-col> |
37 | <el-col :span="6" class="mt-10"> | 40 | <el-col :span="6" class="mt-10"> |
... | @@ -44,7 +47,7 @@ | ... | @@ -44,7 +47,7 @@ |
44 | </el-col> | 47 | </el-col> |
45 | <el-col :span="6" class="mt-10"> | 48 | <el-col :span="6" class="mt-10"> |
46 | <el-form-item label="海岛名称"> | 49 | <el-form-item label="海岛名称"> |
47 | <el-input v-model="form.HDMC" placeholder="请输入海岛名称"></el-input> | 50 | <el-input v-model="form.HDMC" placeholder="海岛名称"></el-input> |
48 | </el-form-item> | 51 | </el-form-item> |
49 | </el-col> | 52 | </el-col> |
50 | <el-col :span="6" class="btnColRight mt-10"> | 53 | <el-col :span="6" class="btnColRight mt-10"> | ... | ... |
... | @@ -29,7 +29,7 @@ class data extends filter { | ... | @@ -29,7 +29,7 @@ class data extends filter { |
29 | }, | 29 | }, |
30 | { | 30 | { |
31 | label: "权利类型", | 31 | label: "权利类型", |
32 | width: 200, | 32 | width: 80, |
33 | render: (h, scope) => { | 33 | render: (h, scope) => { |
34 | return ( | 34 | return ( |
35 | <div> | 35 | <div> |
... | @@ -40,7 +40,7 @@ class data extends filter { | ... | @@ -40,7 +40,7 @@ class data extends filter { |
40 | }, | 40 | }, |
41 | { | 41 | { |
42 | label: "登记类型", | 42 | label: "登记类型", |
43 | width: 100, | 43 | width: 80, |
44 | render: (h, scope) => { | 44 | render: (h, scope) => { |
45 | return ( | 45 | return ( |
46 | <div> | 46 | <div> |
... | @@ -52,16 +52,17 @@ class data extends filter { | ... | @@ -52,16 +52,17 @@ class data extends filter { |
52 | { | 52 | { |
53 | label: "业务号", | 53 | label: "业务号", |
54 | prop: "YWH", | 54 | prop: "YWH", |
55 | width: 150 | 55 | width: 95 |
56 | }, | 56 | }, |
57 | { | 57 | { |
58 | label: "不动产单元号", | 58 | label: "不动产单元号", |
59 | prop: "BDCDYH", | 59 | prop: "BDCDYH", |
60 | width: 240, | 60 | width: 150, |
61 | }, | 61 | }, |
62 | { | 62 | { |
63 | label: "不动产权证号", | 63 | label: "不动产权证号", |
64 | prop: "BDCQZH" | 64 | prop: "BDCQZH", |
65 | width: 150, | ||
65 | }, | 66 | }, |
66 | { | 67 | { |
67 | label: "权利人", | 68 | label: "权利人", |
... | @@ -73,7 +74,8 @@ class data extends filter { | ... | @@ -73,7 +74,8 @@ class data extends filter { |
73 | }, | 74 | }, |
74 | { | 75 | { |
75 | label: "使用权面积", | 76 | label: "使用权面积", |
76 | prop: "SYQMJ" | 77 | prop: "SYQMJ", |
78 | width: 90, | ||
77 | }, | 79 | }, |
78 | { | 80 | { |
79 | label: "坐落", | 81 | label: "坐落", | ... | ... |
... | @@ -2,6 +2,9 @@ | ... | @@ -2,6 +2,9 @@ |
2 | <div class="jsydzjdsyq from-clues"> | 2 | <div class="jsydzjdsyq from-clues"> |
3 | <div class="from-clues-header"> | 3 | <div class="from-clues-header"> |
4 | <el-form ref="form" :model="form" label-width="120px"> | 4 | <el-form ref="form" :model="form" label-width="120px"> |
5 | <el-form-item> | ||
6 | <Breadcrumb /> | ||
7 | </el-form-item> | ||
5 | <el-row> | 8 | <el-row> |
6 | <el-col :span="6"> | 9 | <el-col :span="6"> |
7 | <el-form-item label="行政区"> | 10 | <el-form-item label="行政区"> |
... | @@ -34,7 +37,7 @@ | ... | @@ -34,7 +37,7 @@ |
34 | <el-col :span="6"> | 37 | <el-col :span="6"> |
35 | <el-form-item label="登记类型"> | 38 | <el-form-item label="登记类型"> |
36 | <el-select v-model="form.DJLX" clearable class="width100" ref="selectlandDJ" | 39 | <el-select v-model="form.DJLX" clearable class="width100" ref="selectlandDJ" |
37 | @visible-change="isShowSelectOptions" placeholder="请选择登记类型"> | 40 | @visible-change="isShowSelectOptions" placeholder="登记类型"> |
38 | <el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | 41 | <el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> |
39 | </el-option> | 42 | </el-option> |
40 | </el-select> | 43 | </el-select> |
... | @@ -58,7 +61,7 @@ | ... | @@ -58,7 +61,7 @@ |
58 | :data="tableData.data"> | 61 | :data="tableData.data"> |
59 | </lb-table> | 62 | </lb-table> |
60 | </div> | 63 | </div> |
61 | <dataDetails ref="editLog" :title="title" :tabsActiveName="'qlfQlJsydsyq'"/> | 64 | <dataDetails ref="editLog" :title="title" :tabsActiveName="'qlfQlJsydsyq'" /> |
62 | </div> | 65 | </div> |
63 | </template> | 66 | </template> |
64 | 67 | ||
... | @@ -95,7 +98,7 @@ export default { | ... | @@ -95,7 +98,7 @@ export default { |
95 | }].concat(data.columns()).concat([ | 98 | }].concat(data.columns()).concat([ |
96 | { | 99 | { |
97 | label: "操作", | 100 | label: "操作", |
98 | width: 170, | 101 | width: 80, |
99 | render: (h, scope) => { | 102 | render: (h, scope) => { |
100 | return ( | 103 | return ( |
101 | <div> | 104 | <div> | ... | ... |
... | @@ -2,6 +2,9 @@ | ... | @@ -2,6 +2,9 @@ |
2 | <div class="lq from-clues"> | 2 | <div class="lq from-clues"> |
3 | <div class="from-clues-header"> | 3 | <div class="from-clues-header"> |
4 | <el-form ref="form" :model="form" label-width="105px"> | 4 | <el-form ref="form" :model="form" label-width="105px"> |
5 | <el-form-item> | ||
6 | <Breadcrumb /> | ||
7 | </el-form-item> | ||
5 | <el-row> | 8 | <el-row> |
6 | <el-col :span="6"> | 9 | <el-col :span="6"> |
7 | <el-form-item label="行政区"> | 10 | <el-form-item label="行政区"> | ... | ... |
... | @@ -36,11 +36,13 @@ class data extends filter { | ... | @@ -36,11 +36,13 @@ class data extends filter { |
36 | }, | 36 | }, |
37 | { | 37 | { |
38 | label: "不动产单元号", | 38 | label: "不动产单元号", |
39 | prop: "BDCDYH" | 39 | prop: "BDCDYH", |
40 | width: 150, | ||
40 | }, | 41 | }, |
41 | { | 42 | { |
42 | label: "不动产权证号", | 43 | label: "不动产权证号", |
43 | prop: "BDCQZH" | 44 | prop: "BDCQZH", |
45 | width: 150, | ||
44 | }, | 46 | }, |
45 | { | 47 | { |
46 | label: "地籍号", | 48 | label: "地籍号", | ... | ... |
... | @@ -2,6 +2,9 @@ | ... | @@ -2,6 +2,9 @@ |
2 | <div class="from-clues"> | 2 | <div class="from-clues"> |
3 | <div class="from-clues-header"> | 3 | <div class="from-clues-header"> |
4 | <el-form ref="form" :model="form" label-width="105px"> | 4 | <el-form ref="form" :model="form" label-width="105px"> |
5 | <el-form-item> | ||
6 | <Breadcrumb /> | ||
7 | </el-form-item> | ||
5 | <el-row> | 8 | <el-row> |
6 | <el-col :span="6"> | 9 | <el-col :span="6"> |
7 | <el-form-item label="行政区"> | 10 | <el-form-item label="行政区"> |
... | @@ -21,17 +24,17 @@ | ... | @@ -21,17 +24,17 @@ |
21 | </el-col> | 24 | </el-col> |
22 | <el-col :span="6"> | 25 | <el-col :span="6"> |
23 | <el-form-item label="坐落"> | 26 | <el-form-item label="坐落"> |
24 | <el-input v-model="form.ZL" placeholder="请输入坐落"></el-input> | 27 | <el-input v-model="form.ZL" placeholder="坐落"></el-input> |
25 | </el-form-item> | 28 | </el-form-item> |
26 | </el-col> | 29 | </el-col> |
27 | <el-col :span="6"> | 30 | <el-col :span="6"> |
28 | <el-form-item label="不动产权证号" label-width="105px"> | 31 | <el-form-item label="不动产权证号" label-width="105px"> |
29 | <el-input v-model="form.BDCQZH" placeholder="请输入不动产权证号"></el-input> | 32 | <el-input v-model="form.BDCQZH" placeholder="不动产权证号"></el-input> |
30 | </el-form-item> | 33 | </el-form-item> |
31 | </el-col> | 34 | </el-col> |
32 | <el-col :span="6" class="mt-10"> | 35 | <el-col :span="6" class="mt-10"> |
33 | <el-form-item label="权利人"> | 36 | <el-form-item label="权利人"> |
34 | <el-input v-model="form.QLR" placeholder="请输入权利人"></el-input> | 37 | <el-input v-model="form.QLR" placeholder="权利人"></el-input> |
35 | </el-form-item> | 38 | </el-form-item> |
36 | </el-col> | 39 | </el-col> |
37 | <el-col :span="6" class="mt-10"> | 40 | <el-col :span="6" class="mt-10"> |
... | @@ -44,7 +47,7 @@ | ... | @@ -44,7 +47,7 @@ |
44 | </el-col> | 47 | </el-col> |
45 | <el-col :span="6" class="mt-10"> | 48 | <el-col :span="6" class="mt-10"> |
46 | <el-form-item label="地籍号"> | 49 | <el-form-item label="地籍号"> |
47 | <el-input v-model="form.xxx" placeholder="请输入地籍号"></el-input> | 50 | <el-input v-model="form.xxx" placeholder="地籍号"></el-input> |
48 | </el-form-item> | 51 | </el-form-item> |
49 | </el-col> | 52 | </el-col> |
50 | <el-col :span="6" class="btnColRight mt-10"> | 53 | <el-col :span="6" class="btnColRight mt-10"> | ... | ... |
... | @@ -7,7 +7,7 @@ class data extends filter { | ... | @@ -7,7 +7,7 @@ class data extends filter { |
7 | return [ | 7 | return [ |
8 | { | 8 | { |
9 | label: "行政区", | 9 | label: "行政区", |
10 | width: 150, | 10 | width: 80, |
11 | render: (h, scope) => { | 11 | render: (h, scope) => { |
12 | return ( | 12 | return ( |
13 | <div> | 13 | <div> |
... | @@ -18,7 +18,7 @@ class data extends filter { | ... | @@ -18,7 +18,7 @@ class data extends filter { |
18 | }, | 18 | }, |
19 | { | 19 | { |
20 | label: "权属状态", | 20 | label: "权属状态", |
21 | width: 100, | 21 | width: 80, |
22 | render: (h, scope) => { | 22 | render: (h, scope) => { |
23 | return ( | 23 | return ( |
24 | <div> | 24 | <div> |
... | @@ -30,7 +30,7 @@ class data extends filter { | ... | @@ -30,7 +30,7 @@ class data extends filter { |
30 | { | 30 | { |
31 | label: "业务号", | 31 | label: "业务号", |
32 | prop: "ywh", | 32 | prop: "ywh", |
33 | width: 150 | 33 | width: 80, |
34 | }, | 34 | }, |
35 | { | 35 | { |
36 | label: "不动产单元号", | 36 | label: "不动产单元号", |
... | @@ -46,11 +46,13 @@ class data extends filter { | ... | @@ -46,11 +46,13 @@ class data extends filter { |
46 | }, | 46 | }, |
47 | { | 47 | { |
48 | label: "用途", | 48 | label: "用途", |
49 | prop: "yt" | 49 | prop: "yt", |
50 | width: 80, | ||
50 | }, | 51 | }, |
51 | { | 52 | { |
52 | label: "土地面积", | 53 | label: "土地面积", |
53 | prop: "nydmj" | 54 | prop: "nydmj", |
55 | width: 80, | ||
54 | }, | 56 | }, |
55 | { | 57 | { |
56 | label: "坐落", | 58 | label: "坐落", |
... | @@ -58,6 +60,7 @@ class data extends filter { | ... | @@ -58,6 +60,7 @@ class data extends filter { |
58 | }, | 60 | }, |
59 | { | 61 | { |
60 | label: "登记类型", | 62 | label: "登记类型", |
63 | width: 80, | ||
61 | render: (h, scope) => { | 64 | render: (h, scope) => { |
62 | return ( | 65 | return ( |
63 | <div> | 66 | <div> | ... | ... |
... | @@ -2,6 +2,9 @@ | ... | @@ -2,6 +2,9 @@ |
2 | <div class="tdsyq from-clues"> | 2 | <div class="tdsyq from-clues"> |
3 | <div class="from-clues-header"> | 3 | <div class="from-clues-header"> |
4 | <el-form ref="form" :model="form" label-width="120px"> | 4 | <el-form ref="form" :model="form" label-width="120px"> |
5 | <el-form-item> | ||
6 | <Breadcrumb /> | ||
7 | </el-form-item> | ||
5 | <el-row> | 8 | <el-row> |
6 | <el-col :span="6"> | 9 | <el-col :span="6"> |
7 | <el-form-item label="行政区"> | 10 | <el-form-item label="行政区"> |
... | @@ -33,8 +36,7 @@ | ... | @@ -33,8 +36,7 @@ |
33 | <el-row class="mt-10"> | 36 | <el-row class="mt-10"> |
34 | <el-col :span="6"> | 37 | <el-col :span="6"> |
35 | <el-form-item label="登记类型"> | 38 | <el-form-item label="登记类型"> |
36 | <el-select v-model="form.DJLX" clearable class="width100" ref="selectlandDJ" | 39 | <el-select v-model="form.DJLX" clearable class="width100" ref="selectlandDJ" placeholder="请选择登记类型"> |
37 | @visible-change="isShowSelectOptions" placeholder="请选择登记类型"> | ||
38 | <el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | 40 | <el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> |
39 | </el-option> | 41 | </el-option> |
40 | </el-select> | 42 | </el-select> |
... | @@ -94,7 +96,7 @@ export default { | ... | @@ -94,7 +96,7 @@ export default { |
94 | }].concat(data.columns()).concat([ | 96 | }].concat(data.columns()).concat([ |
95 | { | 97 | { |
96 | label: "操作", | 98 | label: "操作", |
97 | width: 170, | 99 | width: 80, |
98 | render: (h, scope) => { | 100 | render: (h, scope) => { |
99 | return ( | 101 | return ( |
100 | <div> | 102 | <div> |
... | @@ -123,11 +125,6 @@ export default { | ... | @@ -123,11 +125,6 @@ export default { |
123 | } | 125 | } |
124 | }, | 126 | }, |
125 | methods: { | 127 | methods: { |
126 | // 是否显示下拉框 | ||
127 | isShowSelectOptions (e) { | ||
128 | if (!e) this.$refs.selectlandQL.blur() | ||
129 | if (!e) this.$refs.selectlandDJ.blur() | ||
130 | }, | ||
131 | async featchData () { | 128 | async featchData () { |
132 | try { | 129 | try { |
133 | this.form = Object.assign(this.form, this.formData) | 130 | this.form = Object.assign(this.form, this.formData) | ... | ... |
... | @@ -2,6 +2,9 @@ | ... | @@ -2,6 +2,9 @@ |
2 | <div class="from-clues"> | 2 | <div class="from-clues"> |
3 | <div class="from-clues-header"> | 3 | <div class="from-clues-header"> |
4 | <el-form ref="form" :model="form" label-width="110px"> | 4 | <el-form ref="form" :model="form" label-width="110px"> |
5 | <el-form-item> | ||
6 | <Breadcrumb /> | ||
7 | </el-form-item> | ||
5 | <el-row> | 8 | <el-row> |
6 | <el-col :span="6"> | 9 | <el-col :span="6"> |
7 | <el-form-item label="行政区" label-width="106px"> | 10 | <el-form-item label="行政区" label-width="106px"> |
... | @@ -34,7 +37,7 @@ | ... | @@ -34,7 +37,7 @@ |
34 | <el-col :span="6"> | 37 | <el-col :span="6"> |
35 | <el-form-item label="预告登记种类" label-width="106px"> | 38 | <el-form-item label="预告登记种类" label-width="106px"> |
36 | <el-select v-model="form.YGDJZL" clearable ref="selectnoticeRegQL" class="width100" | 39 | <el-select v-model="form.YGDJZL" clearable ref="selectnoticeRegQL" class="width100" |
37 | @visible-change="isShowSelectOptions" placeholder="请选择预告登记种类"> | 40 | @visible-change="isShowSelectOptions" placeholder="预告登记种类"> |
38 | <el-option v-for="item in dicData['A29']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | 41 | <el-option v-for="item in dicData['A29']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> |
39 | </el-option> | 42 | </el-option> |
40 | </el-select> | 43 | </el-select> |
... | @@ -42,7 +45,7 @@ | ... | @@ -42,7 +45,7 @@ |
42 | </el-col> | 45 | </el-col> |
43 | <el-col :span="6"> | 46 | <el-col :span="6"> |
44 | <el-form-item label="登记类型"> | 47 | <el-form-item label="登记类型"> |
45 | <el-select v-model="form.DJLX" clearable class="width100" placeholder="请选择登记类型"> | 48 | <el-select v-model="form.DJLX" clearable class="width100" placeholder="登记类型"> |
46 | <el-option v-for="item in dicData['A21']" :key="item.value" :label="item.label" :value="item.value"> | 49 | <el-option v-for="item in dicData['A21']" :key="item.value" :label="item.label" :value="item.value"> |
47 | </el-option> | 50 | </el-option> |
48 | </el-select> | 51 | </el-select> |
... | @@ -67,7 +70,7 @@ | ... | @@ -67,7 +70,7 @@ |
67 | </lb-table> | 70 | </lb-table> |
68 | </div> | 71 | </div> |
69 | <!-- 编辑 --> | 72 | <!-- 编辑 --> |
70 | <dataDetails ref="editLog" :title="title" :tabsActiveName="'qlfQlYgdj'" /> | 73 | <dataDetails ref="editLog" title="预告登记" :tabsActiveName="'qlfQlYgdj'" /> |
71 | </div> | 74 | </div> |
72 | </template> | 75 | </template> |
73 | 76 | ... | ... |
... | @@ -2,6 +2,9 @@ | ... | @@ -2,6 +2,9 @@ |
2 | <div class="from-clues"> | 2 | <div class="from-clues"> |
3 | <div class="from-clues-header"> | 3 | <div class="from-clues-header"> |
4 | <el-form ref="form" :model="form" label-width="105px"> | 4 | <el-form ref="form" :model="form" label-width="105px"> |
5 | <el-form-item> | ||
6 | <Breadcrumb /> | ||
7 | </el-form-item> | ||
5 | <el-row> | 8 | <el-row> |
6 | <el-col :span="5"> | 9 | <el-col :span="5"> |
7 | <el-form-item label="行政区" label-width="80px"> | 10 | <el-form-item label="行政区" label-width="80px"> |
... | @@ -57,7 +60,7 @@ | ... | @@ -57,7 +60,7 @@ |
57 | </lb-table> | 60 | </lb-table> |
58 | </div> | 61 | </div> |
59 | <!-- 编辑 --> | 62 | <!-- 编辑 --> |
60 | <dataDetails ref="editLog" :title="title" :tabsActiveName="'qlfQlYydj'" /> | 63 | <dataDetails ref="editLog" title="异议登记" :tabsActiveName="'qlfQlYydj'" /> |
61 | </div> | 64 | </div> |
62 | </template> | 65 | </template> |
63 | 66 | ||
... | @@ -93,7 +96,7 @@ export default { | ... | @@ -93,7 +96,7 @@ export default { |
93 | }].concat(data.columns()).concat([ | 96 | }].concat(data.columns()).concat([ |
94 | { | 97 | { |
95 | label: "操作", | 98 | label: "操作", |
96 | width: 170, | 99 | width: 80, |
97 | render: (h, scope) => { | 100 | render: (h, scope) => { |
98 | return ( | 101 | return ( |
99 | <div> | 102 | <div> | ... | ... |
... | @@ -2,6 +2,9 @@ | ... | @@ -2,6 +2,9 @@ |
2 | <div class="cancellationReg from-clues"> | 2 | <div class="cancellationReg from-clues"> |
3 | <div class="from-clues-header"> | 3 | <div class="from-clues-header"> |
4 | <el-form ref="form" :model="form" label-width="105px"> | 4 | <el-form ref="form" :model="form" label-width="105px"> |
5 | <el-form-item> | ||
6 | <Breadcrumb /> | ||
7 | </el-form-item> | ||
5 | <el-row> | 8 | <el-row> |
6 | <el-col :span="6"> | 9 | <el-col :span="6"> |
7 | <el-form-item label="行政区"> | 10 | <el-form-item label="行政区"> |
... | @@ -21,17 +24,17 @@ | ... | @@ -21,17 +24,17 @@ |
21 | </el-col> --> | 24 | </el-col> --> |
22 | <!-- <el-col :span="6"> | 25 | <!-- <el-col :span="6"> |
23 | <el-form-item label="坐落"> | 26 | <el-form-item label="坐落"> |
24 | <el-input v-model="form.ZL" placeholder="请输入坐落"></el-input> | 27 | <el-input v-model="form.ZL" placeholder="坐落"></el-input> |
25 | </el-form-item> | 28 | </el-form-item> |
26 | </el-col> --> | 29 | </el-col> --> |
27 | <el-col :span="6"> | 30 | <el-col :span="6"> |
28 | <el-form-item label="不动产权证号" label-width="105px"> | 31 | <el-form-item label="不动产权证号" label-width="105px"> |
29 | <el-input v-model="form.BDCQZH" placeholder="请输入不动产权证号"></el-input> | 32 | <el-input v-model="form.BDCQZH" placeholder="不动产权证号"></el-input> |
30 | </el-form-item> | 33 | </el-form-item> |
31 | </el-col> | 34 | </el-col> |
32 | <el-col :span="6" class="mt-10"> | 35 | <el-col :span="6" class="mt-10"> |
33 | <el-form-item label="权利人"> | 36 | <el-form-item label="权利人"> |
34 | <el-input v-model="form.QLR" placeholder="请输入权利人"></el-input> | 37 | <el-input v-model="form.QLR" placeholder="权利人"></el-input> |
35 | </el-form-item> | 38 | </el-form-item> |
36 | </el-col> | 39 | </el-col> |
37 | <el-col :span="6" class="mt-10"> | 40 | <el-col :span="6" class="mt-10"> |
... | @@ -44,7 +47,7 @@ | ... | @@ -44,7 +47,7 @@ |
44 | </el-col> | 47 | </el-col> |
45 | <el-col :span="6" class="mt-10"> | 48 | <el-col :span="6" class="mt-10"> |
46 | <el-form-item label="不动产单元号" label-width="105px"> | 49 | <el-form-item label="不动产单元号" label-width="105px"> |
47 | <el-input v-model="form.BDCDYH" placeholder="请输入不动产单元号"></el-input> | 50 | <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input> |
48 | </el-form-item> | 51 | </el-form-item> |
49 | </el-col> | 52 | </el-col> |
50 | <el-col :span="6" class="btnColRight mt-10"> | 53 | <el-col :span="6" class="btnColRight mt-10"> |
... | @@ -61,7 +64,7 @@ | ... | @@ -61,7 +64,7 @@ |
61 | </lb-table> | 64 | </lb-table> |
62 | </div> | 65 | </div> |
63 | <!-- 编辑 --> | 66 | <!-- 编辑 --> |
64 | <dataDetails ref="editLog" :title="title" :tabsActiveName="'qlfQlZxdj'" /> | 67 | <dataDetails ref="editLog" title="注销登记" :tabsActiveName="'qlfQlZxdj'" /> |
65 | </div> | 68 | </div> |
66 | </template> | 69 | </template> |
67 | 70 | ||
... | @@ -94,7 +97,7 @@ export default { | ... | @@ -94,7 +97,7 @@ export default { |
94 | }].concat(data.columns()).concat([ | 97 | }].concat(data.columns()).concat([ |
95 | { | 98 | { |
96 | label: "操作", | 99 | label: "操作", |
97 | width: 170, | 100 | width: 80, |
98 | render: (h, scope) => { | 101 | render: (h, scope) => { |
99 | return ( | 102 | return ( |
100 | <div> | 103 | <div> | ... | ... |
src/views/bwcxrkrz/data/index.js
deleted
100644 → 0
1 | import filter from '@/utils/filter.js' | ||
2 | class data extends filter { | ||
3 | constructor() { | ||
4 | super() | ||
5 | } | ||
6 | columns () { | ||
7 | return [ | ||
8 | { | ||
9 | prop: "qymc", | ||
10 | label: "区域名称", | ||
11 | }, | ||
12 | { | ||
13 | prop: "czyymc", | ||
14 | label: "操作用户名称", | ||
15 | }, | ||
16 | { | ||
17 | prop: "bwmc", | ||
18 | label: "报文名称", | ||
19 | }, | ||
20 | { | ||
21 | prop: "rksj", | ||
22 | label: "入库时间", | ||
23 | }, | ||
24 | { | ||
25 | prop: "rkjg", | ||
26 | label: "入库结果", | ||
27 | }, | ||
28 | { | ||
29 | prop: "sbyy", | ||
30 | label: "失败原因", | ||
31 | } | ||
32 | ] | ||
33 | } | ||
34 | } | ||
35 | export default new data() |
src/views/bwcxrkrz/index.scss
deleted
100644 → 0
File mode changed
src/views/bwcxrkrz/index.vue
deleted
100644 → 0
1 | <template> | ||
2 | <!-- 报文重新入库日志 --> | ||
3 | <div class="from-clues"> | ||
4 | <!-- 头部搜索 --> | ||
5 | <div class="from-clues-header"> | ||
6 | <el-form ref="ruleForm" :model="form" label-width="100px"> | ||
7 | <el-row class="mb-5"> | ||
8 | <el-col :span="6"> | ||
9 | <el-form-item label="行政区" prop="pcode"> | ||
10 | <el-select v-model="form.pcode" class="width100" clearable placeholder="行政区"> | ||
11 | <el-option v-for="item in xzqOptions" :key="item.value" :label="item.label" :value="item.value"> | ||
12 | </el-option> | ||
13 | </el-select> | ||
14 | </el-form-item> | ||
15 | </el-col> | ||
16 | <el-col :span="6"> | ||
17 | <el-form-item label="报文名称" prop="bwmc"> | ||
18 | <el-select v-model="form.ywmc" class="width100" clearable placeholder="业务名称"> | ||
19 | <el-option v-for="item in []" :key="item.value" :label="item.label" :value="item.value"> | ||
20 | </el-option> | ||
21 | </el-select> | ||
22 | </el-form-item> | ||
23 | </el-col> | ||
24 | <el-col :span="6"> | ||
25 | <el-form-item label="开始日期" prop="startTime"> | ||
26 | <el-date-picker type="date" class="width100" placeholder="开始日期" :picker-options="pickerOptionsStart" | ||
27 | clearable v-model="form.startTime" value-format="yyyy-MM-dd"></el-date-picker> | ||
28 | </el-form-item> | ||
29 | </el-col> | ||
30 | <el-col :span="6"> | ||
31 | <el-form-item label="结束日期" prop="endTime"> | ||
32 | <el-date-picker type="date" class="width100" placeholder="结束日期" :picker-options="pickerOptionsEnd" | ||
33 | clearable v-model="form.endTime" value-format="yyyy-MM-dd"></el-date-picker> | ||
34 | </el-form-item> | ||
35 | </el-col> | ||
36 | </el-row> | ||
37 | <el-row> | ||
38 | <el-col :span="6"> | ||
39 | <el-form-item label="入库结果" prop="rkjg"> | ||
40 | <el-select v-model="form.rkjg" class="width100" clearable placeholder="入库结果"> | ||
41 | <el-option v-for="item in []" :key="item.value" :label="item.label" :value="item.value"> | ||
42 | </el-option> | ||
43 | </el-select> | ||
44 | </el-form-item> | ||
45 | </el-col> | ||
46 | <!-- 操作按钮 --> | ||
47 | <el-col :span="18" class="btnColRight"> | ||
48 | <el-button @click="resetForm">重置</el-button> | ||
49 | <el-button type="primary" @click="handleSubmit">查询</el-button> | ||
50 | </el-col> | ||
51 | </el-row> | ||
52 | </el-form> | ||
53 | </div> | ||
54 | <!-- 列表 --> | ||
55 | <div class="from-clues-content"> | ||
56 | <lb-table ref="table" :heightNum="300" :page-size="pageData.size" :current-page.sync="pageData.current" | ||
57 | :total="pageData.total" @size-change="handleSizeChange" @p-current-change="handleCurrentChange" | ||
58 | :column="tableData.columns" :data="tableData.data"> | ||
59 | </lb-table> | ||
60 | </div> | ||
61 | </div> | ||
62 | </template> | ||
63 | <script> | ||
64 | // 报文重新入库日志 | ||
65 | // 引入列表头部 | ||
66 | import data from "./data" | ||
67 | // 引入表格混入方法 | ||
68 | import tableMixin from '@/mixins/tableMixin.js' | ||
69 | export default { | ||
70 | name: "bwcxrkrz", | ||
71 | mixins: [tableMixin], | ||
72 | data () { | ||
73 | return { | ||
74 | // 开始结束日期限制 | ||
75 | pickerOptionsStart: { | ||
76 | disabledDate: (time) => { | ||
77 | if (this.form.endTime) { | ||
78 | return ( | ||
79 | time.getTime() >= new Date(this.form.endTime).getTime() | ||
80 | ); | ||
81 | } | ||
82 | } | ||
83 | }, | ||
84 | // 结束日期限制 | ||
85 | pickerOptionsEnd: { | ||
86 | disabledDate: (time) => { | ||
87 | if (this.form.startTime) { | ||
88 | return ( | ||
89 | time.getTime() <= new Date(this.form.startTime).getTime() | ||
90 | ); | ||
91 | } | ||
92 | } | ||
93 | }, | ||
94 | // 头部表单 | ||
95 | form: { | ||
96 | pcode: '', | ||
97 | bwmc: '', | ||
98 | startTime: '', | ||
99 | endTime: '', | ||
100 | rkjg: '', | ||
101 | currentPage: 1 | ||
102 | }, | ||
103 | // 表单校验 | ||
104 | rules: { | ||
105 | pcode: [ | ||
106 | { required: true, message: '响应结果', trigger: 'change' } | ||
107 | ], | ||
108 | startTime: [ | ||
109 | { required: true, message: '开始日期', trigger: 'change' } | ||
110 | ], | ||
111 | endTime: [ | ||
112 | { required: true, message: '结束日期', trigger: 'change' } | ||
113 | ], | ||
114 | }, | ||
115 | // 表格 | ||
116 | tableData: { | ||
117 | // 表格头部 | ||
118 | columns: [{ | ||
119 | label: '序号', | ||
120 | type: 'index', | ||
121 | width: '50', | ||
122 | index: this.indexMethod, | ||
123 | }].concat(data.columns()), | ||
124 | // 表格列表 | ||
125 | data: [] | ||
126 | }, | ||
127 | // 分页 | ||
128 | pageData: { | ||
129 | total: 0, | ||
130 | pageSize: 15, | ||
131 | current: 1, | ||
132 | }, | ||
133 | // 行政区 | ||
134 | xzqOptions: [ | ||
135 | { | ||
136 | value: '632321', | ||
137 | label: '同仁县' | ||
138 | }, | ||
139 | { | ||
140 | value: '632322', | ||
141 | label: '尖扎县' | ||
142 | }, | ||
143 | { | ||
144 | value: '632323', | ||
145 | label: '泽库县' | ||
146 | }, | ||
147 | { | ||
148 | value: '632324', | ||
149 | label: '河南县' | ||
150 | } | ||
151 | ] | ||
152 | } | ||
153 | }, | ||
154 | methods: { | ||
155 | // 重置表单 | ||
156 | resetForm () { | ||
157 | this.$refs.ruleForm.resetFields(); | ||
158 | }, | ||
159 | // 数据请求 | ||
160 | async featchData () { | ||
161 | } | ||
162 | } | ||
163 | } | ||
164 | </script> | ||
165 | <style scoped lang="scss"> | ||
166 | @import "~@/styles/public.scss"; | ||
167 | @import "./index.scss"; | ||
168 | </style> | ||
169 |
... | @@ -23,7 +23,7 @@ | ... | @@ -23,7 +23,7 @@ |
23 | </div> | 23 | </div> |
24 | </template> | 24 | </template> |
25 | <script> | 25 | <script> |
26 | import drawMixin from "../../utils/drawMixin"; | 26 | import drawMixin from "@/utils/drawMixin"; |
27 | import screencontent from './screencontent' | 27 | import screencontent from './screencontent' |
28 | export default { | 28 | export default { |
29 | mixins: [drawMixin], | 29 | mixins: [drawMixin], | ... | ... |
... | @@ -18,7 +18,7 @@ | ... | @@ -18,7 +18,7 @@ |
18 | </p> | 18 | </p> |
19 | <p> | 19 | <p> |
20 | <span>成功率</span> | 20 | <span>成功率</span> |
21 | <span class="cg">{{qxcgl}}</span> | 21 | <span class="cg">{{ qxcgl }}</span> |
22 | </p> | 22 | </p> |
23 | </div> | 23 | </div> |
24 | </div> | 24 | </div> |
... | @@ -41,7 +41,7 @@ | ... | @@ -41,7 +41,7 @@ |
41 | </p> | 41 | </p> |
42 | <p> | 42 | <p> |
43 | <span>成功率</span> | 43 | <span>成功率</span> |
44 | <span class="cg">{{stcgl}}</span> | 44 | <span class="cg">{{ stcgl }}</span> |
45 | </p> | 45 | </p> |
46 | </div> | 46 | </div> |
47 | </div> | 47 | </div> |
... | @@ -66,8 +66,8 @@ export default { | ... | @@ -66,8 +66,8 @@ export default { |
66 | stsuccess: "", | 66 | stsuccess: "", |
67 | qxjrl: "", | 67 | qxjrl: "", |
68 | stjrl: "", | 68 | stjrl: "", |
69 | qxcgl:"", | 69 | qxcgl: "", |
70 | stcgl:"" | 70 | stcgl: "" |
71 | }; | 71 | }; |
72 | }, | 72 | }, |
73 | mounted () { | 73 | mounted () { |
... | @@ -76,10 +76,10 @@ export default { | ... | @@ -76,10 +76,10 @@ export default { |
76 | components: { columnar }, | 76 | components: { columnar }, |
77 | computed: { | 77 | computed: { |
78 | qxjrlList: function () { | 78 | qxjrlList: function () { |
79 | return this.qxjrl.toString().split(""); | 79 | return this.qxjrl && this.qxjrl.toString().split(""); |
80 | }, | 80 | }, |
81 | stjrlList: function () { | 81 | stjrlList: function () { |
82 | return this.stjrl.toString().split(""); | 82 | return this.stjrl && this.stjrl.toString().split(""); |
83 | }, | 83 | }, |
84 | }, | 84 | }, |
85 | methods: { | 85 | methods: { |
... | @@ -87,23 +87,25 @@ export default { | ... | @@ -87,23 +87,25 @@ export default { |
87 | return new Promise(async (resolve) => { | 87 | return new Promise(async (resolve) => { |
88 | try { | 88 | try { |
89 | let p = { | 89 | let p = { |
90 | DJLX: "A21", | 90 | DJLX: "", |
91 | QLLX: "A8", | 91 | QLLX: "", |
92 | XZQDM: "A20", | 92 | XZQDM: "", |
93 | }; | 93 | }; |
94 | let res = await work.getsthjqxjrtotal(p); | 94 | let res = await work.getsthjqxjrtotal(p); |
95 | this.stjrl=Number(res.result.sum) | 95 | this.stjrl=res.result.stsum |
96 | this.qxjrl=Number(res.result.sum) | 96 | this.qxjrl=res.result.qxsum |
97 | this.qxerrer=Number(res.result.qxjrerrer) | 97 | this.qxerrer=Number(res.result.qxjrerrer) |
98 | this.sterrer=Number(res.result.sthjerrer) | 98 | this.sterrer=Number(res.result.sthjerrer) |
99 | if(res.result.sum=="0"){ | 99 | if(res.result.sum=="0"){ |
100 | this.qxcgl="100%" | 100 | this.qxcgl="100%" |
101 | this.stcgl="100%" | 101 | this.stcgl="100%" |
102 | }else{ | 102 | }else{ |
103 | this.qxcgl=Number(res.result.qxjrsuccess)/this.qxjrl*100+"%" | 103 | let qxcglnum=Number(res.result.qxjrsuccess)/this.qxjrl*100 |
104 | this.stcgl=Number(res.result.sthjsuccess)/Number(res.result.sum)*100+"%" | 104 | let stcgl=Number(res.result.sthjsuccess)/this.qxjrl*100 |
105 | } | 105 | this.qxcgl=qxcglnum.toFixed(2)+"%"; |
106 | this.stcgl=stcgl.toFixed(2)+"%"; | ||
106 | 107 | ||
108 | } | ||
107 | } catch (error) { | 109 | } catch (error) { |
108 | this.$refs.msg.messageShow(); | 110 | this.$refs.msg.messageShow(); |
109 | } | 111 | } | ... | ... |
1 | <template> | 1 | <template> |
2 | <div class="rightcard"> | 2 | <div class="rightcard"> |
3 | <div class="card1 cardCon d-center"> | 3 | <div class="card1 cardCon d-center"> |
4 | <div class="cardhead">房屋情况统计表</div> | 4 | <div class="cardhead">新建国有房屋信息</div> |
5 | <div class="cardcontent" style="margin-top: 70px"> | 5 | <div class="cardcontent" style="margin-top: 70px"> |
6 | <dv-scroll-board :config="config" class="board" /> | 6 | <dv-scroll-board :config="config" class="board" /> |
7 | </div> | 7 | </div> | ... | ... |
... | @@ -6,7 +6,7 @@ | ... | @@ -6,7 +6,7 @@ |
6 | </div> | 6 | </div> |
7 | </template> | 7 | </template> |
8 | <script> | 8 | <script> |
9 | import drawMixin from "../../utils/drawMixin"; | 9 | import drawMixin from "@/utils/drawMixin"; |
10 | import leftcard from "./leftcard"; | 10 | import leftcard from "./leftcard"; |
11 | import centercard from "./centercard"; | 11 | import centercard from "./centercard"; |
12 | import rightcard from "./rightcard"; | 12 | import rightcard from "./rightcard"; | ... | ... |
1 | <template> | 1 | <template> |
2 | <screencontent /> | 2 | <screencontent /> |
3 | </template> | 3 | </template> |
4 | |||
5 | <script> | 4 | <script> |
6 | import screencontent from '@/views/dataView/screencontent' | 5 | import screencontent from '@/views/home/dataView/screencontent' |
7 | export default { | 6 | export default { |
8 | name: "home", | 7 | name: "home", |
9 | components: { | 8 | components: { |
10 | screencontent | 9 | screencontent |
11 | }, | ||
12 | data () { | ||
13 | return { | ||
14 | } | ||
15 | }, | ||
16 | methods: { | ||
17 | } | 10 | } |
18 | } | 11 | } |
19 | </script> | 12 | </script> |
20 | <style scoped lang="scss"> | 13 | <style scoped lang="scss"> |
21 | @import "../dataView/index.scss"; | 14 | @import "./dataView/index.scss"; |
22 | </style> | 15 | </style> | ... | ... |
1 | <template> | ||
2 | <div id="barChart"></div> | ||
3 | </template> | ||
4 | |||
5 | <script> | ||
6 | export default { | ||
7 | data () { | ||
8 | return { | ||
9 | }; | ||
10 | }, | ||
11 | mounted () { | ||
12 | this.drawProvinceMap(); | ||
13 | }, | ||
14 | methods: { | ||
15 | drawProvinceMap () { | ||
16 | var chartDom = document.getElementById('barChart'); | ||
17 | var myChart = this.$echarts.init(chartDom); | ||
18 | var option; | ||
19 | |||
20 | option = { | ||
21 | tooltip: { | ||
22 | trigger: 'axis', | ||
23 | axisPointer: { | ||
24 | type: 'shadow' | ||
25 | } | ||
26 | }, | ||
27 | legend: { | ||
28 | data: ['网络断开', '网络正常'] | ||
29 | }, | ||
30 | grid: { | ||
31 | left: '3%', | ||
32 | right: '4%', | ||
33 | bottom: '3%', | ||
34 | containLabel: true | ||
35 | }, | ||
36 | xAxis: [ | ||
37 | { | ||
38 | type: 'value' | ||
39 | } | ||
40 | ], | ||
41 | yAxis: [ | ||
42 | { | ||
43 | type: 'category', | ||
44 | axisTick: { | ||
45 | show: false | ||
46 | }, | ||
47 | data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] | ||
48 | } | ||
49 | ], | ||
50 | series: [ | ||
51 | { | ||
52 | name: '网络正常', | ||
53 | type: 'bar', | ||
54 | itemStyle: { | ||
55 | color: '#67C23A' | ||
56 | }, | ||
57 | label: { | ||
58 | show: true, | ||
59 | position: 'inside' | ||
60 | }, | ||
61 | emphasis: { | ||
62 | focus: 'series' | ||
63 | }, | ||
64 | data: [200, 170, 240, 244, 200, 220, 210] | ||
65 | }, | ||
66 | |||
67 | { | ||
68 | name: '网络断开', | ||
69 | type: 'bar', | ||
70 | itemStyle: { | ||
71 | color: '#F56C6C' | ||
72 | }, | ||
73 | label: { | ||
74 | show: true, | ||
75 | position: 'inside' | ||
76 | }, | ||
77 | emphasis: { | ||
78 | focus: 'series' | ||
79 | }, | ||
80 | data: [-120, -132, -101, -134, -190, -230, -210] | ||
81 | } | ||
82 | ], | ||
83 | |||
84 | } | ||
85 | myChart.setOption(option); | ||
86 | window.addEventListener("resize", () => { | ||
87 | this.myChart.resize(); | ||
88 | }); | ||
89 | } | ||
90 | } | ||
91 | } | ||
92 | </script> | ||
93 | <style scoped lang="scss"> | ||
94 | #barChart { | ||
95 | width: 100%; | ||
96 | height: 500px; | ||
97 | } | ||
98 | </style> |
1 | <template> | ||
2 | <div id="jgChart" /> | ||
3 | </template> | ||
4 | |||
5 | <script> | ||
6 | export default { | ||
7 | data () { | ||
8 | return { | ||
9 | }; | ||
10 | }, | ||
11 | methods: { | ||
12 | drawInit () { | ||
13 | let datavalue = [26, 300, 2000, 1200, 800]; | ||
14 | let ii = -1; | ||
15 | var chartDom = document.getElementById('jgChart'); | ||
16 | var myChart = this.$echarts.init(chartDom); | ||
17 | var option; | ||
18 | option = { | ||
19 | radar: { | ||
20 | indicator: [ | ||
21 | { name: '原则监管', max: 2600 }, | ||
22 | { name: '时效监管', max: 2600 }, | ||
23 | { name: '证书监管', max: 3600 }, | ||
24 | { name: '年限监管', max: 2600 }, | ||
25 | { name: '内容监管', max: 2600 }, | ||
26 | ], | ||
27 | name: { | ||
28 | rich: { | ||
29 | a: { | ||
30 | color: '#606266' | ||
31 | }, | ||
32 | b: { | ||
33 | color: '#409EFF', | ||
34 | align: 'center', | ||
35 | } | ||
36 | }, | ||
37 | formatter: (a, b) => { | ||
38 | ii++; | ||
39 | return `{a|${a}}\n{b|${datavalue[ii]}}` | ||
40 | } | ||
41 | } | ||
42 | }, | ||
43 | series: [ | ||
44 | { | ||
45 | type: 'radar', | ||
46 | symbol: 'none',//去掉拐点的圈 | ||
47 | itemStyle: { | ||
48 | color: '#409EFF' | ||
49 | }, | ||
50 | data: [ | ||
51 | { | ||
52 | value: datavalue, | ||
53 | } | ||
54 | ] | ||
55 | } | ||
56 | ] | ||
57 | }; | ||
58 | myChart.setOption(option); | ||
59 | } | ||
60 | }, | ||
61 | mounted () { | ||
62 | this.drawInit() | ||
63 | } | ||
64 | } | ||
65 | </script> | ||
66 | <style scoped> | ||
67 | #jgChart { | ||
68 | width: 100%; | ||
69 | height: 330px; | ||
70 | } | ||
71 | </style> |
This diff is collapsed.
Click to expand it.
1 | <template> | ||
2 | <div class="map"> | ||
3 | <div class="map-box" ref="mapContain" /> | ||
4 | </div> | ||
5 | </template> | ||
6 | <script> | ||
7 | export default { | ||
8 | data () { | ||
9 | return { | ||
10 | mapName: "汉中市", | ||
11 | listArr: [{ | ||
12 | name: '汉台区', | ||
13 | value: '6000' | ||
14 | }, | ||
15 | { | ||
16 | name: '南郑区', | ||
17 | value: '8000' | ||
18 | }, | ||
19 | { | ||
20 | name: '城固县', | ||
21 | value: '3000' | ||
22 | }, | ||
23 | { | ||
24 | name: '洋县', | ||
25 | value: '7000' | ||
26 | }, | ||
27 | { | ||
28 | name: '西乡县', | ||
29 | value: '1000' | ||
30 | }, | ||
31 | { | ||
32 | name: '镇巴县', | ||
33 | value: '2000' | ||
34 | }, | ||
35 | { | ||
36 | name: '勉县', | ||
37 | value: '600' | ||
38 | }, | ||
39 | { | ||
40 | name: '留坝县', | ||
41 | value: '3000' | ||
42 | }, | ||
43 | { | ||
44 | name: '佛坪县', | ||
45 | value: '1000' | ||
46 | }, | ||
47 | { | ||
48 | name: '宁强县', | ||
49 | value: '1000' | ||
50 | }, | ||
51 | { | ||
52 | name: '略阳县', | ||
53 | value: '1000' | ||
54 | }], //城市json | ||
55 | max: "9000", //最大value值 | ||
56 | min: "500", // 最小value值 | ||
57 | }; | ||
58 | }, | ||
59 | methods: { | ||
60 | drawProvinceMap (mapName) { | ||
61 | this.mapName = mapName; | ||
62 | // 引入区域数据 | ||
63 | require('./hanzhong.js'); | ||
64 | let _this = this; | ||
65 | let myChart8 = this.$echarts.init(this.$refs.mapContain); | ||
66 | const option = { | ||
67 | visualMap: { | ||
68 | min: 0, | ||
69 | max: _this.max, | ||
70 | top: "bottom", | ||
71 | right: 10, | ||
72 | splitNumber: 6, | ||
73 | seriesIndex: [0], | ||
74 | itemWidth: 20, // 每个图元的宽度 | ||
75 | itemGap: 2, // 每两个图元之间的间隔距离,单位为px | ||
76 | pieces: [ // 自定义每一段的范围,以及每一段的文字 | ||
77 | { gte: 6000, label: '6000以上', color: '#035cf5' }, // 不指定 max,表示 max 为无限大(Infinity)。 | ||
78 | { gte: 2000, lte: 6000, label: '2000-6000', color: '#3375e4' }, | ||
79 | { gte: 1000, lte: 2000, label: '1000-2000', color: '#6797ef' }, | ||
80 | { gte: 500, lte: 1000, label: '500-1000', color: '#96b5ef' }, | ||
81 | ], | ||
82 | textStyle: { | ||
83 | color: '#737373' | ||
84 | } | ||
85 | }, | ||
86 | // 数据移入显示 | ||
87 | tooltip: { | ||
88 | trigger: "item", | ||
89 | formatter: function (params) { | ||
90 | return params.value ? params.name + ':' + params.value + '件' : params.name + ':' + '0件' | ||
91 | }, | ||
92 | // 边框颜色 | ||
93 | borderColor: "#CB000C", | ||
94 | // 边框宽度 | ||
95 | borderWidth: "1", | ||
96 | }, | ||
97 | series: [ | ||
98 | { | ||
99 | type: "map", | ||
100 | map: this.mapName, | ||
101 | itemStyle: { | ||
102 | normal: { //正常状态 | ||
103 | label: { | ||
104 | show: true, | ||
105 | formatter: '{b}', //地图上显示的数据,分别对应data中的name和value | ||
106 | color: '#fff', | ||
107 | }, | ||
108 | areaColor: '#409EFF' //地图区域的颜色 | ||
109 | }, | ||
110 | emphasis: { | ||
111 | label: { show: true }, | ||
112 | areaColor: "#67C23A", //鼠标进入时的颜色 | ||
113 | }, | ||
114 | }, | ||
115 | data: _this.listArr, | ||
116 | }, | ||
117 | ], | ||
118 | }; | ||
119 | myChart8.setOption(option); | ||
120 | }, | ||
121 | }, | ||
122 | mounted () { | ||
123 | // 初始化数据 | ||
124 | this.drawProvinceMap("汉中市"); | ||
125 | } | ||
126 | } | ||
127 | </script> | ||
128 | <style scoped> | ||
129 | .map { | ||
130 | width: 100%; | ||
131 | } | ||
132 | |||
133 | .map-box { | ||
134 | display: inline-block; | ||
135 | width: 100%; | ||
136 | height: calc(100vh - 153px); | ||
137 | } | ||
138 | </style> |
src/views/jgHome/data/index.js
deleted
100644 → 0
1 | import filter from '@/utils/filter.js' | ||
2 | class data extends filter { | ||
3 | constructor() { | ||
4 | super() | ||
5 | } | ||
6 | columns () { | ||
7 | return [ | ||
8 | { | ||
9 | type: 'index', | ||
10 | label: "序号", | ||
11 | }, | ||
12 | { | ||
13 | prop: "xzqmc", | ||
14 | label: "行政区名称", | ||
15 | }, | ||
16 | { | ||
17 | prop: "xzqzs", | ||
18 | label: "行政区总数", | ||
19 | }, | ||
20 | { | ||
21 | prop: "jrl", | ||
22 | label: "接入量", | ||
23 | }, | ||
24 | { | ||
25 | prop: 'jscgl', | ||
26 | label: '接收成功率', | ||
27 | render: (h, scope) => { | ||
28 | return ( | ||
29 | <div> | ||
30 | {scope.row.jscgl} % | ||
31 | </div> | ||
32 | ) | ||
33 | } | ||
34 | }, | ||
35 | { | ||
36 | prop: "dk", | ||
37 | label: "成功率得分", | ||
38 | }, | ||
39 | { | ||
40 | prop: "wjrqx", | ||
41 | label: "未接入区县", | ||
42 | }, | ||
43 | { | ||
44 | prop: "jrdf", | ||
45 | label: "接入得分", | ||
46 | }, | ||
47 | { | ||
48 | prop: "jrdf", | ||
49 | label: "未上传登薄日志区县", | ||
50 | }, | ||
51 | { | ||
52 | prop: "jrdf", | ||
53 | label: "登薄日志得分", | ||
54 | }, | ||
55 | { | ||
56 | prop: "jrdf", | ||
57 | label: "总评分", | ||
58 | } | ||
59 | ] | ||
60 | } | ||
61 | } | ||
62 | export default new data() |
src/views/jgHome/index.scss
deleted
100644 → 0
1 | .jgHome { | ||
2 | display: flex; | ||
3 | justify-content: space-between; | ||
4 | height: calc(100% - 20px); | ||
5 | |||
6 | .bottom10 { | ||
7 | margin-bottom: 10px; | ||
8 | } | ||
9 | |||
10 | .paddingbtm0 { | ||
11 | /deep/.el-card__body { | ||
12 | padding-bottom: 0; | ||
13 | } | ||
14 | } | ||
15 | |||
16 | &-left, | ||
17 | &-right { | ||
18 | width: 30%; | ||
19 | |||
20 | .fznum { | ||
21 | font-size: 24px; | ||
22 | color: $light-blue; | ||
23 | |||
24 | span { | ||
25 | font-size: 14px; | ||
26 | color: #606266; | ||
27 | } | ||
28 | } | ||
29 | |||
30 | .fzl { | ||
31 | display: flex; | ||
32 | align-items: center; | ||
33 | |||
34 | img { | ||
35 | width: 70px; | ||
36 | margin-right: 15px; | ||
37 | } | ||
38 | |||
39 | p:nth-child(1) { | ||
40 | font-size: 18px; | ||
41 | } | ||
42 | |||
43 | } | ||
44 | |||
45 | .zszm { | ||
46 | justify-content: space-between; | ||
47 | |||
48 | li:nth-child(1) {} | ||
49 | } | ||
50 | } | ||
51 | |||
52 | .barChart { | ||
53 | flex: 1; | ||
54 | margin-top: 10px; | ||
55 | height: calc(100vh - 330px); | ||
56 | } | ||
57 | |||
58 | &-center { | ||
59 | width: 39%; | ||
60 | } | ||
61 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/views/jgHome/index.vue
deleted
100644 → 0
1 | <template> | ||
2 | <div class="jgHome"> | ||
3 | <div class="jgHome-left"> | ||
4 | <el-card> | ||
5 | <div slot="header"> | ||
6 | <span>发证情况</span> | ||
7 | <el-button style="float: right;" type="text">更多</el-button> | ||
8 | </div> | ||
9 | <div class="fzl"> | ||
10 | <img src="../../image/zs.png" alt=""> | ||
11 | <div> | ||
12 | <p>发证量</p> | ||
13 | <p class="fznum">10000<span>本</span></p> | ||
14 | </div> | ||
15 | </div> | ||
16 | <ul class="zszm d-flex-center"> | ||
17 | <li> | ||
18 | <p>证书</p> | ||
19 | <p class="fznum">600<span>本</span></p> | ||
20 | </li> | ||
21 | <li> | ||
22 | <p>证明</p> | ||
23 | <p class="fznum">900<span>本</span></p> | ||
24 | </li> | ||
25 | </ul> | ||
26 | </el-card> | ||
27 | <el-card class="barChart"> | ||
28 | <barChart /> | ||
29 | </el-card> | ||
30 | </div> | ||
31 | <div class="jgHome-center"> | ||
32 | <el-card> | ||
33 | <hzMap /> | ||
34 | </el-card> | ||
35 | </div> | ||
36 | <div class="jgHome-right"> | ||
37 | <el-card class="bottom10 paddingbtm0"> | ||
38 | <jgChart /> | ||
39 | </el-card> | ||
40 | <el-card class="box-card paddingbtm0"> | ||
41 | <div slot="header"> | ||
42 | <span>违规总计</span> | ||
43 | <el-button style="float: right;" type="text">更多</el-button> | ||
44 | </div> | ||
45 | <lb-table ref="table" :pagination="false" :heightNum="546" :column="tableData.columns" :data="tableData.data"> | ||
46 | </lb-table> | ||
47 | </el-card> | ||
48 | </div> | ||
49 | </div> | ||
50 | </template> | ||
51 | |||
52 | <script> | ||
53 | // 引入表格数据 | ||
54 | import data from "./data" | ||
55 | import barChart from './components/barChart' | ||
56 | import hzMap from './components/map' | ||
57 | import jgChart from './components/jgChart' | ||
58 | export default { | ||
59 | name: "jgHome", | ||
60 | components: { barChart, hzMap, jgChart }, | ||
61 | data () { | ||
62 | return { | ||
63 | // 表格数据 | ||
64 | tableData: { | ||
65 | // 表格头部信息 | ||
66 | columns: data.columns(), | ||
67 | // 表格列表数据 | ||
68 | data: [{}] | ||
69 | } | ||
70 | } | ||
71 | }, | ||
72 | methods: {} | ||
73 | } | ||
74 | </script> | ||
75 | <style scoped lang="scss"> | ||
76 | @import "./index.scss"; | ||
77 | </style> |
This diff is collapsed.
Click to expand it.
src/views/jktj/cgltj/index.vue
0 → 100644
1 | <template> | ||
2 | <!-- 监控日志 --> | ||
3 | <div class="jktjDetail form-clues"> | ||
4 | <!-- 头部搜索 --> | ||
5 | <div class="from-clues-header"> | ||
6 | <el-form ref="form" :model="form" label-width="100px"> | ||
7 | <el-form-item> | ||
8 | <Breadcrumb /> | ||
9 | </el-form-item> | ||
10 | <el-row> | ||
11 | <el-col :span="4"> | ||
12 | <el-form-item label="行政区"> | ||
13 | <el-select | ||
14 | v-model="form.qxdm" | ||
15 | class="width100" | ||
16 | clearable | ||
17 | placeholder="行政区" | ||
18 | > | ||
19 | <el-option | ||
20 | v-for="item in dicData['A20']" | ||
21 | :key="item.DCODE" | ||
22 | :label="item.DNAME" | ||
23 | :value="item.DCODE" | ||
24 | > | ||
25 | </el-option> | ||
26 | </el-select> | ||
27 | </el-form-item> | ||
28 | </el-col> | ||
29 | <el-col :span="4"> | ||
30 | <el-form-item label="开始日期" prop="startTime"> | ||
31 | <el-date-picker | ||
32 | type="datetime" | ||
33 | placeholder="开始日期" | ||
34 | :picker-options="pickerOptionsStart" | ||
35 | clearable | ||
36 | v-model="form.startTime" | ||
37 | value-format="yyyy/MM/dd HH:mm:ss" | ||
38 | ></el-date-picker> | ||
39 | </el-form-item> | ||
40 | </el-col> | ||
41 | <el-col :span="4"> | ||
42 | <el-form-item label="结束日期" prop="endTime"> | ||
43 | <el-date-picker | ||
44 | type="datetime" | ||
45 | placeholder="结束日期" | ||
46 | :picker-options="pickerOptionsEnd" | ||
47 | clearable | ||
48 | v-model="form.endTime" | ||
49 | value-format="yyyy/MM/dd HH:mm:ss" | ||
50 | ></el-date-picker> | ||
51 | </el-form-item> | ||
52 | </el-col> | ||
53 | <!-- 操作按钮 --> | ||
54 | <el-col :span="3" class="btnColRight"> | ||
55 | <btn nativeType="cz" @click="resetForm">重置</btn> | ||
56 | <btn nativeType="cx" @click="getSuucessRate">查询</btn> | ||
57 | </el-col> | ||
58 | </el-row> | ||
59 | </el-form> | ||
60 | </div> | ||
61 | <!-- 图表 --> | ||
62 | <div class="form-clues-content echarts-box" v-if="chartData.length"> | ||
63 | <div id="myChart" class="chart"></div> | ||
64 | </div> | ||
65 | <div class="form-clues-content echarts-box center" v-else>暂无数据</div> | ||
66 | </div> | ||
67 | </template> | ||
68 | |||
69 | <script> | ||
70 | import { mapGetters } from "vuex"; | ||
71 | import { getFirstDayOfSeason, timeFormat } from "@/utils/operation"; | ||
72 | import business from "@/api/business"; | ||
73 | export default { | ||
74 | name: "jktj", | ||
75 | data () { | ||
76 | return { | ||
77 | // 开始日期限制 | ||
78 | pickerOptionsStart: { | ||
79 | disabledDate: (time) => { | ||
80 | if (this.form.endTime) { | ||
81 | return time.getTime() >= new Date(this.form.endTime).getTime(); | ||
82 | } | ||
83 | }, | ||
84 | }, | ||
85 | // 结束日期限制 | ||
86 | pickerOptionsEnd: { | ||
87 | disabledDate: (time) => { | ||
88 | if (this.form.startTime) { | ||
89 | return time.getTime() <= new Date(this.form.startTime).getTime(); | ||
90 | } | ||
91 | }, | ||
92 | }, | ||
93 | recTypeArr: [], | ||
94 | chartData: [], | ||
95 | // 搜索表单 | ||
96 | form: { | ||
97 | startTime: getFirstDayOfSeason(), | ||
98 | endTime: timeFormat(new Date(),true), | ||
99 | qxdm: "", | ||
100 | }, | ||
101 | }; | ||
102 | }, | ||
103 | mounted () { | ||
104 | // 查询成功率 | ||
105 | this.getSuucessRate(); | ||
106 | }, | ||
107 | computed: { | ||
108 | ...mapGetters(["dicData"]), | ||
109 | }, | ||
110 | methods: { | ||
111 | async getSuucessRate () { | ||
112 | this.recTypeArr = []; | ||
113 | this.chartData = []; | ||
114 | let { result: res } = await business.getSuucessRate( | ||
115 | this.form.startTime, | ||
116 | this.form.endTime, | ||
117 | this.form.qxdm | ||
118 | ); | ||
119 | this.chartData = res; | ||
120 | //行政区代码过滤 | ||
121 | res.length > 0 && | ||
122 | res.forEach((item) => { | ||
123 | this.recTypeArr.push(item.recTypeName); | ||
124 | }); | ||
125 | this.$nextTick(() => { | ||
126 | // 初始化图表 | ||
127 | this.chartData.length && this.echartInit(); | ||
128 | }); | ||
129 | }, | ||
130 | // 重置 | ||
131 | resetForm () { | ||
132 | this.form = { | ||
133 | startTime: getFirstDayOfSeason(), | ||
134 | endTime: timeFormat(new Date(),true), | ||
135 | }; | ||
136 | this.getSuucessRate(); | ||
137 | }, | ||
138 | echartInit () { | ||
139 | let _this = this; | ||
140 | // 基于准备好的dom,初始化echarts实例 | ||
141 | let myChart = this.$echarts.init(document.getElementById("myChart")); | ||
142 | // 绘制图表 | ||
143 | myChart.setOption({ | ||
144 | color: ["#13E5FF", "#C99E68", "#E873B2", "#ffaf48"], | ||
145 | tooltip: { | ||
146 | trigger: "axis", | ||
147 | formatter: '{b}<br/>{a0}:{c0}个<br/>{a1}:{c1}个<br/>{a2}:{c2}%', | ||
148 | axisPointer: { | ||
149 | type: "cross", | ||
150 | crossStyle: { | ||
151 | color: "#fff", | ||
152 | }, | ||
153 | }, | ||
154 | }, | ||
155 | legend: { | ||
156 | data: ["成功", "失败", "成功率"], | ||
157 | top: '16', | ||
158 | textStyle: { | ||
159 | show: true, | ||
160 | color: "#fff", | ||
161 | fontSize: "16", | ||
162 | }, | ||
163 | }, | ||
164 | xAxis: [ | ||
165 | { | ||
166 | type: "category", | ||
167 | data: _this.recTypeArr, | ||
168 | axisPointer: { | ||
169 | type: "shadow", | ||
170 | }, | ||
171 | axisLabel: { | ||
172 | textStyle: { | ||
173 | show: true, | ||
174 | color: "#fff", | ||
175 | fontSize: "16", | ||
176 | }, | ||
177 | formatter: function (val) { | ||
178 | let c = document.createElement("canvas"); | ||
179 | const ctx = c.getContext("2d"); | ||
180 | const arr = val.split(""); | ||
181 | arr | ||
182 | .map((item) => ctx.measureText(item).width) | ||
183 | .reduce((pre, next, index) => { | ||
184 | const nLen = pre + next; | ||
185 | if (nLen > 40) { | ||
186 | arr[index - 1] += "..."; | ||
187 | return next; | ||
188 | } else { | ||
189 | return nLen; | ||
190 | } | ||
191 | }); | ||
192 | c = null; | ||
193 | let ind = arr.findIndex((i) => { | ||
194 | return i.indexOf("...") > -1; | ||
195 | }); | ||
196 | let newArr = ind > 0 ? arr.splice(0, ind + 1) : arr; | ||
197 | return newArr.join(""); | ||
198 | }, | ||
199 | }, | ||
200 | }, | ||
201 | ], | ||
202 | yAxis: [ | ||
203 | { | ||
204 | type: "value", | ||
205 | name: "数量/个", | ||
206 | nameTextStyle: { | ||
207 | color: "#fff", | ||
208 | fontSize: "16", | ||
209 | }, | ||
210 | interval: 50, | ||
211 | axisLabel: { | ||
212 | formatter: "{value}", | ||
213 | textStyle: { | ||
214 | show: true, | ||
215 | color: "#fff", | ||
216 | fontSize: "16", | ||
217 | }, | ||
218 | }, | ||
219 | }, | ||
220 | { | ||
221 | type: "value", | ||
222 | name: "成功率", | ||
223 | nameTextStyle: { | ||
224 | color: "#fff", | ||
225 | fontSize: "16", | ||
226 | }, | ||
227 | splitNumber:2, | ||
228 | axisLabel: { | ||
229 | formatter: "{value} %", | ||
230 | textStyle: { | ||
231 | show: true, | ||
232 | color: "#fff", | ||
233 | fontSize: "16", | ||
234 | }, | ||
235 | }, | ||
236 | }, | ||
237 | ], | ||
238 | series: [ | ||
239 | { | ||
240 | name: "成功", | ||
241 | type: "bar", | ||
242 | barMaxWidth: '60', | ||
243 | data: this.chartData.map((item) => { | ||
244 | return item.success; | ||
245 | }), | ||
246 | }, | ||
247 | { | ||
248 | name: "失败", | ||
249 | type: "bar", | ||
250 | barMaxWidth: '60', | ||
251 | data: this.chartData.map((item) => { | ||
252 | return item.failure; | ||
253 | }), | ||
254 | }, | ||
255 | { | ||
256 | name: "成功率", | ||
257 | type: "line", | ||
258 | barMaxWidth: '60', | ||
259 | yAxisIndex: 1, | ||
260 | data: this.chartData.map((item) => { | ||
261 | return item.rate; | ||
262 | }), | ||
263 | }, | ||
264 | ], | ||
265 | }); | ||
266 | }, | ||
267 | }, | ||
268 | }; | ||
269 | </script> | ||
270 | <style scoped lang="scss"> | ||
271 | @import "~@/styles/public.scss"; | ||
272 | |||
273 | .jktjDetail { | ||
274 | height: 100%; | ||
275 | display: flex; | ||
276 | flex-direction: column; | ||
277 | |||
278 | .rows { | ||
279 | margin-left: 100px; | ||
280 | } | ||
281 | |||
282 | .center { | ||
283 | line-height: 50vh; | ||
284 | text-align: center; | ||
285 | color: #b6b5b5 | ||
286 | } | ||
287 | |||
288 | .echarts-box { | ||
289 | display: flex; | ||
290 | justify-content: center; | ||
291 | height: 500px; | ||
292 | |||
293 | .chart { | ||
294 | width: 100%; | ||
295 | height: 100%; | ||
296 | } | ||
297 | } | ||
298 | |||
299 | .form-clues-content { | ||
300 | flex: 1; | ||
301 | height: 100%; | ||
302 | } | ||
303 | } | ||
304 | </style> | ||
305 | <style scoped lang="scss"> | ||
306 | @import "~@/styles/public.scss"; | ||
307 | </style> |
... | @@ -2,44 +2,79 @@ | ... | @@ -2,44 +2,79 @@ |
2 | <!-- 监控日志 --> | 2 | <!-- 监控日志 --> |
3 | <div class="jktjDetail form-clues"> | 3 | <div class="jktjDetail form-clues"> |
4 | <!-- 头部搜索 --> | 4 | <!-- 头部搜索 --> |
5 | <el-form | 5 | <div class="from-clues-header"> |
6 | ref="form" | 6 | <el-form ref="form" :model="form" label-width="100px"> |
7 | :model="form" | 7 | <el-form-item> |
8 | :inline="true" | 8 | <Breadcrumb /> |
9 | class="from-clues-header" | 9 | </el-form-item> |
10 | label-width="100px" | 10 | <el-row> |
11 | <el-col :span="4"> | ||
12 | <el-form-item label="行政区"> | ||
13 | <el-select | ||
14 | v-model="form.qxdm" | ||
15 | class="width100" | ||
16 | clearable | ||
17 | placeholder="行政区" | ||
11 | > | 18 | > |
12 | <el-row class="rows"> | 19 | <el-option |
13 | <el-col :span="8"> | 20 | v-for="item in dicData['A20']" |
14 | <el-date-picker | 21 | :key="item.DCODE" |
15 | v-model="valueTime" | 22 | :label="item.DNAME" |
16 | type="datetimerange" | 23 | :value="item.DCODE" |
17 | range-separator="至" | ||
18 | start-placeholder="开始日期" | ||
19 | end-placeholder="结束日期" | ||
20 | > | 24 | > |
21 | </el-date-picker> | 25 | </el-option> |
26 | </el-select> | ||
27 | </el-form-item> | ||
28 | </el-col> | ||
29 | <el-col :span="4"> | ||
30 | <el-form-item label="开始日期" prop="startTime"> | ||
31 | <el-date-picker | ||
32 | type="datetime" | ||
33 | placeholder="开始日期" | ||
34 | :picker-options="pickerOptionsStart" | ||
35 | clearable | ||
36 | v-model="form.startTime" | ||
37 | value-format="yyyy/MM/dd HH:mm:ss" | ||
38 | ></el-date-picker> | ||
39 | </el-form-item> | ||
40 | </el-col> | ||
41 | <el-col :span="4"> | ||
42 | <el-form-item label="结束日期" prop="endTime"> | ||
43 | <el-date-picker | ||
44 | type="datetime" | ||
45 | placeholder="结束日期" | ||
46 | :picker-options="pickerOptionsEnd" | ||
47 | clearable | ||
48 | v-model="form.endTime" | ||
49 | value-format="yyyy/MM/dd HH:mm:ss" | ||
50 | ></el-date-picker> | ||
51 | </el-form-item> | ||
22 | </el-col> | 52 | </el-col> |
23 | <!-- 操作按钮 --> | 53 | <!-- 操作按钮 --> |
24 | <el-col :span="3" class="btnColRight"> | 54 | <el-col :span="3" class="btnColRight"> |
25 | <btn nativeType="cz" @click="resetForm">重置</btn> | 55 | <btn nativeType="cz" @click="resetForm">重置</btn> |
26 | <btn nativeType="cx">查询</btn> | 56 | <btn nativeType="cx" @click="getProcessCounts">查询</btn> |
27 | </el-col> | 57 | </el-col> |
28 | </el-row> | 58 | </el-row> |
29 | </el-form> | 59 | </el-form> |
30 | <!-- 表格 --> | 60 | </div> |
31 | <div class="form-clues-content echarts-box"> | 61 | <!-- 图表 --> |
62 | <div class="form-clues-content echarts-box" v-if="chartData.length"> | ||
32 | <div id="myChart" class="chart"></div> | 63 | <div id="myChart" class="chart"></div> |
33 | </div> | 64 | </div> |
65 | <div class="form-clues-content echarts-box center" v-else>暂无数据</div> | ||
34 | </div> | 66 | </div> |
35 | </template> | 67 | </template> |
36 | 68 | ||
37 | <script> | 69 | <script> |
70 | import { mapGetters } from "vuex"; | ||
71 | import efficient from "@/api/efficient"; | ||
72 | import { getFirstDayOfSeason, timeFormat } from "@/utils/operation"; | ||
38 | export default { | 73 | export default { |
39 | name: "jktj", | 74 | name: "jktj", |
40 | data() { | 75 | data () { |
41 | return { | 76 | return { |
42 | // 开始结束日期限制 | 77 | // 开始日期限制 |
43 | pickerOptionsStart: { | 78 | pickerOptionsStart: { |
44 | disabledDate: (time) => { | 79 | disabledDate: (time) => { |
45 | if (this.form.endTime) { | 80 | if (this.form.endTime) { |
... | @@ -57,63 +92,57 @@ export default { | ... | @@ -57,63 +92,57 @@ export default { |
57 | }, | 92 | }, |
58 | // 搜索表单 | 93 | // 搜索表单 |
59 | valueTime: "", | 94 | valueTime: "", |
95 | // 搜索表单 | ||
60 | form: { | 96 | form: { |
61 | startTime: "", | 97 | startTime: getFirstDayOfSeason(), |
62 | endTime: "", | 98 | endTime: timeFormat(new Date(),true), |
99 | qxdm: "", | ||
63 | }, | 100 | }, |
101 | chartData:[] | ||
64 | }; | 102 | }; |
65 | }, | 103 | }, |
66 | mounted() { | 104 | mounted() { |
67 | // 初始化图表 | 105 | // 查询业务量 |
68 | this.echartInit(); | 106 | this.getProcessCounts(); |
107 | }, | ||
108 | computed: { | ||
109 | ...mapGetters(["dicData"]), | ||
69 | }, | 110 | }, |
70 | methods: { | 111 | methods: { |
112 | async getProcessCounts(){ | ||
113 | this.chartData = []; | ||
114 | let { result: res } = await efficient.getProcessCounts( | ||
115 | this.form.startTime, | ||
116 | this.form.endTime, | ||
117 | this.form.qxdm | ||
118 | ); | ||
119 | //获取图表配置项需要的数据 | ||
120 | this.chartData = res; | ||
121 | this.$nextTick(() => { | ||
122 | // 初始化图表 | ||
123 | this.chartData.length && this.echartInit(this.chartData) | ||
124 | }); | ||
125 | }, | ||
71 | // 重置 | 126 | // 重置 |
72 | resetForm() { | 127 | resetForm () { |
73 | this.form = { | 128 | this.form = { |
74 | startTime: "", | 129 | startTime: "", |
75 | endTime: "", | 130 | endTime: "", |
76 | }; | 131 | }; |
77 | }, | 132 | }, |
78 | echartInit() { | 133 | //图表渲染 |
134 | echartInit(chartArr) { | ||
79 | // 基于准备好的dom,初始化echarts实例 | 135 | // 基于准备好的dom,初始化echarts实例 |
80 | let myChart = this.$echarts.init(document.getElementById("myChart")); | 136 | let myChart = this.$echarts.init(document.getElementById("myChart")); |
81 | // 绘制图表 | 137 | // 绘制图表 |
82 | myChart.setOption({ | 138 | myChart.setOption({ |
83 | color: ["#00bdb1", "#ff6e6e", "#3f99ff", "#ffaf48"], | 139 | color: ["#13E5FF"], |
84 | title: { | ||
85 | show: true, | ||
86 | text: "汉中市接入数量与上报数量统计(单位:个)\n(2022年02月05日~2022年03月07日)", | ||
87 | left: "center", | ||
88 | textStyle: { | ||
89 | fontSize: 20, | ||
90 | lineHeight: 30, | ||
91 | height: 60, | ||
92 | color: "#b6b5b5", | ||
93 | }, | ||
94 | }, | ||
95 | legend: { | ||
96 | data: [ | ||
97 | "接入成功数量", | ||
98 | "接入失败数量", | ||
99 | "上报成功数量", | ||
100 | "上报失败数量", | ||
101 | ], | ||
102 | top: 80, | ||
103 | textStyle: { | ||
104 | fontSize: 20, | ||
105 | lineHeight: 30, | ||
106 | height: 60, | ||
107 | color: "#777", | ||
108 | }, | ||
109 | }, | ||
110 | tooltip: { | 140 | tooltip: { |
111 | show: true, | 141 | show: true, |
112 | trigger: "axis", | 142 | trigger: "axis", |
113 | textStyle: { | 143 | textStyle: { |
114 | fontSize: 20 // 字体大小 | 144 | fontSize: 16, // 字体大小 |
115 | }, | 145 | }, |
116 | extraCssText: 'width:220px;height:160px;' // 背景色 | ||
117 | }, | 146 | }, |
118 | grid: { | 147 | grid: { |
119 | top: 120, | 148 | top: 120, |
... | @@ -121,12 +150,35 @@ export default { | ... | @@ -121,12 +150,35 @@ export default { |
121 | xAxis: [ | 150 | xAxis: [ |
122 | { | 151 | { |
123 | type: "category", | 152 | type: "category", |
124 | data: ["汉台区", "南郑区", "城固县", "洋县", "西乡县"], | 153 | data: chartArr.map(item=>item.recTypeName), |
125 | axisLabel: { | 154 | axisLabel: { |
155 | interval: 0, | ||
156 | formatter: function (val) { | ||
157 | let c = document.createElement("canvas"); | ||
158 | const ctx = c.getContext("2d"); | ||
159 | const arr = val.split(""); | ||
160 | arr | ||
161 | .map((item) => ctx.measureText(item).width) | ||
162 | .reduce((pre, next, index) => { | ||
163 | const nLen = pre + next; | ||
164 | if (nLen > 60) { | ||
165 | arr[index - 1] += "..."; | ||
166 | return next; | ||
167 | } else { | ||
168 | return nLen; | ||
169 | } | ||
170 | }); | ||
171 | c = null; | ||
172 | let ind = arr.findIndex((i) => { | ||
173 | return i.indexOf("...") > -1; | ||
174 | }); | ||
175 | let newArr = ind > 0 ? arr.splice(0, ind + 1) : arr; | ||
176 | return newArr.join(""); | ||
177 | }, | ||
126 | textStyle: { | 178 | textStyle: { |
127 | show: true, | 179 | show: true, |
128 | color: "#fff", | 180 | color: "#fff", |
129 | fontSize: "20", | 181 | fontSize: "16", |
130 | }, | 182 | }, |
131 | }, | 183 | }, |
132 | }, | 184 | }, |
... | @@ -134,35 +186,25 @@ export default { | ... | @@ -134,35 +186,25 @@ export default { |
134 | yAxis: [ | 186 | yAxis: [ |
135 | { | 187 | { |
136 | type: "value", | 188 | type: "value", |
189 | name: "数量/个", | ||
190 | nameTextStyle: { | ||
191 | color: "#fff", | ||
192 | fontSize: "16", | ||
193 | }, | ||
137 | axisLabel: { | 194 | axisLabel: { |
138 | textStyle: { | 195 | textStyle: { |
139 | show: true, | 196 | show: true, |
140 | color: "#fff", | 197 | color: "#fff", |
141 | fontSize: "20", | 198 | fontSize: "16", |
142 | }, | 199 | }, |
143 | }, | 200 | }, |
144 | }, | 201 | }, |
145 | ], | 202 | ], |
146 | series: [ | 203 | series: [ |
147 | { | 204 | { |
148 | name: "接入成功数量", | 205 | data: chartArr.map(item=>item.counts), |
149 | type: "bar", | ||
150 | data: [1000, 1500, 2000, 500, 4000], | ||
151 | }, | ||
152 | { | ||
153 | name: "接入失败数量", | ||
154 | type: "bar", | 206 | type: "bar", |
155 | data: [900, 500, 3200, 800, 4500], | 207 | barMaxWidth: '60', |
156 | }, | ||
157 | { | ||
158 | name: "上报成功数量", | ||
159 | type: "bar", | ||
160 | data: [1000, 1500, 2000, 500, 4000], | ||
161 | }, | ||
162 | { | ||
163 | name: "上报失败数量", | ||
164 | type: "bar", | ||
165 | data: [900, 500, 3200, 800, 4500], | ||
166 | }, | 208 | }, |
167 | ], | 209 | ], |
168 | }); | 210 | }); |
... | @@ -177,9 +219,15 @@ export default { | ... | @@ -177,9 +219,15 @@ export default { |
177 | height: 100%; | 219 | height: 100%; |
178 | display: flex; | 220 | display: flex; |
179 | flex-direction: column; | 221 | flex-direction: column; |
180 | .rows { | 222 | |
223 | .rows { | ||
181 | margin-left: 100px; | 224 | margin-left: 100px; |
182 | } | 225 | } |
226 | .center { | ||
227 | line-height: 50vh; | ||
228 | text-align: center; | ||
229 | color:#b6b5b5 | ||
230 | } | ||
183 | .echarts-box { | 231 | .echarts-box { |
184 | display: flex; | 232 | display: flex; |
185 | justify-content: center; | 233 | justify-content: center; | ... | ... |
1 | <template> | ||
2 | <!-- 编辑 --> | ||
3 | <dialogBox :title="title" @closeDialog="closeDialog" @submitForm="handleSubmit" v-model="myValue"> | ||
4 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px"> | ||
5 | <el-row> | ||
6 | <el-col :span="6"> | ||
7 | <el-form-item label="接入点代码" prop="jrddm"> | ||
8 | <el-input v-model="ruleForm.jrddm" placeholder="接入点代码"></el-input> | ||
9 | </el-form-item> | ||
10 | </el-col> | ||
11 | <el-col :span="6"> | ||
12 | <el-form-item label="接入点名称" prop="jrdmc"> | ||
13 | <el-input v-model="ruleForm.jrdmc" placeholder="接入点名称"></el-input> | ||
14 | </el-form-item> | ||
15 | </el-col> | ||
16 | <el-col :span="6"> | ||
17 | <el-form-item label="队列名称" prop="dlmc"> | ||
18 | <el-input v-model="ruleForm.dlmc" placeholder="队列名称"></el-input> | ||
19 | </el-form-item> | ||
20 | </el-col> | ||
21 | <el-col :span="6"> | ||
22 | <el-form-item label="ip地址" prop="ip"> | ||
23 | <el-input v-model="ruleForm.ip" placeholder="ip地址"></el-input> | ||
24 | </el-form-item> | ||
25 | </el-col> | ||
26 | </el-row> | ||
27 | <el-row> | ||
28 | <el-col :span="6"> | ||
29 | <el-form-item label="负责人" prop="fzr"> | ||
30 | <el-input v-model="ruleForm.fzr" placeholder="负责人"></el-input> | ||
31 | </el-form-item> | ||
32 | </el-col> | ||
33 | </el-row> | ||
34 | </el-form> | ||
35 | </dialogBox> | ||
36 | </template> | ||
37 | |||
38 | <script> | ||
39 | export default { | ||
40 | props: { | ||
41 | value: { type: Boolean, default: false }, | ||
42 | title: { type: String, default: '详情' } | ||
43 | }, | ||
44 | data () { | ||
45 | return { | ||
46 | myValue: this.value, | ||
47 | ruleForm: { | ||
48 | jrddm: '', | ||
49 | jrdmc: '', | ||
50 | dlmc: '', | ||
51 | ywmc: '', | ||
52 | czsj: '' | ||
53 | }, | ||
54 | rules: { | ||
55 | jrddm: [ | ||
56 | { required: true, message: '接入点代码', trigger: 'blur' } | ||
57 | ], | ||
58 | jrdmc: [ | ||
59 | { required: true, message: '行政区名称', trigger: 'blur' } | ||
60 | ], | ||
61 | dlmc: [ | ||
62 | { required: true, message: '队列名称', trigger: 'blur' } | ||
63 | ], | ||
64 | ip: [ | ||
65 | { required: true, message: 'ip地址', trigger: 'blur' } | ||
66 | ], | ||
67 | fzr: [ | ||
68 | { required: true, message: '负责人', trigger: 'blur' } | ||
69 | ], | ||
70 | } | ||
71 | } | ||
72 | }, | ||
73 | watch: { | ||
74 | value (val) { | ||
75 | this.myValue = val | ||
76 | } | ||
77 | }, | ||
78 | methods: { | ||
79 | closeDialog () { | ||
80 | this.$emit('input', false) | ||
81 | }, | ||
82 | handleSubmit () { | ||
83 | this.$emit('input', false) | ||
84 | } | ||
85 | } | ||
86 | } | ||
87 | </script> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
src/views/jrqygl/data/index.js
deleted
100644 → 0
1 | import filter from '@/utils/filter.js' | ||
2 | class data extends filter { | ||
3 | constructor() { | ||
4 | super() | ||
5 | } | ||
6 | columns () { | ||
7 | return [ | ||
8 | { | ||
9 | type: 'selection' | ||
10 | }, | ||
11 | { | ||
12 | prop: "jrddm", | ||
13 | label: "接入点代码", | ||
14 | }, | ||
15 | { | ||
16 | prop: "jrdmc", | ||
17 | label: "接入点名称", | ||
18 | }, | ||
19 | { | ||
20 | prop: "dlmc", | ||
21 | label: "队列名称", | ||
22 | }, | ||
23 | { | ||
24 | prop: "ip", | ||
25 | label: "ip地址", | ||
26 | }, | ||
27 | { | ||
28 | prop: "dk", | ||
29 | label: "端口号", | ||
30 | }, | ||
31 | { | ||
32 | prop: "fzr", | ||
33 | label: "负责人", | ||
34 | }, | ||
35 | { | ||
36 | prop: 'status', | ||
37 | label: '状态', | ||
38 | render: (h, scope) => { | ||
39 | return ( | ||
40 | <div> | ||
41 | { | ||
42 | scope.row.status | ||
43 | ? <el-tag type='warning'>中断</el-tag> | ||
44 | : <el-tag type='warning'>中断1</el-tag> | ||
45 | } | ||
46 | </div> | ||
47 | ) | ||
48 | } | ||
49 | }, | ||
50 | ] | ||
51 | } | ||
52 | } | ||
53 | export default new data() |
src/views/jrqygl/index.scss
deleted
100644 → 0
File mode changed
src/views/jrqygl/index.vue
deleted
100644 → 0
1 | <template> | ||
2 | <!-- 接入区域管理 --> | ||
3 | <div class="from-clues"> | ||
4 | <!-- 头部搜索 --> | ||
5 | <div class="from-clues-header"> | ||
6 | <el-form ref="ruleForm" :model="form" label-width="100px"> | ||
7 | <el-row> | ||
8 | <el-col :span="6"> | ||
9 | <el-form-item label="负责人" label-width="60px" prop="fzr"> | ||
10 | <el-input v-model="form.fzr" placeholder="负责人"></el-input> | ||
11 | </el-form-item> | ||
12 | </el-col> | ||
13 | <el-col :span="6"> | ||
14 | <el-form-item label="接入点名称" prop="jrdmc"> | ||
15 | <el-select v-model="form.jrdmc" class="width100" clearable placeholder="接入点名称"> | ||
16 | <el-option v-for="item in []" :key="item.value" :label="item.label" :value="item.value"> | ||
17 | </el-option> | ||
18 | </el-select> | ||
19 | </el-form-item> | ||
20 | </el-col> | ||
21 | <!-- 操作按钮 --> | ||
22 | <el-col :span="12" class="btnColRight"> | ||
23 | <el-form-item> | ||
24 | <el-button type="primary">删除</el-button> | ||
25 | <el-button @click="resetForm">重置</el-button> | ||
26 | <el-button type="primary">新增</el-button> | ||
27 | <el-button type="primary" @click="handleSubmit">查询</el-button> | ||
28 | </el-form-item> | ||
29 | </el-col> | ||
30 | </el-row> | ||
31 | </el-form> | ||
32 | </div> | ||
33 | <!-- 列表数据 --> | ||
34 | <div class="from-clues-content"> | ||
35 | <lb-table ref="table" @selection-change="handleSelectionChange" :page-size="pageData.size" | ||
36 | :current-page.sync="pageData.current" :total="pageData.total" @size-change="handleSizeChange" | ||
37 | @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data"> | ||
38 | </lb-table> | ||
39 | </div> | ||
40 | <!-- 修改弹框 --> | ||
41 | <detailDialog v-model="isShow" /> | ||
42 | </div> | ||
43 | </template> | ||
44 | <script> | ||
45 | // 接入区域管理 | ||
46 | // 引入table数据 | ||
47 | import data from "./data" | ||
48 | // 引入混入方法 | ||
49 | import tableMixin from '@/mixins/tableMixin.js' | ||
50 | // 引入修改弹框 | ||
51 | import detailDialog from './components/detailDialog' | ||
52 | export default { | ||
53 | name: "jrqygl", | ||
54 | mixins: [tableMixin], | ||
55 | // 注册组件 | ||
56 | components: { | ||
57 | detailDialog | ||
58 | }, | ||
59 | data () { | ||
60 | return { | ||
61 | isShow: false, | ||
62 | // 搜索表单 | ||
63 | form: { | ||
64 | fzr: '', | ||
65 | jrdmc: '', | ||
66 | currentPage: 1 | ||
67 | }, | ||
68 | // 表单校验 | ||
69 | rules: { | ||
70 | fzr: [ | ||
71 | { required: true, message: '负责人', trigger: 'change' } | ||
72 | ], | ||
73 | jrdmc: [ | ||
74 | { required: true, message: '接入点名称', trigger: 'change' } | ||
75 | ] | ||
76 | }, | ||
77 | // 列表数据 | ||
78 | tableData: { | ||
79 | // 列表头部 | ||
80 | columns: data.columns().concat([ | ||
81 | { | ||
82 | label: "操作", | ||
83 | width: '80', | ||
84 | render: (h, scope) => { | ||
85 | return ( | ||
86 | <div> | ||
87 | <el-button | ||
88 | type="text" | ||
89 | size="mini" | ||
90 | onClick={() => { this.handleEdit(scope.row) }} | ||
91 | > | ||
92 | 修改 | ||
93 | </el-button> | ||
94 | </div> | ||
95 | ) | ||
96 | } | ||
97 | } | ||
98 | ]), | ||
99 | // 列表数据 | ||
100 | data: [{}] | ||
101 | }, | ||
102 | // 分页 | ||
103 | pageData: { | ||
104 | total: 0, | ||
105 | pageSize: 15, | ||
106 | } | ||
107 | } | ||
108 | }, | ||
109 | methods: { | ||
110 | // 多选 | ||
111 | handleSelectionChange (val) { | ||
112 | }, | ||
113 | // 重置表单 | ||
114 | resetForm () { | ||
115 | this.$refs.ruleForm.resetFields(); | ||
116 | }, | ||
117 | // 初始化数据 | ||
118 | async featchData () { | ||
119 | }, | ||
120 | // 修改 | ||
121 | handleEdit (row) { | ||
122 | this.isShow = true | ||
123 | } | ||
124 | } | ||
125 | } | ||
126 | </script> | ||
127 | <style scoped lang="scss"> | ||
128 | @import "~@/styles/public.scss"; | ||
129 | @import "./index.scss"; | ||
130 | </style> | ||
131 |
... | @@ -5,10 +5,10 @@ | ... | @@ -5,10 +5,10 @@ |
5 | <template> | 5 | <template> |
6 | <div class='result'> | 6 | <div class='result'> |
7 | <p>响应xml</p> | 7 | <p>响应xml</p> |
8 | <el-input type="textarea" :rows="6" class="resulttext" placeholder="请输入内容" v-model="REPMSGXML"> | 8 | <el-input type="textarea" :rows="6" class="resulttext" placeholder="响应xml" v-model="REPMSGXML"> |
9 | </el-input> | 9 | </el-input> |
10 | <p>错误信息</p> | 10 | <p>错误信息</p> |
11 | <el-input type="textarea" :rows="6" class="resulttext" placeholder="请输入内容" v-model="ERRORINFO"> | 11 | <el-input type="textarea" :rows="6" class="resulttext" placeholder="错误信息" v-model="ERRORINFO"> |
12 | </el-input> | 12 | </el-input> |
13 | </div> | 13 | </div> |
14 | </template> | 14 | </template> | ... | ... |
... | @@ -36,16 +36,17 @@ class data extends filter { | ... | @@ -36,16 +36,17 @@ class data extends filter { |
36 | { | 36 | { |
37 | prop: "areacode", | 37 | prop: "areacode", |
38 | label: "行政区代码", | 38 | label: "行政区代码", |
39 | width: 70, | 39 | width: 90, |
40 | }, | 40 | }, |
41 | { | 41 | { |
42 | prop: "areaName", | 42 | prop: "areaName", |
43 | label: "行政区名称", | 43 | label: "行政区名称", |
44 | width: 70, | 44 | width: 90, |
45 | }, | 45 | }, |
46 | { | 46 | { |
47 | prop: "bizMsgid", | 47 | prop: "bizMsgid", |
48 | label: "业务报文ID", | 48 | label: "业务报文ID", |
49 | width: 90, | ||
49 | }, | 50 | }, |
50 | { | 51 | { |
51 | prop: "createdate", | 52 | prop: "createdate", |
... | @@ -65,7 +66,7 @@ class data extends filter { | ... | @@ -65,7 +66,7 @@ class data extends filter { |
65 | { | 66 | { |
66 | prop: "rectype", | 67 | prop: "rectype", |
67 | label: "业务编码", | 68 | label: "业务编码", |
68 | width: 70, | 69 | width: 80, |
69 | }, | 70 | }, |
70 | { | 71 | { |
71 | prop: "rectypeName", | 72 | prop: "rectypeName", | ... | ... |
This diff is collapsed.
Click to expand it.
src/views/jsbwcxrk/data/index.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
src/views/jsbwcxrk/index.scss
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
src/views/jsbwcxrk/index.vue
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/views/jsgzgl/data/index.js
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
src/views/jsgzgl/index.scss
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
src/views/jsgzgl/index.vue
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/views/zxrz/index.scss
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
src/views/zxrz/index.vue
deleted
100644 → 0
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment