Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev
Showing
11 changed files
with
249 additions
and
119 deletions
| ... | @@ -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", | ... | ... |
| ... | @@ -72,6 +72,19 @@ export function getBdcqljqtsx (data) { | ... | @@ -72,6 +72,19 @@ export function getBdcqljqtsx (data) { |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | /** | 74 | /** |
| 75 | * @description: 获取土地所有权 | ||
| 76 | * @param {*} data | ||
| 77 | * @author: renchao | ||
| 78 | */ | ||
| 79 | export function getTdsyqList (data) { | ||
| 80 | return request({ | ||
| 81 | url: SERVER.SERVERAPI + '/rest/djbDetail/getTdsyqList', | ||
| 82 | method: 'post', | ||
| 83 | data | ||
| 84 | }) | ||
| 85 | } | ||
| 86 | |||
| 87 | /** | ||
| 75 | * @description: 获取建设用地使用权 | 88 | * @description: 获取建设用地使用权 |
| 76 | * @param {*} data | 89 | * @param {*} data |
| 77 | * @author: renchao | 90 | * @author: renchao | ... | ... |
| ... | @@ -11,7 +11,7 @@ export function Init (data) { | ... | @@ -11,7 +11,7 @@ export function Init (data) { |
| 11 | let apiUrl = ""; | 11 | let apiUrl = ""; |
| 12 | switch (data.get("djlx")) { | 12 | switch (data.get("djlx")) { |
| 13 | case "100": | 13 | case "100": |
| 14 | apiUrl = "/rest/ywbl/tdsyq/fristInit"; | 14 | apiUrl = "/rest/ywbl/tdsyq/firstInit"; |
| 15 | break; | 15 | break; |
| 16 | case "200": | 16 | case "200": |
| 17 | apiUrl = "/rest/ywbl/tdsyq/transferInit"; | 17 | apiUrl = "/rest/ywbl/tdsyq/transferInit"; | ... | ... |
| ... | @@ -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() | ... | ... |
This diff is collapsed.
Click to expand it.
| ... | @@ -72,6 +72,14 @@ | ... | @@ -72,6 +72,14 @@ |
| 72 | </el-form-item> | 72 | </el-form-item> |
| 73 | </el-col> | 73 | </el-col> |
| 74 | <el-col :span="8"> | 74 | <el-col :span="8"> |
| 75 | <el-form-item label="权属状态:"> | ||
| 76 | <el-select v-model="ruleForm.qlxx.qszt"> | ||
| 77 | <el-option v-for="item in qsztlist" :key="item.dcode" :label="item.dname" :value="item.dcode"> | ||
| 78 | </el-option> | ||
| 79 | </el-select> | ||
| 80 | </el-form-item> | ||
| 81 | </el-col> | ||
| 82 | <el-col :span="8"> | ||
| 75 | <el-form-item label="房地坐落:"> | 83 | <el-form-item label="房地坐落:"> |
| 76 | <el-input v-model="ruleForm.qlxx.zl"></el-input> | 84 | <el-input v-model="ruleForm.qlxx.zl"></el-input> |
| 77 | </el-form-item> | 85 | </el-form-item> |
| ... | @@ -80,99 +88,21 @@ | ... | @@ -80,99 +88,21 @@ |
| 80 | <el-form-item label="使用权面积:"> | 88 | <el-form-item label="使用权面积:"> |
| 81 | <el-input v-model="ruleForm.jsydsyq.syqmj"></el-input> | 89 | <el-input v-model="ruleForm.jsydsyq.syqmj"></el-input> |
| 82 | </el-form-item> | 90 | </el-form-item> |
| 83 | </el-col> <!-- | ||
| 84 | <el-col :span="8" v-if="ruleForm.fdcq2.ftjzmj"> | ||
| 85 | <el-form-item label="独用土地面积:"> | ||
| 86 | <el-input v-model="ruleForm.fdcq2.dytdmj"></el-input> | ||
| 87 | </el-form-item> | ||
| 88 | </el-col> | ||
| 89 | <el-col :span="8" v-if="ruleForm.fdcq2.ftjzmj"> | ||
| 90 | <el-form-item label="分摊土地面积:"> | ||
| 91 | <el-input v-model="ruleForm.fdcq2.fttdmj"></el-input> | ||
| 92 | </el-form-item> | ||
| 93 | </el-col> | 91 | </el-col> |
| 94 | <el-col :span="8" v-if="ruleForm.fdcq2.ftjzmj"> | 92 | <el-col :span="8"> |
| 95 | <el-form-item label="土地性质:" style="margin-bottom:3px"> | 93 | <el-form-item label="取得价格:"> |
| 96 | <treeselect v-model="ruleForm.fdcq2.jedw" placeholder="" | ||
| 97 | :normalizer="normalizer" | ||
| 98 | :show-count="true" :options="dictData['A45']" /> | ||
| 99 | </el-form-item> | ||
| 100 | </el-col> | ||
| 101 | <el-col :span="8" v-if="ruleForm.fdcq2.ftjzmj"> | ||
| 102 | <el-form-item label="房地产交易价格:"> | ||
| 103 | <div style="display:flex"> | 94 | <div style="display:flex"> |
| 104 | <el-input v-model="ruleForm.fdcq2.qjjg" style="width:500%"></el-input> | 95 | <el-input v-model="ruleForm.jsydsyq.qdjg" style="width:500%"></el-input> |
| 105 | <el-select v-model="ruleForm.fdcq2.jedw"> | 96 | <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"> | 97 | <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
| 107 | </el-option> | 98 | </el-option> |
| 108 | </el-select> | 99 | </el-select> |
| 109 | </div> | 100 | </div> |
| 110 | </el-form-item> | 101 | </el-form-item> |
| 111 | </el-col> | 102 | </el-col> |
| 112 | <el-col :span="8"> | 103 | |
| 113 | <el-form-item label="规划用途:"> | 104 | |
| 114 | <el-select v-model="ruleForm.fdcq2.ghyt"> | 105 | |
| 115 | <el-option v-for="item in dictData['A17']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | ||
| 116 | </el-option> | ||
| 117 | </el-select> | ||
| 118 | </el-form-item> | ||
| 119 | </el-col> | ||
| 120 | <el-col :span="8"> | ||
| 121 | <el-form-item label="批准用途:"> | ||
| 122 | <el-input v-model="ruleForm.fdcq2.pzyt"></el-input> | ||
| 123 | </el-form-item> | ||
| 124 | </el-col> | ||
| 125 | <el-col :span="8"> | ||
| 126 | <el-form-item label="实际用途:"> | ||
| 127 | <el-input v-model="ruleForm.fdcq2.sjyt"></el-input> | ||
| 128 | </el-form-item> | ||
| 129 | </el-col> | ||
| 130 | <el-col :span="8"> | ||
| 131 | <el-form-item label="房屋性质:"> | ||
| 132 | <el-select v-model="ruleForm.fdcq2.fwxz"> | ||
| 133 | <el-option v-for="item in dictData['A19']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | ||
| 134 | </el-option> | ||
| 135 | </el-select> | ||
| 136 | </el-form-item> | ||
| 137 | </el-col> | ||
| 138 | <el-col :span="8"> | ||
| 139 | <el-form-item label="房屋结构:"> | ||
| 140 | <el-select v-model="ruleForm.fdcq2.fwjg"> | ||
| 141 | <el-option v-for="item in dictData['A46']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | ||
| 142 | </el-option> | ||
| 143 | </el-select> | ||
| 144 | </el-form-item> | ||
| 145 | </el-col> | ||
| 146 | <el-col :span="8"> | ||
| 147 | <el-form-item label="所在层:"> | ||
| 148 | <el-input v-model="ruleForm.fdcq2.szc"></el-input> | ||
| 149 | </el-form-item> | ||
| 150 | </el-col> | ||
| 151 | <el-col :span="8"> | ||
| 152 | <el-form-item label="总层数:"> | ||
| 153 | <el-input v-model="ruleForm.fdcq2.zcs"></el-input> | ||
| 154 | </el-form-item> | ||
| 155 | </el-col> | ||
| 156 | <el-col :span="8"> | ||
| 157 | <el-form-item label="建筑面积:"> | ||
| 158 | <el-input v-model="ruleForm.fdcq2.jzmj"></el-input> | ||
| 159 | </el-form-item> | ||
| 160 | </el-col> | ||
| 161 | <el-col :span="8"> | ||
| 162 | <el-form-item label="专有建筑面积:"> | ||
| 163 | <el-input v-model="ruleForm.fdcq2.zyjzmj"></el-input> | ||
| 164 | </el-form-item> | ||
| 165 | </el-col> | ||
| 166 | <el-col :span="8" v-if="ruleForm.fdcq2.ftjzmj"> | ||
| 167 | <el-form-item label="分摊建筑面积:"> | ||
| 168 | <el-input v-model="ruleForm.fdcq2.ftjzmj"></el-input> | ||
| 169 | </el-form-item> | ||
| 170 | </el-col> | ||
| 171 | <el-col :span="8"> | ||
| 172 | <el-form-item label="竣工时间:"> | ||
| 173 | <el-input v-model="ruleForm.fdcq2.jgsj"></el-input> | ||
| 174 | </el-form-item> | ||
| 175 | </el-col> --> | ||
| 176 | 106 | ||
| 177 | <el-col :span="8"> | 107 | <el-col :span="8"> |
| 178 | <el-form-item label="不动产权证号:"> | 108 | <el-form-item label="不动产权证号:"> |
| ... | @@ -200,13 +130,13 @@ | ... | @@ -200,13 +130,13 @@ |
| 200 | </el-form-item> | 130 | </el-form-item> |
| 201 | </el-col> | 131 | </el-col> |
| 202 | </el-row> | 132 | </el-row> |
| 203 | <!-- <el-row> | 133 | <el-row> |
| 204 | <el-col :span="24"> | 134 | <el-col :span="24"> |
| 205 | <el-form-item label="附记:"> | 135 | <el-form-item label="附记:"> |
| 206 | <el-input v-model="ruleForm.fdcq2.fj"></el-input> | 136 | <el-input v-model="ruleForm.jsydsyq.fj"></el-input> |
| 207 | </el-form-item> | 137 | </el-form-item> |
| 208 | </el-col> | 138 | </el-col> |
| 209 | </el-row> --> | 139 | </el-row> |
| 210 | 140 | ||
| 211 | <div class="slxx_title title-block"> | 141 | <div class="slxx_title title-block"> |
| 212 | 权利人信息 | 142 | 权利人信息 |
| ... | @@ -271,6 +201,7 @@ | ... | @@ -271,6 +201,7 @@ |
| 271 | </div> | 201 | </div> |
| 272 | </template> | 202 | </template> |
| 273 | <script> | 203 | <script> |
| 204 | import store from '@/store/index.js' | ||
| 274 | import { mapGetters } from "vuex"; | 205 | import { mapGetters } from "vuex"; |
| 275 | import { init,save } from "@/api/djbbl.js"; | 206 | import { init,save } from "@/api/djbbl.js"; |
| 276 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 207 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
| ... | @@ -282,10 +213,31 @@ export default { | ... | @@ -282,10 +213,31 @@ export default { |
| 282 | }, | 213 | }, |
| 283 | data() { | 214 | data() { |
| 284 | return { | 215 | return { |
| 216 | // 键名转换,方法默认是label和children进行树状渲染 | ||
| 217 | normalizer (node) { //方法 | ||
| 218 | if (node.children == null || node.children == 'null') { | ||
| 219 | delete node.children; | ||
| 220 | } | ||
| 221 | return { | ||
| 222 | id: node.dcode, | ||
| 223 | label: node.dname | ||
| 224 | } | ||
| 225 | }, | ||
| 285 | //表单是否可操作 | 226 | //表单是否可操作 |
| 286 | propsParam: this.$attrs, | 227 | propsParam: this.$attrs, |
| 287 | ableOperation: true, | 228 | ableOperation: true, |
| 288 | key: 0, | 229 | key: 0, |
| 230 | // 权属状态 | ||
| 231 | qsztlist: [ | ||
| 232 | { | ||
| 233 | dcode: "1", | ||
| 234 | dname: "现势", | ||
| 235 | }, | ||
| 236 | { | ||
| 237 | dcode: "2", | ||
| 238 | dname: "历史", | ||
| 239 | }, | ||
| 240 | ], | ||
| 289 | isShow: false, | 241 | isShow: false, |
| 290 | disabled: true, | 242 | disabled: true, |
| 291 | czrOptions: [], | 243 | czrOptions: [], |
| ... | @@ -299,8 +251,13 @@ export default { | ... | @@ -299,8 +251,13 @@ export default { |
| 299 | }, | 251 | }, |
| 300 | mounted() {}, | 252 | mounted() {}, |
| 301 | methods: { | 253 | methods: { |
| 254 | // 字典 | ||
| 255 | getDictData (val) { | ||
| 256 | return store.getters.dictData[val] | ||
| 257 | }, | ||
| 302 | loadData() { | 258 | loadData() { |
| 303 | console.log("建设用地使用权",this.propsParam); | 259 | console.log("建设用地使用权",this.propsParam); |
| 260 | console.log("this.getDictData('A30')",this.getDictData('A22')); | ||
| 304 | init(this.propsParam.bsmRepair).then((res) => { | 261 | init(this.propsParam.bsmRepair).then((res) => { |
| 305 | if (res.code == 200) { | 262 | if (res.code == 200) { |
| 306 | this.ruleForm = res.result; | 263 | this.ruleForm = res.result; | ... | ... |
| 1 | 1 | ||
| 2 | 2 | ||
| 3 | var qlxxPage = [ | 3 | var qlxxPage = [ |
| 4 | { qllx: "A01", id: "jsydsyq", form: "jsydsyq.vue", label: "集体土地所有权" }, | 4 | { qllx: "A01", id: "tdsyq", form: "tdsyq.vue", label: "集体土地所有权" }, |
| 5 | { qllx: "A02", id: "jsydsyq", form: "jsydsyq.vue", label: "国家土地所有权" }, | 5 | { qllx: "A02", id: "tdsyq", form: "tdsyq.vue", label: "国家土地所有权" }, |
| 6 | { qllx: "A03", id: "jsydsyq", form: "jsydsyq.vue", label: "国有建设用地使用权" }, | 6 | { qllx: "A03", id: "jsydsyq", form: "jsydsyq.vue", label: "国有建设用地使用权" }, |
| 7 | { qllx: "A04", id: "", form: "", label: "国有建设用地使用权/房屋所有权" }, | 7 | { qllx: "A04", id: "", form: "", label: "国有建设用地使用权/房屋所有权" }, |
| 8 | { qllx: "A05", id: "jsydsyq", form: "jsydsyq.vue", label: "宅基地使用权" }, | 8 | { qllx: "A05", id: "jsydsyq", form: "jsydsyq.vue", label: "宅基地使用权" }, | ... | ... |
src/views/registerBook/tdsyq.vue
0 → 100644
| 1 | <template> | ||
| 2 | <div class="djxxTable"> | ||
| 3 | <div class="tableBox"> | ||
| 4 | <div class="title"> | ||
| 5 | {{ title }} | ||
| 6 | <div class="checkbox"> | ||
| 7 | <el-checkbox-group v-model="checkList" @change="checkChange"> | ||
| 8 | <el-checkbox v-for="item in qsztList" :key="item.value" :label="item.value">{{ item.label }}</el-checkbox> | ||
| 9 | </el-checkbox-group> | ||
| 10 | </div> | ||
| 11 | </div> | ||
| 12 | <div class="xxTableBox rollTable"> | ||
| 13 | <!-- 固定前三个 --> | ||
| 14 | <table class="xxTable"> | ||
| 15 | <tr v-for="(item, colindex) in columns" :key="colindex"> | ||
| 16 | <td> | ||
| 17 | {{ item.label }} | ||
| 18 | </td> | ||
| 19 | <td v-for="(row, index) in tableData" :key="index" :class="[ | ||
| 20 | row.qszt == '2' ? 'lishi' : '', | ||
| 21 | row.qszt == '0' ? 'linshi' : '', | ||
| 22 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | ||
| 23 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | ||
| 24 | ]"> | ||
| 25 | <div class="setbut" v-if="item.prop == 'cz'&&row.sjlx !='系统数据'"> | ||
| 26 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | ||
| 27 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row,'D')">删除</el-button> | ||
| 28 | </div> | ||
| 29 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | ||
| 30 | 正在办理 | ||
| 31 | </div> | ||
| 32 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | ||
| 33 | 有效 | ||
| 34 | </div> | ||
| 35 | <span v-if="item.prop == 'qszt'"> | ||
| 36 | {{ getQsztName(row[item.prop]) }} | ||
| 37 | </span> | ||
| 38 | |||
| 39 | <span v-else> {{ row[item.prop] }}</span> | ||
| 40 | </td> | ||
| 41 | <td v-for="count in emptycolNum" :key="~count"></td> | ||
| 42 | </tr> | ||
| 43 | </table> | ||
| 44 | </div> | ||
| 45 | </div> | ||
| 46 | </div> | ||
| 47 | </template> | ||
| 48 | |||
| 49 | <script> | ||
| 50 | import { datas } from "./qlxxFormData.js"; | ||
| 51 | import { getSjlx } from "@/utils/dictionary.js"; | ||
| 52 | import { getTdsyqList } from "@/api/registerBook.js"; | ||
| 53 | export default { | ||
| 54 | data () { | ||
| 55 | return { | ||
| 56 | title: "土地所有权信息", | ||
| 57 | qsztList: datas.columns().qsztList, | ||
| 58 | checkList: datas.columns().checkList, | ||
| 59 | //传递参数 | ||
| 60 | propsParam: this.$attrs, | ||
| 61 | //列表数据 | ||
| 62 | tableData: [], | ||
| 63 | //空列值个数 | ||
| 64 | emptycolNum: datas.columns().emptycolNum, | ||
| 65 | //列名称对象 | ||
| 66 | columns: datas.columns().JSYDSYQ, | ||
| 67 | }; | ||
| 68 | }, | ||
| 69 | created () { | ||
| 70 | this.loadData(); | ||
| 71 | }, | ||
| 72 | methods: { | ||
| 73 | loadData () { | ||
| 74 | |||
| 75 | if(this.$parent.addRepairRecord){ | ||
| 76 | this.columns.unshift({prop:"cz", | ||
| 77 | label:"操作" | ||
| 78 | }) | ||
| 79 | } | ||
| 80 | getTdsyqList({ | ||
| 81 | bdcdyid: this.propsParam.bdcdyid, | ||
| 82 | qllx: this.propsParam.qllx, | ||
| 83 | qszt: this.checkList, | ||
| 84 | }).then((res) => { | ||
| 85 | if (res.code === 200) { | ||
| 86 | this.tableData = res.result; | ||
| 87 | this.tableData.forEach(item => { | ||
| 88 | item.sjlx = getSjlx(item.sjlx) | ||
| 89 | }) | ||
| 90 | if (this.tableData.length < datas.columns().emptycolNum) { | ||
| 91 | this.emptycolNum = | ||
| 92 | datas.columns().emptycolNum - this.tableData.length; | ||
| 93 | } else { | ||
| 94 | this.emptycolNum = 0; | ||
| 95 | } | ||
| 96 | } | ||
| 97 | }); | ||
| 98 | }, | ||
| 99 | checkChange () { | ||
| 100 | if (this.checkList.length === 0) { | ||
| 101 | this.tableData = []; | ||
| 102 | this.emptycolNum = datas.columns().emptycolNum; | ||
| 103 | } else { | ||
| 104 | this.loadData(); | ||
| 105 | } | ||
| 106 | }, | ||
| 107 | getQsztName (code) { | ||
| 108 | let name = ""; | ||
| 109 | for (let item of this.qsztList) { | ||
| 110 | if (item.value == code) { | ||
| 111 | name = item.label; | ||
| 112 | break; | ||
| 113 | } | ||
| 114 | } | ||
| 115 | return name; | ||
| 116 | }, | ||
| 117 | // 新增一条补录信息 | ||
| 118 | editDialog(row,del){ | ||
| 119 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | ||
| 120 | confirmButtonText: '确定', | ||
| 121 | cancelButtonText: '取消', | ||
| 122 | type: 'warning' | ||
| 123 | }).then(() => { | ||
| 124 | this.$parent.addRepairRecord(row,del) | ||
| 125 | |||
| 126 | this.$message({ | ||
| 127 | type: 'success', | ||
| 128 | message: '补录成功!' | ||
| 129 | }); | ||
| 130 | }).catch(() => { | ||
| 131 | this.$message({ | ||
| 132 | type: 'info', | ||
| 133 | message: '取消编辑' | ||
| 134 | }); | ||
| 135 | }); | ||
| 136 | |||
| 137 | }, | ||
| 138 | }, | ||
| 139 | }; | ||
| 140 | </script> | ||
| 141 | |||
| 142 | <style lang="scss" scoped> | ||
| 143 | @import "./qlxxCommon.scss"; | ||
| 144 | </style> |
| ... | @@ -69,6 +69,9 @@ export function getForm (tabName, djywbm) { | ... | @@ -69,6 +69,9 @@ export function getForm (tabName, djywbm) { |
| 69 | case "cfdjxx": | 69 | case "cfdjxx": |
| 70 | form = require("@/views/registerBook/cfdj.vue"); | 70 | form = require("@/views/registerBook/cfdj.vue"); |
| 71 | break; | 71 | break; |
| 72 | case "tdsyqQlxx": | ||
| 73 | form = require("@/views/registerBook/tdsyq.vue"); | ||
| 74 | break; | ||
| 72 | case "jsydsyqQlxx": | 75 | case "jsydsyqQlxx": |
| 73 | form = require("@/views/registerBook/jsydsyq.vue"); | 76 | form = require("@/views/registerBook/jsydsyq.vue"); |
| 74 | break; | 77 | break; | ... | ... |
| ... | @@ -87,44 +87,52 @@ | ... | @@ -87,44 +87,52 @@ |
| 87 | </el-row> | 87 | </el-row> |
| 88 | <el-row :gutter="10"> | 88 | <el-row :gutter="10"> |
| 89 | <el-col :span="8"> | 89 | <el-col :span="8"> |
| 90 | <el-form-item label="取得价格:"> | 90 | <el-form-item label="农用地面积:"> |
| 91 | <div style="display:flex"> | 91 | <el-input v-model="ruleForm.tdsyq.nydmj"></el-input> |
| 92 | <el-input v-model="ruleForm.jsydsyq.qdjg" style="width:500%" :disabled="$route.query.viewtype == '1'" | ||
| 93 | oninput="value=value.replace(/[^\d.]/g,'')"></el-input> | ||
| 94 | <el-select v-model="ruleForm.jsydsyq.jedw" :disabled="$route.query.viewtype == '1'"> | ||
| 95 | <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | ||
| 96 | </el-option> | ||
| 97 | </el-select> | ||
| 98 | </div> | ||
| 99 | </el-form-item> | 92 | </el-form-item> |
| 100 | </el-col> | 93 | </el-col> |
| 101 | 94 | <el-col :span="8"> | |
| 102 | <el-col :span="16"> | 95 | <el-form-item label="耕地面积:"> |
| 103 | <el-form-item label="坐落:"> | 96 | <el-input v-model="ruleForm.tdsyq.gdmj"></el-input> |
| 104 | <el-input disabled v-model="ruleForm.zdjbxx.zl"></el-input> | 97 | </el-form-item> |
| 98 | </el-col> | ||
| 99 | <el-col :span="8"> | ||
| 100 | <el-form-item label="林地面积:"> | ||
| 101 | <el-input v-model="ruleForm.tdsyq.ldmj"></el-input> | ||
| 105 | </el-form-item> | 102 | </el-form-item> |
| 106 | </el-col> | 103 | </el-col> |
| 107 | </el-row> | 104 | </el-row> |
| 108 | <!-- <el-row :gutter="10"> | 105 | <el-row :gutter="10"> |
| 109 | <el-col :span="8"> | 106 | <el-col :span="8"> |
| 110 | <el-form-item label="使用期限:"> | 107 | <el-form-item label="草地面积:"> |
| 111 | <el-input disabled v-model="ruleForm.jsydsyq.tdsyqx"></el-input> | 108 | <el-input v-model="ruleForm.tdsyq.cdmj"></el-input> |
| 112 | </el-form-item> | 109 | </el-form-item> |
| 113 | </el-col> | 110 | </el-col> |
| 114 | 111 | <el-col :span="8"> | |
| 115 | <el-col :span="16"> | 112 | <el-form-item label="其他农用地面积:"> |
| 116 | <el-form-item label="使用权起止时间:"> | 113 | <el-input v-model="ruleForm.tdsyq.qtnydmj"></el-input> |
| 117 | <el-input disabled v-model="ruleForm.jsydsyq.syqqzsj"></el-input> | ||
| 118 | </el-form-item> | 114 | </el-form-item> |
| 119 | </el-col> | 115 | </el-col> |
| 120 | </el-row> --> | 116 | <el-col :span="8"> |
| 121 | <!-- <el-row :gutter="10"> | 117 | <el-form-item label="建筑使用面积:"> |
| 122 | <el-col> | 118 | <el-input v-model="ruleForm.tdsyq.jsydmj"></el-input> |
| 123 | <el-form-item label="附记:" prop="fj"> | 119 | </el-form-item> |
| 124 | <el-input type="textarea" v-model="ruleForm.jsydsyq.fj" :disabled="$route.query.viewtype == '1'"></el-input> | 120 | </el-col> |
| 121 | </el-row> | ||
| 122 | <el-row :gutter="10"> | ||
| 123 | <el-col :span="8"> | ||
| 124 | <el-form-item label="未利用地面积:"> | ||
| 125 | <el-input v-model="ruleForm.tdsyq.wlydmj"></el-input> | ||
| 125 | </el-form-item> | 126 | </el-form-item> |
| 126 | </el-col> | 127 | </el-col> |
| 127 | </el-row> --> | 128 | <el-col :span="8"> |
| 129 | <el-form-item label="面积单位:"> | ||
| 130 | <el-input v-model="ruleForm.tdsyq.mjdw"></el-input> | ||
| 131 | </el-form-item> | ||
| 132 | </el-col> | ||
| 133 | |||
| 134 | </el-row> | ||
| 135 | |||
| 128 | <div class="slxx_title title-block"> | 136 | <div class="slxx_title title-block"> |
| 129 | 权利人信息 | 137 | 权利人信息 |
| 130 | <div class="triangle"></div> | 138 | <div class="triangle"></div> |
| ... | @@ -177,7 +185,7 @@ | ... | @@ -177,7 +185,7 @@ |
| 177 | <el-col> | 185 | <el-col> |
| 178 | <el-form-item label="登记原因:" prop="djyy"> | 186 | <el-form-item label="登记原因:" prop="djyy"> |
| 179 | <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype" | 187 | <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype" |
| 180 | v-model="ruleForm.jsydsyq.djyy"> | 188 | v-model="ruleForm.tdsyq.djyy"> |
| 181 | </el-input> | 189 | </el-input> |
| 182 | </el-form-item> | 190 | </el-form-item> |
| 183 | </el-col> | 191 | </el-col> | ... | ... |
-
Please register or sign in to post a comment