style:房屋信息模块字典编译
Showing
13 changed files
with
81 additions
and
70 deletions
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-30 15:28:52 | 4 | * @LastEditTime: 2023-06-20 10:02:14 |
5 | */ | 5 | */ |
6 | import Vue from 'vue' | 6 | import Vue from 'vue' |
7 | import App from './App' | 7 | import App from './App' |
... | @@ -16,12 +16,10 @@ import Loading from '@/components/Loading/index.js'; | ... | @@ -16,12 +16,10 @@ import Loading from '@/components/Loading/index.js'; |
16 | import { startLoadingAddCount, endLoadingSubCount } from './utils/requestLoading' | 16 | import { startLoadingAddCount, endLoadingSubCount } from './utils/requestLoading' |
17 | Vue.mixin(mixin); | 17 | Vue.mixin(mixin); |
18 | Vue.use(Loading.directive); | 18 | Vue.use(Loading.directive); |
19 | import rules from './utils/rule.js' | ||
20 | // 引入xml | 19 | // 引入xml |
21 | import x2js from 'x2js' | 20 | import x2js from 'x2js' |
22 | Vue.prototype.$x2js = new x2js() | 21 | Vue.prototype.$x2js = new x2js() |
23 | // 全局方法挂载 | 22 | // 全局方法挂载 |
24 | Vue.prototype.$rules = rules | ||
25 | // 全局加载 | 23 | // 全局加载 |
26 | Vue.prototype.$startLoading = startLoadingAddCount | 24 | Vue.prototype.$startLoading = startLoadingAddCount |
27 | Vue.prototype.$endLoading = endLoadingSubCount | 25 | Vue.prototype.$endLoading = endLoadingSubCount | ... | ... |
src/utils/dictionary.js
0 → 100644
src/utils/rule.js
deleted
100644 → 0
1 | // 手机号码验证 | ||
2 | const validatePhone = (rule, value, callback) => { | ||
3 | const patter = new RegExp('^1([358][0-9]|4[579]|66|7[0135678]|9[89])[0-9]{8}$') | ||
4 | if (!patter.test(value)) { | ||
5 | return callback(new Error('请输入正确格式的手机号!')) | ||
6 | } else { | ||
7 | callback() // 必须有此项回调,否则验证会一直不通过 | ||
8 | } | ||
9 | } | ||
10 | export default { | ||
11 | common: { | ||
12 | phone: [{// 手机号 | ||
13 | required: true, | ||
14 | message: '手机号不能为空' | ||
15 | }, { | ||
16 | validator: validatePhone, | ||
17 | trigger: 'blur' | ||
18 | }] | ||
19 | } | ||
20 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | <!-- | 1 | <!-- |
2 | * @Description : 房地产权2 | 2 | * @Description : 房地产权2 |
3 | * @Autor : miaofang | 3 | * @Autor : miaofang |
4 | * @LastEditTime : 2023-06-16 16:53:36 | 4 | * @LastEditTime: 2023-06-20 09:59:18 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -47,9 +47,9 @@ | ... | @@ -47,9 +47,9 @@ |
47 | </template> | 47 | </template> |
48 | 48 | ||
49 | <script> | 49 | <script> |
50 | import { getFdcq2List } from "@/api/registerBook.js"; | 50 | import { getFdcq2List } from "@/api/registerBook.js"; |
51 | import { datas } from "./qlxxFormData.js"; | 51 | import { datas } from "./qlxxFormData.js"; |
52 | export default { | 52 | export default { |
53 | data () { | 53 | data () { |
54 | return { | 54 | return { |
55 | title: "房地产权登记信息(独幢、层、套、间房屋)", | 55 | title: "房地产权登记信息(独幢、层、套、间房屋)", |
... | @@ -76,7 +76,6 @@ export default { | ... | @@ -76,7 +76,6 @@ export default { |
76 | qszt: this.checkList, | 76 | qszt: this.checkList, |
77 | }).then((res) => { | 77 | }).then((res) => { |
78 | if (res.code === 200) { | 78 | if (res.code === 200) { |
79 | console.log("国有建设",res); | ||
80 | this.tableData = res.result; | 79 | this.tableData = res.result; |
81 | if (this.tableData.length < datas.columns().emptycolNum) { | 80 | if (this.tableData.length < datas.columns().emptycolNum) { |
82 | this.emptycolNum = | 81 | this.emptycolNum = |
... | @@ -107,7 +106,7 @@ export default { | ... | @@ -107,7 +106,7 @@ export default { |
107 | }, | 106 | }, |
108 | 107 | ||
109 | // 编辑 | 108 | // 编辑 |
110 | editDialog(row){ | 109 | editDialog (row) { |
111 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | 110 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { |
112 | confirmButtonText: '确定', | 111 | confirmButtonText: '确定', |
113 | cancelButtonText: '取消', | 112 | cancelButtonText: '取消', |
... | @@ -134,7 +133,7 @@ export default { | ... | @@ -134,7 +133,7 @@ export default { |
134 | 133 | ||
135 | }, | 134 | }, |
136 | // 删除 | 135 | // 删除 |
137 | deleteDialog(row){ | 136 | deleteDialog (row) { |
138 | this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', { | 137 | this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', { |
139 | confirmButtonText: '确定', | 138 | confirmButtonText: '确定', |
140 | cancelButtonText: '取消', | 139 | cancelButtonText: '取消', |
... | @@ -164,9 +163,9 @@ export default { | ... | @@ -164,9 +163,9 @@ export default { |
164 | } | 163 | } |
165 | 164 | ||
166 | }, | 165 | }, |
167 | }; | 166 | }; |
168 | </script> | 167 | </script> |
169 | 168 | ||
170 | <style lang="scss" scoped> | 169 | <style lang="scss" scoped> |
171 | @import "./qlxxCommon.scss"; | 170 | @import "./qlxxCommon.scss"; |
172 | </style> | 171 | </style> | ... | ... |
... | @@ -8,8 +8,7 @@ | ... | @@ -8,8 +8,7 @@ |
8 | <el-checkbox | 8 | <el-checkbox |
9 | v-for="item in qsztList" | 9 | v-for="item in qsztList" |
10 | :key="item.value" | 10 | :key="item.value" |
11 | :label="item.value" | 11 | :label="item.value">{{ item.label }}</el-checkbox> |
12 | >{{ item.label }}</el-checkbox> | ||
13 | </el-checkbox-group> | 12 | </el-checkbox-group> |
14 | </div> | 13 | </div> |
15 | </div> | 14 | </div> |
... | @@ -24,8 +23,7 @@ | ... | @@ -24,8 +23,7 @@ |
24 | row.qszt == '2' ? 'lishi' : '', | 23 | row.qszt == '2' ? 'lishi' : '', |
25 | row.qszt == '0' ? 'linshi' : '', | 24 | row.qszt == '0' ? 'linshi' : '', |
26 | item.prop == 'qszt' && (row.qszt == '0' ||(row.qszt == '1' &&row.qlblzt == '1'&&row.zxywh != null))? 'linshiIcon' : '', | 25 | item.prop == 'qszt' && (row.qszt == '0' ||(row.qszt == '1' &&row.qlblzt == '1'&&row.zxywh != null))? 'linshiIcon' : '', |
27 | ]" | 26 | ]"> |
28 | > | ||
29 | <div class="icon" v-if="item.prop == 'qszt' && (row.qszt == '0' ||(row.qszt == '1' &&row.qlblzt == '1'&&row.zxywh != null))">正在办理</div> | 27 | <div class="icon" v-if="item.prop == 'qszt' && (row.qszt == '0' ||(row.qszt == '1' &&row.qlblzt == '1'&&row.zxywh != null))">正在办理</div> |
30 | <span v-if="item.prop == 'qszt'">{{ getQsztName(row[item.prop]) }}</span> | 28 | <span v-if="item.prop == 'qszt'">{{ getQsztName(row[item.prop]) }}</span> |
31 | 29 | ||
... | @@ -40,10 +38,11 @@ | ... | @@ -40,10 +38,11 @@ |
40 | </template> | 38 | </template> |
41 | 39 | ||
42 | <script> | 40 | <script> |
43 | import { getCfdjList } from "@/api/registerBook.js"; | 41 | import { datas } from "./qlxxFormData.js"; |
44 | import { datas } from "./qlxxFormData.js"; | 42 | import { getSjlx } from "@/utils/dictionary.js"; |
45 | export default { | 43 | import { getCfdjList } from "@/api/registerBook.js"; |
46 | data() { | 44 | export default { |
45 | data () { | ||
47 | return { | 46 | return { |
48 | title: "查封登记信息", | 47 | title: "查封登记信息", |
49 | qsztList: datas.columns().qsztList, | 48 | qsztList: datas.columns().qsztList, |
... | @@ -58,11 +57,11 @@ export default { | ... | @@ -58,11 +57,11 @@ export default { |
58 | columns: datas.columns().CFDJ, | 57 | columns: datas.columns().CFDJ, |
59 | }; | 58 | }; |
60 | }, | 59 | }, |
61 | created() { | 60 | created () { |
62 | this.loadData(); | 61 | this.loadData(); |
63 | }, | 62 | }, |
64 | methods: { | 63 | methods: { |
65 | loadData() { | 64 | loadData () { |
66 | getCfdjList({ | 65 | getCfdjList({ |
67 | bdcdyid: this.propsParam.bdcdyid, | 66 | bdcdyid: this.propsParam.bdcdyid, |
68 | qllx: this.propsParam.qllx, | 67 | qllx: this.propsParam.qllx, |
... | @@ -70,6 +69,9 @@ export default { | ... | @@ -70,6 +69,9 @@ export default { |
70 | }).then((res) => { | 69 | }).then((res) => { |
71 | if (res.code === 200) { | 70 | if (res.code === 200) { |
72 | this.tableData = res.result; | 71 | this.tableData = res.result; |
72 | this.tableData.forEach(item => { | ||
73 | item.sjlx = getSjlx(item.sjlx) | ||
74 | }) | ||
73 | this.tableData.forEach((item, index) => { | 75 | this.tableData.forEach((item, index) => { |
74 | if (item.sfbxf == "1") { | 76 | if (item.sfbxf == "1") { |
75 | item.zxywh = ""; | 77 | item.zxywh = ""; |
... | @@ -86,7 +88,7 @@ export default { | ... | @@ -86,7 +88,7 @@ export default { |
86 | } | 88 | } |
87 | }); | 89 | }); |
88 | }, | 90 | }, |
89 | checkChange() { | 91 | checkChange () { |
90 | if (this.checkList.length === 0) { | 92 | if (this.checkList.length === 0) { |
91 | this.tableData = []; | 93 | this.tableData = []; |
92 | this.emptycolNum = datas.columns().emptycolNum; | 94 | this.emptycolNum = datas.columns().emptycolNum; |
... | @@ -94,7 +96,7 @@ export default { | ... | @@ -94,7 +96,7 @@ export default { |
94 | this.loadData(); | 96 | this.loadData(); |
95 | } | 97 | } |
96 | }, | 98 | }, |
97 | getQsztName(code) { | 99 | getQsztName (code) { |
98 | let name = ""; | 100 | let name = ""; |
99 | for (let item of this.qsztList) { | 101 | for (let item of this.qsztList) { |
100 | if (item.value == code) { | 102 | if (item.value == code) { |
... | @@ -105,9 +107,9 @@ export default { | ... | @@ -105,9 +107,9 @@ export default { |
105 | return name; | 107 | return name; |
106 | }, | 108 | }, |
107 | }, | 109 | }, |
108 | }; | 110 | }; |
109 | </script> | 111 | </script> |
110 | 112 | ||
111 | <style lang="scss" scoped> | 113 | <style lang="scss" scoped> |
112 | @import "./qlxxCommon.scss"; | 114 | @import "./qlxxCommon.scss"; |
113 | </style> | 115 | </style> | ... | ... |
... | @@ -38,9 +38,10 @@ | ... | @@ -38,9 +38,10 @@ |
38 | </template> | 38 | </template> |
39 | 39 | ||
40 | <script> | 40 | <script> |
41 | import { getDiyaqList } from "@/api/registerBook.js"; | 41 | import { datas } from "./qlxxFormData.js"; |
42 | import { datas } from "./qlxxFormData.js"; | 42 | import { getSjlx } from "@/utils/dictionary.js"; |
43 | export default { | 43 | import { getDiyaqList } from "@/api/registerBook.js"; |
44 | export default { | ||
44 | data () { | 45 | data () { |
45 | return { | 46 | return { |
46 | title: "抵押权登记信息", | 47 | title: "抵押权登记信息", |
... | @@ -68,6 +69,9 @@ export default { | ... | @@ -68,6 +69,9 @@ export default { |
68 | }).then((res) => { | 69 | }).then((res) => { |
69 | if (res.code === 200) { | 70 | if (res.code === 200) { |
70 | this.tableData = res.result; | 71 | this.tableData = res.result; |
72 | this.tableData.forEach(item => { | ||
73 | item.sjlx = getSjlx(item.sjlx) | ||
74 | }) | ||
71 | if (this.tableData.length < datas.columns().emptycolNum) { | 75 | if (this.tableData.length < datas.columns().emptycolNum) { |
72 | this.emptycolNum = | 76 | this.emptycolNum = |
73 | datas.columns().emptycolNum - this.tableData.length; | 77 | datas.columns().emptycolNum - this.tableData.length; |
... | @@ -96,9 +100,9 @@ export default { | ... | @@ -96,9 +100,9 @@ export default { |
96 | return name; | 100 | return name; |
97 | }, | 101 | }, |
98 | }, | 102 | }, |
99 | }; | 103 | }; |
100 | </script> | 104 | </script> |
101 | 105 | ||
102 | <style lang="scss" scoped> | 106 | <style lang="scss" scoped> |
103 | @import "./qlxxCommon.scss"; | 107 | @import "./qlxxCommon.scss"; |
104 | </style> | 108 | </style> | ... | ... |
... | @@ -38,9 +38,10 @@ | ... | @@ -38,9 +38,10 @@ |
38 | </template> | 38 | </template> |
39 | 39 | ||
40 | <script> | 40 | <script> |
41 | import { getDiyiqList } from "@/api/registerBook.js"; | 41 | import { datas } from "./qlxxFormData.js"; |
42 | import { datas } from "./qlxxFormData.js"; | 42 | import { getSjlx } from "@/utils/dictionary.js"; |
43 | export default { | 43 | import { getDiyiqList } from "@/api/registerBook.js"; |
44 | export default { | ||
44 | data () { | 45 | data () { |
45 | return { | 46 | return { |
46 | title: "地役权登记信息", | 47 | title: "地役权登记信息", |
... | @@ -68,6 +69,9 @@ export default { | ... | @@ -68,6 +69,9 @@ export default { |
68 | }).then((res) => { | 69 | }).then((res) => { |
69 | if (res.code === 200) { | 70 | if (res.code === 200) { |
70 | this.tableData = res.result; | 71 | this.tableData = res.result; |
72 | this.tableData.forEach(item => { | ||
73 | item.sjlx = getSjlx(item.sjlx) | ||
74 | }) | ||
71 | if (this.tableData.length < datas.columns().emptycolNum) { | 75 | if (this.tableData.length < datas.columns().emptycolNum) { |
72 | this.emptycolNum = | 76 | this.emptycolNum = |
73 | datas.columns().emptycolNum - this.tableData.length; | 77 | datas.columns().emptycolNum - this.tableData.length; |
... | @@ -96,9 +100,9 @@ export default { | ... | @@ -96,9 +100,9 @@ export default { |
96 | return name; | 100 | return name; |
97 | }, | 101 | }, |
98 | }, | 102 | }, |
99 | }; | 103 | }; |
100 | </script> | 104 | </script> |
101 | 105 | ||
102 | <style lang="scss" scoped> | 106 | <style lang="scss" scoped> |
103 | @import "./qlxxCommon.scss"; | 107 | @import "./qlxxCommon.scss"; |
104 | </style> | 108 | </style> | ... | ... |
... | @@ -43,8 +43,9 @@ | ... | @@ -43,8 +43,9 @@ |
43 | </template> | 43 | </template> |
44 | 44 | ||
45 | <script> | 45 | <script> |
46 | import { getJsydsyqList } from "@/api/registerBook.js"; | ||
47 | import { datas } from "./qlxxFormData.js"; | 46 | import { datas } from "./qlxxFormData.js"; |
47 | import { getSjlx } from "@/utils/dictionary.js"; | ||
48 | import { getJsydsyqList } from "@/api/registerBook.js"; | ||
48 | export default { | 49 | export default { |
49 | data () { | 50 | data () { |
50 | return { | 51 | return { |
... | @@ -73,6 +74,9 @@ | ... | @@ -73,6 +74,9 @@ |
73 | }).then((res) => { | 74 | }).then((res) => { |
74 | if (res.code === 200) { | 75 | if (res.code === 200) { |
75 | this.tableData = res.result; | 76 | this.tableData = res.result; |
77 | this.tableData.forEach(item => { | ||
78 | item.sjlx = getSjlx(item.sjlx) | ||
79 | }) | ||
76 | if (this.tableData.length < datas.columns().emptycolNum) { | 80 | if (this.tableData.length < datas.columns().emptycolNum) { |
77 | this.emptycolNum = | 81 | this.emptycolNum = |
78 | datas.columns().emptycolNum - this.tableData.length; | 82 | datas.columns().emptycolNum - this.tableData.length; | ... | ... |
... | @@ -38,9 +38,10 @@ | ... | @@ -38,9 +38,10 @@ |
38 | </template> | 38 | </template> |
39 | 39 | ||
40 | <script> | 40 | <script> |
41 | import { getFdcq2List } from "@/api/registerBook.js"; | 41 | import { datas } from "./qlxxFormData.js"; |
42 | import { datas } from "./qlxxFormData.js"; | 42 | import { getSjlx } from "@/utils/dictionary.js"; |
43 | export default { | 43 | import { getFdcq2List } from "@/api/registerBook.js"; |
44 | export default { | ||
44 | data () { | 45 | data () { |
45 | return { | 46 | return { |
46 | title: "房地产权登记信息(独幢、层、套、间房屋)", | 47 | title: "房地产权登记信息(独幢、层、套、间房屋)", |
... | @@ -68,6 +69,9 @@ export default { | ... | @@ -68,6 +69,9 @@ export default { |
68 | }).then((res) => { | 69 | }).then((res) => { |
69 | if (res.code === 200) { | 70 | if (res.code === 200) { |
70 | this.tableData = res.result; | 71 | this.tableData = res.result; |
72 | this.tableData.forEach(item => { | ||
73 | item.sjlx = getSjlx(item.sjlx) | ||
74 | }) | ||
71 | if (this.tableData.length < datas.columns().emptycolNum) { | 75 | if (this.tableData.length < datas.columns().emptycolNum) { |
72 | this.emptycolNum = | 76 | this.emptycolNum = |
73 | datas.columns().emptycolNum - this.tableData.length; | 77 | datas.columns().emptycolNum - this.tableData.length; |
... | @@ -96,9 +100,9 @@ export default { | ... | @@ -96,9 +100,9 @@ export default { |
96 | return name; | 100 | return name; |
97 | }, | 101 | }, |
98 | }, | 102 | }, |
99 | }; | 103 | }; |
100 | </script> | 104 | </script> |
101 | 105 | ||
102 | <style lang="scss" scoped> | 106 | <style lang="scss" scoped> |
103 | @import "./qlxxCommon.scss"; | 107 | @import "./qlxxCommon.scss"; |
104 | </style> | 108 | </style> | ... | ... |
... | @@ -43,8 +43,9 @@ | ... | @@ -43,8 +43,9 @@ |
43 | </template> | 43 | </template> |
44 | 44 | ||
45 | <script> | 45 | <script> |
46 | import { getJsydsyqList } from "@/api/registerBook.js"; | ||
47 | import { datas } from "./qlxxFormData.js"; | 46 | import { datas } from "./qlxxFormData.js"; |
47 | import { getSjlx } from "@/utils/dictionary.js"; | ||
48 | import { getJsydsyqList } from "@/api/registerBook.js"; | ||
48 | export default { | 49 | export default { |
49 | data () { | 50 | data () { |
50 | return { | 51 | return { |
... | @@ -73,6 +74,9 @@ | ... | @@ -73,6 +74,9 @@ |
73 | }).then((res) => { | 74 | }).then((res) => { |
74 | if (res.code === 200) { | 75 | if (res.code === 200) { |
75 | this.tableData = res.result; | 76 | this.tableData = res.result; |
77 | this.tableData.forEach(item => { | ||
78 | item.sjlx = getSjlx(item.sjlx) | ||
79 | }) | ||
76 | if (this.tableData.length < datas.columns().emptycolNum) { | 80 | if (this.tableData.length < datas.columns().emptycolNum) { |
77 | this.emptycolNum = | 81 | this.emptycolNum = |
78 | datas.columns().emptycolNum - this.tableData.length; | 82 | datas.columns().emptycolNum - this.tableData.length; | ... | ... |
... | @@ -66,8 +66,9 @@ | ... | @@ -66,8 +66,9 @@ |
66 | </template> | 66 | </template> |
67 | 67 | ||
68 | <script> | 68 | <script> |
69 | import { getNydsyqList } from "@/api/registerBook.js"; | ||
70 | import { datas } from "./qlxxFormData.js"; | 69 | import { datas } from "./qlxxFormData.js"; |
70 | import { getSjlx } from "@/utils/dictionary.js"; | ||
71 | import { getNydsyqList } from "@/api/registerBook.js"; | ||
71 | export default { | 72 | export default { |
72 | data () { | 73 | data () { |
73 | return { | 74 | return { |
... | @@ -102,6 +103,9 @@ | ... | @@ -102,6 +103,9 @@ |
102 | }).then((res) => { | 103 | }).then((res) => { |
103 | if (res.code === 200) { | 104 | if (res.code === 200) { |
104 | this.tableData = res.result; | 105 | this.tableData = res.result; |
106 | this.tableData.forEach(item => { | ||
107 | item.sjlx = getSjlx(item.sjlx) | ||
108 | }) | ||
105 | if (this.tableData.length < datas.columns().emptycolNum) { | 109 | if (this.tableData.length < datas.columns().emptycolNum) { |
106 | this.emptycolNum = | 110 | this.emptycolNum = |
107 | datas.columns().emptycolNum - this.tableData.length; | 111 | datas.columns().emptycolNum - this.tableData.length; | ... | ... |
... | @@ -4,7 +4,7 @@ class data extends filter { | ... | @@ -4,7 +4,7 @@ class data extends filter { |
4 | constructor() { | 4 | constructor() { |
5 | super() | 5 | super() |
6 | } | 6 | } |
7 | columns() { | 7 | columns () { |
8 | return { | 8 | return { |
9 | //空列值个数 | 9 | //空列值个数 |
10 | emptycolNum: 3, | 10 | emptycolNum: 3, |
... | @@ -172,7 +172,7 @@ class data extends filter { | ... | @@ -172,7 +172,7 @@ class data extends filter { |
172 | label: "坐落", | 172 | label: "坐落", |
173 | }, | 173 | }, |
174 | { | 174 | { |
175 | prop: "gyfs", | 175 | prop: "gyqk", |
176 | label: "共有情况", | 176 | label: "共有情况", |
177 | }, | 177 | }, |
178 | { | 178 | { |
... | @@ -216,7 +216,7 @@ class data extends filter { | ... | @@ -216,7 +216,7 @@ class data extends filter { |
216 | label: "房地产交易价格(万元)", | 216 | label: "房地产交易价格(万元)", |
217 | }, | 217 | }, |
218 | { | 218 | { |
219 | prop: "ytmc", | 219 | prop: "ghyt", |
220 | label: "规划用途", | 220 | label: "规划用途", |
221 | }, | 221 | }, |
222 | { | 222 | { | ... | ... |
... | @@ -5,8 +5,8 @@ | ... | @@ -5,8 +5,8 @@ |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
8 | <div class="slxx"> | 8 | <div class="slxx loadingtext"> |
9 | <el-form :model="ruleForm" :rules="rules" class="loadingtext" ref="ruleForm" :label-position="flag ? 'top' : ''" | 9 | <el-form :model="ruleForm" :rules="rules" ref="ruleForm" :label-position="flag ? 'top' : ''" |
10 | :inline="flag" label-width="120px"> | 10 | :inline="flag" label-width="120px"> |
11 | <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> | 11 | <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> |
12 | <div class="slxx_title title-block"> | 12 | <div class="slxx_title title-block"> |
... | @@ -202,8 +202,8 @@ | ... | @@ -202,8 +202,8 @@ |
202 | Init(formdata).then((res) => { | 202 | Init(formdata).then((res) => { |
203 | if (res.code === 200 && res.result) { | 203 | if (res.code === 200 && res.result) { |
204 | this.ruleForm = res.result; | 204 | this.ruleForm = res.result; |
205 | this.$endLoading(); | ||
206 | } | 205 | } |
206 | this.$endLoading(); | ||
207 | }); | 207 | }); |
208 | }, | 208 | }, |
209 | components: { qlrCommonTable }, | 209 | components: { qlrCommonTable }, | ... | ... |
-
Please register or sign in to post a comment