292daf21 by xiaomiao

--no commit message

1 parent ff610ba9
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
10 "dependencies": { 10 "dependencies": {
11 "@antv/g2": "^4.2.8", 11 "@antv/g2": "^4.2.8",
12 "@babel/polyfill": "^7.12.1", 12 "@babel/polyfill": "^7.12.1",
13 "@riophae/vue-treeselect": "^0.4.0",
13 "axios": "^0.21.1", 14 "axios": "^0.21.1",
14 "bpmn-js": "^7.4.0", 15 "bpmn-js": "^7.4.0",
15 "bpmn-js-properties-panel": "^0.37.2", 16 "bpmn-js-properties-panel": "^0.37.2",
......
...@@ -7,12 +7,14 @@ import dialogBox from '@/components/DialogBox/dialogBox.vue' ...@@ -7,12 +7,14 @@ import dialogBox from '@/components/DialogBox/dialogBox.vue'
7 import LbTable from '@/components/LbTable/lb-table.vue' 7 import LbTable from '@/components/LbTable/lb-table.vue'
8 import Theme from '@/components/Theme/theme.vue' 8 import Theme from '@/components/Theme/theme.vue'
9 import Popup from '@/components/Popup/index' 9 import Popup from '@/components/Popup/index'
10 import Treeselect from '@riophae/vue-treeselect' //树形下拉框组件
10 import MessageBox from '@/components/MessageBox/index.js' 11 import MessageBox from '@/components/MessageBox/index.js'
11 export default { 12 export default {
12 install: (Vue) => { 13 install: (Vue) => {
13 Vue.component('dialogBox', dialogBox); 14 Vue.component('dialogBox', dialogBox);
14 Vue.component('lbTable', LbTable); 15 Vue.component('lbTable', LbTable);
15 Vue.component('Theme', Theme); 16 Vue.component('Theme', Theme);
17 Vue.component('Treeselect', Treeselect);
16 Vue.prototype.$popup = Popup.install; 18 Vue.prototype.$popup = Popup.install;
17 Vue.prototype.$alertMes = MessageBox.alert; 19 Vue.prototype.$alertMes = MessageBox.alert;
18 } 20 }
......
...@@ -6,16 +6,18 @@ ...@@ -6,16 +6,18 @@
6 import Vue from 'vue' 6 import Vue from 'vue'
7 import App from './App' 7 import App from './App'
8 import 'normalize.css/normalize.css' // a modern alternative to CSS resets 8 import 'normalize.css/normalize.css' // a modern alternative to CSS resets
9 import Element from 'element-ui' 9 import Element, { install } from 'element-ui'
10 import axios from 'axios' 10 import axios from 'axios'
11 import '@/styles/element-variables.scss' 11 import '@/styles/element-variables.scss'
12 import '@/styles/index.scss' 12 import '@/styles/index.scss'
13 import Base from '@/components/Base/base' // 全局组件引入 13 import Base from '@/components/Base/base' // 全局组件引入
14 import mixin from '@/utils/mixin/theme.js' 14 import mixin from '@/utils/mixin/theme.js'
15 import Loading from '@/components/Loading/index.js'; 15 import Loading from '@/components/Loading/index.js';
16 import '@riophae/vue-treeselect/dist/vue-treeselect.css'
16 import { startLoadingAddCount, endLoadingSubCount } from './utils/requestLoading' 17 import { startLoadingAddCount, endLoadingSubCount } from './utils/requestLoading'
17 Vue.mixin(mixin); 18 Vue.mixin(mixin);
18 Vue.use(Loading.directive); 19 Vue.use(Loading.directive);
20
19 // 引入xml 21 // 引入xml
20 import x2js from 'x2js' 22 import x2js from 'x2js'
21 Vue.prototype.$x2js = new x2js() 23 Vue.prototype.$x2js = new x2js()
......
...@@ -76,22 +76,22 @@ ...@@ -76,22 +76,22 @@
76 <el-input v-model="ruleForm.qlxx.zl"></el-input> 76 <el-input v-model="ruleForm.qlxx.zl"></el-input>
77 </el-form-item> 77 </el-form-item>
78 </el-col> 78 </el-col>
79 <el-col :span="8" v-if="ruleForm.fdcq2.ftjzmj"> 79 <el-col :span="8">
80 <el-form-item label="土地使用权人:"> 80 <el-form-item label="土地使用权人:">
81 <el-input v-model="ruleForm.fdcq2.tdsyqr"></el-input> 81 <el-input v-model="ruleForm.fdcq2.tdsyqr"></el-input>
82 </el-form-item> 82 </el-form-item>
83 </el-col> 83 </el-col>
84 <el-col :span="8" v-if="ruleForm.fdcq2.ftjzmj"> 84 <el-col :span="8">
85 <el-form-item label="独用土地面积:"> 85 <el-form-item label="独用土地面积:">
86 <el-input v-model="ruleForm.fdcq2.dytdmj"></el-input> 86 <el-input v-model="ruleForm.fdcq2.dytdmj"></el-input>
87 </el-form-item> 87 </el-form-item>
88 </el-col> 88 </el-col>
89 <el-col :span="8" v-if="ruleForm.fdcq2.ftjzmj"> 89 <el-col :span="8">
90 <el-form-item label="分摊土地面积:"> 90 <el-form-item label="分摊土地面积:">
91 <el-input v-model="ruleForm.fdcq2.fttdmj"></el-input> 91 <el-input v-model="ruleForm.fdcq2.fttdmj"></el-input>
92 </el-form-item> 92 </el-form-item>
93 </el-col> 93 </el-col>
94 <el-col :span="8" v-if="ruleForm.fdcq2.ftjzmj"> 94 <el-col :span="8">
95 <!-- 下拉框 --> 95 <!-- 下拉框 -->
96 <el-form-item label="土地性质:" style="margin-bottom:3px"> 96 <el-form-item label="土地性质:" style="margin-bottom:3px">
97 <treeselect v-model="ruleForm.fdcq2.jedw" placeholder="" 97 <treeselect v-model="ruleForm.fdcq2.jedw" placeholder=""
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
99 :show-count="true" :options="dictData['A45']" /> 99 :show-count="true" :options="dictData['A45']" />
100 </el-form-item> 100 </el-form-item>
101 </el-col> 101 </el-col>
102 <el-col :span="8" v-if="ruleForm.fdcq2.ftjzmj"> 102 <el-col :span="8">
103 <el-form-item label="房地产交易价格:"> 103 <el-form-item label="房地产交易价格:">
104 <div style="display:flex"> 104 <div style="display:flex">
105 <el-input v-model="ruleForm.fdcq2.qjjg" style="width:500%"></el-input> 105 <el-input v-model="ruleForm.fdcq2.qjjg" style="width:500%"></el-input>
...@@ -164,7 +164,7 @@ ...@@ -164,7 +164,7 @@
164 <el-input v-model="ruleForm.fdcq2.zyjzmj"></el-input> 164 <el-input v-model="ruleForm.fdcq2.zyjzmj"></el-input>
165 </el-form-item> 165 </el-form-item>
166 </el-col> 166 </el-col>
167 <el-col :span="8" v-if="ruleForm.fdcq2.ftjzmj"> 167 <el-col :span="8">
168 <el-form-item label="分摊建筑面积:"> 168 <el-form-item label="分摊建筑面积:">
169 <el-input v-model="ruleForm.fdcq2.ftjzmj"></el-input> 169 <el-input v-model="ruleForm.fdcq2.ftjzmj"></el-input>
170 </el-form-item> 170 </el-form-item>
...@@ -290,13 +290,27 @@ import { mapGetters } from "vuex"; ...@@ -290,13 +290,27 @@ import { mapGetters } from "vuex";
290 import { init,save } from "@/api/djbbl.js"; 290 import { init,save } from "@/api/djbbl.js";
291 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 291 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
292 import tdytTable from "@/views/workflow/components/tdytTable"; 292 import tdytTable from "@/views/workflow/components/tdytTable";
293 // import the component
294 // import Treeselect from '@riophae/vue-treeselect'
295 // // import the styles
296 // import '@riophae/vue-treeselect/dist/vue-treeselect.css'
293 export default { 297 export default {
294 components: { qlrCommonTable,tdytTable }, 298 components: { qlrCommonTable,tdytTable},
295 computed: { 299 computed: {
296 ...mapGetters(["dictData", "flag"]), 300 ...mapGetters(["dictData", "flag"]),
297 }, 301 },
298 data() { 302 data() {
299 return { 303 return {
304 // 键名转换,方法默认是label和children进行树状渲染
305 normalizer (node) { //方法
306 if (node.children == null || node.children == 'null') {
307 delete node.children;
308 }
309 return {
310 id: node.dcode,
311 label: node.dname
312 }
313 },
300 //表单是否可操作 314 //表单是否可操作
301 propsParam: this.$attrs, 315 propsParam: this.$attrs,
302 ableOperation: true, 316 ableOperation: true,
......
...@@ -80,29 +80,29 @@ ...@@ -80,29 +80,29 @@
80 <el-form-item label="使用权面积:"> 80 <el-form-item label="使用权面积:">
81 <el-input v-model="ruleForm.jsydsyq.syqmj"></el-input> 81 <el-input v-model="ruleForm.jsydsyq.syqmj"></el-input>
82 </el-form-item> 82 </el-form-item>
83 </el-col> <!-- 83 </el-col>
84 <el-col :span="8" v-if="ruleForm.fdcq2.ftjzmj"> 84 <el-col :span="8">
85 <el-form-item label="独用土地面积:"> 85 <el-form-item label="独用土地面积:">
86 <el-input v-model="ruleForm.fdcq2.dytdmj"></el-input> 86 <el-input v-model="ruleForm.jsydsyq.dytdmj"></el-input>
87 </el-form-item> 87 </el-form-item>
88 </el-col> 88 </el-col>
89 <el-col :span="8" v-if="ruleForm.fdcq2.ftjzmj"> 89 <el-col :span="8">
90 <el-form-item label="分摊土地面积:"> 90 <el-form-item label="分摊土地面积:">
91 <el-input v-model="ruleForm.fdcq2.fttdmj"></el-input> 91 <el-input v-model="ruleForm.jsydsyq.fttdmj"></el-input>
92 </el-form-item> 92 </el-form-item>
93 </el-col> 93 </el-col>
94 <el-col :span="8" v-if="ruleForm.fdcq2.ftjzmj"> 94 <el-col :span="8">
95 <el-form-item label="土地性质:" style="margin-bottom:3px"> 95 <el-form-item label="土地性质:" style="margin-bottom:3px">
96 <treeselect v-model="ruleForm.fdcq2.jedw" placeholder="" 96 <treeselect v-model="ruleForm.jsydsyq.jedw" placeholder=""
97 :normalizer="normalizer" 97 :normalizer="normalizer"
98 :show-count="true" :options="dictData['A45']" /> 98 :show-count="true" :options="dictData['A9']" />
99 </el-form-item> 99 </el-form-item>
100 </el-col> 100 </el-col>
101 <el-col :span="8" v-if="ruleForm.fdcq2.ftjzmj"> 101 <el-col :span="8">
102 <el-form-item label="房地产交易价格:"> 102 <el-form-item label="房地产交易价格:">
103 <div style="display:flex"> 103 <div style="display:flex">
104 <el-input v-model="ruleForm.fdcq2.qjjg" style="width:500%"></el-input> 104 <el-input v-model="ruleForm.jsydsyq.qjjg" style="width:500%"></el-input>
105 <el-select v-model="ruleForm.fdcq2.jedw"> 105 <el-select v-model="ruleForm.jsydsyq.jedw">
106 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 106 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode">
107 </el-option> 107 </el-option>
108 </el-select> 108 </el-select>
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
111 </el-col> 111 </el-col>
112 <el-col :span="8"> 112 <el-col :span="8">
113 <el-form-item label="规划用途:"> 113 <el-form-item label="规划用途:">
114 <el-select v-model="ruleForm.fdcq2.ghyt"> 114 <el-select v-model="ruleForm.jsydsyq.ghyt">
115 <el-option v-for="item in dictData['A17']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 115 <el-option v-for="item in dictData['A17']" :key="item.dcode" :label="item.dname" :value="item.dcode">
116 </el-option> 116 </el-option>
117 </el-select> 117 </el-select>
...@@ -119,17 +119,17 @@ ...@@ -119,17 +119,17 @@
119 </el-col> 119 </el-col>
120 <el-col :span="8"> 120 <el-col :span="8">
121 <el-form-item label="批准用途:"> 121 <el-form-item label="批准用途:">
122 <el-input v-model="ruleForm.fdcq2.pzyt"></el-input> 122 <el-input v-model="ruleForm.jsydsyq.pzyt"></el-input>
123 </el-form-item> 123 </el-form-item>
124 </el-col> 124 </el-col>
125 <el-col :span="8"> 125 <el-col :span="8">
126 <el-form-item label="实际用途:"> 126 <el-form-item label="实际用途:">
127 <el-input v-model="ruleForm.fdcq2.sjyt"></el-input> 127 <el-input v-model="ruleForm.jsydsyq.sjyt"></el-input>
128 </el-form-item> 128 </el-form-item>
129 </el-col> 129 </el-col>
130 <el-col :span="8"> 130 <el-col :span="8">
131 <el-form-item label="房屋性质:"> 131 <el-form-item label="房屋性质:">
132 <el-select v-model="ruleForm.fdcq2.fwxz"> 132 <el-select v-model="ruleForm.jsydsyq.fwxz">
133 <el-option v-for="item in dictData['A19']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 133 <el-option v-for="item in dictData['A19']" :key="item.dcode" :label="item.dname" :value="item.dcode">
134 </el-option> 134 </el-option>
135 </el-select> 135 </el-select>
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
137 </el-col> 137 </el-col>
138 <el-col :span="8"> 138 <el-col :span="8">
139 <el-form-item label="房屋结构:"> 139 <el-form-item label="房屋结构:">
140 <el-select v-model="ruleForm.fdcq2.fwjg"> 140 <el-select v-model="ruleForm.jsydsyq.fwjg">
141 <el-option v-for="item in dictData['A46']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 141 <el-option v-for="item in dictData['A46']" :key="item.dcode" :label="item.dname" :value="item.dcode">
142 </el-option> 142 </el-option>
143 </el-select> 143 </el-select>
...@@ -145,34 +145,34 @@ ...@@ -145,34 +145,34 @@
145 </el-col> 145 </el-col>
146 <el-col :span="8"> 146 <el-col :span="8">
147 <el-form-item label="所在层:"> 147 <el-form-item label="所在层:">
148 <el-input v-model="ruleForm.fdcq2.szc"></el-input> 148 <el-input v-model="ruleForm.jsydsyq.szc"></el-input>
149 </el-form-item> 149 </el-form-item>
150 </el-col> 150 </el-col>
151 <el-col :span="8"> 151 <el-col :span="8">
152 <el-form-item label="总层数:"> 152 <el-form-item label="总层数:">
153 <el-input v-model="ruleForm.fdcq2.zcs"></el-input> 153 <el-input v-model="ruleForm.jsydsyq.zcs"></el-input>
154 </el-form-item> 154 </el-form-item>
155 </el-col> 155 </el-col>
156 <el-col :span="8"> 156 <el-col :span="8">
157 <el-form-item label="建筑面积:"> 157 <el-form-item label="建筑面积:">
158 <el-input v-model="ruleForm.fdcq2.jzmj"></el-input> 158 <el-input v-model="ruleForm.jsydsyq.jzmj"></el-input>
159 </el-form-item> 159 </el-form-item>
160 </el-col> 160 </el-col>
161 <el-col :span="8"> 161 <el-col :span="8">
162 <el-form-item label="专有建筑面积:"> 162 <el-form-item label="专有建筑面积:">
163 <el-input v-model="ruleForm.fdcq2.zyjzmj"></el-input> 163 <el-input v-model="ruleForm.jsydsyq.zyjzmj"></el-input>
164 </el-form-item> 164 </el-form-item>
165 </el-col> 165 </el-col>
166 <el-col :span="8" v-if="ruleForm.fdcq2.ftjzmj"> 166 <el-col :span="8">
167 <el-form-item label="分摊建筑面积:"> 167 <el-form-item label="分摊建筑面积:">
168 <el-input v-model="ruleForm.fdcq2.ftjzmj"></el-input> 168 <el-input v-model="ruleForm.jsydsyq.ftjzmj"></el-input>
169 </el-form-item> 169 </el-form-item>
170 </el-col> 170 </el-col>
171 <el-col :span="8"> 171 <el-col :span="8">
172 <el-form-item label="竣工时间:"> 172 <el-form-item label="竣工时间:">
173 <el-input v-model="ruleForm.fdcq2.jgsj"></el-input> 173 <el-input v-model="ruleForm.jsydsyq.jgsj"></el-input>
174 </el-form-item> 174 </el-form-item>
175 </el-col> --> 175 </el-col>
176 176
177 <el-col :span="8"> 177 <el-col :span="8">
178 <el-form-item label="不动产权证号:"> 178 <el-form-item label="不动产权证号:">
...@@ -200,13 +200,13 @@ ...@@ -200,13 +200,13 @@
200 </el-form-item> 200 </el-form-item>
201 </el-col> 201 </el-col>
202 </el-row> 202 </el-row>
203 <!-- <el-row> 203 <el-row>
204 <el-col :span="24"> 204 <el-col :span="24">
205 <el-form-item label="附记:"> 205 <el-form-item label="附记:">
206 <el-input v-model="ruleForm.fdcq2.fj"></el-input> 206 <el-input v-model="ruleForm.jsydsyq.fj"></el-input>
207 </el-form-item> 207 </el-form-item>
208 </el-col> 208 </el-col>
209 </el-row> --> 209 </el-row>
210 210
211 <div class="slxx_title title-block"> 211 <div class="slxx_title title-block">
212 权利人信息 212 权利人信息
...@@ -282,6 +282,7 @@ export default { ...@@ -282,6 +282,7 @@ export default {
282 }, 282 },
283 data() { 283 data() {
284 return { 284 return {
285
285 //表单是否可操作 286 //表单是否可操作
286 propsParam: this.$attrs, 287 propsParam: this.$attrs,
287 ableOperation: true, 288 ableOperation: true,
......