Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev
Showing
24 changed files
with
129 additions
and
2686 deletions
1 | <template> | ||
2 | <div class="bdcqldjml"> | ||
3 | <table class="mlTable"> | ||
4 | <tr> | ||
5 | <th colspan="5" class="title">不动产权利登记目录</th> | ||
6 | </tr> | ||
7 | <tr> | ||
8 | <td>序号</td> | ||
9 | <td>不动产单元号</td> | ||
10 | <td>不动产类型</td> | ||
11 | <td>所在本数</td> | ||
12 | <td>备注</td> | ||
13 | </tr> | ||
14 | <tr v-for="(item, index) in bdcqlml" :key="index"> | ||
15 | <td>{{ index + 1 }}</td> | ||
16 | <td>{{ item.bdcdyh }}</td> | ||
17 | <td>{{ item.bdclx }}</td> | ||
18 | <td>{{ item.szbs }}</td> | ||
19 | <td>{{ item.bz }}</td> | ||
20 | </tr> | ||
21 | </table> | ||
22 | </div> | ||
23 | </template> | ||
24 | |||
25 | <script> | ||
26 | import { getBdcqldjmlByBdcdyid } from "@/api/registerBook.js"; | ||
27 | export default { | ||
28 | data() { | ||
29 | return { | ||
30 | bdcqlml: [], | ||
31 | propsParam: this.$attrs, | ||
32 | }; | ||
33 | }, | ||
34 | mounted() { | ||
35 | getBdcqldjmlByBdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { | ||
36 | if (res.code === 200) { | ||
37 | this.bdcqlml = res.result; | ||
38 | } | ||
39 | }); | ||
40 | }, | ||
41 | }; | ||
42 | </script> | ||
43 | |||
44 | <style lang="scss" scoped> | ||
45 | .bdcqldjml { | ||
46 | width: 100%; | ||
47 | height: 100%; | ||
48 | background: #fff; | ||
49 | overflow-y: scroll; | ||
50 | .mlTable { | ||
51 | width: 90%; | ||
52 | margin: 0 auto; | ||
53 | color: #333; | ||
54 | border-spacing: 1px; | ||
55 | background-color: #333; | ||
56 | |||
57 | .title { | ||
58 | font-size: 20px; | ||
59 | line-height: 60px; | ||
60 | font-family: serif; | ||
61 | position: relative; | ||
62 | } | ||
63 | |||
64 | td, | ||
65 | th { | ||
66 | background-color: white; | ||
67 | line-height: 30px; | ||
68 | padding: 0 4px; | ||
69 | text-align: center; | ||
70 | } | ||
71 | } | ||
72 | } | ||
73 | </style> |
1 | <template> | ||
2 | <div class="bdcqljqtsx"> | ||
3 | <div class="content"> | ||
4 | <div class="title">不动产权利及其他事项<br />登记信息</div> | ||
5 | <div> | ||
6 | 不动产单元号: | ||
7 | <div class="underline">{{ propsParam.bdcdyh }}</div> | ||
8 | </div> | ||
9 | <br /><br /><br /> | ||
10 | <div> | ||
11 | <div class="underline">{{ qlxxList.ztqlmc }}</div> | ||
12 | 登记 共 | ||
13 | <div class="underline">{{ qlxxList.ztql.total }}</div> | ||
14 | 条 | ||
15 | </div> | ||
16 | <br /><br /> | ||
17 | <div> | ||
18 | 抵押权登记 共 | ||
19 | <div class="underline">{{ qlxxList.diyaq.total }}</div> | ||
20 | 条 | ||
21 | </div> | ||
22 | <br /> | ||
23 | <div> | ||
24 | 地役权登记 共 | ||
25 | <div class="underline">{{ qlxxList.diyiq.total }}</div> | ||
26 | 条 | ||
27 | </div> | ||
28 | <br /> | ||
29 | <div> | ||
30 | 预告登记 共 | ||
31 | <div class="underline">{{ qlxxList.ygdj.total }}</div> | ||
32 | 条 | ||
33 | </div> | ||
34 | <br /> | ||
35 | <div> | ||
36 | 异议登记 共 | ||
37 | <div class="underline">{{ qlxxList.yydj.total }}</div> | ||
38 | 条 | ||
39 | </div> | ||
40 | <br /> | ||
41 | <div> | ||
42 | 查封登记 共 | ||
43 | <div class="underline">{{ qlxxList.cfdj.total }}</div> | ||
44 | 条 | ||
45 | </div> | ||
46 | <br /> | ||
47 | </div> | ||
48 | </div> | ||
49 | </template> | ||
50 | |||
51 | <script> | ||
52 | import { getBdcqljqtsx } from "@/api/registerBook.js"; | ||
53 | export default { | ||
54 | name: "bdcqljqtsx", | ||
55 | data() { | ||
56 | return { | ||
57 | //传递参数 | ||
58 | propsParam: this.$attrs, | ||
59 | qlxxList: "", | ||
60 | }; | ||
61 | }, | ||
62 | mounted() { | ||
63 | getBdcqljqtsx({ | ||
64 | bdcdyid: this.propsParam.bdcdyid, | ||
65 | bdcdyh: this.propsParam.bdcdyh, | ||
66 | }).then((res) => { | ||
67 | if (res.code === 200) { | ||
68 | this.qlxxList = res.result; | ||
69 | } | ||
70 | }); | ||
71 | }, | ||
72 | }; | ||
73 | </script> | ||
74 | |||
75 | <style lang="scss" scoped> | ||
76 | .bdcqljqtsx { | ||
77 | width: 100%; | ||
78 | height: 100%; | ||
79 | background: #fff; | ||
80 | |||
81 | .content { | ||
82 | width: 50%; | ||
83 | height: 100%; | ||
84 | margin: 0 auto; | ||
85 | text-align: right; | ||
86 | color: #333; | ||
87 | font-family: "Arial Negreta", "Arial Normal", "Arial", sans-serif; | ||
88 | font-weight: 700; | ||
89 | font-size: 18px; | ||
90 | line-height: 16px; | ||
91 | |||
92 | .title { | ||
93 | font-size: 32px; | ||
94 | text-align: center; | ||
95 | padding: 40px 0; | ||
96 | line-height: 34px; | ||
97 | } | ||
98 | |||
99 | .underline { | ||
100 | font-size: 14px; | ||
101 | font-weight: normal; | ||
102 | text-decoration: underline; | ||
103 | display: inline-block; | ||
104 | } | ||
105 | } | ||
106 | } | ||
107 | </style> |
1 | <!-- | ||
2 | * @Description :查封登记信息 | ||
3 | * @Autor : miaofang | ||
4 | * @LastEditTime : 2023-06-13 13:56:45 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class="djxxTable"> | ||
8 | <div class="tableBox"> | ||
9 | <div class="title"> | ||
10 | {{ title }} | ||
11 | <div class="checkbox"> | ||
12 | <el-checkbox-group v-model="checkList" @change="checkChange"> | ||
13 | <el-checkbox v-for="item in qsztList" :key="item.value" :label="item.value">{{ item.label }}</el-checkbox> | ||
14 | </el-checkbox-group> | ||
15 | </div> | ||
16 | </div> | ||
17 | <div class="xxTableBox rollTable"> | ||
18 | <table class="xxTable"> | ||
19 | <tr v-for="(item, colindex) in columns" :key="colindex"> | ||
20 | <td> | ||
21 | {{ item.label }} | ||
22 | </td> | ||
23 | <td v-for="(row, index) in tableData" :key="index" :class="[ | ||
24 | row.qszt == '2' ? 'lishi' : '', | ||
25 | row.qszt == '0' ? 'linshi' : '', | ||
26 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | ||
27 | ]"> | ||
28 | <div class="setbut" v-if="item.prop == 'cz'"> | ||
29 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | ||
30 | <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button> | ||
31 | </div> | ||
32 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | ||
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 { getCfdjList } from "@/api/registerBook.js"; | ||
51 | import { datas } from "./qlxxFormData.js"; | ||
52 | export default { | ||
53 | data () { | ||
54 | return { | ||
55 | title: "查封登记信息", | ||
56 | qsztList: datas.columns().qsztList, | ||
57 | checkList: datas.columns().checkList, | ||
58 | //传递参数 | ||
59 | propsParam: this.$attrs, | ||
60 | //列表数据 | ||
61 | tableData: [], | ||
62 | //空列值个数 | ||
63 | emptycolNum: datas.columns().emptycolNum, | ||
64 | //列名称对象 | ||
65 | columns: datas.columns().CFDJ, | ||
66 | }; | ||
67 | }, | ||
68 | created () { | ||
69 | this.loadData(); | ||
70 | }, | ||
71 | methods: { | ||
72 | loadData () { | ||
73 | getCfdjList({ | ||
74 | bdcdyid: this.propsParam.bdcdyid, | ||
75 | qllx: this.propsParam.qllx, | ||
76 | qszt: this.checkList, | ||
77 | }).then((res) => { | ||
78 | if (res.code === 200) { | ||
79 | this.tableData = res.result; | ||
80 | this.tableData.forEach((item, index) => { | ||
81 | if (item.sfbxf == '1') { | ||
82 | item.zxywh = ''; | ||
83 | item.zxdbr = ''; | ||
84 | item.zxsj = ''; | ||
85 | } | ||
86 | }) | ||
87 | if (this.tableData.length < datas.columns().emptycolNum) { | ||
88 | this.emptycolNum = | ||
89 | datas.columns().emptycolNum - this.tableData.length; | ||
90 | } else { | ||
91 | this.emptycolNum = 0; | ||
92 | } | ||
93 | } | ||
94 | }); | ||
95 | }, | ||
96 | checkChange () { | ||
97 | if (this.checkList.length === 0) { | ||
98 | this.tableData = []; | ||
99 | this.emptycolNum = datas.columns().emptycolNum; | ||
100 | } else { | ||
101 | this.loadData(); | ||
102 | } | ||
103 | }, | ||
104 | getQsztName (code) { | ||
105 | let name = ""; | ||
106 | for (let item of this.qsztList) { | ||
107 | if (item.value == code) { | ||
108 | name = item.label; | ||
109 | break; | ||
110 | } | ||
111 | } | ||
112 | return name; | ||
113 | }, | ||
114 | // 编辑 | ||
115 | editDialog(row){ | ||
116 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | ||
117 | confirmButtonText: '确定', | ||
118 | cancelButtonText: '取消', | ||
119 | type: 'warning' | ||
120 | }).then(() => { | ||
121 | this.$parent.addRepairRecord(row) | ||
122 | |||
123 | this.$message({ | ||
124 | type: 'success', | ||
125 | message: '补录成功!' | ||
126 | }); | ||
127 | }).catch(() => { | ||
128 | this.$message({ | ||
129 | type: 'info', | ||
130 | message: '取消编辑' | ||
131 | }); | ||
132 | }); | ||
133 | |||
134 | // this.$popupDialog("编辑", "djbworkflow/djbBook/components/djbeditDialog", { | ||
135 | // datalist:this.columns, | ||
136 | // data: row, | ||
137 | |||
138 | // }) | ||
139 | |||
140 | }, | ||
141 | // 删除 | ||
142 | deleteDialog(row){ | ||
143 | this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', { | ||
144 | confirmButtonText: '确定', | ||
145 | cancelButtonText: '取消', | ||
146 | type: 'warning' | ||
147 | }).then(() => { | ||
148 | // let bsmClmx = this.previewImg.imgList[this.previewImg.index].bsmClmx | ||
149 | // deleteClmx(bsmClmx).then(res => { | ||
150 | // if (res.code == 200) { | ||
151 | // that.$emit('updateList', res.result) | ||
152 | // that.$message({ | ||
153 | // message: '删除成功!', | ||
154 | // type: 'success' | ||
155 | // }) | ||
156 | // } | ||
157 | // }) | ||
158 | this.$message({ | ||
159 | type: 'success', | ||
160 | message: '删除成功!' | ||
161 | }); | ||
162 | }).catch(() => { | ||
163 | this.$message({ | ||
164 | type: 'info', | ||
165 | message: '已取消删除' | ||
166 | }); | ||
167 | }); | ||
168 | |||
169 | } | ||
170 | }, | ||
171 | }; | ||
172 | </script> | ||
173 | |||
174 | <style lang="scss" scoped> | ||
175 | @import "./qlxxCommon.scss"; | ||
176 | </style> |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-17 10:40:38 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class="clxx"> | ||
8 | <div class="right"> | ||
9 | <!-- 材料预览 --> | ||
10 | <div class="clyl-box"> | ||
11 | <div class="menu-tree"> | ||
12 | <el-button type="primary" native-type="submit" @click="viewDetail" style="width:100%;margin-top:10px;">查看明细</el-button> | ||
13 | <div class="item"> | ||
14 | 材料目录({{tableData.length}}) | ||
15 | <div style="margin-top:10px"> | ||
16 | <div style="text-align: center;line-height:20px;color:black;font-size:14px" v-if="tableData.length == 0">暂无数据</div> | ||
17 | <div v-for="(item,index) in tableData" :key="item.bsmSj" | ||
18 | :class="['child', treeCheckId == item.bsmSj ? 'checked' : '']" @click="treeClick(item,index)"> | ||
19 | <span v-if="item.isrequired==1" class="required">必选</span> | ||
20 | {{ item.sjmc }} | ||
21 | <span class="cl_number">({{item.children ? item.children.length : 0}})</span> | ||
22 | </div> | ||
23 | </div> | ||
24 | </div> | ||
25 | <el-button type="primary" native-type="submit" style="width:100%" @click="handleAdd()" v-if="!this.$route.query.viewtype">新增</el-button> | ||
26 | </div> | ||
27 | <image-preview ref='imageRef' v-if="tableData.length>0" :previewImg="previewImg" @updateList="updateList" @nextPriview="nextPriview" | ||
28 | @prevPriview="prevPriview" /> | ||
29 | </div> | ||
30 | </div> | ||
31 | <clxxAddDialog v-model="isDialog" /> | ||
32 | <!-- <clxxDetailDialog v-model="detailDialog" :data="tableData" /> --> | ||
33 | </div> | ||
34 | </template> | ||
35 | <script> | ||
36 | import { mapGetters } from "vuex"; | ||
37 | import clxxAddDialog from "./components/clxxAddDialog.vue"; | ||
38 | import imagePreview from '@/views/components/imagePreview.vue' | ||
39 | import { InitClml, saveClml, deleteSjClml, moveClml } from "@/api/clxx.js"; | ||
40 | import { popupDialog } from "@/utils/popup.js"; | ||
41 | export default { | ||
42 | components: { clxxAddDialog, imagePreview }, | ||
43 | data () { | ||
44 | return { | ||
45 | isDialog: false, | ||
46 | iclass: "", | ||
47 | // 材料目录选中 | ||
48 | treeCheckIndex: 0, | ||
49 | treeCheckId: "", | ||
50 | key: 0, | ||
51 | tableData: [], | ||
52 | previewImg: { | ||
53 | // 收件标识码 | ||
54 | bsmSj: '', | ||
55 | bsmSlsq: this.$parent.bsmSlsq, | ||
56 | index: 0, | ||
57 | selectedIndex: 0, | ||
58 | imgList: [] | ||
59 | } | ||
60 | } | ||
61 | }, | ||
62 | computed: { | ||
63 | ...mapGetters(["dictData"]) | ||
64 | }, | ||
65 | created () { | ||
66 | this.clmlInitList(1) | ||
67 | }, | ||
68 | methods: { | ||
69 | // 自动预览 | ||
70 | nextPriview () { | ||
71 | if (this.treeCheckIndex < this.tableData.length) { | ||
72 | this.treeCheckIndex++ | ||
73 | this.treeCheckId = this.tableData[this.treeCheckIndex].bsmSj | ||
74 | this.previewImg.index = 0 | ||
75 | this.previewImg.imgList = this.tableData[this.treeCheckIndex].children | ||
76 | this.previewImg.bsmSj = this.tableData[this.treeCheckIndex].bsmSj | ||
77 | } | ||
78 | }, | ||
79 | prevPriview () { | ||
80 | if (this.treeCheckIndex >= 1) { | ||
81 | this.treeCheckIndex-- | ||
82 | this.treeCheckId = this.tableData[this.treeCheckIndex].bsmSj | ||
83 | this.previewImg.index = this.previewImg.imgList.length | ||
84 | this.previewImg.imgList = this.tableData[this.treeCheckIndex].children | ||
85 | this.previewImg.bsmSj = this.tableData[this.treeCheckIndex].bsmSj | ||
86 | } | ||
87 | }, | ||
88 | // 材料目录明细初始化 | ||
89 | clmlInitList (type) { | ||
90 | //type 1:列表初始化 2:新增材料 | ||
91 | return new Promise(resolve => { | ||
92 | this.unitData = this.$parent.unitData; | ||
93 | var formdata = new FormData(); | ||
94 | formdata.append("bsmSldy", this.unitData[0]?.bsmSldy); | ||
95 | formdata.append("bsmSlsq", this.$parent.bsmSlsq); | ||
96 | InitClml(formdata).then((res) => { | ||
97 | if (res.code == 200) { | ||
98 | resolve(res.code) | ||
99 | if (res.result && res.result.length > 0) { | ||
100 | this.tableData = res.result; | ||
101 | if (type == 1) { | ||
102 | this.treeClick(this.tableData[0], 0); | ||
103 | } else { | ||
104 | //新增材料后刷新列表焦点置于新增的对象上 | ||
105 | this.treeClick(this.tableData[this.tableData.length - 1], this.tableData.length - 1); | ||
106 | } | ||
107 | } | ||
108 | } else { | ||
109 | this.$message.error(res.message) | ||
110 | } | ||
111 | }) | ||
112 | }) | ||
113 | }, | ||
114 | setChecked (item) { | ||
115 | this.treeCheckId = item.bsmSj; | ||
116 | this.title = item.sjmc; | ||
117 | this.titleYs = 1; | ||
118 | this.titleNum = item.children.length; | ||
119 | this.previewImg.imgList = item.children; | ||
120 | this.previewImg.bsmSj = item.bsmSj; | ||
121 | }, | ||
122 | updateList (val) { | ||
123 | let that = this | ||
124 | if (val != null) { //删除最后一张图片时 val=null | ||
125 | this.tableData.forEach(item => { | ||
126 | if (item.bsmSj === val.bsmSj) { | ||
127 | item.children = val.children | ||
128 | } | ||
129 | }) | ||
130 | this.previewImg.imgList = _.cloneDeep(val.children) | ||
131 | if (this.previewImg.index == this.previewImg.imgList.length) { | ||
132 | this.previewImg.index = this.previewImg.index - 1 | ||
133 | } | ||
134 | } else { | ||
135 | this.previewImg.imgList = [] | ||
136 | this.tableData.forEach((item, index) => { | ||
137 | if (this.treeCheckId == item.bsmSj) { | ||
138 | item.children = [] | ||
139 | that.treeCheckIndex = index | ||
140 | } | ||
141 | }) | ||
142 | } | ||
143 | |||
144 | }, | ||
145 | // 添加材料目录 | ||
146 | handleAdd () { | ||
147 | this.isDialog = true; | ||
148 | }, | ||
149 | // 新增弹窗保存 | ||
150 | addSave (data) { | ||
151 | let obj = { | ||
152 | bsmSlsq: this.$parent.bsmSlsq, | ||
153 | isrequired: "1", | ||
154 | sjmc: data.clmc, | ||
155 | sjsl: 0, | ||
156 | smzt: '', | ||
157 | ys: 0, | ||
158 | sjlx: data.cllx, | ||
159 | sfxjcl: "1", // 是否必选 | ||
160 | }; | ||
161 | saveClml(obj).then(async (res) => { | ||
162 | if (res.code == 200) { | ||
163 | let res = await this.clmlInitList(2) | ||
164 | if (res == 200) this.$message({ | ||
165 | message: "新增成功", | ||
166 | type: "success", | ||
167 | }) | ||
168 | } | ||
169 | }); | ||
170 | }, | ||
171 | // 材料目录点击选中 | ||
172 | treeClick (item, index) { | ||
173 | this.previewImg.index = 0 | ||
174 | this.treeCheckId = item?.bsmSj | ||
175 | this.treeCheckIndex = index | ||
176 | this.previewImg.imgList = item?.children | ||
177 | this.previewImg.bsmSj = item?.bsmSj | ||
178 | }, | ||
179 | // 小图片点击 | ||
180 | imgClick (item, index) { | ||
181 | this.showImg = item; | ||
182 | this.titleYs = index + 1; | ||
183 | }, | ||
184 | // 字典 | ||
185 | dicStatus (val, code) { | ||
186 | let data = this.$store.getters.dictData[code], | ||
187 | name = "暂无"; | ||
188 | if (data) { | ||
189 | data.map((item) => { | ||
190 | if (item.dcode == val) { | ||
191 | name = item.dname | ||
192 | } | ||
193 | }); | ||
194 | return name | ||
195 | } | ||
196 | }, | ||
197 | //查看明细 | ||
198 | viewDetail () { | ||
199 | this.$popupDialog("查看明细", "djbworkflow/components/dialog/clxxDetailDialog", { | ||
200 | data: this.tableData | ||
201 | }, "60%") | ||
202 | }, | ||
203 | //设置tableData | ||
204 | setTableData (tableData) { | ||
205 | this.$nextTick(res => { | ||
206 | this.tableData = tableData; | ||
207 | }) | ||
208 | }, | ||
209 | }, | ||
210 | }; | ||
211 | </script> | ||
212 | <style scoped lang='scss'> | ||
213 | @import "~@/styles/mixin.scss"; | ||
214 | |||
215 | .active { | ||
216 | background: $light-blue !important; | ||
217 | color: #fff; | ||
218 | } | ||
219 | |||
220 | .required { | ||
221 | font-size: 12px; | ||
222 | color: $pink; | ||
223 | float: left; | ||
224 | } | ||
225 | |||
226 | .cl_number { | ||
227 | float: right; | ||
228 | } | ||
229 | |||
230 | .clxx { | ||
231 | width: 100%; | ||
232 | display: flex; | ||
233 | padding-left: 5px; | ||
234 | height: calc(100vh - 125px); | ||
235 | |||
236 | .left { | ||
237 | display: flex; | ||
238 | flex-direction: column; | ||
239 | justify-content: space-between; | ||
240 | |||
241 | .item { | ||
242 | width: 28px; | ||
243 | height: 49%; | ||
244 | @include flex-center; | ||
245 | background-color: #e4e7ed; | ||
246 | border-bottom-right-radius: 10px; | ||
247 | padding: 5px; | ||
248 | cursor: pointer; | ||
249 | transition: all 0.3s; | ||
250 | |||
251 | &:hover { | ||
252 | @extend .active; | ||
253 | } | ||
254 | } | ||
255 | } | ||
256 | |||
257 | .right { | ||
258 | width: 100%; | ||
259 | height: 100%; | ||
260 | |||
261 | .clmlmx-box { | ||
262 | margin: 0 auto; | ||
263 | |||
264 | .title { | ||
265 | text-align: center; | ||
266 | height: 60px; | ||
267 | line-height: 60px; | ||
268 | border: 1px solid #dfe6ec; | ||
269 | font-size: 20px; | ||
270 | background: #81d3f81a; | ||
271 | margin-bottom: -1px; | ||
272 | } | ||
273 | } | ||
274 | |||
275 | .clyl-box { | ||
276 | width: 100%; | ||
277 | height: 100%; | ||
278 | display: flex; | ||
279 | |||
280 | .menu-tree { | ||
281 | width: 20%; | ||
282 | min-width: 160px; | ||
283 | height: 100%; | ||
284 | margin-right: 10px; | ||
285 | border-right: 1px dotted #d9d9d9; | ||
286 | padding: 0 15px; | ||
287 | |||
288 | .item { | ||
289 | line-height: 30px; | ||
290 | padding-top: 5px; | ||
291 | border-bottom: 1px solid #e8e8e8; | ||
292 | font-size: 16px; | ||
293 | text-align: center; | ||
294 | color: $light-blue; | ||
295 | |||
296 | .itemIcon { | ||
297 | float: right; | ||
298 | line-height: 60px; | ||
299 | cursor: pointer; | ||
300 | } | ||
301 | |||
302 | .child { | ||
303 | line-height: 32px; | ||
304 | border-bottom: 1px solid #e8e8e8; | ||
305 | padding-left: 10px; | ||
306 | color: #6b6b6b; | ||
307 | cursor: pointer; | ||
308 | box-sizing: border-box; | ||
309 | border-radius: 6px; | ||
310 | line-height: 20px; | ||
311 | transition: all 0.3s; | ||
312 | padding: 8px 0; | ||
313 | } | ||
314 | |||
315 | .child:hover { | ||
316 | color: $light-blue; | ||
317 | transform: scale(1.1); | ||
318 | } | ||
319 | |||
320 | .checked { | ||
321 | border: 1px solid $light-blue; | ||
322 | color: $light-blue; | ||
323 | } | ||
324 | } | ||
325 | } | ||
326 | |||
327 | .clyl-img { | ||
328 | width: 75%; | ||
329 | height: 100%; | ||
330 | background: #f3f4f7; | ||
331 | margin: 0 auto; | ||
332 | position: relative; | ||
333 | } | ||
334 | } | ||
335 | } | ||
336 | } | ||
337 | </style> |
... | @@ -287,8 +287,7 @@ | ... | @@ -287,8 +287,7 @@ |
287 | </template> | 287 | </template> |
288 | <script> | 288 | <script> |
289 | import { mapGetters } from "vuex"; | 289 | import { mapGetters } from "vuex"; |
290 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; | 290 | import { init,save } from "@/api/djbbl.js"; |
291 | import { init } from "@/api/djbbl.js"; | ||
292 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 291 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
293 | import tdytTable from "@/views/workflow/components/tdytTable"; | 292 | import tdytTable from "@/views/workflow/components/tdytTable"; |
294 | export default { | 293 | export default { |
... | @@ -333,8 +332,10 @@ export default { | ... | @@ -333,8 +332,10 @@ export default { |
333 | }, | 332 | }, |
334 | // 更新权利人信息 | 333 | // 更新权利人信息 |
335 | upDateQlrxxList(val) { | 334 | upDateQlrxxList(val) { |
336 | this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val)); | 335 | console.log("val",val); |
337 | this.czrOptions = this.ruleForm.qlrList; | 336 | this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); |
337 | console.log("this.ruleForm.qlrData",this.ruleForm.qlrData); | ||
338 | this.czrOptions = this.ruleForm.qlrData; | ||
338 | this.key++; | 339 | this.key++; |
339 | }, | 340 | }, |
340 | // 更新义务人信息 | 341 | // 更新义务人信息 |
... | @@ -344,7 +345,7 @@ export default { | ... | @@ -344,7 +345,7 @@ export default { |
344 | }, | 345 | }, |
345 | onSubmit() { | 346 | onSubmit() { |
346 | console.log("this.ruleForm大信息",this.ruleForm); | 347 | console.log("this.ruleForm大信息",this.ruleForm); |
347 | if (this.ruleForm.qlrList.length == 0) { | 348 | if (this.ruleForm.qlrData.length == 0) { |
348 | this.$message({ | 349 | this.$message({ |
349 | showClose: true, | 350 | showClose: true, |
350 | message: "请确认权利人信息", | 351 | message: "请确认权利人信息", |
... | @@ -354,7 +355,7 @@ export default { | ... | @@ -354,7 +355,7 @@ export default { |
354 | } | 355 | } |
355 | 356 | ||
356 | if (this.ruleForm.qlxx.gyfs == "0") { | 357 | if (this.ruleForm.qlxx.gyfs == "0") { |
357 | if (this.ruleForm.qlrList.length > 1) { | 358 | if (this.ruleForm.qlrData.length > 1) { |
358 | this.$message({ | 359 | this.$message({ |
359 | showClose: true, | 360 | showClose: true, |
360 | message: "共有方式:单独所有,权利人只能是一个人", | 361 | message: "共有方式:单独所有,权利人只能是一个人", |
... | @@ -362,17 +363,17 @@ export default { | ... | @@ -362,17 +363,17 @@ export default { |
362 | }); | 363 | }); |
363 | return false; | 364 | return false; |
364 | } | 365 | } |
365 | this.ruleForm.qlrList[0].sfczr = "1"; | 366 | this.ruleForm.qlrData[0].sfczr = "1"; |
366 | } | 367 | } |
367 | if (this.ruleForm.qlxx.gyfs == "1") { | 368 | if (this.ruleForm.qlxx.gyfs == "1") { |
368 | //是否分别持证 | 369 | //是否分别持证 |
369 | if (this.ruleForm.qlxx.sqfbcz == "1") { | 370 | if (this.ruleForm.qlxx.sqfbcz == "1") { |
370 | //是 | 371 | //是 |
371 | this.ruleForm.qlrList.forEach((item, index) => { | 372 | this.ruleForm.qlrData.forEach((item, index) => { |
372 | item.sfczr = "1"; | 373 | item.sfczr = "1"; |
373 | }); | 374 | }); |
374 | } else { | 375 | } else { |
375 | this.ruleForm.qlrList.forEach((item, index) => { | 376 | this.ruleForm.qlrData.forEach((item, index) => { |
376 | if (item.zjh == this.ruleForm.czr) { | 377 | if (item.zjh == this.ruleForm.czr) { |
377 | item.sfczr = "1"; | 378 | item.sfczr = "1"; |
378 | } else { | 379 | } else { |
... | @@ -381,7 +382,7 @@ export default { | ... | @@ -381,7 +382,7 @@ export default { |
381 | }); | 382 | }); |
382 | } | 383 | } |
383 | } | 384 | } |
384 | saveData(this.ruleForm).then((res) => { | 385 | save(this.ruleForm).then((res) => { |
385 | if (res.code === 200) { | 386 | if (res.code === 200) { |
386 | this.$message({ | 387 | this.$message({ |
387 | showClose: true, | 388 | showClose: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-25 08:59:02 | 4 | * @LastEditTime: 2023-06-25 15:52:42 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -13,8 +13,7 @@ | ... | @@ -13,8 +13,7 @@ |
13 | ref="ruleForm" | 13 | ref="ruleForm" |
14 | :label-position="flag ? 'top' : ''" | 14 | :label-position="flag ? 'top' : ''" |
15 | :inline="flag" | 15 | :inline="flag" |
16 | label-width="120px" | 16 | label-width="127px"> |
17 | > | ||
18 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 17 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
19 | <div class="slxx_title title-block"> | 18 | <div class="slxx_title title-block"> |
20 | 补录信息 | 19 | 补录信息 |
... | @@ -78,47 +77,36 @@ | ... | @@ -78,47 +77,36 @@ |
78 | </el-form-item> | 77 | </el-form-item> |
79 | </el-col> | 78 | </el-col> |
80 | <el-col :span="8"> | 79 | <el-col :span="8"> |
81 | <el-form-item label="土地使用权人:"> | 80 | <el-form-item label="使用权面积:"> |
82 | <el-input v-model="ruleForm.fdcq2.tdsyqr"></el-input> | 81 | <el-input v-model="ruleForm.jsydsyq.syqmj"></el-input> |
83 | </el-form-item> | 82 | </el-form-item> |
84 | </el-col> | 83 | </el-col> <!-- |
85 | <el-col :span="8"> | 84 | <el-col :span="8" v-if="ruleForm.fdcq2.ftjzmj"> |
86 | <el-form-item label="独用土地面积:"> | 85 | <el-form-item label="独用土地面积:"> |
87 | <el-input v-model="ruleForm.fdcq2.dytdmj"></el-input> | 86 | <el-input v-model="ruleForm.fdcq2.dytdmj"></el-input> |
88 | </el-form-item> | 87 | </el-form-item> |
89 | </el-col> | 88 | </el-col> |
90 | <el-col :span="8"> | 89 | <el-col :span="8" v-if="ruleForm.fdcq2.ftjzmj"> |
91 | <el-form-item label="分摊土地面积:"> | 90 | <el-form-item label="分摊土地面积:"> |
92 | <el-input v-model="ruleForm.fdcq2.fttdmj"></el-input> | 91 | <el-input v-model="ruleForm.fdcq2.fttdmj"></el-input> |
93 | </el-form-item> | 92 | </el-form-item> |
94 | </el-col> | 93 | </el-col> |
95 | <el-col :span="8"> | 94 | <el-col :span="8" v-if="ruleForm.fdcq2.ftjzmj"> |
96 | <el-form-item label="土地用途:"> | 95 | <el-form-item label="土地性质:" style="margin-bottom:3px"> |
97 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | 96 | <treeselect v-model="ruleForm.fdcq2.jedw" placeholder="" |
98 | </el-form-item> | 97 | :normalizer="normalizer" |
99 | </el-col> | 98 | :show-count="true" :options="dictData['A45']" /> |
100 | <el-col :span="8"> | ||
101 | <el-form-item label="土地使用起始时间:"> | ||
102 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | ||
103 | </el-form-item> | ||
104 | </el-col> | ||
105 | <el-col :span="8"> | ||
106 | <el-form-item label="土地使用结束时间:"> | ||
107 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | ||
108 | </el-form-item> | 99 | </el-form-item> |
109 | </el-col> | 100 | </el-col> |
110 | <el-col :span="8"> | 101 | <el-col :span="8" v-if="ruleForm.fdcq2.ftjzmj"> |
111 | <el-form-item label="土地使用期限:"> | ||
112 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | ||
113 | </el-form-item> | ||
114 | </el-col> | ||
115 | <el-col :span="8"> | ||
116 | <el-form-item label="房地产交易价格:"> | 102 | <el-form-item label="房地产交易价格:"> |
117 | <el-input v-model="ruleForm.fdcq2.qjjg"></el-input> | 103 | <div style="display:flex"> |
104 | <el-input v-model="ruleForm.fdcq2.qjjg" style="width:500%"></el-input> | ||
118 | <el-select v-model="ruleForm.fdcq2.jedw"> | 105 | <el-select v-model="ruleForm.fdcq2.jedw"> |
119 | <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"> |
120 | </el-option> | 107 | </el-option> |
121 | </el-select> | 108 | </el-select> |
109 | </div> | ||
122 | </el-form-item> | 110 | </el-form-item> |
123 | </el-col> | 111 | </el-col> |
124 | <el-col :span="8"> | 112 | <el-col :span="8"> |
... | @@ -175,7 +163,7 @@ | ... | @@ -175,7 +163,7 @@ |
175 | <el-input v-model="ruleForm.fdcq2.zyjzmj"></el-input> | 163 | <el-input v-model="ruleForm.fdcq2.zyjzmj"></el-input> |
176 | </el-form-item> | 164 | </el-form-item> |
177 | </el-col> | 165 | </el-col> |
178 | <el-col :span="8"> | 166 | <el-col :span="8" v-if="ruleForm.fdcq2.ftjzmj"> |
179 | <el-form-item label="分摊建筑面积:"> | 167 | <el-form-item label="分摊建筑面积:"> |
180 | <el-input v-model="ruleForm.fdcq2.ftjzmj"></el-input> | 168 | <el-input v-model="ruleForm.fdcq2.ftjzmj"></el-input> |
181 | </el-form-item> | 169 | </el-form-item> |
... | @@ -184,7 +172,7 @@ | ... | @@ -184,7 +172,7 @@ |
184 | <el-form-item label="竣工时间:"> | 172 | <el-form-item label="竣工时间:"> |
185 | <el-input v-model="ruleForm.fdcq2.jgsj"></el-input> | 173 | <el-input v-model="ruleForm.fdcq2.jgsj"></el-input> |
186 | </el-form-item> | 174 | </el-form-item> |
187 | </el-col> | 175 | </el-col> --> |
188 | 176 | ||
189 | <el-col :span="8"> | 177 | <el-col :span="8"> |
190 | <el-form-item label="不动产权证号:"> | 178 | <el-form-item label="不动产权证号:"> |
... | @@ -212,30 +200,14 @@ | ... | @@ -212,30 +200,14 @@ |
212 | </el-form-item> | 200 | </el-form-item> |
213 | </el-col> | 201 | </el-col> |
214 | </el-row> | 202 | </el-row> |
215 | <el-row> | 203 | <!-- <el-row> |
216 | <el-col :span="24"> | ||
217 | <el-form-item label="登记原因:"> | ||
218 | <el-input v-model="ruleForm.fdcq2.djyy"></el-input> | ||
219 | </el-form-item> | ||
220 | </el-col> | ||
221 | </el-row> | ||
222 | <el-row> | ||
223 | <el-col :span="24"> | 204 | <el-col :span="24"> |
224 | <el-form-item label="附记:"> | 205 | <el-form-item label="附记:"> |
225 | <el-input v-model="ruleForm.fdcq2.fj"></el-input> | 206 | <el-input v-model="ruleForm.fdcq2.fj"></el-input> |
226 | </el-form-item> | 207 | </el-form-item> |
227 | </el-col> | 208 | </el-col> |
228 | </el-row> | 209 | </el-row> --> |
229 | <div class="slxx_title title-block"> | 210 | |
230 | 土地用途 | ||
231 | <div class="triangle"></div> | ||
232 | </div> | ||
233 | <tdytTable | ||
234 | :tableData="ruleForm.tdxxList" | ||
235 | @upDateQlrxxList="upDateQlrxxList" | ||
236 | :viewtype="$route.query.viewtype" | ||
237 | :gyfs="ruleForm.qlxx.gyfs" | ||
238 | /> | ||
239 | <div class="slxx_title title-block"> | 211 | <div class="slxx_title title-block"> |
240 | 权利人信息 | 212 | 权利人信息 |
241 | <div class="triangle"></div> | 213 | <div class="triangle"></div> |
... | @@ -245,8 +217,7 @@ | ... | @@ -245,8 +217,7 @@ |
245 | <el-form-item label="共有方式:"> | 217 | <el-form-item label="共有方式:"> |
246 | <el-radio-group | 218 | <el-radio-group |
247 | :disabled="$route.query.viewtype == 0" | 219 | :disabled="$route.query.viewtype == 0" |
248 | v-model="ruleForm.qlxx.gyqk" | 220 | v-model="ruleForm.qlxx.gyqk"> |
249 | > | ||
250 | <el-radio label="0">单独所有</el-radio> | 221 | <el-radio label="0">单独所有</el-radio> |
251 | <el-radio label="1">共同共有</el-radio> | 222 | <el-radio label="1">共同共有</el-radio> |
252 | <el-radio label="2">按份所有</el-radio> | 223 | <el-radio label="2">按份所有</el-radio> |
... | @@ -272,12 +243,11 @@ | ... | @@ -272,12 +243,11 @@ |
272 | </el-col> | 243 | </el-col> |
273 | </el-row> | 244 | </el-row> |
274 | <qlrCommonTable | 245 | <qlrCommonTable |
275 | :tableData="ruleForm.qlrList" | 246 | :tableData="ruleForm.qlrData" |
276 | @upDateQlrxxList="upDateQlrxxList" | 247 | @upDateQlrxxList="upDateQlrxxList" |
277 | :key="key" | 248 | :key="key" |
278 | :viewtype="$route.query.viewtype" | 249 | :viewtype="$route.query.viewtype" |
279 | :gyfs="ruleForm.qlxx.gyfs" | 250 | :gyfs="ruleForm.qlxx.gyfs" /> |
280 | /> | ||
281 | 251 | ||
282 | <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> | 252 | <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> |
283 | <div class="slxx_title title-block"> | 253 | <div class="slxx_title title-block"> |
... | @@ -289,8 +259,7 @@ | ... | @@ -289,8 +259,7 @@ |
289 | :tableData="ruleForm.ywrList" | 259 | :tableData="ruleForm.ywrList" |
290 | :key="key" | 260 | :key="key" |
291 | @upDateQlrxxList="upDateYwrxxList" | 261 | @upDateQlrxxList="upDateYwrxxList" |
292 | :viewtype="$route.query.viewtype" | 262 | :viewtype="$route.query.viewtype" /> |
293 | /> | ||
294 | </div> | 263 | </div> |
295 | </div> | 264 | </div> |
296 | <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> | 265 | <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> |
... | @@ -303,8 +272,7 @@ | ... | @@ -303,8 +272,7 @@ |
303 | </template> | 272 | </template> |
304 | <script> | 273 | <script> |
305 | import { mapGetters } from "vuex"; | 274 | import { mapGetters } from "vuex"; |
306 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; | 275 | import { init,save } from "@/api/djbbl.js"; |
307 | import { init } from "@/api/djbbl.js"; | ||
308 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 276 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
309 | import tdytTable from "@/views/workflow/components/tdytTable"; | 277 | import tdytTable from "@/views/workflow/components/tdytTable"; |
310 | export default { | 278 | export default { |
... | @@ -332,27 +300,27 @@ export default { | ... | @@ -332,27 +300,27 @@ export default { |
332 | mounted() {}, | 300 | mounted() {}, |
333 | methods: { | 301 | methods: { |
334 | loadData() { | 302 | loadData() { |
335 | console.log("建设用地使用权"); | 303 | console.log("建设用地使用权",this.propsParam); |
336 | init(this.propsParam.bsmRepair).then((res) => { | 304 | init(this.propsParam.bsmRepair).then((res) => { |
337 | if (res.code == 200) { | 305 | if (res.code == 200) { |
338 | |||
339 | this.ruleForm = res.result; | 306 | this.ruleForm = res.result; |
340 | console.log("this.ruleFormssssssssssssssssssssssssssssss",this.ruleForm); | 307 | console.log("this.ruleForm",this.ruleForm); |
341 | this.isShow = true; | 308 | this.isShow = true; |
342 | // this.tableData = res.result; | ||
343 | // if (this.tableData.length < datas.columns().emptycolNum) { | ||
344 | // this.emptycolNum = | ||
345 | // datas.columns().emptycolNum - this.tableData.length; | ||
346 | // } else { | ||
347 | // this.emptycolNum = 0; | ||
348 | // } | ||
349 | } | 309 | } |
350 | }); | 310 | }); |
351 | }, | 311 | }, |
312 | // 更新土地用途信息 | ||
313 | upDateTdytxxList(val) { | ||
314 | console.log("VAL",val); | ||
315 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | ||
316 | this.key++; | ||
317 | }, | ||
352 | // 更新权利人信息 | 318 | // 更新权利人信息 |
353 | upDateQlrxxList(val) { | 319 | upDateQlrxxList(val) { |
354 | this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val)); | 320 | console.log("val",val); |
355 | this.czrOptions = this.ruleForm.qlrList; | 321 | this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); |
322 | console.log("this.ruleForm.qlrData",this.ruleForm.qlrData); | ||
323 | this.czrOptions = this.ruleForm.qlrData; | ||
356 | this.key++; | 324 | this.key++; |
357 | }, | 325 | }, |
358 | // 更新义务人信息 | 326 | // 更新义务人信息 |
... | @@ -361,7 +329,8 @@ export default { | ... | @@ -361,7 +329,8 @@ export default { |
361 | this.key++; | 329 | this.key++; |
362 | }, | 330 | }, |
363 | onSubmit() { | 331 | onSubmit() { |
364 | if (this.ruleForm.qlrList.length == 0) { | 332 | console.log("this.ruleForm大信息",this.ruleForm); |
333 | if (this.ruleForm.qlrData.length == 0) { | ||
365 | this.$message({ | 334 | this.$message({ |
366 | showClose: true, | 335 | showClose: true, |
367 | message: "请确认权利人信息", | 336 | message: "请确认权利人信息", |
... | @@ -371,7 +340,7 @@ export default { | ... | @@ -371,7 +340,7 @@ export default { |
371 | } | 340 | } |
372 | 341 | ||
373 | if (this.ruleForm.qlxx.gyfs == "0") { | 342 | if (this.ruleForm.qlxx.gyfs == "0") { |
374 | if (this.ruleForm.qlrList.length > 1) { | 343 | if (this.ruleForm.qlrData.length > 1) { |
375 | this.$message({ | 344 | this.$message({ |
376 | showClose: true, | 345 | showClose: true, |
377 | message: "共有方式:单独所有,权利人只能是一个人", | 346 | message: "共有方式:单独所有,权利人只能是一个人", |
... | @@ -379,17 +348,17 @@ export default { | ... | @@ -379,17 +348,17 @@ export default { |
379 | }); | 348 | }); |
380 | return false; | 349 | return false; |
381 | } | 350 | } |
382 | this.ruleForm.qlrList[0].sfczr = "1"; | 351 | this.ruleForm.qlrData[0].sfczr = "1"; |
383 | } | 352 | } |
384 | if (this.ruleForm.qlxx.gyfs == "1") { | 353 | if (this.ruleForm.qlxx.gyfs == "1") { |
385 | //是否分别持证 | 354 | //是否分别持证 |
386 | if (this.ruleForm.qlxx.sqfbcz == "1") { | 355 | if (this.ruleForm.qlxx.sqfbcz == "1") { |
387 | //是 | 356 | //是 |
388 | this.ruleForm.qlrList.forEach((item, index) => { | 357 | this.ruleForm.qlrData.forEach((item, index) => { |
389 | item.sfczr = "1"; | 358 | item.sfczr = "1"; |
390 | }); | 359 | }); |
391 | } else { | 360 | } else { |
392 | this.ruleForm.qlrList.forEach((item, index) => { | 361 | this.ruleForm.qlrData.forEach((item, index) => { |
393 | if (item.zjh == this.ruleForm.czr) { | 362 | if (item.zjh == this.ruleForm.czr) { |
394 | item.sfczr = "1"; | 363 | item.sfczr = "1"; |
395 | } else { | 364 | } else { |
... | @@ -398,7 +367,7 @@ export default { | ... | @@ -398,7 +367,7 @@ export default { |
398 | }); | 367 | }); |
399 | } | 368 | } |
400 | } | 369 | } |
401 | saveData(this.ruleForm).then((res) => { | 370 | save(this.ruleForm).then((res) => { |
402 | if (res.code === 200) { | 371 | if (res.code === 200) { |
403 | this.$message({ | 372 | this.$message({ |
404 | showClose: true, | 373 | showClose: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-25 08:59:02 | 4 | * @LastEditTime: 2023-06-25 15:52:42 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -13,8 +13,7 @@ | ... | @@ -13,8 +13,7 @@ |
13 | ref="ruleForm" | 13 | ref="ruleForm" |
14 | :label-position="flag ? 'top' : ''" | 14 | :label-position="flag ? 'top' : ''" |
15 | :inline="flag" | 15 | :inline="flag" |
16 | label-width="120px" | 16 | label-width="127px"> |
17 | > | ||
18 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 17 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
19 | <div class="slxx_title title-block"> | 18 | <div class="slxx_title title-block"> |
20 | 补录信息 | 19 | 补录信息 |
... | @@ -77,48 +76,37 @@ | ... | @@ -77,48 +76,37 @@ |
77 | <el-input v-model="ruleForm.qlxx.zl"></el-input> | 76 | <el-input v-model="ruleForm.qlxx.zl"></el-input> |
78 | </el-form-item> | 77 | </el-form-item> |
79 | </el-col> | 78 | </el-col> |
80 | <el-col :span="8"> | 79 | <!-- <el-col :span="8" v-if="ruleForm.fdcq2.ftjzmj"> |
81 | <el-form-item label="土地使用权人:"> | 80 | <el-form-item label="土地使用权人:"> |
82 | <el-input v-model="ruleForm.fdcq2.tdsyqr"></el-input> | 81 | <el-input v-model="ruleForm.fdcq2.tdsyqr"></el-input> |
83 | </el-form-item> | 82 | </el-form-item> |
84 | </el-col> | 83 | </el-col> |
85 | <el-col :span="8"> | 84 | <el-col :span="8" v-if="ruleForm.fdcq2.ftjzmj"> |
86 | <el-form-item label="独用土地面积:"> | 85 | <el-form-item label="独用土地面积:"> |
87 | <el-input v-model="ruleForm.fdcq2.dytdmj"></el-input> | 86 | <el-input v-model="ruleForm.fdcq2.dytdmj"></el-input> |
88 | </el-form-item> | 87 | </el-form-item> |
89 | </el-col> | 88 | </el-col> |
90 | <el-col :span="8"> | 89 | <el-col :span="8" v-if="ruleForm.fdcq2.ftjzmj"> |
91 | <el-form-item label="分摊土地面积:"> | 90 | <el-form-item label="分摊土地面积:"> |
92 | <el-input v-model="ruleForm.fdcq2.fttdmj"></el-input> | 91 | <el-input v-model="ruleForm.fdcq2.fttdmj"></el-input> |
93 | </el-form-item> | 92 | </el-form-item> |
94 | </el-col> | 93 | </el-col> |
95 | <el-col :span="8"> | 94 | <el-col :span="8" v-if="ruleForm.fdcq2.ftjzmj"> |
96 | <el-form-item label="土地用途:"> | 95 | <el-form-item label="土地性质:" style="margin-bottom:3px"> |
97 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | 96 | <treeselect v-model="ruleForm.fdcq2.jedw" placeholder="" |
98 | </el-form-item> | 97 | :normalizer="normalizer" |
99 | </el-col> | 98 | :show-count="true" :options="dictData['A45']" /> |
100 | <el-col :span="8"> | ||
101 | <el-form-item label="土地使用起始时间:"> | ||
102 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | ||
103 | </el-form-item> | ||
104 | </el-col> | ||
105 | <el-col :span="8"> | ||
106 | <el-form-item label="土地使用结束时间:"> | ||
107 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | ||
108 | </el-form-item> | 99 | </el-form-item> |
109 | </el-col> | 100 | </el-col> |
110 | <el-col :span="8"> | 101 | <el-col :span="8" v-if="ruleForm.fdcq2.ftjzmj"> |
111 | <el-form-item label="土地使用期限:"> | ||
112 | <el-input v-model="ruleForm.qlxx.ywh"></el-input> | ||
113 | </el-form-item> | ||
114 | </el-col> | ||
115 | <el-col :span="8"> | ||
116 | <el-form-item label="房地产交易价格:"> | 102 | <el-form-item label="房地产交易价格:"> |
117 | <el-input v-model="ruleForm.fdcq2.qjjg"></el-input> | 103 | <div style="display:flex"> |
104 | <el-input v-model="ruleForm.fdcq2.qjjg" style="width:500%"></el-input> | ||
118 | <el-select v-model="ruleForm.fdcq2.jedw"> | 105 | <el-select v-model="ruleForm.fdcq2.jedw"> |
119 | <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"> |
120 | </el-option> | 107 | </el-option> |
121 | </el-select> | 108 | </el-select> |
109 | </div> | ||
122 | </el-form-item> | 110 | </el-form-item> |
123 | </el-col> | 111 | </el-col> |
124 | <el-col :span="8"> | 112 | <el-col :span="8"> |
... | @@ -175,7 +163,7 @@ | ... | @@ -175,7 +163,7 @@ |
175 | <el-input v-model="ruleForm.fdcq2.zyjzmj"></el-input> | 163 | <el-input v-model="ruleForm.fdcq2.zyjzmj"></el-input> |
176 | </el-form-item> | 164 | </el-form-item> |
177 | </el-col> | 165 | </el-col> |
178 | <el-col :span="8"> | 166 | <el-col :span="8" v-if="ruleForm.fdcq2.ftjzmj"> |
179 | <el-form-item label="分摊建筑面积:"> | 167 | <el-form-item label="分摊建筑面积:"> |
180 | <el-input v-model="ruleForm.fdcq2.ftjzmj"></el-input> | 168 | <el-input v-model="ruleForm.fdcq2.ftjzmj"></el-input> |
181 | </el-form-item> | 169 | </el-form-item> |
... | @@ -184,7 +172,7 @@ | ... | @@ -184,7 +172,7 @@ |
184 | <el-form-item label="竣工时间:"> | 172 | <el-form-item label="竣工时间:"> |
185 | <el-input v-model="ruleForm.fdcq2.jgsj"></el-input> | 173 | <el-input v-model="ruleForm.fdcq2.jgsj"></el-input> |
186 | </el-form-item> | 174 | </el-form-item> |
187 | </el-col> | 175 | </el-col> --> |
188 | 176 | ||
189 | <el-col :span="8"> | 177 | <el-col :span="8"> |
190 | <el-form-item label="不动产权证号:"> | 178 | <el-form-item label="不动产权证号:"> |
... | @@ -212,30 +200,14 @@ | ... | @@ -212,30 +200,14 @@ |
212 | </el-form-item> | 200 | </el-form-item> |
213 | </el-col> | 201 | </el-col> |
214 | </el-row> | 202 | </el-row> |
215 | <el-row> | 203 | <!-- <el-row> |
216 | <el-col :span="24"> | ||
217 | <el-form-item label="登记原因:"> | ||
218 | <el-input v-model="ruleForm.fdcq2.djyy"></el-input> | ||
219 | </el-form-item> | ||
220 | </el-col> | ||
221 | </el-row> | ||
222 | <el-row> | ||
223 | <el-col :span="24"> | 204 | <el-col :span="24"> |
224 | <el-form-item label="附记:"> | 205 | <el-form-item label="附记:"> |
225 | <el-input v-model="ruleForm.fdcq2.fj"></el-input> | 206 | <el-input v-model="ruleForm.fdcq2.fj"></el-input> |
226 | </el-form-item> | 207 | </el-form-item> |
227 | </el-col> | 208 | </el-col> |
228 | </el-row> | 209 | </el-row> --> |
229 | <div class="slxx_title title-block"> | 210 | |
230 | 土地用途 | ||
231 | <div class="triangle"></div> | ||
232 | </div> | ||
233 | <tdytTable | ||
234 | :tableData="ruleForm.tdxxList" | ||
235 | @upDateQlrxxList="upDateQlrxxList" | ||
236 | :viewtype="$route.query.viewtype" | ||
237 | :gyfs="ruleForm.qlxx.gyfs" | ||
238 | /> | ||
239 | <div class="slxx_title title-block"> | 211 | <div class="slxx_title title-block"> |
240 | 权利人信息 | 212 | 权利人信息 |
241 | <div class="triangle"></div> | 213 | <div class="triangle"></div> |
... | @@ -245,8 +217,7 @@ | ... | @@ -245,8 +217,7 @@ |
245 | <el-form-item label="共有方式:"> | 217 | <el-form-item label="共有方式:"> |
246 | <el-radio-group | 218 | <el-radio-group |
247 | :disabled="$route.query.viewtype == 0" | 219 | :disabled="$route.query.viewtype == 0" |
248 | v-model="ruleForm.qlxx.gyqk" | 220 | v-model="ruleForm.qlxx.gyqk"> |
249 | > | ||
250 | <el-radio label="0">单独所有</el-radio> | 221 | <el-radio label="0">单独所有</el-radio> |
251 | <el-radio label="1">共同共有</el-radio> | 222 | <el-radio label="1">共同共有</el-radio> |
252 | <el-radio label="2">按份所有</el-radio> | 223 | <el-radio label="2">按份所有</el-radio> |
... | @@ -272,12 +243,11 @@ | ... | @@ -272,12 +243,11 @@ |
272 | </el-col> | 243 | </el-col> |
273 | </el-row> | 244 | </el-row> |
274 | <qlrCommonTable | 245 | <qlrCommonTable |
275 | :tableData="ruleForm.qlrList" | 246 | :tableData="ruleForm.qlrData" |
276 | @upDateQlrxxList="upDateQlrxxList" | 247 | @upDateQlrxxList="upDateQlrxxList" |
277 | :key="key" | 248 | :key="key" |
278 | :viewtype="$route.query.viewtype" | 249 | :viewtype="$route.query.viewtype" |
279 | :gyfs="ruleForm.qlxx.gyfs" | 250 | :gyfs="ruleForm.qlxx.gyfs" /> |
280 | /> | ||
281 | 251 | ||
282 | <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> | 252 | <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> |
283 | <div class="slxx_title title-block"> | 253 | <div class="slxx_title title-block"> |
... | @@ -289,8 +259,7 @@ | ... | @@ -289,8 +259,7 @@ |
289 | :tableData="ruleForm.ywrList" | 259 | :tableData="ruleForm.ywrList" |
290 | :key="key" | 260 | :key="key" |
291 | @upDateQlrxxList="upDateYwrxxList" | 261 | @upDateQlrxxList="upDateYwrxxList" |
292 | :viewtype="$route.query.viewtype" | 262 | :viewtype="$route.query.viewtype" /> |
293 | /> | ||
294 | </div> | 263 | </div> |
295 | </div> | 264 | </div> |
296 | <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> | 265 | <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> |
... | @@ -303,8 +272,7 @@ | ... | @@ -303,8 +272,7 @@ |
303 | </template> | 272 | </template> |
304 | <script> | 273 | <script> |
305 | import { mapGetters } from "vuex"; | 274 | import { mapGetters } from "vuex"; |
306 | import { Init, saveData } from "@/api/workflow/jsydsyqFlow.js"; | 275 | import { init,save } from "@/api/djbbl.js"; |
307 | import { init } from "@/api/djbbl.js"; | ||
308 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | 276 | import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
309 | import tdytTable from "@/views/workflow/components/tdytTable"; | 277 | import tdytTable from "@/views/workflow/components/tdytTable"; |
310 | export default { | 278 | export default { |
... | @@ -332,26 +300,27 @@ export default { | ... | @@ -332,26 +300,27 @@ export default { |
332 | mounted() {}, | 300 | mounted() {}, |
333 | methods: { | 301 | methods: { |
334 | loadData() { | 302 | loadData() { |
303 | console.log("预告登记",this.propsParam); | ||
335 | init(this.propsParam.bsmRepair).then((res) => { | 304 | init(this.propsParam.bsmRepair).then((res) => { |
336 | if (res.code == 200) { | 305 | if (res.code == 200) { |
337 | |||
338 | this.ruleForm = res.result; | 306 | this.ruleForm = res.result; |
339 | console.log("this.ruleFormssssssssssssssssssssssssssssss",this.ruleForm); | 307 | console.log("this.ruleForm",this.ruleForm); |
340 | this.isShow = true; | 308 | this.isShow = true; |
341 | // this.tableData = res.result; | ||
342 | // if (this.tableData.length < datas.columns().emptycolNum) { | ||
343 | // this.emptycolNum = | ||
344 | // datas.columns().emptycolNum - this.tableData.length; | ||
345 | // } else { | ||
346 | // this.emptycolNum = 0; | ||
347 | // } | ||
348 | } | 309 | } |
349 | }); | 310 | }); |
350 | }, | 311 | }, |
312 | // 更新土地用途信息 | ||
313 | upDateTdytxxList(val) { | ||
314 | console.log("VAL",val); | ||
315 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | ||
316 | this.key++; | ||
317 | }, | ||
351 | // 更新权利人信息 | 318 | // 更新权利人信息 |
352 | upDateQlrxxList(val) { | 319 | upDateQlrxxList(val) { |
353 | this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val)); | 320 | console.log("val",val); |
354 | this.czrOptions = this.ruleForm.qlrList; | 321 | this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); |
322 | console.log("this.ruleForm.qlrData",this.ruleForm.qlrData); | ||
323 | this.czrOptions = this.ruleForm.qlrData; | ||
355 | this.key++; | 324 | this.key++; |
356 | }, | 325 | }, |
357 | // 更新义务人信息 | 326 | // 更新义务人信息 |
... | @@ -360,7 +329,8 @@ export default { | ... | @@ -360,7 +329,8 @@ export default { |
360 | this.key++; | 329 | this.key++; |
361 | }, | 330 | }, |
362 | onSubmit() { | 331 | onSubmit() { |
363 | if (this.ruleForm.qlrList.length == 0) { | 332 | console.log("this.ruleForm大信息",this.ruleForm); |
333 | if (this.ruleForm.qlrData.length == 0) { | ||
364 | this.$message({ | 334 | this.$message({ |
365 | showClose: true, | 335 | showClose: true, |
366 | message: "请确认权利人信息", | 336 | message: "请确认权利人信息", |
... | @@ -370,7 +340,7 @@ export default { | ... | @@ -370,7 +340,7 @@ export default { |
370 | } | 340 | } |
371 | 341 | ||
372 | if (this.ruleForm.qlxx.gyfs == "0") { | 342 | if (this.ruleForm.qlxx.gyfs == "0") { |
373 | if (this.ruleForm.qlrList.length > 1) { | 343 | if (this.ruleForm.qlrData.length > 1) { |
374 | this.$message({ | 344 | this.$message({ |
375 | showClose: true, | 345 | showClose: true, |
376 | message: "共有方式:单独所有,权利人只能是一个人", | 346 | message: "共有方式:单独所有,权利人只能是一个人", |
... | @@ -378,17 +348,17 @@ export default { | ... | @@ -378,17 +348,17 @@ export default { |
378 | }); | 348 | }); |
379 | return false; | 349 | return false; |
380 | } | 350 | } |
381 | this.ruleForm.qlrList[0].sfczr = "1"; | 351 | this.ruleForm.qlrData[0].sfczr = "1"; |
382 | } | 352 | } |
383 | if (this.ruleForm.qlxx.gyfs == "1") { | 353 | if (this.ruleForm.qlxx.gyfs == "1") { |
384 | //是否分别持证 | 354 | //是否分别持证 |
385 | if (this.ruleForm.qlxx.sqfbcz == "1") { | 355 | if (this.ruleForm.qlxx.sqfbcz == "1") { |
386 | //是 | 356 | //是 |
387 | this.ruleForm.qlrList.forEach((item, index) => { | 357 | this.ruleForm.qlrData.forEach((item, index) => { |
388 | item.sfczr = "1"; | 358 | item.sfczr = "1"; |
389 | }); | 359 | }); |
390 | } else { | 360 | } else { |
391 | this.ruleForm.qlrList.forEach((item, index) => { | 361 | this.ruleForm.qlrData.forEach((item, index) => { |
392 | if (item.zjh == this.ruleForm.czr) { | 362 | if (item.zjh == this.ruleForm.czr) { |
393 | item.sfczr = "1"; | 363 | item.sfczr = "1"; |
394 | } else { | 364 | } else { |
... | @@ -397,7 +367,7 @@ export default { | ... | @@ -397,7 +367,7 @@ export default { |
397 | }); | 367 | }); |
398 | } | 368 | } |
399 | } | 369 | } |
400 | saveData(this.ruleForm).then((res) => { | 370 | save(this.ruleForm).then((res) => { |
401 | if (res.code === 200) { | 371 | if (res.code === 200) { |
402 | this.$message({ | 372 | this.$message({ |
403 | showClose: true, | 373 | showClose: true, | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-09 09:20:10 | ||
5 | --> | ||
6 | <template> | ||
7 | <dialogBox title="新建材料信息" width="20%" isMain v-model="myValue" @closeDialog="closeDialog" @submitForm="handleSubmit" | ||
8 | :isFullscreen="false"> | ||
9 | <el-form :model="ruleForm" ref="ruleForm" label-width="70px"> | ||
10 | <el-row> | ||
11 | <el-col :span="24"> | ||
12 | <el-form-item label="材料类型"> | ||
13 | <el-select v-model="ruleForm.cllx" class="width100" placeholder="请选择"> | ||
14 | <el-option v-for="item in dictData['A40']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | ||
15 | </el-option> | ||
16 | </el-select> | ||
17 | </el-form-item> | ||
18 | </el-col> | ||
19 | </el-row> | ||
20 | <el-row :gutter="20"> | ||
21 | <el-col :span="24"> | ||
22 | <el-form-item label="材料名称"> | ||
23 | <el-input v-model="ruleForm.clmc"></el-input> | ||
24 | </el-form-item> | ||
25 | </el-col> | ||
26 | </el-row> | ||
27 | </el-form> | ||
28 | </dialogBox> | ||
29 | </template> | ||
30 | |||
31 | <script> | ||
32 | import { mapGetters } from "vuex"; | ||
33 | export default { | ||
34 | props: { | ||
35 | value: { type: Boolean, default: false }, | ||
36 | }, | ||
37 | data () { | ||
38 | return { | ||
39 | myValue: this.value, | ||
40 | ruleForm: { | ||
41 | cllx: "", | ||
42 | clmc: "", | ||
43 | }, | ||
44 | }; | ||
45 | }, | ||
46 | computed: { | ||
47 | ...mapGetters(["dictData"]), | ||
48 | }, | ||
49 | watch: { | ||
50 | value (val) { | ||
51 | console.log("进去新增材料弹框"); | ||
52 | this.myValue = val; | ||
53 | }, | ||
54 | }, | ||
55 | methods: { | ||
56 | closeDialog () { | ||
57 | this.$emit("input", false); | ||
58 | this.ruleForm = { | ||
59 | cllx: "", | ||
60 | clmc: "", | ||
61 | } | ||
62 | }, | ||
63 | handleSubmit () { | ||
64 | this.$parent.addSave(this.ruleForm); | ||
65 | this.ruleForm = { | ||
66 | cllx: "", | ||
67 | clmc: "", | ||
68 | } | ||
69 | this.$emit("input", false); | ||
70 | }, | ||
71 | }, | ||
72 | }; | ||
73 | </script> | ||
74 | <style scoped lang="scss"> | ||
75 | .submit-button { | ||
76 | text-align: center; | ||
77 | height: 52px; | ||
78 | padding-top: 10px; | ||
79 | background-color: #fff; | ||
80 | } | ||
81 | </style> |
... | @@ -11,7 +11,7 @@ | ... | @@ -11,7 +11,7 @@ |
11 | :visible.sync="dialogVisible" | 11 | :visible.sync="dialogVisible" |
12 | custom-class="insetDialog" | 12 | custom-class="insetDialog" |
13 | append-to-body | 13 | append-to-body |
14 | width="50%" | 14 | width="31%" |
15 | > | 15 | > |
16 | <!-- <el-radio-group v-model="radio"> | 16 | <!-- <el-radio-group v-model="radio"> |
17 | <el-radio-button | 17 | <el-radio-button |
... | @@ -48,7 +48,6 @@ export default { | ... | @@ -48,7 +48,6 @@ export default { |
48 | }, | 48 | }, |
49 | 49 | ||
50 | clicksss(el){ | 50 | clicksss(el){ |
51 | console.log("el",el); | ||
52 | this.qllx=el | 51 | this.qllx=el |
53 | }, | 52 | }, |
54 | handleSubmit() { | 53 | handleSubmit() { |
... | @@ -72,19 +71,22 @@ export default { | ... | @@ -72,19 +71,22 @@ export default { |
72 | }; | 71 | }; |
73 | </script> | 72 | </script> |
74 | <style scoped lang="scss"> | 73 | <style scoped lang="scss"> |
74 | @import '~@/styles/public.scss'; | ||
75 | .qllxdialog { | 75 | .qllxdialog { |
76 | margin-top: 200px; | 76 | margin-top: 160px; |
77 | /deep/.el-dialog__body { | 77 | /deep/.el-dialog__body { |
78 | margin-top: 10px; | 78 | margin-top: 10px; |
79 | // height: 100px; | 79 | // height: 100px; |
80 | padding: 30px; | 80 | padding: 20px; |
81 | } | 81 | } |
82 | .gettypebutton{ | 82 | .gettypebutton{ |
83 | cursor: pointer; | 83 | cursor: pointer; |
84 | margin-left: 20px; | ||
85 | width: 45%; | ||
84 | line-height: 20px; | 86 | line-height: 20px; |
85 | background-color: #ebebeb; | 87 | background-color: #ebebeb; |
86 | margin-top: 10px; | 88 | margin-top: 20px; |
87 | padding-left: 10px; | 89 | padding-left: 20px; |
88 | border-radius: 2px; | 90 | border-radius: 2px; |
89 | -webkit-box-sizing: border-box; | 91 | -webkit-box-sizing: border-box; |
90 | box-sizing: border-box; | 92 | box-sizing: border-box; |
... | @@ -103,7 +105,7 @@ export default { | ... | @@ -103,7 +105,7 @@ export default { |
103 | color: #ebebeb; | 105 | color: #ebebeb; |
104 | } | 106 | } |
105 | .btn{ | 107 | .btn{ |
106 | margin:30px; | 108 | margin-top:30px; |
107 | text-align: center; | 109 | text-align: center; |
108 | .el-button { | 110 | .el-button { |
109 | margin-top: 10px; | 111 | margin-top: 10px; | ... | ... |
1 | <!-- | ||
2 | * @Description :抵押权登记信息 | ||
3 | * @Autor : miaofang | ||
4 | * @LastEditTime : 2023-06-13 13:56:37 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class="djxxTable"> | ||
8 | <div class="tableBox"> | ||
9 | <div class="title"> | ||
10 | {{ title }} | ||
11 | <div class="checkbox"> | ||
12 | <el-checkbox-group v-model="checkList" @change="checkChange"> | ||
13 | <el-checkbox v-for="item in qsztList" :key="item.value" :label="item.value">{{ item.label }}</el-checkbox> | ||
14 | </el-checkbox-group> | ||
15 | </div> | ||
16 | </div> | ||
17 | <div class="xxTableBox rollTable"> | ||
18 | <table class="xxTable"> | ||
19 | <tr v-for="(item, colindex) in columns" :key="colindex"> | ||
20 | <td> | ||
21 | {{ item.label }} | ||
22 | </td> | ||
23 | <td v-for="(row, index) in tableData" :key="index" :class="[ | ||
24 | row.qszt == '2' ? 'lishi' : '', | ||
25 | row.qszt == '0' ? 'linshi' : '', | ||
26 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | ||
27 | ]"> | ||
28 | <div class="setbut" v-if="item.prop == 'cz'"> | ||
29 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | ||
30 | <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button> | ||
31 | </div> | ||
32 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | ||
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 { getDiyaqList } from "@/api/registerBook.js"; | ||
51 | import { datas } from "./qlxxFormData.js"; | ||
52 | export default { | ||
53 | data () { | ||
54 | return { | ||
55 | title: "抵押权登记信息", | ||
56 | qsztList: datas.columns().qsztList, | ||
57 | checkList: datas.columns().checkList, | ||
58 | //传递参数 | ||
59 | propsParam: this.$attrs, | ||
60 | //列表数据 | ||
61 | tableData: [], | ||
62 | //空列值个数 | ||
63 | emptycolNum: datas.columns().emptycolNum, | ||
64 | //列名称对象 | ||
65 | columns: datas.columns().DYAQ, | ||
66 | }; | ||
67 | }, | ||
68 | created () { | ||
69 | this.loadData(); | ||
70 | }, | ||
71 | methods: { | ||
72 | loadData () { | ||
73 | getDiyaqList({ | ||
74 | bdcdyid: this.propsParam.bdcdyid, | ||
75 | qllx: this.propsParam.qllx, | ||
76 | qszt: this.checkList, | ||
77 | }).then((res) => { | ||
78 | if (res.code === 200) { | ||
79 | this.tableData = res.result; | ||
80 | if (this.tableData.length < datas.columns().emptycolNum) { | ||
81 | this.emptycolNum = | ||
82 | datas.columns().emptycolNum - this.tableData.length; | ||
83 | } else { | ||
84 | this.emptycolNum = 0; | ||
85 | } | ||
86 | } | ||
87 | }); | ||
88 | }, | ||
89 | checkChange () { | ||
90 | if (this.checkList.length === 0) { | ||
91 | this.tableData = []; | ||
92 | this.emptycolNum = datas.columns().emptycolNum; | ||
93 | } else { | ||
94 | this.loadData(); | ||
95 | } | ||
96 | }, | ||
97 | getQsztName (code) { | ||
98 | let name = ""; | ||
99 | for (let item of this.qsztList) { | ||
100 | if (item.value == code) { | ||
101 | name = item.label; | ||
102 | break; | ||
103 | } | ||
104 | } | ||
105 | return name; | ||
106 | }, | ||
107 | // 编辑 | ||
108 | editDialog(row){ | ||
109 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | ||
110 | confirmButtonText: '确定', | ||
111 | cancelButtonText: '取消', | ||
112 | type: 'warning' | ||
113 | }).then(() => { | ||
114 | this.$parent.addRepairRecord(row) | ||
115 | |||
116 | this.$message({ | ||
117 | type: 'success', | ||
118 | message: '补录成功!' | ||
119 | }); | ||
120 | }).catch(() => { | ||
121 | this.$message({ | ||
122 | type: 'info', | ||
123 | message: '取消编辑' | ||
124 | }); | ||
125 | }); | ||
126 | |||
127 | // this.$popupDialog("编辑", "djbworkflow/djbBook/components/djbeditDialog", { | ||
128 | // datalist:this.columns, | ||
129 | // data: row, | ||
130 | |||
131 | // }) | ||
132 | |||
133 | }, | ||
134 | // 删除 | ||
135 | deleteDialog(row){ | ||
136 | this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', { | ||
137 | confirmButtonText: '确定', | ||
138 | cancelButtonText: '取消', | ||
139 | type: 'warning' | ||
140 | }).then(() => { | ||
141 | // let bsmClmx = this.previewImg.imgList[this.previewImg.index].bsmClmx | ||
142 | // deleteClmx(bsmClmx).then(res => { | ||
143 | // if (res.code == 200) { | ||
144 | // that.$emit('updateList', res.result) | ||
145 | // that.$message({ | ||
146 | // message: '删除成功!', | ||
147 | // type: 'success' | ||
148 | // }) | ||
149 | // } | ||
150 | // }) | ||
151 | this.$message({ | ||
152 | type: 'success', | ||
153 | message: '删除成功!' | ||
154 | }); | ||
155 | }).catch(() => { | ||
156 | this.$message({ | ||
157 | type: 'info', | ||
158 | message: '已取消删除' | ||
159 | }); | ||
160 | }); | ||
161 | |||
162 | } | ||
163 | }, | ||
164 | }; | ||
165 | </script> | ||
166 | |||
167 | <style lang="scss" scoped> | ||
168 | @import "./qlxxCommon.scss"; | ||
169 | </style> |
1 | <!-- | ||
2 | * @Description : 地役权登记信息 | ||
3 | * @Autor : miaofang | ||
4 | * @LastEditTime : 2023-06-08 08:46:10 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class="djxxTable"> | ||
8 | <div class="tableBox"> | ||
9 | <div class="title"> | ||
10 | {{ title }} | ||
11 | <div class="checkbox"> | ||
12 | <el-checkbox-group v-model="checkList" @change="checkChange"> | ||
13 | <el-checkbox v-for="item in qsztList" :key="item.value" :label="item.value">{{ item.label }}</el-checkbox> | ||
14 | </el-checkbox-group> | ||
15 | </div> | ||
16 | </div> | ||
17 | <div class="xxTableBox rollTable"> | ||
18 | <table class="xxTable"> | ||
19 | <tr v-for="(item, colindex) in columns" :key="colindex"> | ||
20 | <td> | ||
21 | {{ item.label }} | ||
22 | </td> | ||
23 | <td v-for="(row, index) in tableData" :key="index" :class="[ | ||
24 | row.qszt == '2' ? 'lishi' : '', | ||
25 | row.qszt == '0' ? 'linshi' : '', | ||
26 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | ||
27 | ]"> | ||
28 | <div class="setbut" v-if="item.prop == 'cz'"> | ||
29 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | ||
30 | <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button> | ||
31 | </div> | ||
32 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | ||
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 { getDiyiqList } from "@/api/registerBook.js"; | ||
51 | import { datas } from "./qlxxFormData.js"; | ||
52 | export default { | ||
53 | data () { | ||
54 | return { | ||
55 | title: "地役权登记信息", | ||
56 | qsztList: datas.columns().qsztList, | ||
57 | checkList: datas.columns().checkList, | ||
58 | //传递参数 | ||
59 | propsParam: this.$attrs, | ||
60 | //列表数据 | ||
61 | tableData: [], | ||
62 | //空列值个数 | ||
63 | emptycolNum: datas.columns().emptycolNum, | ||
64 | //列名称对象 | ||
65 | columns: datas.columns().DYIQ, | ||
66 | }; | ||
67 | }, | ||
68 | created () { | ||
69 | this.loadData(); | ||
70 | }, | ||
71 | methods: { | ||
72 | loadData () { | ||
73 | getDiyiqList({ | ||
74 | bdcdyid: this.propsParam.bdcdyid, | ||
75 | qllx: this.propsParam.qllx, | ||
76 | qszt: this.checkList, | ||
77 | }).then((res) => { | ||
78 | if (res.code === 200) { | ||
79 | this.tableData = res.result; | ||
80 | if (this.tableData.length < datas.columns().emptycolNum) { | ||
81 | this.emptycolNum = | ||
82 | datas.columns().emptycolNum - this.tableData.length; | ||
83 | } else { | ||
84 | this.emptycolNum = 0; | ||
85 | } | ||
86 | } | ||
87 | }); | ||
88 | }, | ||
89 | checkChange () { | ||
90 | if (this.checkList.length === 0) { | ||
91 | this.tableData = []; | ||
92 | this.emptycolNum = datas.columns().emptycolNum; | ||
93 | } else { | ||
94 | this.loadData(); | ||
95 | } | ||
96 | }, | ||
97 | getQsztName (code) { | ||
98 | let name = ""; | ||
99 | for (let item of this.qsztList) { | ||
100 | if (item.value == code) { | ||
101 | name = item.label; | ||
102 | break; | ||
103 | } | ||
104 | } | ||
105 | return name; | ||
106 | }, | ||
107 | // 编辑 | ||
108 | editDialog(row){ | ||
109 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | ||
110 | confirmButtonText: '确定', | ||
111 | cancelButtonText: '取消', | ||
112 | type: 'warning' | ||
113 | }).then(() => { | ||
114 | this.$parent.addRepairRecord(row) | ||
115 | |||
116 | this.$message({ | ||
117 | type: 'success', | ||
118 | message: '补录成功!' | ||
119 | }); | ||
120 | }).catch(() => { | ||
121 | this.$message({ | ||
122 | type: 'info', | ||
123 | message: '取消编辑' | ||
124 | }); | ||
125 | }); | ||
126 | |||
127 | // this.$popupDialog("编辑", "djbworkflow/djbBook/components/djbeditDialog", { | ||
128 | // datalist:this.columns, | ||
129 | // data: row, | ||
130 | |||
131 | // }) | ||
132 | |||
133 | }, | ||
134 | // 删除 | ||
135 | deleteDialog(row){ | ||
136 | this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', { | ||
137 | confirmButtonText: '确定', | ||
138 | cancelButtonText: '取消', | ||
139 | type: 'warning' | ||
140 | }).then(() => { | ||
141 | // let bsmClmx = this.previewImg.imgList[this.previewImg.index].bsmClmx | ||
142 | // deleteClmx(bsmClmx).then(res => { | ||
143 | // if (res.code == 200) { | ||
144 | // that.$emit('updateList', res.result) | ||
145 | // that.$message({ | ||
146 | // message: '删除成功!', | ||
147 | // type: 'success' | ||
148 | // }) | ||
149 | // } | ||
150 | // }) | ||
151 | this.$message({ | ||
152 | type: 'success', | ||
153 | message: '删除成功!' | ||
154 | }); | ||
155 | }).catch(() => { | ||
156 | this.$message({ | ||
157 | type: 'info', | ||
158 | message: '已取消删除' | ||
159 | }); | ||
160 | }); | ||
161 | |||
162 | } | ||
163 | }, | ||
164 | }; | ||
165 | </script> | ||
166 | |||
167 | <style lang="scss" scoped> | ||
168 | @import "./qlxxCommon.scss"; | ||
169 | </style> |
1 | <template> | ||
2 | <div class="djbfm"> | ||
3 | <br /><br /> | ||
4 | <p> | ||
5 | <font>{{ info.sheng }}</font> | ||
6 | 省 (区、市) | ||
7 | <font>{{ info.shi }}</font> | ||
8 | 市 (区) | ||
9 | <font>{{ info.xian }}</font> | ||
10 | 区 (县、市) | ||
11 | </p> | ||
12 | <p> | ||
13 | <font>{{ info.jdh }}</font> | ||
14 | 街道 (乡、镇) | ||
15 | <font>{{ info.jfh }}</font> | ||
16 | 街坊 (村) | ||
17 | <font>{{ info.zh }}</font> | ||
18 | 组 | ||
19 | </p> | ||
20 | <div class="title">不动产登记簿</div> | ||
21 | <br /> | ||
22 | <p> | ||
23 | 宗地/宗海号: | ||
24 | <font>{{ info.zddm }}</font> | ||
25 | </p> | ||
26 | <div class="bottom"> | ||
27 | <p> | ||
28 | 登记机构: | ||
29 | <font>{{ info.djjg }}</font> | ||
30 | </p> | ||
31 | </div> | ||
32 | </div> | ||
33 | </template> | ||
34 | |||
35 | <script> | ||
36 | import { getDjbfm } from "@/api/registerBook.js"; | ||
37 | |||
38 | export default { | ||
39 | data () { | ||
40 | return { | ||
41 | //传递参数 | ||
42 | propsParam: this.$attrs, | ||
43 | info: {}, | ||
44 | }; | ||
45 | }, | ||
46 | mounted () { | ||
47 | this.loadData(); | ||
48 | }, | ||
49 | methods: { | ||
50 | loadData () { | ||
51 | getDjbfm({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { | ||
52 | if (res.code === 200) { | ||
53 | this.info = res.result; | ||
54 | } | ||
55 | }); | ||
56 | }, | ||
57 | }, | ||
58 | }; | ||
59 | </script> | ||
60 | |||
61 | <style lang="scss" scoped> | ||
62 | .djbfm { | ||
63 | width: 100%; | ||
64 | height: 100%; | ||
65 | background: #fff; | ||
66 | border-right: 1px solid #ccc; | ||
67 | line-height: 45px; | ||
68 | text-align: center; | ||
69 | font-size: 18px; | ||
70 | font-family: serif; | ||
71 | position: relative; | ||
72 | |||
73 | font { | ||
74 | border-bottom: 1px solid #000; | ||
75 | display: inline-block; | ||
76 | padding: 0 15px; | ||
77 | line-height: 16px; | ||
78 | } | ||
79 | |||
80 | .title { | ||
81 | height: 40%; | ||
82 | display: flex; | ||
83 | font-size: 38px; | ||
84 | color: #000; | ||
85 | justify-content: center; | ||
86 | align-items: center; | ||
87 | } | ||
88 | |||
89 | .bottom { | ||
90 | position: absolute; | ||
91 | bottom: 0px; | ||
92 | text-align: center; | ||
93 | width: 100%; | ||
94 | left: 0; | ||
95 | height: 100px; | ||
96 | line-height: 100px; | ||
97 | |||
98 | p { | ||
99 | font-size: 28px; | ||
100 | } | ||
101 | |||
102 | font { | ||
103 | font-size: 24px; | ||
104 | line-height: 24px; | ||
105 | } | ||
106 | } | ||
107 | } | ||
108 | </style> |
1 | <!-- | ||
2 | * @Description : 房地产权1 | ||
3 | * @Autor : miaofang | ||
4 | * @LastEditTime : 2023-06-16 10:23:27 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class="djxxTable"> | ||
8 | <div class="tableBox"> | ||
9 | <div class="title"> | ||
10 | {{ title }} | ||
11 | <div class="checkbox"> | ||
12 | <el-checkbox-group v-model="checkList" @change="checkChange"> | ||
13 | <el-checkbox v-for="item in qsztList" :key="item.value" :label="item.value">{{ item.label }}</el-checkbox> | ||
14 | </el-checkbox-group> | ||
15 | </div> | ||
16 | </div> | ||
17 | <div class="xxTableBox rollTable"> | ||
18 | <!-- 固定前三个 --> | ||
19 | <table class="xxTable"> | ||
20 | <tr v-for="(item, colindex) in columns" :key="colindex"> | ||
21 | <td> | ||
22 | {{ item.label }} | ||
23 | </td> | ||
24 | <td v-for="(row, index) in tableData" :key="index" :class="[ | ||
25 | row.qszt == '2' ? 'lishi' : '', | ||
26 | row.qszt == '0' ? 'linshi' : '', | ||
27 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | ||
28 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | ||
29 | ]"> | ||
30 | <div class="setbut" v-if="item.prop == 'cz'"> | ||
31 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | ||
32 | <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button> | ||
33 | </div> | ||
34 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | ||
35 | 正在办理 | ||
36 | </div> | ||
37 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | ||
38 | 有效 | ||
39 | </div> | ||
40 | <span v-if="item.prop == 'qszt'"> | ||
41 | {{ getQsztName(row[item.prop]) }} | ||
42 | </span> | ||
43 | |||
44 | <span v-else> {{ row[item.prop] }}</span> | ||
45 | </td> | ||
46 | <td v-for="count in emptycolNum" :key="~count"></td> | ||
47 | </tr> | ||
48 | </table> | ||
49 | </div> | ||
50 | </div> | ||
51 | </div> | ||
52 | </template> | ||
53 | |||
54 | <script> | ||
55 | import { getJsydsyqList } from "@/api/registerBook.js"; | ||
56 | import { datas } from "./qlxxFormData.js"; | ||
57 | export default { | ||
58 | data () { | ||
59 | return { | ||
60 | title: "建设用地使用权、宅基地使用权登记信息", | ||
61 | qsztList: datas.columns().qsztList, | ||
62 | checkList: datas.columns().checkList, | ||
63 | //传递参数 | ||
64 | propsParam: this.$attrs, | ||
65 | //列表数据 | ||
66 | tableData: [], | ||
67 | //空列值个数 | ||
68 | emptycolNum: datas.columns().emptycolNum, | ||
69 | //列名称对象 | ||
70 | columns: datas.columns().JSYDSYQ, | ||
71 | }; | ||
72 | }, | ||
73 | created () { | ||
74 | this.loadData(); | ||
75 | }, | ||
76 | methods: { | ||
77 | loadData () { | ||
78 | getJsydsyqList({ | ||
79 | bdcdyid: this.propsParam.bdcdyid, | ||
80 | qllx: this.propsParam.qllx, | ||
81 | qszt: this.checkList, | ||
82 | }).then((res) => { | ||
83 | if (res.code === 200) { | ||
84 | this.tableData = res.result; | ||
85 | if (this.tableData.length < datas.columns().emptycolNum) { | ||
86 | this.emptycolNum = | ||
87 | datas.columns().emptycolNum - this.tableData.length; | ||
88 | } else { | ||
89 | this.emptycolNum = 0; | ||
90 | } | ||
91 | } | ||
92 | }); | ||
93 | }, | ||
94 | checkChange () { | ||
95 | if (this.checkList.length === 0) { | ||
96 | this.tableData = []; | ||
97 | this.emptycolNum = datas.columns().emptycolNum; | ||
98 | } else { | ||
99 | this.loadData(); | ||
100 | } | ||
101 | }, | ||
102 | getQsztName (code) { | ||
103 | let name = ""; | ||
104 | for (let item of this.qsztList) { | ||
105 | if (item.value == code) { | ||
106 | name = item.label; | ||
107 | break; | ||
108 | } | ||
109 | } | ||
110 | return name; | ||
111 | }, | ||
112 | // 编辑 | ||
113 | editDialog(row){ | ||
114 | // this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | ||
115 | // confirmButtonText: '确定', | ||
116 | // cancelButtonText: '取消', | ||
117 | // type: 'warning' | ||
118 | // }).then(() => { | ||
119 | this.$parent.addRepairRecord(row) | ||
120 | // this.$message({ | ||
121 | // type: 'success', | ||
122 | // message: '补录成功!' | ||
123 | // }); | ||
124 | // }).catch(() => { | ||
125 | // this.$message({ | ||
126 | // type: 'info', | ||
127 | // message: '取消编辑' | ||
128 | // }); | ||
129 | // }); | ||
130 | |||
131 | // this.$popupDialog("编辑", "djbworkflow/djbBook/components/djbeditDialog", { | ||
132 | // datalist:this.columns, | ||
133 | // data: row, | ||
134 | |||
135 | // }) | ||
136 | |||
137 | }, | ||
138 | // 删除 | ||
139 | deleteDialog(row){ | ||
140 | this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', { | ||
141 | confirmButtonText: '确定', | ||
142 | cancelButtonText: '取消', | ||
143 | type: 'warning' | ||
144 | }).then(() => { | ||
145 | // let bsmClmx = this.previewImg.imgList[this.previewImg.index].bsmClmx | ||
146 | // deleteClmx(bsmClmx).then(res => { | ||
147 | // if (res.code == 200) { | ||
148 | // that.$emit('updateList', res.result) | ||
149 | // that.$message({ | ||
150 | // message: '删除成功!', | ||
151 | // type: 'success' | ||
152 | // }) | ||
153 | // } | ||
154 | // }) | ||
155 | this.$message({ | ||
156 | type: 'success', | ||
157 | message: '删除成功!' | ||
158 | }); | ||
159 | }).catch(() => { | ||
160 | this.$message({ | ||
161 | type: 'info', | ||
162 | message: '已取消删除' | ||
163 | }); | ||
164 | }); | ||
165 | |||
166 | } | ||
167 | }, | ||
168 | }; | ||
169 | </script> | ||
170 | |||
171 | <style lang="scss" scoped> | ||
172 | @import "./qlxxCommon.scss"; | ||
173 | </style> |
1 | <!-- | ||
2 | * @Description : 房地产权2 | ||
3 | * @Autor : miaofang | ||
4 | * @LastEditTime: 2023-06-20 09:59:18 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class="djxxTable"> | ||
8 | <div class="tableBox"> | ||
9 | <div class="title"> | ||
10 | {{ title }} | ||
11 | <div class="checkbox"> | ||
12 | <el-checkbox-group v-model="checkList" @change="checkChange"> | ||
13 | <el-checkbox v-for="item in qsztList" :key="item.value" :label="item.value">{{ item.label }}</el-checkbox> | ||
14 | </el-checkbox-group> | ||
15 | </div> | ||
16 | </div> | ||
17 | <div class="xxTableBox rollTable"> | ||
18 | <table class="xxTable"> | ||
19 | <tr v-for="(item, colindex) in columns" :key="colindex"> | ||
20 | <td> | ||
21 | {{ item.label }} | ||
22 | </td> | ||
23 | <td v-for="(row, index) in tableData" :key="index" :class="[ | ||
24 | row.qszt == '2' ? 'lishi' : '', | ||
25 | row.qszt == '0' ? 'linshi' : '', | ||
26 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | ||
27 | ]"> | ||
28 | <div class="setbut" v-if="item.prop == 'cz'&&item.sjlx !='系统数据'"> | ||
29 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | ||
30 | <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button> | ||
31 | </div> | ||
32 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | ||
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 { getFdcq2List } from "@/api/registerBook.js"; | ||
51 | import { datas } from "./qlxxFormData.js"; | ||
52 | export default { | ||
53 | data () { | ||
54 | return { | ||
55 | title: "房地产权登记信息(独幢、层、套、间房屋)", | ||
56 | qsztList: datas.columns().qsztList, | ||
57 | checkList: datas.columns().checkList, | ||
58 | //传递参数 | ||
59 | propsParam: this.$attrs, | ||
60 | //列表数据 | ||
61 | tableData: [], | ||
62 | //空列值个数 | ||
63 | emptycolNum: datas.columns().emptycolNum, | ||
64 | //列名称对象 | ||
65 | columns: datas.columns().FDCQ2, | ||
66 | }; | ||
67 | }, | ||
68 | created () { | ||
69 | this.loadData(); | ||
70 | }, | ||
71 | methods: { | ||
72 | loadData () { | ||
73 | getFdcq2List({ | ||
74 | bdcdyid: this.propsParam.bdcdyid, | ||
75 | qllx: this.propsParam.qllx, | ||
76 | qszt: this.checkList, | ||
77 | }).then((res) => { | ||
78 | if (res.code === 200) { | ||
79 | this.tableData = res.result; | ||
80 | if (this.tableData.length < datas.columns().emptycolNum) { | ||
81 | this.emptycolNum = | ||
82 | datas.columns().emptycolNum - this.tableData.length; | ||
83 | } else { | ||
84 | this.emptycolNum = 0; | ||
85 | } | ||
86 | } | ||
87 | }); | ||
88 | }, | ||
89 | checkChange () { | ||
90 | if (this.checkList.length === 0) { | ||
91 | this.tableData = []; | ||
92 | this.emptycolNum = datas.columns().emptycolNum; | ||
93 | } else { | ||
94 | this.loadData(); | ||
95 | } | ||
96 | }, | ||
97 | getQsztName (code) { | ||
98 | let name = ""; | ||
99 | for (let item of this.qsztList) { | ||
100 | if (item.value == code) { | ||
101 | name = item.label; | ||
102 | break; | ||
103 | } | ||
104 | } | ||
105 | return name; | ||
106 | }, | ||
107 | |||
108 | // 编辑 | ||
109 | editDialog (row) { | ||
110 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | ||
111 | confirmButtonText: '确定', | ||
112 | cancelButtonText: '取消', | ||
113 | type: 'warning' | ||
114 | }).then(() => { | ||
115 | this.$parent.addRepairRecord(row) | ||
116 | |||
117 | this.$message({ | ||
118 | type: 'success', | ||
119 | message: '补录成功!' | ||
120 | }); | ||
121 | }).catch(() => { | ||
122 | this.$message({ | ||
123 | type: 'info', | ||
124 | message: '取消编辑' | ||
125 | }); | ||
126 | }); | ||
127 | |||
128 | // this.$popupDialog("编辑", "djbworkflow/djbBook/components/djbeditDialog", { | ||
129 | // datalist:this.columns, | ||
130 | // data: row, | ||
131 | |||
132 | // }) | ||
133 | |||
134 | }, | ||
135 | // 删除 | ||
136 | deleteDialog (row) { | ||
137 | this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', { | ||
138 | confirmButtonText: '确定', | ||
139 | cancelButtonText: '取消', | ||
140 | type: 'warning' | ||
141 | }).then(() => { | ||
142 | // let bsmClmx = this.previewImg.imgList[this.previewImg.index].bsmClmx | ||
143 | // deleteClmx(bsmClmx).then(res => { | ||
144 | // if (res.code == 200) { | ||
145 | // that.$emit('updateList', res.result) | ||
146 | // that.$message({ | ||
147 | // message: '删除成功!', | ||
148 | // type: 'success' | ||
149 | // }) | ||
150 | // } | ||
151 | // }) | ||
152 | this.$message({ | ||
153 | type: 'success', | ||
154 | message: '删除成功!' | ||
155 | }); | ||
156 | }).catch(() => { | ||
157 | this.$message({ | ||
158 | type: 'info', | ||
159 | message: '已取消删除' | ||
160 | }); | ||
161 | }); | ||
162 | |||
163 | } | ||
164 | |||
165 | }, | ||
166 | }; | ||
167 | </script> | ||
168 | |||
169 | <style lang="scss" scoped> | ||
170 | @import "./qlxxCommon.scss"; | ||
171 | </style> |
1 | <!-- | ||
2 | * @Description :国有建设用地使用权 | ||
3 | * @Autor : miaofang | ||
4 | * @LastEditTime : 2023-06-16 10:23:54 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class="djxxTable"> | ||
8 | <div class="tableBox"> | ||
9 | <div class="title"> | ||
10 | {{ title }} | ||
11 | <div class="checkbox"> | ||
12 | <el-checkbox-group v-model="checkList" @change="checkChange"> | ||
13 | <el-checkbox v-for="item in qsztList" :key="item.value" :label="item.value">{{ item.label }}</el-checkbox> | ||
14 | </el-checkbox-group> | ||
15 | </div> | ||
16 | </div> | ||
17 | <div class="xxTableBox rollTable"> | ||
18 | <!-- 固定前三个 --> | ||
19 | <table class="xxTable"> | ||
20 | <tr v-for="(item, colindex) in columns" :key="colindex"> | ||
21 | <td> | ||
22 | {{ item.label }} | ||
23 | </td> | ||
24 | <td v-for="(row, index) in tableData" :key="index" :class="[ | ||
25 | row.qszt == '2' ? 'lishi' : '', | ||
26 | row.qszt == '0' ? 'linshi' : '', | ||
27 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | ||
28 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | ||
29 | ]" | ||
30 | > | ||
31 | <div class="setbut" v-if="item.prop == 'cz'"> | ||
32 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | ||
33 | <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button> | ||
34 | </div> | ||
35 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | ||
36 | 正在办理 | ||
37 | </div> | ||
38 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | ||
39 | 有效 | ||
40 | </div> | ||
41 | <span v-if="item.prop == 'qszt'"> | ||
42 | {{ getQsztName(row[item.prop]) }} | ||
43 | </span> | ||
44 | |||
45 | <span v-else> {{ row[item.prop] }}</span> | ||
46 | </td> | ||
47 | <td v-for="count in emptycolNum" :key="~count"></td> | ||
48 | </tr> | ||
49 | </table> | ||
50 | </div> | ||
51 | </div> | ||
52 | </div> | ||
53 | </template> | ||
54 | |||
55 | <script> | ||
56 | import { getJsydsyqList } from "@/api/registerBook.js"; | ||
57 | import { datas } from "./qlxxFormData.js"; | ||
58 | |||
59 | export default { | ||
60 | data () { | ||
61 | return { | ||
62 | title: "建设用地使用权、宅基地使用权登记信息", | ||
63 | qsztList: datas.columns().qsztList, | ||
64 | checkList: datas.columns().checkList, | ||
65 | //传递参数 | ||
66 | propsParam: this.$attrs, | ||
67 | //列表数据 | ||
68 | tableData: [], | ||
69 | //空列值个数 | ||
70 | emptycolNum: datas.columns().emptycolNum, | ||
71 | //列名称对象 | ||
72 | columns: datas.columns().JSYDSYQ, | ||
73 | }; | ||
74 | }, | ||
75 | created () { | ||
76 | this.loadData(); | ||
77 | }, | ||
78 | methods: { | ||
79 | loadData () { | ||
80 | console.log(" this.propsParam", this.propsParam); | ||
81 | getJsydsyqList({ | ||
82 | bdcdyid: this.propsParam.bdcdyid, | ||
83 | qllx: this.propsParam.qllx, | ||
84 | qszt: this.checkList, | ||
85 | }).then((res) => { | ||
86 | if (res.code === 200) { | ||
87 | this.tableData = res.result; | ||
88 | if (this.tableData.length < datas.columns().emptycolNum) { | ||
89 | this.emptycolNum = | ||
90 | datas.columns().emptycolNum - this.tableData.length; | ||
91 | } else { | ||
92 | this.emptycolNum = 0; | ||
93 | } | ||
94 | } | ||
95 | }); | ||
96 | |||
97 | }, | ||
98 | checkChange () { | ||
99 | if (this.checkList.length === 0) { | ||
100 | this.tableData = []; | ||
101 | this.emptycolNum = datas.columns().emptycolNum; | ||
102 | } else { | ||
103 | this.loadData(); | ||
104 | } | ||
105 | }, | ||
106 | getQsztName (code) { | ||
107 | let name = ""; | ||
108 | for (let item of this.qsztList) { | ||
109 | if (item.value == code) { | ||
110 | name = item.label; | ||
111 | break; | ||
112 | } | ||
113 | } | ||
114 | return name; | ||
115 | }, | ||
116 | // 编辑 | ||
117 | editDialog(row){ | ||
118 | // this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | ||
119 | // confirmButtonText: '确定', | ||
120 | // cancelButtonText: '取消', | ||
121 | // type: 'warning' | ||
122 | // }).then(() => { | ||
123 | this.$parent.addRepairRecord(row) | ||
124 | |||
125 | // this.$message({ | ||
126 | // type: 'success', | ||
127 | // message: '补录成功!' | ||
128 | // }); | ||
129 | // }).catch(() => { | ||
130 | // this.$message({ | ||
131 | // type: 'info', | ||
132 | // message: '取消编辑' | ||
133 | // }); | ||
134 | // }); | ||
135 | |||
136 | // this.$popupDialog("编辑", "djbworkflow/djbBook/components/djbeditDialog", { | ||
137 | // datalist:this.columns, | ||
138 | // data: row, | ||
139 | |||
140 | // }) | ||
141 | |||
142 | }, | ||
143 | // 删除 | ||
144 | deleteDialog(row){ | ||
145 | this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', { | ||
146 | confirmButtonText: '确定', | ||
147 | cancelButtonText: '取消', | ||
148 | type: 'warning' | ||
149 | }).then(() => { | ||
150 | // let bsmClmx = this.previewImg.imgList[this.previewImg.index].bsmClmx | ||
151 | // deleteClmx(bsmClmx).then(res => { | ||
152 | // if (res.code == 200) { | ||
153 | // that.$emit('updateList', res.result) | ||
154 | // that.$message({ | ||
155 | // message: '删除成功!', | ||
156 | // type: 'success' | ||
157 | // }) | ||
158 | // } | ||
159 | // }) | ||
160 | this.$message({ | ||
161 | type: 'success', | ||
162 | message: '删除成功!' | ||
163 | }); | ||
164 | }).catch(() => { | ||
165 | this.$message({ | ||
166 | type: 'info', | ||
167 | message: '已取消删除' | ||
168 | }); | ||
169 | }); | ||
170 | |||
171 | } | ||
172 | }, | ||
173 | }; | ||
174 | </script> | ||
175 | |||
176 | <style lang="scss" scoped> | ||
177 | @import "./qlxxCommon.scss"; | ||
178 | </style> |
1 | <!-- | ||
2 | * @Description :用地 | ||
3 | * @Autor : miaofang | ||
4 | * @LastEditTime : 2023-06-02 14:43:11 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class="djxxTable"> | ||
8 | <div class="tableBox"> | ||
9 | <div class="title"> | ||
10 | {{ title }} | ||
11 | <div class="checkbox"> | ||
12 | <el-checkbox-group v-model="checkList" @change="checkChange"> | ||
13 | <el-checkbox v-for="item in qsztList" :key="item.value" :label="item.value">{{ item.label }}</el-checkbox> | ||
14 | </el-checkbox-group> | ||
15 | </div> | ||
16 | </div> | ||
17 | <div class="xxTableBox"> | ||
18 | <!-- 固定前三个 --> | ||
19 | <table class="xxTable"> | ||
20 | <tr v-for="(item, colindex) in columns.slice(0, 3)" :key="colindex"> | ||
21 | <td> | ||
22 | {{ item.label }} | ||
23 | </td> | ||
24 | <td v-for="(row, index) in tableData" :key="index" :class="[ | ||
25 | row.qszt == '2' ? 'lishi' : '', | ||
26 | row.qszt == '0' ? 'linshi' : '', | ||
27 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | ||
28 | item.prop == 'qszt' && row.qszt == '1' ? 'xianshiIcon' : '', | ||
29 | ]"> | ||
30 | <div class="setbut" v-if="item.prop == 'cz'"> | ||
31 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | ||
32 | <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button> | ||
33 | </div> | ||
34 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | ||
35 | 正在办理 | ||
36 | </div> | ||
37 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '1'"> | ||
38 | 有效 | ||
39 | </div> | ||
40 | <span v-if="item.prop == 'qszt'"> | ||
41 | {{ getQsztName(row[item.prop]) }} | ||
42 | </span> | ||
43 | |||
44 | <span v-else> {{ row[item.prop] }}</span> | ||
45 | </td> | ||
46 | <td v-for="count in emptycolNum" :key="~count"></td> | ||
47 | </tr> | ||
48 | </table> | ||
49 | |||
50 | <table class="xxTable rollTable"> | ||
51 | <tr v-for="(item, colindex) in columns.slice(3)" :key="colindex"> | ||
52 | <td> | ||
53 | {{ item.label }} | ||
54 | </td> | ||
55 | <td v-for="(row, index) in tableData" :key="index" :class="[ | ||
56 | row.qszt == '2' ? 'lishi' : '', | ||
57 | row.qszt == '0' ? 'linshi' : '', | ||
58 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | ||
59 | ]"> | ||
60 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | ||
61 | 正在办理 | ||
62 | </div> | ||
63 | <span v-if="item.prop == 'qszt'"> | ||
64 | {{ getQsztName(row[item.prop]) }} | ||
65 | </span> | ||
66 | |||
67 | <span v-else> {{ row[item.prop] }}</span> | ||
68 | </td> | ||
69 | <td v-for="count in emptycolNum" :key="~count"></td> | ||
70 | </tr> | ||
71 | </table> | ||
72 | </div> | ||
73 | </div> | ||
74 | </div> | ||
75 | </template> | ||
76 | |||
77 | <script> | ||
78 | import { getNydsyqList } from "@/api/registerBook.js"; | ||
79 | import { datas } from "./qlxxFormData.js"; | ||
80 | export default { | ||
81 | data () { | ||
82 | return { | ||
83 | title: "农用地使用权登记信息", | ||
84 | qsztList: datas.columns().qsztList, | ||
85 | checkList: datas.columns().checkList, | ||
86 | //传递参数 | ||
87 | propsParam: this.$attrs, | ||
88 | //列表数据 | ||
89 | tableData: [], | ||
90 | //空列值个数 | ||
91 | emptycolNum: datas.columns().emptycolNum, | ||
92 | //列名称对象 | ||
93 | columns: datas.columns().NYDSYQ, | ||
94 | }; | ||
95 | }, | ||
96 | created () { | ||
97 | var qllx = this.$route.query.sqywbm.substr(0, 3) | ||
98 | if (qllx == 'A09') { | ||
99 | this.title = '土地经营权登记信息' | ||
100 | } else { | ||
101 | this.title = '农用地使用权登记信息' | ||
102 | } | ||
103 | this.loadData(); | ||
104 | }, | ||
105 | methods: { | ||
106 | loadData () { | ||
107 | getNydsyqList({ | ||
108 | bdcdyid: this.propsParam.bdcdyid, | ||
109 | qllx: this.propsParam.qllx, | ||
110 | qszt: this.checkList, | ||
111 | }).then((res) => { | ||
112 | if (res.code === 200) { | ||
113 | this.tableData = res.result; | ||
114 | if (this.tableData.length < datas.columns().emptycolNum) { | ||
115 | this.emptycolNum = | ||
116 | datas.columns().emptycolNum - this.tableData.length; | ||
117 | } else { | ||
118 | this.emptycolNum = 0; | ||
119 | } | ||
120 | } | ||
121 | }); | ||
122 | }, | ||
123 | checkChange () { | ||
124 | if (this.checkList.length === 0) { | ||
125 | this.tableData = []; | ||
126 | this.emptycolNum = datas.columns().emptycolNum; | ||
127 | } else { | ||
128 | this.loadData(); | ||
129 | } | ||
130 | }, | ||
131 | getQsztName (code) { | ||
132 | let name = ""; | ||
133 | for (let item of this.qsztList) { | ||
134 | if (item.value == code) { | ||
135 | name = item.label; | ||
136 | break; | ||
137 | } | ||
138 | } | ||
139 | return name; | ||
140 | }, | ||
141 | // 编辑 | ||
142 | editDialog(row){ | ||
143 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | ||
144 | confirmButtonText: '确定', | ||
145 | cancelButtonText: '取消', | ||
146 | type: 'warning' | ||
147 | }).then(() => { | ||
148 | this.$parent.addRepairRecord(row) | ||
149 | |||
150 | this.$message({ | ||
151 | type: 'success', | ||
152 | message: '补录成功!' | ||
153 | }); | ||
154 | }).catch(() => { | ||
155 | this.$message({ | ||
156 | type: 'info', | ||
157 | message: '取消编辑' | ||
158 | }); | ||
159 | }); | ||
160 | |||
161 | // this.$popupDialog("编辑", "djbworkflow/djbBook/components/djbeditDialog", { | ||
162 | // datalist:this.columns, | ||
163 | // data: row, | ||
164 | |||
165 | // }) | ||
166 | |||
167 | }, | ||
168 | // 删除 | ||
169 | deleteDialog(row){ | ||
170 | this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', { | ||
171 | confirmButtonText: '确定', | ||
172 | cancelButtonText: '取消', | ||
173 | type: 'warning' | ||
174 | }).then(() => { | ||
175 | // let bsmClmx = this.previewImg.imgList[this.previewImg.index].bsmClmx | ||
176 | // deleteClmx(bsmClmx).then(res => { | ||
177 | // if (res.code == 200) { | ||
178 | // that.$emit('updateList', res.result) | ||
179 | // that.$message({ | ||
180 | // message: '删除成功!', | ||
181 | // type: 'success' | ||
182 | // }) | ||
183 | // } | ||
184 | // }) | ||
185 | this.$message({ | ||
186 | type: 'success', | ||
187 | message: '删除成功!' | ||
188 | }); | ||
189 | }).catch(() => { | ||
190 | this.$message({ | ||
191 | type: 'info', | ||
192 | message: '已取消删除' | ||
193 | }); | ||
194 | }); | ||
195 | |||
196 | } | ||
197 | }, | ||
198 | }; | ||
199 | </script> | ||
200 | |||
201 | <style lang="scss" scoped> | ||
202 | @import "./qlxxCommon.scss"; | ||
203 | </style> |
This diff is collapsed.
Click to expand it.
... | @@ -95,7 +95,7 @@ | ... | @@ -95,7 +95,7 @@ |
95 | let that = this | 95 | let that = this |
96 | this.$startLoading() | 96 | this.$startLoading() |
97 | var formdata = new FormData(); | 97 | var formdata = new FormData(); |
98 | formdata.append("bsmBusiness", this.propsParam.bsmBusiness); | 98 | formdata.append("bsmBusiness", this.propsParam.bsmRepair); |
99 | formdata.append("bestepid", this.$route.query.bestepid); | 99 | formdata.append("bestepid", this.$route.query.bestepid); |
100 | formdata.append("ableOperation", this.ableOperation) | 100 | formdata.append("ableOperation", this.ableOperation) |
101 | getSpyjList(formdata).then((res) => { | 101 | getSpyjList(formdata).then((res) => { | ... | ... |
1 | <!-- | ||
2 | * @Description :预告登记 | ||
3 | * @Autor : miaofang | ||
4 | * @LastEditTime : 2023-06-15 13:50:25 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class="djxxTable"> | ||
8 | <div class="tableBox"> | ||
9 | <div class="title"> | ||
10 | {{ title }} | ||
11 | <div class="checkbox"> | ||
12 | <el-checkbox-group v-model="checkList" @change="checkChange"> | ||
13 | <el-checkbox v-for="item in qsztList" :key="item.value" :label="item.value">{{ item.label }}</el-checkbox> | ||
14 | </el-checkbox-group> | ||
15 | </div> | ||
16 | </div> | ||
17 | <div class="xxTableBox rollTable"> | ||
18 | <table class="xxTable"> | ||
19 | <tr v-for="(item, colindex) in columns" :key="colindex"> | ||
20 | <td> | ||
21 | {{ item.label }} | ||
22 | </td> | ||
23 | <td v-for="(row, index) in tableData" :key="index" :class="[ | ||
24 | row.qszt == '2' ? 'lishi' : '', | ||
25 | row.qszt == '0' ? 'linshi' : '', | ||
26 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | ||
27 | ]"> | ||
28 | <div class="setbut" v-if="item.prop == 'cz'"> | ||
29 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | ||
30 | <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button> | ||
31 | </div> | ||
32 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | ||
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 { getYgdjList } from "@/api/registerBook.js"; | ||
51 | import { datas } from "./qlxxFormData.js"; | ||
52 | export default { | ||
53 | data () { | ||
54 | return { | ||
55 | title: "预告登记信息", | ||
56 | qsztList: datas.columns().qsztList, | ||
57 | checkList: datas.columns().checkList, | ||
58 | //传递参数 | ||
59 | propsParam: this.$attrs, | ||
60 | //列表数据 | ||
61 | tableData: [], | ||
62 | //空列值个数 | ||
63 | emptycolNum: datas.columns().emptycolNum, | ||
64 | //列名称对象 | ||
65 | columns: datas.columns().YGDJ, | ||
66 | }; | ||
67 | }, | ||
68 | created () { | ||
69 | this.loadData(); | ||
70 | }, | ||
71 | methods: { | ||
72 | loadData () { | ||
73 | getYgdjList({ | ||
74 | bdcdyid: this.propsParam.bdcdyid, | ||
75 | qllx: this.propsParam.qllx, | ||
76 | qszt: this.checkList, | ||
77 | }).then((res) => { | ||
78 | if (res.code === 200) { | ||
79 | this.tableData = res.result; | ||
80 | if (this.tableData.length < datas.columns().emptycolNum) { | ||
81 | this.emptycolNum = | ||
82 | datas.columns().emptycolNum - this.tableData.length; | ||
83 | } else { | ||
84 | this.emptycolNum = 0; | ||
85 | } | ||
86 | } | ||
87 | }); | ||
88 | }, | ||
89 | checkChange () { | ||
90 | if (this.checkList.length === 0) { | ||
91 | this.tableData = []; | ||
92 | this.emptycolNum = datas.columns().emptycolNum; | ||
93 | } else { | ||
94 | this.loadData(); | ||
95 | } | ||
96 | }, | ||
97 | getQsztName (code) { | ||
98 | let name = ""; | ||
99 | for (let item of this.qsztList) { | ||
100 | if (item.value == code) { | ||
101 | name = item.label; | ||
102 | break; | ||
103 | } | ||
104 | } | ||
105 | return name; | ||
106 | }, | ||
107 | // 编辑 | ||
108 | editDialog(row){ | ||
109 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | ||
110 | confirmButtonText: '确定', | ||
111 | cancelButtonText: '取消', | ||
112 | type: 'warning' | ||
113 | }).then(() => { | ||
114 | this.$parent.addRepairRecord(row) | ||
115 | |||
116 | this.$message({ | ||
117 | type: 'success', | ||
118 | message: '补录成功!' | ||
119 | }); | ||
120 | }).catch(() => { | ||
121 | this.$message({ | ||
122 | type: 'info', | ||
123 | message: '取消编辑' | ||
124 | }); | ||
125 | }); | ||
126 | |||
127 | // this.$popupDialog("编辑", "djbworkflow/djbBook/components/djbeditDialog", { | ||
128 | // datalist:this.columns, | ||
129 | // data: row, | ||
130 | |||
131 | // }) | ||
132 | |||
133 | }, | ||
134 | // 删除 | ||
135 | deleteDialog(row){ | ||
136 | this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', { | ||
137 | confirmButtonText: '确定', | ||
138 | cancelButtonText: '取消', | ||
139 | type: 'warning' | ||
140 | }).then(() => { | ||
141 | // let bsmClmx = this.previewImg.imgList[this.previewImg.index].bsmClmx | ||
142 | // deleteClmx(bsmClmx).then(res => { | ||
143 | // if (res.code == 200) { | ||
144 | // that.$emit('updateList', res.result) | ||
145 | // that.$message({ | ||
146 | // message: '删除成功!', | ||
147 | // type: 'success' | ||
148 | // }) | ||
149 | // } | ||
150 | // }) | ||
151 | this.$message({ | ||
152 | type: 'success', | ||
153 | message: '删除成功!' | ||
154 | }); | ||
155 | }).catch(() => { | ||
156 | this.$message({ | ||
157 | type: 'info', | ||
158 | message: '已取消删除' | ||
159 | }); | ||
160 | }); | ||
161 | |||
162 | } | ||
163 | }, | ||
164 | }; | ||
165 | </script> | ||
166 | |||
167 | <style lang="scss" scoped> | ||
168 | @import "./qlxxCommon.scss"; | ||
169 | </style> |
1 | <!-- | ||
2 | * @Description :异议登记 | ||
3 | * @Autor : miaofang | ||
4 | * @LastEditTime : 2023-06-15 13:50:58 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class="djxxTable"> | ||
8 | <div class="tableBox"> | ||
9 | <div class="title"> | ||
10 | {{ title }} | ||
11 | <div class="checkbox"> | ||
12 | <el-checkbox-group v-model="checkList" @change="checkChange"> | ||
13 | <el-checkbox v-for="item in qsztList" :key="item.value" :label="item.value">{{ item.label }}</el-checkbox> | ||
14 | </el-checkbox-group> | ||
15 | </div> | ||
16 | </div> | ||
17 | <div class="xxTableBox rollTable"> | ||
18 | <table class="xxTable"> | ||
19 | <tr v-for="(item, colindex) in columns" :key="colindex"> | ||
20 | <td> | ||
21 | {{ item.label }} | ||
22 | </td> | ||
23 | <td v-for="(row, index) in tableData" :key="index" :class="[ | ||
24 | row.qszt == '2' ? 'lishi' : '', | ||
25 | row.qszt == '0' ? 'linshi' : '', | ||
26 | item.prop == 'qszt' && row.qszt == '0' ? 'linshiIcon' : '', | ||
27 | ]"> | ||
28 | <div class="setbut" v-if="item.prop == 'cz'"> | ||
29 | <el-button type="text" icon="el-icon-edit-outline" @click="editDialog(row)">编辑</el-button> | ||
30 | <el-button type="text" icon="el-icon-edit-outline" @click="deleteDialog(row)">删除</el-button> | ||
31 | </div> | ||
32 | <div class="icon" v-if="item.prop == 'qszt' && row.qszt == '0'"> | ||
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 { getYydjList } from "@/api/registerBook.js"; | ||
51 | import { datas } from "./qlxxFormData.js"; | ||
52 | export default { | ||
53 | data () { | ||
54 | return { | ||
55 | title: "异议登记信息", | ||
56 | qsztList: datas.columns().qsztList, | ||
57 | checkList: datas.columns().checkList, | ||
58 | //传递参数 | ||
59 | propsParam: this.$attrs, | ||
60 | //列表数据 | ||
61 | tableData: [], | ||
62 | //空列值个数 | ||
63 | emptycolNum: datas.columns().emptycolNum, | ||
64 | //列名称对象 | ||
65 | columns: datas.columns().YYDJ, | ||
66 | }; | ||
67 | }, | ||
68 | created () { | ||
69 | console.log("异议登记"); | ||
70 | this.loadData(); | ||
71 | }, | ||
72 | methods: { | ||
73 | loadData () { | ||
74 | getYydjList({ | ||
75 | bdcdyid: this.propsParam.bdcdyid, | ||
76 | qllx: this.propsParam.qllx, | ||
77 | qszt: this.checkList, | ||
78 | }).then((res) => { | ||
79 | if (res.code === 200) { | ||
80 | this.tableData = res.result; | ||
81 | if (this.tableData.length < datas.columns().emptycolNum) { | ||
82 | this.emptycolNum = | ||
83 | datas.columns().emptycolNum - this.tableData.length; | ||
84 | } else { | ||
85 | this.emptycolNum = 0; | ||
86 | } | ||
87 | } | ||
88 | }); | ||
89 | }, | ||
90 | checkChange () { | ||
91 | if (this.checkList.length === 0) { | ||
92 | this.tableData = []; | ||
93 | this.emptycolNum = datas.columns().emptycolNum; | ||
94 | } else { | ||
95 | this.loadData(); | ||
96 | } | ||
97 | }, | ||
98 | getQsztName (code) { | ||
99 | let name = ""; | ||
100 | for (let item of this.qsztList) { | ||
101 | if (item.value == code) { | ||
102 | name = item.label; | ||
103 | break; | ||
104 | } | ||
105 | } | ||
106 | return name; | ||
107 | }, | ||
108 | // 编辑 | ||
109 | editDialog(row){ | ||
110 | this.$confirm('此操作将新增一条补录信息, 是否继续?', '提示', { | ||
111 | confirmButtonText: '确定', | ||
112 | cancelButtonText: '取消', | ||
113 | type: 'warning' | ||
114 | }).then(() => { | ||
115 | this.$parent.addRepairRecord(row) | ||
116 | |||
117 | this.$message({ | ||
118 | type: 'success', | ||
119 | message: '补录成功!' | ||
120 | }); | ||
121 | }).catch(() => { | ||
122 | this.$message({ | ||
123 | type: 'info', | ||
124 | message: '取消编辑' | ||
125 | }); | ||
126 | }); | ||
127 | |||
128 | // this.$popupDialog("编辑", "djbworkflow/djbBook/components/djbeditDialog", { | ||
129 | // datalist:this.columns, | ||
130 | // data: row, | ||
131 | |||
132 | // }) | ||
133 | |||
134 | }, | ||
135 | // 删除 | ||
136 | deleteDialog(row){ | ||
137 | this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', { | ||
138 | confirmButtonText: '确定', | ||
139 | cancelButtonText: '取消', | ||
140 | type: 'warning' | ||
141 | }).then(() => { | ||
142 | // let bsmClmx = this.previewImg.imgList[this.previewImg.index].bsmClmx | ||
143 | // deleteClmx(bsmClmx).then(res => { | ||
144 | // if (res.code == 200) { | ||
145 | // that.$emit('updateList', res.result) | ||
146 | // that.$message({ | ||
147 | // message: '删除成功!', | ||
148 | // type: 'success' | ||
149 | // }) | ||
150 | // } | ||
151 | // }) | ||
152 | this.$message({ | ||
153 | type: 'success', | ||
154 | message: '删除成功!' | ||
155 | }); | ||
156 | }).catch(() => { | ||
157 | this.$message({ | ||
158 | type: 'info', | ||
159 | message: '已取消删除' | ||
160 | }); | ||
161 | }); | ||
162 | |||
163 | } | ||
164 | }, | ||
165 | }; | ||
166 | </script> | ||
167 | |||
168 | <style lang="scss" scoped> | ||
169 | @import "./qlxxCommon.scss"; | ||
170 | </style> |
1 | <!-- | ||
2 | * @Description :宗地基本信息 | ||
3 | * @Autor : miaofang | ||
4 | * @LastEditTime : 2023-06-15 13:57:20 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class="tableDivCss"> | ||
8 | <table cellpadding="0" cellspacing="0" class="tableCss"> | ||
9 | <tr> | ||
10 | <th colspan="5" class="title">宗地基本信息</th> | ||
11 | </tr> | ||
12 | <tr> | ||
13 | <td>单位</td> | ||
14 | <td colspan="4">{{ zdjbxx.mjdw | dictionary('A7') }}</td> | ||
15 | </tr> | ||
16 | <tr> | ||
17 | <td>不动产类型</td> | ||
18 | <td colspan="4">{{ bdclxList[zdjbxx.bdclx] }}</td> | ||
19 | </tr> | ||
20 | <tr> | ||
21 | <td>坐落</td> | ||
22 | <td colspan="4">{{ zdjbxx.zl }}</td> | ||
23 | </tr> | ||
24 | <tr> | ||
25 | <td rowspan="8">土地状况</td> | ||
26 | </tr> | ||
27 | <tr> | ||
28 | <td style="width:15%">宗地面积</td> | ||
29 | <td style="width:30%">{{ zdjbxx.zdmj }}m²</td> | ||
30 | <td style="width:15%">用途</td> | ||
31 | <td style="width:30%">{{ zdjbxx.ghytmc }}</td> | ||
32 | </tr> | ||
33 | <tr> | ||
34 | <td>等级</td> | ||
35 | <td>{{ zdjbxx.djmc }}</td> | ||
36 | <td>价格</td> | ||
37 | <td>{{ zdjbxx.jg }}</td> | ||
38 | </tr> | ||
39 | <tr> | ||
40 | <td>权利类型</td> | ||
41 | <td>{{ zdjbxx.qllxmc }}</td> | ||
42 | <td>权利性质</td> | ||
43 | <td>{{ zdjbxx.qlxzmc }}</td> | ||
44 | </tr> | ||
45 | <tr> | ||
46 | <td>权利设定方式</td> | ||
47 | <td>{{zdjbxx.qlsdfs | dictionary('A10')}}</td> | ||
48 | <td>容积率</td> | ||
49 | <td>{{ zdjbxx.rjl }}</td> | ||
50 | </tr> | ||
51 | <tr> | ||
52 | <td>建筑密度</td> | ||
53 | <td>{{ zdjbxx.jzmd }}</td> | ||
54 | <td>建筑限高</td> | ||
55 | <td>{{ zdjbxx.jzxg }}</td> | ||
56 | </tr> | ||
57 | <tr> | ||
58 | <td>图幅号</td> | ||
59 | <td>{{ zdjbxx.tfh }}</td> | ||
60 | <td>地籍号</td> | ||
61 | <td>{{ zdjbxx.djh }}</td> | ||
62 | </tr> | ||
63 | <tr> | ||
64 | <td>档案号</td> | ||
65 | <td>{{ zdjbxx.dah }}</td> | ||
66 | <td>地块代码</td> | ||
67 | <td>{{ zdjbxx.dkdm }}</td> | ||
68 | </tr> | ||
69 | <tr> | ||
70 | <td rowspan="5">宗地四至</td> | ||
71 | </tr> | ||
72 | |||
73 | <tr> | ||
74 | <td>东</td> | ||
75 | <td colspan="3">{{ zdjbxx.zdszd }}</td> | ||
76 | </tr> | ||
77 | <tr> | ||
78 | <td>南</td> | ||
79 | <td colspan="3">{{ zdjbxx.zdszn }}</td> | ||
80 | </tr> | ||
81 | <tr> | ||
82 | <td>西</td> | ||
83 | <td colspan="3">{{ zdjbxx.zdszx }}</td> | ||
84 | </tr> | ||
85 | <tr> | ||
86 | <td>北</td> | ||
87 | <td colspan="3">{{ zdjbxx.zdszb }}</td> | ||
88 | </tr> | ||
89 | <tr> | ||
90 | <td>登记时间</td> | ||
91 | <td colspan="2">{{ zdjbxx.bz }}</td> | ||
92 | <td>登簿人</td> | ||
93 | <td>{{ zdjbxx.bz }}</td> | ||
94 | </tr> | ||
95 | |||
96 | <tr> | ||
97 | <td>附记</td> | ||
98 | <td colspan="4">{{ zdjbxx.fj }}</td> | ||
99 | </tr> | ||
100 | <!-- <tr> | ||
101 | <td>状态</td> | ||
102 | <td colspan="2">{{ zdjbxx.zt }}</td> | ||
103 | <td>区县代码</td> | ||
104 | <td>{{ zdjbxx.qxdm }}</td> | ||
105 | </tr> --> | ||
106 | <tr v-if="showGroup"> | ||
107 | <td rowspan="4">变化情况</td> | ||
108 | |||
109 | <!-- <table cellspacing="0" cellpadding="0" :width="bhqkTableWidth"> | ||
110 | <tr v-for="(item, index) in bhqkColumns" :key="index"> | ||
111 | <td class="bhqkTh">{{ item.label }}</td> | ||
112 | </tr> | ||
113 | </table> --> | ||
114 | |||
115 | </tr> | ||
116 | |||
117 | <tr v-if="showGroup"> | ||
118 | <td>变化原因</td> | ||
119 | <td>变化内容</td> | ||
120 | <td>登记时间</td> | ||
121 | <td>登簿人</td> | ||
122 | </tr> | ||
123 | <!-- <tr > | ||
124 | <td>{{ zdbhqks[0].bhyy }}</td> | ||
125 | <td>{{ zdbhqks[0].bhnr }}</td> | ||
126 | <td>{{ zdbhqks[0].djsj }}</td> | ||
127 | <td>{{ zdbhqks[0].dbr }}</td> | ||
128 | </tr> --> | ||
129 | |||
130 | </table> | ||
131 | </div> | ||
132 | </template> | ||
133 | |||
134 | <script> | ||
135 | import store from '@/store/index.js' | ||
136 | import { getZdjjxxBybdcdyid } from "@/api/registerBook.js"; | ||
137 | |||
138 | export default { | ||
139 | data () { | ||
140 | return { | ||
141 | bhqkColumns: [ | ||
142 | { | ||
143 | prop: "ssywh", | ||
144 | label: "上手业务号", | ||
145 | }, | ||
146 | { | ||
147 | prop: "zddm", | ||
148 | label: "宗地代码", | ||
149 | }, | ||
150 | { | ||
151 | prop: "bhqzddm", | ||
152 | label: "变化前宗地代码", | ||
153 | }, | ||
154 | { | ||
155 | prop: "bhnr", | ||
156 | label: "变化内容", | ||
157 | }, | ||
158 | { | ||
159 | prop: "bhyy", | ||
160 | label: "变化原因", | ||
161 | }, | ||
162 | { | ||
163 | prop: "djsj", | ||
164 | label: "登记时间", | ||
165 | }, | ||
166 | { | ||
167 | prop: "dbr", | ||
168 | label: "登簿人", | ||
169 | }, | ||
170 | { | ||
171 | prop: "fj", | ||
172 | label: "附记", | ||
173 | }, | ||
174 | ], | ||
175 | bhqkTableWidth: 745, | ||
176 | zdjbxx: {}, | ||
177 | zdbhqks: [], | ||
178 | propsParam: this.$attrs, | ||
179 | showGroup: false, | ||
180 | bdclxList: ["", "宗地", "宗海", "自然幢", "多幢", "构筑物", "林权", "户"] | ||
181 | } | ||
182 | }, | ||
183 | filters: { | ||
184 | dictionary: function (value, param) { | ||
185 | const foundItem = store.getters.dictData[param].find(item => item.dcode === String(value)) | ||
186 | if (foundItem) { | ||
187 | return foundItem.dname | ||
188 | } | ||
189 | } | ||
190 | }, | ||
191 | created () { | ||
192 | this.loadData() | ||
193 | }, | ||
194 | methods: { | ||
195 | loadData () { | ||
196 | console.log("this.$attrs", this.$attrs); | ||
197 | console.log("this.propsParam", this.propsParam); | ||
198 | if (this.propsParam.bsmSldy) { | ||
199 | console.log("宗地基本信息"); | ||
200 | } else { | ||
201 | console.log("登记簿里宗地基本信息"); | ||
202 | getZdjjxxBybdcdyid({ bdcdyid: this.propsParam.bdcdyid }).then((res) => { | ||
203 | if (res.code === 200) { | ||
204 | this.zdjbxx = res.result.zdjbxx; | ||
205 | this.zdbhqks = res.result.zdbhqkList; | ||
206 | if (this.zdbhqks != null && this.zdbhqks.length > 0) { | ||
207 | this.showGroup = true; | ||
208 | } | ||
209 | } | ||
210 | }) | ||
211 | } | ||
212 | |||
213 | } | ||
214 | } | ||
215 | } | ||
216 | </script> | ||
217 | <style lang="scss" scoped> | ||
218 | @import "~@/styles/tablecss.scss"; | ||
219 | </style> |
... | @@ -63,7 +63,7 @@ export function getForm(tabName) { | ... | @@ -63,7 +63,7 @@ export function getForm(tabName) { |
63 | form = require("@/views/djbworkflow/djbBook/components/blxxtabs/cfdj.vue"); | 63 | form = require("@/views/djbworkflow/djbBook/components/blxxtabs/cfdj.vue"); |
64 | break; | 64 | break; |
65 | case "clxx": | 65 | case "clxx": |
66 | form = require("@/views/djbworkflow/djbBook/clxx.vue"); | 66 | form = require("@/views/workflow/components/clxx/clxxUnify.vue"); |
67 | break; | 67 | break; |
68 | case "spyj": | 68 | case "spyj": |
69 | form = require("@/views/djbworkflow/djbBook/spyj.vue"); | 69 | form = require("@/views/djbworkflow/djbBook/spyj.vue"); | ... | ... |
... | @@ -242,18 +242,19 @@ export default { | ... | @@ -242,18 +242,19 @@ export default { |
242 | type: "warning", | 242 | type: "warning", |
243 | }) | 243 | }) |
244 | .then(() => { | 244 | .then(() => { |
245 | deleteFlow(formdata).then((res) => { | 245 | console.log('删除流程'); |
246 | if (res.code === 200) { | 246 | // deleteFlow(formdata).then((res) => { |
247 | this.$message({ | 247 | // if (res.code === 200) { |
248 | type: "success", | 248 | // this.$message({ |
249 | message: "删除成功!", | 249 | // type: "success", |
250 | }); | 250 | // message: "删除成功!", |
251 | window.close(); | 251 | // }); |
252 | window.opener.getBpageList(); | 252 | // window.close(); |
253 | } else { | 253 | // window.opener.getBpageList(); |
254 | this.$message.error(res.message); | 254 | // } else { |
255 | } | 255 | // this.$message.error(res.message); |
256 | }); | 256 | // } |
257 | // }); | ||
257 | }) | 258 | }) |
258 | .catch(() => { | 259 | .catch(() => { |
259 | this.$message({ | 260 | this.$message({ | ... | ... |
... | @@ -112,7 +112,8 @@ export default { | ... | @@ -112,7 +112,8 @@ export default { |
112 | v-model={scope.row.qssj} | 112 | v-model={scope.row.qssj} |
113 | type="date" | 113 | type="date" |
114 | placeholder="选择日期" | 114 | placeholder="选择日期" |
115 | value-format="yyyy-MM-dd" | 115 | value-format="yyyy/MM/dd HH:mm:ss" |
116 | format="yyyy/MM/dd HH:mm:ss" | ||
116 | onblur={() => { | 117 | onblur={() => { |
117 | this.addrow(scope.row); | 118 | this.addrow(scope.row); |
118 | }} | 119 | }} |
... | @@ -128,7 +129,8 @@ export default { | ... | @@ -128,7 +129,8 @@ export default { |
128 | v-model={scope.row.jssj} | 129 | v-model={scope.row.jssj} |
129 | type="date" | 130 | type="date" |
130 | placeholder="选择日期" | 131 | placeholder="选择日期" |
131 | value-format="yyyy-MM-dd" | 132 | value-format="yyyy/MM/dd HH:mm:ss" |
133 | format="yyyy/MM/dd HH:mm:ss" | ||
132 | onblur={() => { | 134 | onblur={() => { |
133 | this.addrow(scope.row); | 135 | this.addrow(scope.row); |
134 | }} | 136 | }} |
... | @@ -155,7 +157,6 @@ export default { | ... | @@ -155,7 +157,6 @@ export default { |
155 | watch: { | 157 | watch: { |
156 | tableData: { | 158 | tableData: { |
157 | handler: function (val, oldVal) { | 159 | handler: function (val, oldVal) { |
158 | console.log("什么事件111", val); | ||
159 | let that = this; | 160 | let that = this; |
160 | this.$nextTick(() => { | 161 | this.$nextTick(() => { |
161 | if (val.length == 0 || !val) { | 162 | if (val.length == 0 || !val) { |
... | @@ -179,6 +180,8 @@ export default { | ... | @@ -179,6 +180,8 @@ export default { |
179 | methods: { | 180 | methods: { |
180 | // 修改事件 | 181 | // 修改事件 |
181 | addrow() { | 182 | addrow() { |
183 | console.log("this.$parent.bsmqlxx",this.$parent.$parent.bsmqlxx); | ||
184 | |||
182 | this.$emit("upDateTdytxxList", this.tableDataList); | 185 | this.$emit("upDateTdytxxList", this.tableDataList); |
183 | }, | 186 | }, |
184 | // 新增 | 187 | // 新增 | ... | ... |
-
Please register or sign in to post a comment