1b7ccc48 by 任超

style:地役权

2 parents 07053667 8aff5c97
...@@ -25,13 +25,13 @@ ...@@ -25,13 +25,13 @@
25 </el-col> 25 </el-col>
26 26
27 <el-col :span="8"> 27 <el-col :span="8">
28 <el-form-item prop="DJDL" class="borderTopNone"> 28 <el-form-item prop="DJLX" class="borderTopNone">
29 <span slot="label"> 29 <span slot="label">
30 登记大类<br /> 30 登记类型<br />
31 <p class="label-detail">(DJDL</p> 31 <p class="label-detail">(DJLX</p>
32 </span> 32 </span>
33 <el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJDL" 33 <el-select :disabled="$store.state.business.Edit" v-model="ruleForm.DJLX"
34 :placeholder="$store.state.business.Edit ? '' : '登记大类'"> 34 :placeholder="$store.state.business.Edit ? '' : '登记类型'">
35 <el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> 35 <el-option v-for="item in dicData['A21']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
36 </el-option> 36 </el-option>
37 </el-select> 37 </el-select>
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
40 </el-row> 40 </el-row>
41 41
42 <el-row> 42 <el-row>
43 <el-col :span="8"> 43 <!-- <el-col :span="8">
44 <el-form-item prop="DJXL"> 44 <el-form-item prop="DJXL">
45 <span slot="label"> 45 <span slot="label">
46 登记小类: <br /> 46 登记小类: <br />
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
49 <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJXL" 49 <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.DJXL"
50 :placeholder="$store.state.business.Edit ? '' : '登记小类'"></el-input> 50 :placeholder="$store.state.business.Edit ? '' : '登记小类'"></el-input>
51 </el-form-item> 51 </el-form-item>
52 </el-col> 52 </el-col> -->
53 53
54 <el-col :span="8"> 54 <el-col :span="8">
55 <el-form-item prop="QXDM"> 55 <el-form-item prop="QXDM">
...@@ -68,24 +68,26 @@ ...@@ -68,24 +68,26 @@
68 申请证书版式: <br /> 68 申请证书版式: <br />
69 <p class="label-detail">(SQZSBS)</p> 69 <p class="label-detail">(SQZSBS)</p>
70 </span> 70 </span>
71 <item-select :placeholder="$store.state.business.Edit ? '' : '申请证书版式'" v-model="ruleForm.SQZSBS" 71 <el-select :disabled="$store.state.business.Edit" v-model="ruleForm.SQZSBS" placeholder="申请证书版式">
72 selectType="A41" transformation /> 72 <el-option v-for="item in dicData['A41']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
73 </el-option>
74 </el-select>
73 </el-form-item> 75 </el-form-item>
74 </el-col> 76 </el-col>
75 </el-row>
76 <!-- 申请分别持证 -->
77 <el-row>
78 <el-col :span="8"> 77 <el-col :span="8">
79 <el-form-item prop="SQFBCZ" :rules="{ type: 'number' }"> 78 <el-form-item prop="SQFBCZ" :rules="{ type: 'number' }">
80 <span slot="label"> 79 <span slot="label">
81 申请分别持证: <br /> 80 申请分别持证: <br />
82 <p class="label-detail">(SQFBCZ)</p> 81 <p class="label-detail">(SQFBCZ)</p>
83 </span> 82 </span>
84 <item-select :placeholder="$store.state.business.Edit ? '' : '申请分别持证'" v-model="ruleForm.SQZSBS" 83 <el-select :disabled="$store.state.business.Edit" v-model="ruleForm.SQFBCZ" placeholder="申请分别持证">
85 selectType="A6" transformation /> 84 <el-option v-for="item in dicData['A6']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE">
85 </el-option>
86 </el-select>
86 </el-form-item> 87 </el-form-item>
87 </el-col> 88 </el-col>
88 89 </el-row>
90 <el-row>
89 <el-col :span="8"> 91 <el-col :span="8">
90 <el-form-item prop="SLRY"> 92 <el-form-item prop="SLRY">
91 <span slot="label"> 93 <span slot="label">
...@@ -109,9 +111,6 @@ ...@@ -109,9 +111,6 @@
109 </el-date-picker> 111 </el-date-picker>
110 </el-form-item> 112 </el-form-item>
111 </el-col> 113 </el-col>
112 </el-row>
113
114 <el-row>
115 <el-col :span="8"> 114 <el-col :span="8">
116 <el-form-item prop="ZL"> 115 <el-form-item prop="ZL">
117 <span slot="label"> 116 <span slot="label">
...@@ -122,7 +121,8 @@ ...@@ -122,7 +121,8 @@
122 :placeholder="$store.state.business.Edit ? '' : '坐落'"></el-input> 121 :placeholder="$store.state.business.Edit ? '' : '坐落'"></el-input>
123 </el-form-item> 122 </el-form-item>
124 </el-col> 123 </el-col>
125 124 </el-row>
125 <el-row>
126 <el-col :span="8"> 126 <el-col :span="8">
127 <el-form-item prop="TZRXM"> 127 <el-form-item prop="TZRXM">
128 <span slot="label"> 128 <span slot="label">
...@@ -146,9 +146,6 @@ ...@@ -146,9 +146,6 @@
146 </el-select> 146 </el-select>
147 </el-form-item> 147 </el-form-item>
148 </el-col> 148 </el-col>
149 </el-row>
150
151 <el-row>
152 <el-col :span="8"> 149 <el-col :span="8">
153 <el-form-item prop="TZRDH"> 150 <el-form-item prop="TZRDH">
154 <span slot="label"> 151 <span slot="label">
...@@ -159,7 +156,8 @@ ...@@ -159,7 +156,8 @@
159 maxlength="11" placeholder="通知人电话" v-model="ruleForm.TZRDH"></el-input> 156 maxlength="11" placeholder="通知人电话" v-model="ruleForm.TZRDH"></el-input>
160 </el-form-item> 157 </el-form-item>
161 </el-col> 158 </el-col>
162 159 </el-row>
160 <el-row>
163 <el-col :span="8"> 161 <el-col :span="8">
164 <el-form-item prop="TZRYDDH"> 162 <el-form-item prop="TZRYDDH">
165 <span slot="label"> 163 <span slot="label">
...@@ -170,21 +168,17 @@ ...@@ -170,21 +168,17 @@
170 onkeyup="this.value=this.value.replace(/[^\d.]/g,'');" maxlength="11"></el-input> 168 onkeyup="this.value=this.value.replace(/[^\d.]/g,'');" maxlength="11"></el-input>
171 </el-form-item> 169 </el-form-item>
172 </el-col> 170 </el-col>
173
174 <el-col :span="8"> 171 <el-col :span="8">
175 <el-form-item prop="TZRDZYJ"> 172 <el-form-item prop="TZRDZYJ">
176 <span slot="label"> 173 <span slot="label">
177 通知人电子邮件: <br /> 174 通知人电子邮件: <br />
178 <p class="label-detail">(TZRDZYJ)</p> 175 <p class="label-detail">(TZRDZYJ)</p>
179 </span> 176 </span>
180 <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.TZRDZYJ" 177 <el-input :disabled="$store.state.business.Edit" v-model="ruleForm.TZRDZYJ" placeholder="通知人电子邮件">
181 placeholder="通知人电子邮件"></el-input> 178 </el-input>
182 </el-form-item> 179 </el-form-item>
183 </el-col> 180 </el-col>
184 </el-row> 181 <el-col :span="8">
185
186 <el-row>
187 <el-col :span="8">
188 <el-form-item prop="SFWTAJ"> 182 <el-form-item prop="SFWTAJ">
189 <span slot="label"> 183 <span slot="label">
190 是否问题案件: <br /> 184 是否问题案件: <br />
...@@ -196,7 +190,8 @@ ...@@ -196,7 +190,8 @@
196 </el-select> 190 </el-select>
197 </el-form-item> 191 </el-form-item>
198 </el-col> 192 </el-col>
199 193 </el-row>
194 <el-row>
200 <el-col :span="8"> 195 <el-col :span="8">
201 <el-form-item prop="JSSJ"> 196 <el-form-item prop="JSSJ">
202 <span slot="label"> 197 <span slot="label">
...@@ -208,7 +203,6 @@ ...@@ -208,7 +203,6 @@
208 </el-date-picker> 203 </el-date-picker>
209 </el-form-item> 204 </el-form-item>
210 </el-col> 205 </el-col>
211
212 <el-col :span="8"> 206 <el-col :span="8">
213 <el-form-item prop="AJZT"> 207 <el-form-item prop="AJZT">
214 <span slot="label"> 208 <span slot="label">
...@@ -221,9 +215,6 @@ ...@@ -221,9 +215,6 @@
221 </el-select> 215 </el-select>
222 </el-form-item> 216 </el-form-item>
223 </el-col> 217 </el-col>
224 </el-row>
225
226 <el-row>
227 <el-col :span="8"> 218 <el-col :span="8">
228 <el-form-item prop="BZ"> 219 <el-form-item prop="BZ">
229 <span slot="label"> 220 <span slot="label">
...@@ -240,67 +231,67 @@ ...@@ -240,67 +231,67 @@
240 </template> 231 </template>
241 <script> 232 <script>
242 // 登记受理申请信息 233 // 登记受理申请信息
243 import business from '@/api/business' 234 import business from "@/api/business";
244 import ruleMixin from '@/mixins/ruleMixin.js' 235 import ruleMixin from "@/mixins/ruleMixin.js";
245 export default { 236 export default {
246 mixins: [ruleMixin], 237 mixins: [ruleMixin],
247 props: { 238 props: {
248 bsmSjsb: { 239 bsmSjsb: {
249 type: String, 240 type: String,
250 default: '' 241 default: "",
251 }, 242 },
252 bsmYwsjb: { 243 bsmYwsjb: {
253 type: String, 244 type: String,
254 default: '' 245 default: "",
255 } 246 },
256 }, 247 },
257 data () { 248 data() {
258 return { 249 return {
259 ruleForm: { 250 ruleForm: {
260 YSDM: '', 251 YSDM: "",
261 YWH: '', 252 YWH: "",
262 DJDL: '', 253 DJDL: "",
263 DJXL: '', 254 DJXL: "",
264 QXDM: '', 255 QXDM: "",
265 SQZSBS: null, 256 SQZSBS: null,
266 SQFBCZ: null, 257 SQFBCZ: null,
267 SLRY: '', 258 SLRY: "",
268 SLSJ: '', 259 SLSJ: "",
269 ZL: '', 260 ZL: "",
270 TZRXM: '', 261 TZRXM: "",
271 TZFS: '', 262 TZFS: "",
272 TZRDH: '', 263 TZRDH: "",
273 TZRYDDH: '', 264 TZRYDDH: "",
274 TZRDZYJ: '', 265 TZRDZYJ: "",
275 SFWTAJ: '', 266 SFWTAJ: "",
276 JSSJ: '', 267 JSSJ: "",
277 AJZT: '', 268 AJZT: "",
278 BZ: '' 269 BZ: "",
279 } 270 },
280 } 271 };
281 }, 272 },
282 methods: { 273 methods: {
283 async featchData () { 274 async featchData() {
284 try { 275 try {
285 let { result: res } = await business.getDjtDjSlsqById(this.bsmSjsb) 276 let { result: res } = await business.getDjtDjSlsqById(this.bsmSjsb);
286 this.ruleForm = res 277 this.ruleForm = res;
287 //this.featchRule() 278 //this.featchRule()
288 } catch (error) { 279 } catch (error) {
289 this.$refs.msg.messageShow() 280 this.$refs.msg.messageShow();
290 } 281 }
291 }, 282 },
292 handleUpdateForm () { 283 handleUpdateForm() {
293 return new Promise(async (resolve) => { 284 return new Promise(async (resolve) => {
294 try { 285 try {
295 let res = await business.updateDjtDjSlsq(this.ruleForm) 286 let res = await business.updateDjtDjSlsq(this.ruleForm);
296 resolve(res.code) 287 resolve(res.code);
297 } catch (error) { 288 } catch (error) {
298 this.$refs.msg.messageShow() 289 this.$refs.msg.messageShow();
299 } 290 }
300 }) 291 });
301 }, 292 },
302 } 293 },
303 } 294 };
304 </script> 295 </script>
305 <style scoped lang="scss"> 296 <style scoped lang="scss">
306 @import "./css/itemForm.scss"; 297 @import "./css/itemForm.scss";
......
...@@ -36,6 +36,10 @@ export default { ...@@ -36,6 +36,10 @@ export default {
36 axisLabel: { 36 axisLabel: {
37 show: true, 37 show: true,
38 color: "#ffff", 38 color: "#ffff",
39 textStyle: {
40 fontWeight: "normal",
41 fontSize: "8",
42 },
39 }, 43 },
40 axisTick: { 44 axisTick: {
41 show: false, 45 show: false,
...@@ -45,7 +49,7 @@ export default { ...@@ -45,7 +49,7 @@ export default {
45 lineStyle: { 49 lineStyle: {
46 color: "rgba(95, 180, 237, 0.32)", 50 color: "rgba(95, 180, 237, 0.32)",
47 }, 51 },
48 }, 52 }
49 }, 53 },
50 yAxis: { 54 yAxis: {
51 splitLine: { 55 splitLine: {
......
...@@ -3,48 +3,84 @@ ...@@ -3,48 +3,84 @@
3 </template> 3 </template>
4 4
5 <script> 5 <script>
6 import Chart from './chart.vue' 6 import Chart from "./chart.vue";
7 export default { 7 export default {
8 data () { 8 data() {
9 return { 9 return {
10 cdata: { 10 cdata: {
11 category: [ 11 category: [],
12 "首次", 12 lineData: [],
13 "转移", 13 },
14 "变更",
15 "注销",
16 "更正",
17 "异议",
18 "预告",
19 "查封",
20 "其他",
21
22 ],
23 lineData: [
24 14715,
25 8444,
26 10415,
27 6061,
28 18092,
29 12728,
30 9045,
31 8348,
32 20008,
33 ],
34 }
35 }; 14 };
36 }, 15 },
37 components: { 16 components: {
38 Chart, 17 Chart,
39 }, 18 },
40 mounted () { 19 created() {
20 this.queryClick();
41 }, 21 },
22 mounted() {},
42 methods: { 23 methods: {
43 24 queryClick() {
44 } 25 console.log("来了kkksxdx");
26 // getDataReportPage({ ...this.form, ...this.pageData }).then((res) => {
27 let data = {
28 success: true,
29 message: "操作成功!",
30 code: 200,
31 result: [
32 {
33 AREACODE: "转移登记",
34 ywtotal: "2",
35 },
36 {
37 AREACODE: "变更登记",
38 ywtotal: "4",
39 },
40 {
41 AREACODE: "注销登记",
42 ywtotal: "6",
43 },
44 {
45 AREACODE: "更正登记",
46 ywtotal: "2",
47 },
48 {
49 AREACODE: "首次登记",
50 ywtotal: "11",
51 },
52 {
53 AREACODE: "预告登记",
54 ywtotal: "5",
55 },
56 {
57 AREACODE: "补证",
58 ywtotal: "1",
59 },
60 {
61 AREACODE: "换证",
62 ywtotal: "2",
63 },
64 {
65 AREACODE: "查封登记",
66 ywtotal: "2",
67 },
68 ],
69 timestamp: 1673856701381,
70 };
71 if (data.code === 200) {
72 data.result.filter((item) => {
73 return (
74 this.cdata.category.push(item.AREACODE),
75 this.cdata.lineData.push(item.ywtotal)
76 );
77 });
78 console.log("this.cdata", this.cdata);
79 }
80 // });
81 },
82 },
45 }; 83 };
46 </script> 84 </script>
47 85
48 <style lang="scss" scoped> 86 <style lang="scss" scoped></style>
49
50 </style>
......
...@@ -48,7 +48,7 @@ export default { ...@@ -48,7 +48,7 @@ export default {
48 } 48 }
49 49
50 .appMain { 50 .appMain {
51 height: calc(100vh - 94px) !important; 51 height: calc(100vh - 101px) !important;
52 box-sizing: border-box; 52 box-sizing: border-box;
53 53
54 .app-main { 54 .app-main {
......
...@@ -24,4 +24,4 @@ export default { ...@@ -24,4 +24,4 @@ export default {
24 width: 100%; 24 width: 100%;
25 margin-right: 15px; 25 margin-right: 15px;
26 } 26 }
27 </style>
...\ No newline at end of file ...\ No newline at end of file
27 </style>
......
...@@ -44,4 +44,4 @@ $borderColor: #EBEEF5; ...@@ -44,4 +44,4 @@ $borderColor: #EBEEF5;
44 sideBarFontSize: $sideBarFontSize; 44 sideBarFontSize: $sideBarFontSize;
45 borderColor: $borderColor; 45 borderColor: $borderColor;
46 headerHeight: $headerHeight; 46 headerHeight: $headerHeight;
47 }
...\ No newline at end of file ...\ No newline at end of file
47 }
......
...@@ -27,8 +27,8 @@ ...@@ -27,8 +27,8 @@
27 <el-input v-model="form.CFWH" placeholder="查封文号"></el-input> 27 <el-input v-model="form.CFWH" placeholder="查封文号"></el-input>
28 </el-form-item> 28 </el-form-item>
29 </el-col> 29 </el-col>
30 <el-col :span="4" class="from-clues-search-button"> 30 <el-col :span="4" class="btnColRight">
31 <el-button type="primary" @click="handleSubmit">查询结果</el-button> 31 <btn nativeType="cx" @click="handleSubmit">查询结果</btn>
32 </el-col> 32 </el-col>
33 </el-row> 33 </el-row>
34 </el-form> 34 </el-form>
...@@ -151,4 +151,4 @@ export default { ...@@ -151,4 +151,4 @@ export default {
151 </script> 151 </script>
152 <style scoped lang="scss"> 152 <style scoped lang="scss">
153 @import "~@/styles/public.scss"; 153 @import "~@/styles/public.scss";
154 </style>
...\ No newline at end of file ...\ No newline at end of file
154 </style>
......
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
22 </el-select> 22 </el-select>
23 </el-form-item> 23 </el-form-item>
24 </el-col> 24 </el-col>
25 <el-col :span="4" class="from-clues-search-button"> 25 <el-col :span="4" class="btnColRight">
26 <el-button type="primary" @click="handleSubmit">查询结果</el-button> 26 <btn nativeType="cx" @click="handleSubmit">查询结果</btn>
27 </el-col> 27 </el-col>
28 </el-row> 28 </el-row>
29 </el-form> 29 </el-form>
......
...@@ -196,4 +196,4 @@ export default { ...@@ -196,4 +196,4 @@ export default {
196 <style scoped lang="scss"> 196 <style scoped lang="scss">
197 @import "~@/styles/public.scss"; 197 @import "~@/styles/public.scss";
198 @import "./index.scss"; 198 @import "./index.scss";
199 </style>
...\ No newline at end of file ...\ No newline at end of file
199 </style>
......
...@@ -31,8 +31,8 @@ ...@@ -31,8 +31,8 @@
31 <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input> 31 <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input>
32 </el-form-item> 32 </el-form-item>
33 </el-col> 33 </el-col>
34 <el-col :span="4" class="btnColRight"> 34 <el-col :span="4" class="btnColRight">
35 <el-button type="primary" @click="handleSubmit">查询结果</el-button> 35 <btn nativeType="cx" @click="handleSubmit">查询结果</btn>
36 </el-col> 36 </el-col>
37 </el-row> 37 </el-row>
38 </el-form> 38 </el-form>
...@@ -191,4 +191,4 @@ export default { ...@@ -191,4 +191,4 @@ export default {
191 </script> 191 </script>
192 <style scoped lang="scss"> 192 <style scoped lang="scss">
193 @import "~@/styles/public.scss"; 193 @import "~@/styles/public.scss";
194 </style>
...\ No newline at end of file ...\ No newline at end of file
194 </style>
......
...@@ -22,8 +22,8 @@ ...@@ -22,8 +22,8 @@
22 <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input> 22 <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input>
23 </el-form-item> 23 </el-form-item>
24 </el-col> 24 </el-col>
25 <el-col :span="9" class="btnColRight"> 25 <el-col :span="4" class="btnColRight">
26 <el-button type="primary" @click="handleSubmit">查询结果</el-button> 26 <btn nativeType="cx" @click="handleSubmit">查询结果</btn>
27 </el-col> 27 </el-col>
28 </el-row> 28 </el-row>
29 </el-form> 29 </el-form>
...@@ -147,4 +147,4 @@ export default { ...@@ -147,4 +147,4 @@ export default {
147 </script> 147 </script>
148 <style scoped lang="scss"> 148 <style scoped lang="scss">
149 @import "~@/styles/public.scss"; 149 @import "~@/styles/public.scss";
150 </style>
...\ No newline at end of file ...\ No newline at end of file
150 </style>
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
32 </el-form-item> 32 </el-form-item>
33 </el-col> 33 </el-col>
34 <el-col :span="4" class="btnColRight"> 34 <el-col :span="4" class="btnColRight">
35 <el-button type="primary" @click="handleSubmit">查询结果</el-button> 35 <btn nativeType="cx" @click="handleSubmit">查询结果</btn>
36 </el-col> 36 </el-col>
37 </el-row> 37 </el-row>
38 </el-form> 38 </el-form>
...@@ -191,4 +191,4 @@ export default { ...@@ -191,4 +191,4 @@ export default {
191 </script> 191 </script>
192 <style scoped lang="scss"> 192 <style scoped lang="scss">
193 @import "~@/styles/public.scss"; 193 @import "~@/styles/public.scss";
194 </style>
...\ No newline at end of file ...\ No newline at end of file
194 </style>
......
...@@ -31,8 +31,8 @@ ...@@ -31,8 +31,8 @@
31 <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input> 31 <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input>
32 </el-form-item> 32 </el-form-item>
33 </el-col> 33 </el-col>
34 <el-col :span="4" class="from-clues-search-button"> 34 <el-col :span="4" class="btnColRight">
35 <el-button type="primary" @click="handleSubmit">查询结果</el-button> 35 <btn nativeType="cx" @click="handleSubmit">查询结果</btn>
36 </el-col> 36 </el-col>
37 </el-row> 37 </el-row>
38 </el-form> 38 </el-form>
...@@ -161,4 +161,4 @@ export default { ...@@ -161,4 +161,4 @@ export default {
161 <style scoped lang="scss"> 161 <style scoped lang="scss">
162 @import "~@/styles/public.scss"; 162 @import "~@/styles/public.scss";
163 @import "./index.scss"; 163 @import "./index.scss";
164 </style>
...\ No newline at end of file ...\ No newline at end of file
164 </style>
......
...@@ -31,8 +31,8 @@ ...@@ -31,8 +31,8 @@
31 <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input> 31 <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input>
32 </el-form-item> 32 </el-form-item>
33 </el-col> 33 </el-col>
34 <el-col :span="4" class="from-clues-search-button"> 34 <el-col :span="4" class="btnColRight">
35 <el-button type="primary" @click="handleSubmit">查询结果</el-button> 35 <btn nativeType="cx" @click="handleSubmit">查询结果</btn>
36 </el-col> 36 </el-col>
37 </el-row> 37 </el-row>
38 </el-form> 38 </el-form>
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
32 </el-form-item> 32 </el-form-item>
33 </el-col> 33 </el-col>
34 <el-col :span="4" class="btnColRight"> 34 <el-col :span="4" class="btnColRight">
35 <el-button type="primary" @click="handleSubmit">查询结果</el-button> 35 <btn nativeType="cx" @click="handleSubmit">查询结果</btn>
36 </el-col> 36 </el-col>
37 </el-row> 37 </el-row>
38 </el-form> 38 </el-form>
...@@ -192,4 +192,4 @@ export default { ...@@ -192,4 +192,4 @@ export default {
192 <style scoped lang="scss"> 192 <style scoped lang="scss">
193 @import "~@/styles/public.scss"; 193 @import "~@/styles/public.scss";
194 @import "./index.scss"; 194 @import "./index.scss";
195 </style>
...\ No newline at end of file ...\ No newline at end of file
195 </style>
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
13 <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input> 13 <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input>
14 </el-form-item> 14 </el-form-item>
15 </el-col> 15 </el-col>
16 <el-col :span="14" class="btnColRight"> 16 <el-col :span="4" class="btnColRight">
17 <el-button type="primary" @click="handleSubmit">查询结果</el-button> 17 <btn nativeType="cx" @click="handleSubmit">查询结果</btn>
18 </el-col> 18 </el-col>
19 </el-row> 19 </el-row>
20 </el-form> 20 </el-form>
...@@ -135,4 +135,4 @@ export default { ...@@ -135,4 +135,4 @@ export default {
135 <style scoped lang="scss"> 135 <style scoped lang="scss">
136 @import "~@/styles/public.scss"; 136 @import "~@/styles/public.scss";
137 @import "./index.scss"; 137 @import "./index.scss";
138 </style>
...\ No newline at end of file ...\ No newline at end of file
138 </style>
......
...@@ -31,8 +31,8 @@ ...@@ -31,8 +31,8 @@
31 <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input> 31 <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input>
32 </el-form-item> 32 </el-form-item>
33 </el-col> 33 </el-col>
34 <el-col :span="4" class="from-clues-search-button"> 34 <el-col :span="4" class="btnColRight">
35 <el-button type="primary" @click="handleSubmit">查询结果</el-button> 35 <btn nativeType="cx" @click="handleSubmit">查询结果</btn>
36 </el-col> 36 </el-col>
37 </el-row> 37 </el-row>
38 </el-form> 38 </el-form>
...@@ -161,4 +161,4 @@ export default { ...@@ -161,4 +161,4 @@ export default {
161 <style scoped lang="scss"> 161 <style scoped lang="scss">
162 @import "~@/styles/public.scss"; 162 @import "~@/styles/public.scss";
163 @import "./index.scss"; 163 @import "./index.scss";
164 </style>
...\ No newline at end of file ...\ No newline at end of file
164 </style>
......
...@@ -31,8 +31,8 @@ ...@@ -31,8 +31,8 @@
31 <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input> 31 <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input>
32 </el-form-item> 32 </el-form-item>
33 </el-col> 33 </el-col>
34 <el-col :span="3" class="from-clues-search-button"> 34 <el-col :span="4" class="btnColRight">
35 <el-button type="primary" @click="handleSubmit">查询结果</el-button> 35 <btn nativeType="cx" @click="handleSubmit">查询结果</btn>
36 </el-col> 36 </el-col>
37 </el-row> 37 </el-row>
38 </el-form> 38 </el-form>
......
...@@ -31,8 +31,8 @@ ...@@ -31,8 +31,8 @@
31 <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input> 31 <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input>
32 </el-form-item> 32 </el-form-item>
33 </el-col> 33 </el-col>
34 <el-col :span="4" class="from-clues-search-button"> 34 <el-col :span="4" class="btnColRight">
35 <el-button type="primary" @click="handleSubmit">查询结果</el-button> 35 <btn nativeType="cx" @click="handleSubmit">查询结果</btn>
36 </el-col> 36 </el-col>
37 </el-row> 37 </el-row>
38 </el-form> 38 </el-form>
...@@ -159,4 +159,4 @@ export default { ...@@ -159,4 +159,4 @@ export default {
159 </script> 159 </script>
160 <style scoped lang="scss"> 160 <style scoped lang="scss">
161 @import "~@/styles/public.scss"; 161 @import "~@/styles/public.scss";
162 </style>
...\ No newline at end of file ...\ No newline at end of file
162 </style>
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
13 <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input> 13 <el-input v-model="form.BDCDYH" placeholder="不动产单元号"></el-input>
14 </el-form-item> 14 </el-form-item>
15 </el-col> 15 </el-col>
16 <el-col :span="14" class="btnColRight"> 16 <el-col :span="4" class="btnColRight">
17 <el-button type="primary" @click="handleSubmit">查询结果</el-button> 17 <btn nativeType="cx" @click="handleSubmit">查询结果</btn>
18 </el-col> 18 </el-col>
19 </el-row> 19 </el-row>
20 </el-form> 20 </el-form>
...@@ -133,4 +133,4 @@ export default { ...@@ -133,4 +133,4 @@ export default {
133 <style scoped lang="scss"> 133 <style scoped lang="scss">
134 @import "~@/styles/public.scss"; 134 @import "~@/styles/public.scss";
135 @import "./index.scss"; 135 @import "./index.scss";
136 </style>
...\ No newline at end of file ...\ No newline at end of file
136 </style>
......
...@@ -20,11 +20,11 @@ ...@@ -20,11 +20,11 @@
20 > 20 >
21 </el-date-picker> 21 </el-date-picker>
22 </el-col> 22 </el-col>
23 <!-- 按钮操作 --> 23 <!-- 操作按钮 -->
24 <el-col :span="12" class="btnColRight"> 24 <el-col :span="3" class="btnColRight">
25 <el-button type="default" @click="resetForm"> 重置 </el-button> 25 <btn nativeType="cz" @click="resetForm">重置</btn>
26 <el-button type="primary"> 查询 </el-button> 26 <btn nativeType="cx">查询</btn>
27 </el-col> 27 </el-col>
28 </el-row> 28 </el-row>
29 </el-form> 29 </el-form>
30 <!-- 表格 --> 30 <!-- 表格 -->
...@@ -86,10 +86,10 @@ export default { ...@@ -86,10 +86,10 @@ export default {
86 text: "汉中市接入数量与上报数量统计(单位:个)\n(2022年02月05日~2022年03月07日)", 86 text: "汉中市接入数量与上报数量统计(单位:个)\n(2022年02月05日~2022年03月07日)",
87 left: "center", 87 left: "center",
88 textStyle: { 88 textStyle: {
89 fontSize: 30, 89 fontSize: 20,
90 lineHeight: 30, 90 lineHeight: 30,
91 height: 60, 91 height: 60,
92 color: "#fff", 92 color: "#b6b5b5",
93 }, 93 },
94 }, 94 },
95 legend: { 95 legend: {
...@@ -101,7 +101,7 @@ export default { ...@@ -101,7 +101,7 @@ export default {
101 ], 101 ],
102 top: 80, 102 top: 80,
103 textStyle: { 103 textStyle: {
104 fontSize: 24, 104 fontSize: 20,
105 lineHeight: 30, 105 lineHeight: 30,
106 height: 60, 106 height: 60,
107 color: "#777", 107 color: "#777",
...@@ -111,7 +111,7 @@ export default { ...@@ -111,7 +111,7 @@ export default {
111 show: true, 111 show: true,
112 trigger: "axis", 112 trigger: "axis",
113 textStyle: { 113 textStyle: {
114 fontSize: 22 // 字体大小 114 fontSize: 20 // 字体大小
115 }, 115 },
116 extraCssText: 'width:260px;height:200px;' // 背景色 116 extraCssText: 'width:260px;height:200px;' // 背景色
117 }, 117 },
...@@ -126,7 +126,7 @@ export default { ...@@ -126,7 +126,7 @@ export default {
126 textStyle: { 126 textStyle: {
127 show: true, 127 show: true,
128 color: "#fff", 128 color: "#fff",
129 fontSize: "24", 129 fontSize: "20",
130 }, 130 },
131 }, 131 },
132 }, 132 },
...@@ -138,7 +138,7 @@ export default { ...@@ -138,7 +138,7 @@ export default {
138 textStyle: { 138 textStyle: {
139 show: true, 139 show: true,
140 color: "#fff", 140 color: "#fff",
141 fontSize: "24", 141 fontSize: "20",
142 }, 142 },
143 }, 143 },
144 }, 144 },
...@@ -194,6 +194,7 @@ export default { ...@@ -194,6 +194,7 @@ export default {
194 .form-clues-content { 194 .form-clues-content {
195 flex: 1; 195 flex: 1;
196 height: 100%; 196 height: 100%;
197 color: #b6b5b5
197 } 198 }
198 } 199 }
199 </style> 200 </style>
......
...@@ -20,11 +20,11 @@ ...@@ -20,11 +20,11 @@
20 > 20 >
21 </el-date-picker> 21 </el-date-picker>
22 </el-col> 22 </el-col>
23 <!-- 按钮操作 --> 23 <!-- 操作按钮 -->
24 <el-col :span="12" class="btnColRight"> 24 <el-col :span="3" class="btnColRight">
25 <el-button type="default" @click="resetForm"> 重置 </el-button> 25 <btn nativeType="cz" @click="resetForm">重置</btn>
26 <el-button type="primary"> 查询 </el-button> 26 <btn nativeType="cx">查询</btn>
27 </el-col> 27 </el-col>
28 </el-row> 28 </el-row>
29 </el-form> 29 </el-form>
30 <!-- 表格 --> 30 <!-- 表格 -->
...@@ -86,10 +86,10 @@ export default { ...@@ -86,10 +86,10 @@ export default {
86 text: "汉中市接入数量与上报数量统计(单位:个)\n(2022年02月05日~2022年03月07日)", 86 text: "汉中市接入数量与上报数量统计(单位:个)\n(2022年02月05日~2022年03月07日)",
87 left: "center", 87 left: "center",
88 textStyle: { 88 textStyle: {
89 fontSize: 30, 89 fontSize: 20,
90 lineHeight: 30, 90 lineHeight: 30,
91 height: 60, 91 height: 60,
92 color: "#fff", 92 color: "#b6b5b5",
93 }, 93 },
94 }, 94 },
95 legend: { 95 legend: {
...@@ -101,7 +101,7 @@ export default { ...@@ -101,7 +101,7 @@ export default {
101 ], 101 ],
102 top: 80, 102 top: 80,
103 textStyle: { 103 textStyle: {
104 fontSize: 24, 104 fontSize: 20,
105 lineHeight: 30, 105 lineHeight: 30,
106 height: 60, 106 height: 60,
107 color: "#777", 107 color: "#777",
...@@ -111,7 +111,7 @@ export default { ...@@ -111,7 +111,7 @@ export default {
111 show: true, 111 show: true,
112 trigger: "axis", 112 trigger: "axis",
113 textStyle: { 113 textStyle: {
114 fontSize: 22 // 字体大小 114 fontSize: 20 // 字体大小
115 }, 115 },
116 extraCssText: 'width:260px;height:200px;' // 背景色 116 extraCssText: 'width:260px;height:200px;' // 背景色
117 }, 117 },
...@@ -126,7 +126,7 @@ export default { ...@@ -126,7 +126,7 @@ export default {
126 textStyle: { 126 textStyle: {
127 show: true, 127 show: true,
128 color: "#fff", 128 color: "#fff",
129 fontSize: "24", 129 fontSize: "20",
130 }, 130 },
131 }, 131 },
132 }, 132 },
...@@ -138,7 +138,7 @@ export default { ...@@ -138,7 +138,7 @@ export default {
138 textStyle: { 138 textStyle: {
139 show: true, 139 show: true,
140 color: "#fff", 140 color: "#fff",
141 fontSize: "24", 141 fontSize: "20",
142 }, 142 },
143 }, 143 },
144 }, 144 },
......
...@@ -14,11 +14,11 @@ ...@@ -14,11 +14,11 @@
14 <el-input v-model="ruleForm.dname" @clear="queryClick" clearable placeholder="字典类型名称"></el-input> 14 <el-input v-model="ruleForm.dname" @clear="queryClick" clearable placeholder="字典类型名称"></el-input>
15 </el-form-item> 15 </el-form-item>
16 </el-col> 16 </el-col>
17 <!-- 操作按钮 -->
17 <el-col :span="12" class="btnColRight"> 18 <el-col :span="12" class="btnColRight">
18 <el-form-item> 19
19 <el-button type="primary" native-type="submit" icon="el-icon-search" @click="queryClick">查询</el-button> 20 <btn nativeType="cx" @click="queryClick">查询</btn>
20 <el-button icon="el-icon-refresh" @click="handleRefresh">刷新缓存</el-button> 21 <btn nativeType="sb" @click="handleRefresh">刷新缓存</btn>
21 </el-form-item>
22 </el-col> 22 </el-col>
23 </el-row> 23 </el-row>
24 </el-form> 24 </el-form>
......
...@@ -5,31 +5,47 @@ ...@@ -5,31 +5,47 @@
5 <el-row> 5 <el-row>
6 <el-col :span="6"> 6 <el-col :span="6">
7 <el-form-item label="数据表名"> 7 <el-form-item label="数据表名">
8 <el-input v-model="form.DATATABLE" placeholder="数据表名"></el-input> 8 <el-input
9 v-model="form.DATATABLE"
10 placeholder="数据表名"
11 ></el-input>
9 </el-form-item> 12 </el-form-item>
10 </el-col> 13 </el-col>
11 <el-col :span="6"> 14 <el-col :span="6">
12 <el-form-item label="中文名称"> 15 <el-form-item label="中文名称">
13 <el-input v-model="form.CHINESETABLE" placeholder="中文名称"></el-input> 16 <el-input
17 v-model="form.CHINESETABLE"
18 placeholder="中文名称"
19 ></el-input>
14 </el-form-item> 20 </el-form-item>
15 </el-col> 21 </el-col>
16 <el-col :span="6"> 22 <el-col :span="6">
17 <el-form-item label="tab表头链接标识"> 23 <el-form-item label="tab表头链接标识">
18 <el-input v-model="form.SOLEURL" placeholder="tab表头链接标识"></el-input> 24 <el-input
25 v-model="form.SOLEURL"
26 placeholder="tab表头链接标识"
27 ></el-input>
19 </el-form-item> 28 </el-form-item>
20 </el-col> 29 </el-col>
21 30
31 <!-- 操作按钮 -->
22 <el-col :span="6" class="btnColRight"> 32 <el-col :span="6" class="btnColRight">
23 <el-button @click="handleUpdateDic">刷新规则缓存</el-button> 33 <btn nativeType="sb" @click="handleUpdateDic">刷新缓存</btn>
24 <el-button type="primary" @click="handleSubmit">查询结果</el-button> 34 <btn nativeType="cx" @click="handleSubmit">查询结果</btn>
25 </el-col> 35 </el-col>
26 </el-row> 36 </el-row>
27 </el-form> 37 </el-form>
28 </div> 38 </div>
29 <div class="from-clues-content"> 39 <div class="from-clues-content">
30 <lb-table :page-size="pageData.size" :current-page.sync="pageData.current" :total="pageData.total" 40 <lb-table
31 @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" 41 :page-size="pageData.size"
32 :data="tableData.data"> 42 :current-page.sync="pageData.current"
43 :total="pageData.total"
44 @size-change="handleSizeChange"
45 @p-current-change="handleCurrentChange"
46 :column="tableData.columns"
47 :data="tableData.data"
48 >
33 </lb-table> 49 </lb-table>
34 <message-tips ref="msg" :message="message" /> 50 <message-tips ref="msg" :message="message" />
35 </div> 51 </div>
...@@ -39,145 +55,157 @@ ...@@ -39,145 +55,157 @@
39 55
40 <script> 56 <script>
41 // 字典 57 // 字典
42 import data from "./data" 58 import data from "./data";
43 import tableMixin from '@/mixins/tableMixin.js' 59 import tableMixin from "@/mixins/tableMixin.js";
44 import ruleConfig from '@/api/ruleConfig' 60 import ruleConfig from "@/api/ruleConfig";
45 import editValidRule from '../components/editValidRule.vue' 61 import editValidRule from "../components/editValidRule.vue";
46 export default { 62 export default {
47 name: "dictionary-config", 63 name: "dictionary-config",
48 mixins: [tableMixin], 64 mixins: [tableMixin],
49 components: { 65 components: {
50 editValidRule 66 editValidRule,
51 }, 67 },
52 data () { 68 data() {
53 return { 69 return {
54 message: '', 70 message: "",
55 form: { 71 form: {
56 DATATABLE: '', 72 DATATABLE: "",
57 CHINESETABLE: '', 73 CHINESETABLE: "",
58 SOLEURL: '', 74 SOLEURL: "",
59 currentPage: 1 75 currentPage: 1,
60 }, 76 },
61 preContent: '', 77 preContent: "",
62 tableData: { 78 tableData: {
63 columns: [{ 79 columns: [
64 label: '序号',
65 type: 'index',
66 width: '50',
67 index: this.indexMethod,
68 }].concat(data.columns()).concat([
69 { 80 {
70 label: "操作", 81 label: "序号",
71 render: (h, scope) => { 82 type: "index",
72 return ( 83 width: "50",
73 <div> 84 index: this.indexMethod,
74 <el-button 85 },
75 type="text" 86 ]
76 size="mini" 87 .concat(data.columns())
77 icon="el-icon-edit" 88 .concat([
78 onClick={() => { this.handleEdit(scope.$index, scope.row) }} 89 {
79 > 90 label: "操作",
80 编辑 91 render: (h, scope) => {
81 </el-button> 92 return (
93 <div>
94 <el-button
95 type="text"
96 size="mini"
97 icon="el-icon-edit"
98 onClick={() => {
99 this.handleEdit(scope.$index, scope.row);
100 }}
101 >
102 编辑
103 </el-button>
82 104
83 <el-button 105 <el-button
84 type="text" 106 type="text"
85 size="mini" 107 size="mini"
86 icon="el-icon-delete" 108 icon="el-icon-delete"
87 style="color:#F56C6C" 109 style="color:#F56C6C"
88 onClick={() => { this.handleDel(scope.$index, scope.row) }} 110 onClick={() => {
89 > 111 this.handleDel(scope.$index, scope.row);
90 删除 112 }}
91 </el-button> 113 >
92 </div> 114 删除
93 ); 115 </el-button>
116 </div>
117 );
118 },
94 }, 119 },
95 } 120 ]),
96 ]), 121 data: [],
97 data: []
98 }, 122 },
99 pageData: { 123 pageData: {
100 total: 0, 124 total: 0,
101 pageSize: 15, 125 pageSize: 15,
102 current: 1, 126 current: 1,
103 }, 127 },
104 ruleData: null 128 ruleData: null,
105 } 129 };
106 }, 130 },
107 methods: { 131 methods: {
108 async featchData () { 132 async featchData() {
109 try { 133 try {
110 this.form = Object.assign(this.form, this.formData) 134 this.form = Object.assign(this.form, this.formData);
111 let { result: { list, total, pages: pageSize, pageNum: current } 135 let {
112 } = await ruleConfig.getSysYwsjbList(this.form) 136 result: { list, total, pages: pageSize, pageNum: current },
113 this.tableData.data = list 137 } = await ruleConfig.getSysYwsjbList(this.form);
138 this.tableData.data = list;
114 this.pageData = { 139 this.pageData = {
115 pageSize, 140 pageSize,
116 current, 141 current,
117 total 142 total,
118 } 143 };
119 } catch (error) { 144 } catch (error) {
120 this.message = error 145 this.message = error;
121 this.$refs.msg.messageShow() 146 this.$refs.msg.messageShow();
122 } 147 }
123 }, 148 },
124 async handleEdit (index, row) { 149 async handleEdit(index, row) {
125 try { 150 try {
126 let { result: res } = await ruleConfig.eidtConfigRule(row.BSM_YWSJB) 151 let { result: res } = await ruleConfig.eidtConfigRule(row.BSM_YWSJB);
127 this.ruleData = res 152 this.ruleData = res;
128 this.$refs.validRule.isShow() 153 this.$refs.validRule.isShow();
129 } catch (error) { 154 } catch (error) {
130 this.$alert(error, '提示', { 155 this.$alert(error, "提示", {
131 confirmButtonText: '确定', 156 confirmButtonText: "确定",
132 type: 'error' 157 type: "error",
133 }) 158 });
134 } 159 }
135 }, 160 },
136 handleDel (index, row) { 161 handleDel(index, row) {
137 let _this = this 162 let _this = this;
138 this.$confirm('此操作将进行删除校验规则, 是否继续?', '提示', { 163 this.$confirm("此操作将进行删除校验规则, 是否继续?", "提示", {
139 cancelButtonText: '取消', 164 cancelButtonText: "取消",
140 confirmButtonText: '确定', 165 confirmButtonText: "确定",
141 type: 'warning' 166 type: "warning",
142 }).then(async () => { 167 })
143 try { 168 .then(async () => {
144 let res = await ruleConfig.deleteSysYwsjbWithSysYwsjbFieldByBsmYwsjb(row.BSM_YWSJB) 169 try {
145 if (res.code == 200) { 170 let res =
146 _this.$message({ 171 await ruleConfig.deleteSysYwsjbWithSysYwsjbFieldByBsmYwsjb(
147 type: 'success', 172 row.BSM_YWSJB
148 message: '删除成功!' 173 );
174 if (res.code == 200) {
175 _this.$message({
176 type: "success",
177 message: "删除成功!",
178 });
179 _this.featchData();
180 }
181 } catch (error) {
182 _this.$alert(error, "提示", {
183 confirmButtonText: "确定",
184 type: "error",
149 }); 185 });
150 _this.featchData()
151 } 186 }
152 } catch (error) { 187 })
153 _this.$alert(error, '提示', { 188 .catch(() => {
154 confirmButtonText: '确定', 189 this.$message({
155 type: 'error' 190 type: "info",
156 }) 191 message: "已取消删除",
157 } 192 });
158 }).catch(() => {
159 this.$message({
160 type: 'info',
161 message: '已取消删除'
162 }); 193 });
163 });
164 }, 194 },
165 handleUpdateDic () { 195 handleUpdateDic() {
166 this.$store.dispatch('dictionaries/generateDic').then((res) => { 196 this.$store.dispatch("dictionaries/generateDic").then((res) => {
167 if (res) { 197 if (res) {
168 this.$message({ 198 this.$message({
169 message: '刷新成功!', 199 message: "刷新成功!",
170 type: 'success' 200 type: "success",
171 }) 201 });
172 } 202 }
173 }) 203 });
174 } 204 },
175 } 205 },
176 } 206 };
177 </script> 207 </script>
178 <style scoped lang="scss"> 208 <style scoped lang="scss">
179 @import "~@/styles/public.scss"; 209 @import "~@/styles/public.scss";
180 @import "./index.scss"; 210 @import "./index.scss";
181 </style> 211 </style>
182
183
......