ceaf7821 by renchao@pashanhoo.com

Merge branch 'dev'

2 parents 526076e3 fe5df734
Showing 30 changed files with 781 additions and 220 deletions
...@@ -8,28 +8,36 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap ...@@ -8,28 +8,36 @@ let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('Ap
8 8
9 // 初始化内容 9 // 初始化内容
10 export function Init (data) { 10 export function Init (data) {
11 return request({
12 url: SERVER.SERVERAPI + "/rest/ywbl/zjgcdy/init",
13 method: 'post',
14 data
15 })
16 }
17 // 批量初始化内容
18 export function bacthInit (data) {
11 let apiUrl = ""; 19 let apiUrl = "";
12 switch (data.get("djlx")) { 20 switch (data.get("djlx")) {
13 case "100": 21 case "100":
14 apiUrl = "/rest/ywbl/zjgcdy/fristInit"; 22 apiUrl = "/rest/ywbl/zjgcdy/fristBatchInit";
15 break; 23 break;
16 case "200": 24 case "200":
17 apiUrl = "/rest/ywbl/zjgcdy/transferInit"; 25 apiUrl = "/rest/ywbl/zjgcdy/transferBatchInit";
18 break; 26 break;
19 case "300": 27 case "300":
20 apiUrl = "/rest/ywbl/zjgcdy/changeInit"; 28 apiUrl = "/rest/ywbl/zjgcdy/changeBatchInit";
21 break; 29 break;
22 case "400": 30 case "400":
23 apiUrl = "/rest/ywbl/zjgcdy/logoutInit"; 31 apiUrl = "/rest/ywbl/zjgcdy/logoutBatchInit";
24 break; 32 break;
25 case "500": 33 case "500":
26 apiUrl = "/rest/ywbl/zjgcdy/riviseInit"; 34 apiUrl = "/rest/ywbl/zjgcdy/riviseBatchInit";
27 break; 35 break;
28 case "901": 36 case "901":
29 apiUrl = "/rest/ywbl/zjgcdy/renewalInit"; 37 apiUrl = "/rest/ywbl/zjgcdy/renewaBatchlInit";
30 break; 38 break;
31 case "902": 39 case "902":
32 apiUrl = "/rest/ywbl/zjgcdy/replaceInit"; 40 apiUrl = "/rest/ywbl/zjgcdy/replaceBatchInit";
33 break; 41 break;
34 } 42 }
35 return request({ 43 return request({
...@@ -51,6 +59,15 @@ export function saveData (data, djlx) { ...@@ -51,6 +59,15 @@ export function saveData (data, djlx) {
51 }) 59 })
52 } 60 }
53 61
62 // 受理信息保存
63 export function saveBatchData (data, djlx) {
64 return request({
65 url: SERVER.SERVERAPI + "/rest/ywbl/zjgcdy/saveBatchData",
66 method: 'post',
67 data
68 })
69 }
70
54 // 流程图 71 // 流程图
55 export function getWorkFlowImage (bsmSlsq, bestepid) { 72 export function getWorkFlowImage (bsmSlsq, bestepid) {
56 return request({ 73 return request({
......
1 <!--
2 * @Descripttion: 表格选择器组件
3 * @version: 1.3
4 * @Author: sakuya
5 * @Date: 2021年6月10日10:04:07
6 * @LastEditors: Please set LastEditors
7 * @LastEditTime: 2023-06-29 11:14:11
8 -->
9
10 <template>
11 <el-select ref="select" v-model="defaultValue" :size="size" :clearable="clearable" :multiple="multiple" :collapse-tags="collapseTags"
12 :collapse-tags-tooltip="collapseTagsTooltip" :filterable="filterable" :placeholder="placeholder" :disabled="disabled" :filter-method="filterMethod"
13 @remove-tag="removeTag" @visible-change="visibleChange" @clear="clear">
14 <template #empty>
15 <div class="sc-table-select__table" :style="{width: tableWidth+'px'}" v-loading="loading">
16 <div class="sc-table-select__header">
17 <slot name="header" :form="formData" :submit="formSubmit"></slot>
18 </div>
19 <el-table ref="table" :data="tableData" :height="245" :highlight-current-row="!multiple" @row-click="click" @select="select" @select-all="selectAll">
20 <el-table-column v-if="multiple" type="selection" width="45"></el-table-column>
21 <el-table-column v-else type="index" width="45">
22 <template #default="scope"><span>{{scope.$index+(currentPage - 1) * pageSize + 1}}</span></template>
23 </el-table-column>
24 <slot></slot>
25 </el-table>
26 <div class="sc-table-select__page">
27 <el-pagination small background layout="prev, pager, next" :total="total" :page-size="pageSize" v-model:currentPage="currentPage"
28 @current-change="reload"></el-pagination>
29 </div>
30 </div>
31 </template>
32 </el-select>
33 </template>
34
35 <script>
36 import config from "./tableSelect";
37 export default {
38 props: {
39 modelValue: null,
40 apiObj: { type: Object, default: () => { } },
41 placeholder: { type: String, default: "请选择" },
42 size: { type: String, default: "small" },
43 clearable: { type: Boolean, default: false },
44 multiple: { type: Boolean, default: false },
45 filterable: { type: Boolean, default: false },
46 collapseTags: { type: Boolean, default: false },
47 collapseTagsTooltip: { type: Boolean, default: false },
48 disabled: { type: Boolean, default: false },
49 tableWidth: { type: Number, default: 400 },
50 mode: { type: String, default: "popover" },
51 props: { type: Object, default: () => { } }
52 },
53 data () {
54 return {
55 loading: false,
56 keyword: null,
57 defaultValue: [],
58 tableData: [],
59 pageSize: config.pageSize,
60 total: 0,
61 currentPage: 1,
62 defaultProps: {
63 label: config.props.label,
64 value: config.props.value,
65 page: config.request.page,
66 pageSize: config.request.pageSize,
67 keyword: config.request.keyword
68 },
69 formData: {}
70 }
71 },
72 computed: {
73
74 },
75 watch: {
76 modelValue: {
77 handler () {
78 this.defaultValue = this.modelValue
79 this.autoCurrentLabel()
80 },
81 deep: true
82 }
83 },
84 mounted () {
85 this.defaultProps = Object.assign(this.defaultProps, this.props);
86 this.defaultValue = this.modelValue
87 this.autoCurrentLabel()
88 },
89 methods: {
90 //表格显示隐藏回调
91 visibleChange (visible) {
92 if (visible) {
93 this.currentPage = 1
94 this.keyword = null
95 this.formData = {}
96 this.getData()
97 } else {
98 this.autoCurrentLabel()
99 }
100 },
101 //获取表格数据
102 async getData () {
103 this.loading = true;
104 var reqData = {
105 [this.defaultProps.page]: this.currentPage,
106 [this.defaultProps.pageSize]: this.pageSize,
107 [this.defaultProps.keyword]: this.keyword
108 }
109 Object.assign(reqData, this.formData)
110 // var res = await this.apiObj.get(reqData);
111 let res = {
112 code: 200,
113 data: {
114 total: 2, rows: [
115 {
116 user: 11111111111,
117 id: 111111111111
118 },
119 {
120 user: 2222222222222,
121 id: 22222222222
122 }
123 ]
124 },
125 message: ""
126 }
127 var parseData = config.parseData(res)
128 this.tableData = parseData.rows;
129 this.total = parseData.total;
130 this.loading = false;
131 //表格默认赋值
132 this.$nextTick(() => {
133 if (this.multiple) {
134 this.defaultValue.forEach(row => {
135 var setrow = this.tableData.filter(item => item[this.defaultProps.value] === row[this.defaultProps.value])
136 if (setrow.length > 0) {
137 this.$refs.table.toggleRowSelection(setrow[0], true);
138 }
139 })
140 } else {
141 var setrow = this.tableData.filter(item => item[this.defaultProps.value] === this.defaultValue[this.defaultProps.value])
142 this.$refs.table.setCurrentRow(setrow[0]);
143 }
144 this.$refs.table.setScrollTop(0)
145 })
146 },
147 //插糟表单提交
148 formSubmit () {
149 this.currentPage = 1
150 this.keyword = null
151 this.getData()
152 },
153 //分页刷新表格
154 reload () {
155 this.getData()
156 },
157 //自动模拟options赋值
158 autoCurrentLabel () {
159 this.$nextTick(() => {
160 if (this.multiple) {
161 this.$refs.select.selected.forEach(item => {
162 item.currentLabel = item.value[this.defaultProps.label]
163 })
164 } else {
165 this.$refs.select.selectedLabel = this.defaultValue[this.defaultProps.label]
166 }
167 })
168 },
169 //表格勾选事件
170 select (rows, row) {
171 var isSelect = rows.length && rows.indexOf(row) !== -1
172 if (isSelect) {
173 this.defaultValue.push(row)
174 } else {
175 this.defaultValue.splice(this.defaultValue.findIndex(item => item[this.defaultProps.value] == row[this.defaultProps.value]), 1)
176 }
177 this.autoCurrentLabel()
178 this.$emit('update:modelValue', this.defaultValue);
179 this.$emit('change', this.defaultValue);
180 },
181 //表格全选事件
182 selectAll (rows) {
183 var isAllSelect = rows.length > 0
184 if (isAllSelect) {
185 rows.forEach(row => {
186 var isHas = this.defaultValue.find(item => item[this.defaultProps.value] == row[this.defaultProps.value])
187 if (!isHas) {
188 this.defaultValue.push(row)
189 }
190 })
191 } else {
192 this.tableData.forEach(row => {
193 var isHas = this.defaultValue.find(item => item[this.defaultProps.value] == row[this.defaultProps.value])
194 if (isHas) {
195 this.defaultValue.splice(this.defaultValue.findIndex(item => item[this.defaultProps.value] == row[this.defaultProps.value]), 1)
196 }
197 })
198 }
199 this.autoCurrentLabel()
200 this.$emit('update:modelValue', this.defaultValue);
201 this.$emit('change', this.defaultValue);
202 },
203 click (row) {
204 if (this.multiple) {
205 //处理多选点击行
206 } else {
207 this.defaultValue = row
208 this.$refs.select.blur()
209 this.autoCurrentLabel()
210 this.$emit('update:modelValue', this.defaultValue);
211 this.$emit('change', this.defaultValue);
212 }
213 },
214 //tags删除后回调
215 removeTag (tag) {
216 var row = this.findRowByKey(tag[this.defaultProps.value])
217 this.$refs.table.toggleRowSelection(row, false);
218 this.$emit('update:modelValue', this.defaultValue);
219 },
220 //清空后的回调
221 clear () {
222 this.$emit('update:modelValue', this.defaultValue);
223 },
224 // 关键值查询表格数据行
225 findRowByKey (value) {
226 return this.tableData.find(item => item[this.defaultProps.value] === value)
227 },
228 filterMethod (keyword) {
229 if (!keyword) {
230 this.keyword = null;
231 return false;
232 }
233 this.keyword = keyword;
234 this.getData()
235 },
236 // 触发select隐藏
237 blur () {
238 this.$refs.select.blur();
239 },
240 // 触发select显示
241 focus () {
242 this.$refs.select.focus();
243 }
244 }
245 }
246 </script>
247
248 <style scoped>
249 .sc-table-select__table {
250 padding: 12px;
251 }
252 .sc-table-select__page {
253 padding-top: 12px;
254 }
255 </style>
1 /*
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-06-29 11:05:49
5 */
6 //表格选择器配置
7
8 export default {
9 pageSize: 10, //表格每一页条数
10 parseData: function (res) {
11 return {
12 data: res.data,
13 rows: res.data.rows, //分析行数据字段结构
14 total: res.data.total, //分析总数字段结构
15 msg: res.message, //分析描述字段结构
16 code: res.code //分析状态字段结构
17 }
18 },
19 request: {
20 page: 'page', //规定当前分页字段
21 pageSize: 'pageSize', //规定一页条数字段
22 keyword: 'keyword' //规定搜索字段
23 },
24 props: {
25 label: 'label', //映射label显示字段
26 value: 'value', //映射value值字段
27 }
28 }
...@@ -56,7 +56,7 @@ router.beforeEach(async (to, from, next) => { ...@@ -56,7 +56,7 @@ router.beforeEach(async (to, from, next) => {
56 await store.dispatch('user/getUserInfo') 56 await store.dispatch('user/getUserInfo')
57 router.addRoutes([...accessRoutes, { path: '*', redirect: '/404', hidden: true }]) 57 router.addRoutes([...accessRoutes, { path: '*', redirect: '/404', hidden: true }])
58 const routeTo = Cookies.get('routerTo') 58 const routeTo = Cookies.get('routerTo')
59 if (routeTo && routeTo !== '/') { 59 if (to.fullPath||routeTo && routeTo !== '/') {
60 next({ ...to, replace: true }) 60 next({ ...to, replace: true })
61 } else { 61 } else {
62 next('/home') 62 next('/home')
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
9 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px"> 9 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px">
10 <el-row> 10 <el-row>
11 <el-col :span="8"> 11 <el-col :span="8">
12 <el-form-item label="权利人类型" prop="sqrlx"> 12 <el-form-item label="权利人类型1" prop="sqrlx">
13 <el-select clearable v-model="ruleForm.sqrlx" class="width100" placeholder="请选择"> 13 <el-select clearable v-model="ruleForm.sqrlx" class="width100" placeholder="请选择">
14 <el-option v-for="item in dictData['A36']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 14 <el-option v-for="item in dictData['A36']" :key="item.dcode" :label="item.dname" :value="item.dcode">
15 </el-option> 15 </el-option>
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:39:47
5 -->
6 <template>
7 <dialogBox title="申请人信息" width="60%" isMain v-model="myValue" :isFullscreen="false" @submitForm="submitForm"
8 @closeDialog="closeDialog" :isButton="showButton">
9 <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="120px">
10 <el-row>
11 <el-col :span="8">
12 <el-form-item label="义务人类型1" prop="sqrlx">
13 <el-select clearable v-model="ruleForm.sqrlx" class="width100" placeholder="请选择">
14 <el-option v-for="item in dictData['A36']" :key="item.dcode" :label="item.dname" :value="item.dcode">
15 </el-option>
16 </el-select>
17 </el-form-item>
18 </el-col>
19 <el-col :span="8">
20 <el-form-item label="姓名/名称" prop="sqrmc">
21 <el-input v-model="ruleForm.sqrmc" maxlegth="15"></el-input>
22 </el-form-item>
23 </el-col>
24 <el-col :span="8">
25 <el-form-item label="证件种类" prop="zjzl">
26 <el-select clearable v-model="ruleForm.zjzl" class="width100" placeholder="请选择">
27 <el-option v-for="item in dictData['A30']" :key="item.dcode" :label="item.dname" :value="item.dcode">
28 </el-option>
29 </el-select>
30 </el-form-item>
31 </el-col>
32 </el-row>
33 <el-row>
34 <el-col :span="8">
35 <el-form-item label="证件号" prop="zjh">
36 <el-input v-model="ruleForm.zjh" maxlength="15" oninput="value=value.replace(/[^\X0-9]/g,'')"></el-input>
37 </el-form-item>
38 </el-col>
39 <el-col :span="8">
40 <el-form-item label="联系电话" prop="dh">
41 <el-input v-model="ruleForm.dh" maxlength="11" oninput="value=value.replace(/[^\d]/g,'')"></el-input>
42 </el-form-item>
43 </el-col>
44 <el-col :span="8">
45 <el-form-item label="性别">
46 <el-select clearable v-model="ruleForm.xb" class="width100" placeholder="请选择">
47 <el-option v-for="item in dictData['A43']" :key="item.dcode" :label="item.dname" :value="item.dcode">
48 </el-option>
49 </el-select>
50 </el-form-item>
51 </el-col>
52 </el-row>
53 <el-row>
54 <el-col :span="8">
55 <el-form-item label="法人名称">
56 <el-input v-model="ruleForm.frmc"></el-input>
57 </el-form-item>
58 </el-col>
59 <el-col :span="8">
60 <el-form-item label="国家/地区">
61 <el-input v-model="ruleForm.gjdq"></el-input>
62 </el-form-item>
63 </el-col>
64 <el-col :span="8">
65 <el-form-item label="户籍所在省市">
66 <el-input v-model="ruleForm.szss"></el-input>
67 </el-form-item>
68 </el-col>
69 </el-row>
70
71 <el-row>
72 <el-col :span="16">
73 <el-form-item label="地址">
74 <el-input v-model="ruleForm.txdz"></el-input>
75 </el-form-item>
76 </el-col>
77 <el-col :span="8">
78 <el-form-item label="邮编">
79 <el-input v-model="ruleForm.yb"></el-input>
80 </el-form-item>
81 </el-col>
82 </el-row>
83
84 <el-row>
85 <el-col :span="8">
86 <el-form-item label="发证机关">
87 <el-input v-model="ruleForm.fzjg"></el-input>
88 </el-form-item>
89 </el-col>
90 <el-col :span="8">
91 <el-form-item label="电子邮件">
92 <el-input v-model="ruleForm.dzyj"></el-input>
93 </el-form-item>
94 </el-col>
95 <el-col :span="8">
96 <el-form-item label="权利比例">
97 <el-input v-model="ruleForm.qlbl"></el-input>
98 </el-form-item>
99 </el-col>
100 </el-row>
101
102 <el-row>
103 <el-col :span="8">
104 <el-form-item label="工作单位">
105 <el-input v-model="ruleForm.gzdw"></el-input>
106 </el-form-item>
107 </el-col>
108 <el-col :span="16">
109 <el-form-item label="代理机构">
110 <el-input v-model="ruleForm.dljg"></el-input>
111 </el-form-item>
112 </el-col>
113 </el-row>
114
115 <el-row>
116 <el-col :span="8">
117 <el-form-item label="联系电话">
118 <el-input v-model="ruleForm.lxdh" maxlength="11" oninput="value=value.replace(/[^\d]/g,'')"></el-input>
119 </el-form-item>
120 </el-col>
121 <el-col :span="8">
122 <el-form-item label="代理人姓名">
123 <el-input v-model="ruleForm.dlrxm"></el-input>
124 </el-form-item>
125 </el-col>
126 <el-col :span="8">
127 <el-form-item label="代理人证件类型">
128 <el-select clearable v-model="ruleForm.dlrzjlx" class="width100" placeholder="请选择">
129 <el-option v-for="item in dictData['A30']" :key="item.dcode" :label="item.dname" :value="item.dcode">
130 </el-option>
131 </el-select>
132 </el-form-item>
133 </el-col>
134 </el-row>
135 <el-row>
136 <el-col :span="8">
137 <el-form-item label="代理人证件号">
138 <el-input v-model="ruleForm.dlrzjh" maxlength="20"></el-input>
139 </el-form-item>
140 </el-col>
141 </el-row>
142 </el-form>
143 </dialogBox>
144 </template>
145 <script>
146 import { mapGetters } from "vuex";
147 export default {
148 props: {
149 value: { type: Boolean, default: false },
150 details: { type: Object, default: {} },
151 showButton: { type: Boolean, default: false }
152 },
153 computed: {
154 ...mapGetters(["dictData"]),
155 },
156 data () {
157 return {
158 myValue: this.value,
159 ruleForm: {
160 sqrlx: "",
161 sqrmc: "",
162 zjzl: "",
163 zjh: "",
164 dh: "",
165 xb: "",
166 frmc: "",
167 gjdq: "",
168 szss: "",
169 txdz: "",
170 yb: "",
171 fzjg: "",
172 dzyj: "",
173 qlbl: "",
174 gzdw: "",
175 dljg: "",
176 dlrxm: "",
177 dlrzjlx: "",
178 dlrzjh: "",
179 },
180 rules: {
181 sqrlx: [{ required: true, message: "义务人类型", trigger: "change" }],
182 sqrmc: [{ required: true, message: "姓名/名称", trigger: "blur" }],
183 zjzl: [{ required: true, message: "证件种类", trigger: "change" }],
184 zjh: [{ required: true, message: "证件号", trigger: "blur" }],
185 },
186 };
187 },
188 watch: {
189 value (val) {
190 this.myValue = _.cloneDeep(val);
191 },
192 details: {
193 handler: function (val, oldVal) {
194 this.ruleForm = val;
195 },
196 deep: true,
197 },
198 },
199 methods: {
200 closeDialog () {
201 this.$emit("input", false);
202 this.$refs["ruleForm"].resetFields();
203 },
204 submitForm () {
205 this.$refs.ruleForm.validate((valid) => {
206 if (valid) {
207 this.$emit("input", false);
208 this.$emit("updateDetail", _.cloneDeep(this.ruleForm));
209 } else {
210 return false;
211 }
212 });
213 },
214 },
215 };
216 </script>
217 <style scoped lang="scss">
218 @import "~@/styles/dialogBoxheader.scss";
219 .submit-button {
220 text-align: center;
221 height: 52px;
222 padding-top: 10px;
223 background-color: #fff;
224 }
225 </style>
...@@ -4,7 +4,7 @@ import { log } from "bpmn-js-token-simulation"; ...@@ -4,7 +4,7 @@ import { log } from "bpmn-js-token-simulation";
4 var qlxxPage = [ 4 var qlxxPage = [
5 { qllx: "A01", id: "jsydsyq", form: "jsydsyq.vue", label: "集体土地所有权" }, 5 { qllx: "A01", id: "jsydsyq", form: "jsydsyq.vue", label: "集体土地所有权" },
6 { qllx: "A02", id: "jsydsyq", form: "jsydsyq.vue", label: "国家土地所有权" }, 6 { qllx: "A02", id: "jsydsyq", form: "jsydsyq.vue", label: "国家土地所有权" },
7 { qllx: "A03", id: "fdcq2", form: "jsydsyq.vue", label: "国有建设用地使用权" }, 7 { qllx: "A03", id: "jsydsyq", form: "jsydsyq.vue", label: "国有建设用地使用权" },
8 { qllx: "A04", id: "", form: "", label: "国有建设用地使用权/房屋所有权" }, 8 { qllx: "A04", id: "", form: "", label: "国有建设用地使用权/房屋所有权" },
9 { qllx: "A05", id: "jsydsyq", form: "jsydsyq.vue", label: "宅基地使用权" }, 9 { qllx: "A05", id: "jsydsyq", form: "jsydsyq.vue", label: "宅基地使用权" },
10 { qllx: "A06", id: "", form: "", label: "宅基地使用权/房屋所有权" }, 10 { qllx: "A06", id: "", form: "", label: "宅基地使用权/房屋所有权" },
...@@ -75,12 +75,12 @@ export function getNode(qllx, qlxx, bdcdylx) { ...@@ -75,12 +75,12 @@ export function getNode(qllx, qlxx, bdcdylx) {
75 if (bdcdylx == "4") { 75 if (bdcdylx == "4") {
76 node = { id: "fdcq1", form: "fdcq1.vue", label: qlxxPage[i].label}; 76 node = { id: "fdcq1", form: "fdcq1.vue", label: qlxxPage[i].label};
77 } else { 77 } else {
78
78 node = { id: "fdcq2", form: "fdcq2.vue", label: qlxxPage[i].label}; 79 node = { id: "fdcq2", form: "fdcq2.vue", label: qlxxPage[i].label};
79 } 80 }
80 } else { 81 } else {
81 console.log("jin1111"); 82 console.log("jin1111");
82 node = { id: qlxxPage[i].id, form: qlxxPage[i].form, label: qlxxPage[i].label}; 83 node = { id: qlxxPage[i].id, form: qlxxPage[i].form, label: qlxxPage[i].label};
83 console.log("nodenodenodenode",node);
84 } 84 }
85 break; 85 break;
86 } 86 }
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:41:35 4 * @LastEditTime: 2023-05-17 10:41:20
5 --> 5 -->
6 <template> 6 <template>
7 <lb-table :column="column" :maxHeight="300" heightNumSetting :pagination="false" :key="key" :data="tableData"> 7 <div>
8 <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="150"
9 :data="tableDataList">
8 </lb-table> 10 </lb-table>
11 <addYwr v-model="dialog" :details="details" :showButton="showButton" @updateDetail="handleupdateDetail" />
12 </div>
9 </template> 13 </template>
10 <script> 14 <script>
11 import addQlr from './dialog/addQlr.vue' 15 import addYwr from './dialog/addYwr.vue'
12 import { mapGetters } from 'vuex' 16 import { mapGetters } from 'vuex'
13 export default { 17 export default {
14 components: { 18 components: {
15 addQlr 19 addYwr
16 }, 20 },
17 computed: { 21 computed: {
18 ...mapGetters(["dictData"]), 22 ...mapGetters(["dictData"]),
...@@ -34,14 +38,16 @@ ...@@ -34,14 +38,16 @@
34 key: 0, 38 key: 0,
35 dataIndex: 0, 39 dataIndex: 0,
36 dialog: false, 40 dialog: false,
41 isaddupdate: false,
42 showButton: this.$route.query.viewtype ? false : true,
37 details: {}, 43 details: {},
38 tableDataList: [], 44 tableDataList: [],
39 qlrCommonTable: [ 45 InformationTable: [
40 { 46 {
41 width: '50', 47 width: '50',
42 renderHeader: (h, scope) => { 48 renderHeader: (h, scope) => {
43 return <div> { 49 return <div> {
44 this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.handleAdd() }}></i> 50 this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i>
45 } 51 }
46 </div> 52 </div>
47 }, 53 },
...@@ -50,19 +56,33 @@ ...@@ -50,19 +56,33 @@
50 <div> 56 <div>
51 { 57 {
52 this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> : 58 this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> :
53 <i class="el-icon-minus pointer" onClick={() => { this.handleMinus(scope.$index, scope.row) }}></i> 59 <i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i>
54 } 60 }
55 </div> 61 </div>
56 ) 62 )
57 } 63 }
58 }, 64 },
59 { 65 {
66 label: '身份证读卡器',
67 align: 'center',
68 render: (h, scope) => {
69 return <el-button type="text" icon="el-icon-tickets" onClick={() => { this.readClick(scope) }}>读取</el-button>
70 }
71 },
72 {
60 prop: "sqrmc", 73 prop: "sqrmc",
61 label: "姓名/名称" 74 label: "姓名/名称"
62 }, 75 },
63 { 76 {
64 prop: "zjzl", 77 prop: "zjzl",
65 label: "证件种类" 78 label: "证件种类",
79 render: (h, scope) => {
80 return this.dictData['A30'] && this.dictData['A30'].map(option => {
81 if (option.dcode == scope.row.zjzl) {
82 return <span>{option.dname}</span>
83 }
84 })
85 }
66 }, 86 },
67 { 87 {
68 prop: "zjh", 88 prop: "zjh",
...@@ -73,29 +93,32 @@ ...@@ -73,29 +93,32 @@
73 label: "联系电话" 93 label: "联系电话"
74 }, 94 },
75 { 95 {
76 prop: "frmc",
77 label: "法人"
78 },
79 {
80 label: '操作', 96 label: '操作',
81 render: (h, scope) => { 97 render: (h, scope) => {
82 return ( 98 return (
83 <div> 99 <div>
84 { 100 {
85 <el-button icon="el-icon-view" type="text" onClick={() => { this.handleView(scope.$index, scope.row) }}>查看</el-button> 101 this.$route.query.viewtype ? <el-button
102 icon="el-icon-view"
103 type="text"
104 onClick={() => { this.queryViewClick(scope.$index, scope.row) }}>查看</el-button> : <el-button
105 icon="el-icon-edit-outline"
106 type="text"
107 onClick={() => { this.editClick(scope.$index, scope.row) }}>编辑</el-button>
86 } 108 }
87 </div> 109 </div>
88 ) 110 )
89 } 111 }
90 } 112 }
91 ], 113 ],
92 column: this.qlrCommonTable 114 column: []
93 } 115 }
94 }, 116 },
95 watch: { 117 watch: {
96 tableData: { 118 tableData: {
97 handler: function (val, oldVal) { 119 handler: function (val, oldVal) {
98 let that = this 120 let that = this
121 this.$nextTick(() => {
99 if (val.length == 0 || !val) { 122 if (val.length == 0 || !val) {
100 that.tableDataList = _.cloneDeep([{ 123 that.tableDataList = _.cloneDeep([{
101 sqrmc: '', 124 sqrmc: '',
...@@ -106,16 +129,19 @@ ...@@ -106,16 +129,19 @@
106 } else { 129 } else {
107 that.tableDataList = _.cloneDeep(val) 130 that.tableDataList = _.cloneDeep(val)
108 } 131 }
132 })
109 }, 133 },
110 immediate: true, 134 immediate: true,
111 deep: true 135 deep: true
112 }, 136 },
113 gyfs: { 137 gyfs: {
114 handler (newVal, oldValue) { 138 handler (newVal, oldValue) {
115 let dataList = _.cloneDeep(this.qlrCommonTable) 139 let dataList = _.cloneDeep(this.InformationTable)
116 if (newVal == '1') { 140 if (newVal == 0) {
117 this.column = _.cloneDeep(dataList).slice(1, dataList.length) 141 // this.column = _.cloneDeep(dataList).slice(1, dataList.length)
118 } else if ((newVal == '2')) { 142 this.column = _.cloneDeep(dataList)
143
144 } else if ((newVal == '1' || newVal == '3')) {
119 this.column = dataList 145 this.column = dataList
120 } else { 146 } else {
121 this.column = _.cloneDeep(dataList) 147 this.column = _.cloneDeep(dataList)
...@@ -130,33 +156,66 @@ ...@@ -130,33 +156,66 @@
130 } 156 }
131 }, 157 },
132 methods: { 158 methods: {
133 updateDetail (value) { 159 handleupdateDetail (value) {
134 this.tableDataList[this.dataIndex] = value 160 if (this.isaddupdate) {
135 this.key++ 161 if (!_.isEqual(value, this.tableData)) {
162 this.tableDataList[this.tableDataList.length] = _.cloneDeep(value);
163 this.$emit('upDateQlrxxList', this.tableDataList)
164 }
165 } else {
166 if (!_.isEqual(value, this.tableData)) {
167 this.tableDataList[this.dataIndex] = _.cloneDeep(value);
136 this.$emit('upDateQlrxxList', this.tableDataList) 168 this.$emit('upDateQlrxxList', this.tableDataList)
169 }
170 }
171 this.key++
137 }, 172 },
138 // 添加 173 // 新增
139 handleAdd () { 174 addClick () {
175 if (this.gyfs == '0' && this.tableDataList.length > 0) {
176 this.$message.warning("当前共有方式为单独所有,无法添加多个权利人")
177 } else {
140 this.dialog = true 178 this.dialog = true
179 this.isaddupdate = true
180 }
141 }, 181 },
142 // 减 182
143 handleMinus (index, row) { 183 // 删除
184 deleClick (index, row) {
185 this.$confirm('确定要删除吗, 是否继续?', '提示', {
186 confirmButtonText: '确定',
187 cancelButtonText: '取消',
188 type: 'warning'
189 }).then(() => {
144 this.tableData.splice(index, 1) 190 this.tableData.splice(index, 1)
191 }).catch(() => {
192 });
145 }, 193 },
194
146 // 身份证读取 195 // 身份证读取
147 readClick () { }, 196 readClick () { },
197
148 // 修改 198 // 修改
149 handleEdit (index, row) { 199 editClick (index, row) {
150 console.log(row, 'rowrowrowrowrow'); 200 // popupDialog("申请人信息", "workflow/components/addYwr", {
201 // showButton: this.$route.query.viewtype ? false : true,
202 // dataIndex :index,
203 // details :row,
204 // isaddupdate :false
205 // });
151 this.dataIndex = index 206 this.dataIndex = index
152 this.dialog = true 207 this.dialog = true
153 this.details = row 208 this.details = row
209 this.isaddupdate = false
154 }, 210 },
155 handleView () { 211 queryViewClick (index, row) {
212 // popupDialog("申请人信息", "workflow/components/addYwr", {
213 // showButton: this.$route.query.viewtype ? false : true,
214 // details: row,
215 // });
156 this.dialog = true 216 this.dialog = true
217 this.details = row
157 } 218 }
158 } 219 }
159 } 220 }
160 </script> 221 </script>
161 <style scoped lang='scss'>
162 </style>
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -338,7 +338,7 @@ ...@@ -338,7 +338,7 @@
338 <script> 338 <script>
339 import { mapGetters } from "vuex"; 339 import { mapGetters } from "vuex";
340 import { init, save } from "@/api/djbbl.js"; 340 import { init, save } from "@/api/djbbl.js";
341 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 341 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
342 import tdytTable from "@/views/workflow/components/tdytTable"; 342 import tdytTable from "@/views/workflow/components/tdytTable";
343 // import the component 343 // import the component
344 // import Treeselect from '@riophae/vue-treeselect' 344 // import Treeselect from '@riophae/vue-treeselect'
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
38 </el-col> 38 </el-col>
39 </el-row> 39 </el-row>
40 <div class="slxx_title title-block"> 40 <div class="slxx_title title-block">
41 房地产权(独幢、层、套、间房屋) 41 国有建设用地使用权信息
42 <div class="triangle"></div> 42 <div class="triangle"></div>
43 </div> 43 </div>
44 <el-row :gutter="10"> 44 <el-row :gutter="10">
...@@ -238,7 +238,7 @@ ...@@ -238,7 +238,7 @@
238 import store from "@/store/index.js"; 238 import store from "@/store/index.js";
239 import { mapGetters } from "vuex"; 239 import { mapGetters } from "vuex";
240 import { init, save } from "@/api/djbbl.js"; 240 import { init, save } from "@/api/djbbl.js";
241 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; 241 import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable";
242 import tdytTable from "@/views/workflow/components/tdytTable"; 242 import tdytTable from "@/views/workflow/components/tdytTable";
243 export default { 243 export default {
244 components: { qlrCommonTable, tdytTable }, 244 components: { qlrCommonTable, tdytTable },
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
7 export function getForm(tabName) { 7 export function getForm(tabName) {
8 let form; 8 let form;
9 switch (tabName) { 9 switch (tabName) {
10
11 case "zdjbxx": 10 case "zdjbxx":
12 form = require("@/views/registerBook/zdjbxx.vue"); 11 form = require("@/views/registerBook/zdjbxx.vue");
13 break; 12 break;
......
...@@ -214,7 +214,7 @@ export default { ...@@ -214,7 +214,7 @@ export default {
214 }, 214 },
215 //切换选项卡内容组件 215 //切换选项卡内容组件
216 getFromRouter(tabname) { 216 getFromRouter(tabname) {
217 console.log("tabname", tabname); 217 console.log("tabnameeeeeeeeeeeeeeeeee", tabname,this.tabList);
218 this.componentTag = getForm(tabname); 218 this.componentTag = getForm(tabname);
219 }, 219 },
220 closefp() { 220 closefp() {
......
...@@ -415,6 +415,19 @@ class data extends filter { ...@@ -415,6 +415,19 @@ class data extends filter {
415 { 415 {
416 prop: "dybdclx", 416 prop: "dybdclx",
417 label: "抵押不动产类型", 417 label: "抵押不动产类型",
418 render: (h, scope) => {
419 return (
420 <div>
421 <span v-show={scope.row.dybdclx == '1'}>土地</span>
422 <span v-show={scope.row.dybdclx == '2'}>土地和房屋</span>
423 <span v-show={scope.row.dybdclx == '3'}>林地和林木</span>
424 <span v-show={scope.row.dybdclx == '4'}>土地和在建建筑物</span>
425 <span v-show={scope.row.dybdclx == '5'}>海域</span>
426 <span v-show={scope.row.dybdclx == '6'}>海域和构筑物</span>
427 <span v-show={scope.row.dybdclx == '7'}>其它</span>
428 </div>
429 )
430 }
418 }, 431 },
419 { 432 {
420 prop: "djlxmc", 433 prop: "djlxmc",
...@@ -441,16 +454,8 @@ class data extends filter { ...@@ -441,16 +454,8 @@ class data extends filter {
441 label: "在建建筑物坐落", 454 label: "在建建筑物坐落",
442 }, 455 },
443 { 456 {
444 prop: "dyfs", 457 prop: "dyfsmc",
445 label: "抵押方式", 458 label: "抵押方式",
446 render: (h, scope) => {
447 return (
448 <div>
449 <span v-show={scope.row.dyfs == '1'}>一般抵押权</span>
450 <span v-show={scope.row.dyfs == '2'}>最高额抵押权</span>
451 </div>
452 )
453 }
454 }, 459 },
455 { 460 {
456 prop: "qlrmc", 461 prop: "qlrmc",
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
19 margin-top: 15px; 19 margin-top: 15px;
20 line-height: 24px; 20 line-height: 24px;
21 font-size: 18px;">根据《不动产登记暂行条例》和《不动产登记资料查询暂行办法》 21 font-size: 18px;">根据《不动产登记暂行条例》和《不动产登记资料查询暂行办法》
22 有关规定,经线上查询不动产登记信息系统,权利人: 杜林 22 有关规定,经线上查询不动产登记信息系统,权利人: {{form.cxjgListp[0].qlrmc}}
23 ,证件号:612322197805120010,截止{{newDatez}} 23 ,证件号:{{form.cxjgListp[0].zjhm}},截止{{newDatez}}
24 ,名下不动产登记信息查询结果如下:</p> 24 ,名下不动产登记信息查询结果如下:</p>
25 <table style=" border-collapse: collapse; 25 <table style=" border-collapse: collapse;
26 width: 100%; 26 width: 100%;
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-04-26 16:05:28
5 -->
6 <template>
7 <div class='batchDel'>
8 <lb-table :column="columns" :data="formData.dataList" :maxHeight="460" :heightNumSetting="true" :pagination="false"
9 @selection-change="handleSelectionChange">
10 </lb-table>
11 <div class="text-center">
12 <el-button @click="$popupCacel">取消</el-button>
13 <el-button type="primary" @click="submitdelclick" plain>确定</el-button>
14 </div>
15 </div>
16 </template>
17 <script>
18 import { deleteFlow } from "@/api/ywbl.js"
19 import store from '@/store/index.js'
20 export default {
21 components: {},
22 props: {
23 formData: {
24 type: Object,
25 default: {}
26 }
27 },
28 data () {
29 return {
30 columns: [
31 {
32 type: 'selection',
33 label: '全选'
34 },
35 {
36 label: '序号',
37 type: 'index',
38 width: '50',
39 },
40 {
41 prop: "bdcdyh",
42 label: "不动产单元号",
43 },
44 {
45 prop: "zl",
46 label: "坐落",
47 },
48 ],
49 dataList: [],
50 selectBdcdy: [],
51 }
52 },
53 methods: {
54 // 批量删除确定按钮
55 submitdelclick () {
56 var formdata = new FormData();
57 formdata.append("bsmSldyList", this.selectBdcdy);
58 formdata.append("bsmSlsq", this.formData.bsmSlsq);
59 deleteFlow(formdata).then(res => {
60 if (res.code == 200) {
61 this.$popupCacel();
62 store.dispatch('user/refreshPage', true);
63 this.$message.success("删除成功");
64 } else {
65 this.$message.error(res.message)
66 }
67 })
68 },
69 // 批量删除勾选事件
70 handleSelectionChange (e) {
71 this.selectBdcdy = [];
72 e.forEach((item, index) => {
73 this.selectBdcdy.push(item.bsmSldy)
74 })
75 }
76 }
77 }
78 </script>
79 <style scoped lang='scss'>
80 </style>
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-06-25 10:33:16 4 * @LastEditTime: 2023-06-30 14:32:40
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;"> 7 <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;">
8 <!-- 表单部分 --> 8 <!-- 表单部分 -->
9 <el-tabs v-model="activeName" @tab-click="handleClick" v-if="headTabBdcqz.length >1"> 9 <el-tabs v-model="activeName" @tab-click="handleClick" v-if="headTabBdcqz.length >1">
10 <el-tab-pane :label="item.qlr + '(' + item.bdcqzh + ')'" :name="item.bdcqzlx" 10 <el-tab-pane :label="item.qlr + (item.bdcqzh !== null ? '(' + item.bdcqzh + ')' : '')" :name="item.bsmBdcqz"
11 v-for="(item, index) in headTabBdcqz" :key="index"></el-tab-pane> 11 v-for="(item, index) in headTabBdcqz" :key="index">
12 </el-tab-pane>
12 </el-tabs> 13 </el-tabs>
13 <div class="no-data" v-if="headTabBdcqz.length == 0">暂无数据</div> 14 <div class="no-data" v-if="headTabBdcqz.length == 0">暂无数据</div>
14 <canvas ref="zs" width="1000" v-show="activeName=='1'" height="700"></canvas> 15 <canvas ref="zs" width="1000" v-show="headTabBdcqz[0]&&headTabBdcqz[0].bdcqzlx==1" height="700"></canvas>
15 <canvas ref="zm" width="1180" v-show="activeName!='1'" height="780"></canvas> 16 <canvas ref="zm" width="1180" v-show="headTabBdcqz[0]&&headTabBdcqz[0].bdcqzlx!=1" height="780"></canvas>
16 </div> 17 </div>
17 </template> 18 </template>
18 19
...@@ -49,13 +50,14 @@ ...@@ -49,13 +50,14 @@
49 ruleForm: { 50 ruleForm: {
50 bsmBdcqz: '', 51 bsmBdcqz: '',
51 szmc: '不动产权证书', 52 szmc: '不动产权证书',
52 bdcqzlx: '', 53 bsmBdcqz: '',
53 szzh: '', 54 szzh: '',
54 ysxlh: '', 55 ysxlh: '',
55 }, 56 },
56 } 57 }
57 }, 58 },
58 mounted () { 59 mounted () {
60 debugger
59 this.columns = datas.columns(); 61 this.columns = datas.columns();
60 if (this.formData.bdcqz) { 62 if (this.formData.bdcqz) {
61 //从缮证进入 63 //从缮证进入
...@@ -77,10 +79,10 @@ ...@@ -77,10 +79,10 @@
77 getSlsqBdcqzList({ bsmSlsq: this.formData.bsmSlsq }).then(res => { 79 getSlsqBdcqzList({ bsmSlsq: this.formData.bsmSlsq }).then(res => {
78 if (res.code == 200) { 80 if (res.code == 200) {
79 if (res.result && res.result.length > 0) { 81 if (res.result && res.result.length > 0) {
80 this.activeName = res.result[0].bdcqzlx 82 this.activeName = res.result[0].bsmBdcqz
81 this.bdcqz = res.result[0] 83 this.bdcqz = res.result[0]
82 this.headTabBdcqz = res.result 84 this.headTabBdcqz = res.result
83 if (this.activeName == 1) { 85 if (res.result[0].bdcqzlx == 1) {
84 this.drawTextOnImage() 86 this.drawTextOnImage()
85 } else { 87 } else {
86 this.drawTextzmImage() 88 this.drawTextzmImage()
...@@ -93,7 +95,7 @@ ...@@ -93,7 +95,7 @@
93 //tab表头切换方法 95 //tab表头切换方法
94 handleClick (e) { 96 handleClick (e) {
95 this.bdcqz = this.headTabBdcqz[e.index - 0] 97 this.bdcqz = this.headTabBdcqz[e.index - 0]
96 this.activeName = this.headTabBdcqz.bdcqzlx 98 this.activeName = this.headTabBdcqz.bsmBdcqz
97 if (this.activeName == '1') { 99 if (this.activeName == '1') {
98 this.drawTextOnImage() 100 this.drawTextOnImage()
99 } else { 101 } else {
...@@ -157,6 +159,15 @@ ...@@ -157,6 +159,15 @@
157 context.drawImage(image, 0, 0); 159 context.drawImage(image, 0, 0);
158 context.font = '18px 楷体'; 160 context.font = '18px 楷体';
159 context.fillStyle = '#000000'; 161 context.fillStyle = '#000000';
162 // ysxlh
163 context.fillText(this.bdcqz.ysxlh ? this.bdcqz.ysxlh : '', 280, 712);
164 // djsj
165 if (this.bdcqz.djsj) {
166 let djsjList = this.bdcqz.djsj.split(' ')[0].split('/')
167 context.fillText(djsjList[0] ? djsjList[0] : '', 327, 580);
168 context.fillText(djsjList[1] ? djsjList[1] : '', 393, 580);
169 context.fillText(djsjList[2] ? djsjList[2] : '', 443, 580);
170 }
160 context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 620, 125); 171 context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : '', 620, 125);
161 context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 665, 125); 172 context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : '', 665, 125);
162 context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 750, 125); 173 context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : '', 750, 125);
...@@ -191,7 +202,7 @@ ...@@ -191,7 +202,7 @@
191 }); 202 });
192 }); 203 });
193 // fj 204 // fj
194 context.fillText(this.bdcqz.fj ? this.bdcqz.fj : '', 775, 650); 205 context.fillText(this.bdcqz.fj ? this.bdcqz.fj : '', 775, 600);
195 }; 206 };
196 207
197 image.src = this.bdczmSrc; 208 image.src = this.bdczmSrc;
......
...@@ -107,18 +107,20 @@ export default { ...@@ -107,18 +107,20 @@ export default {
107 switch (qllx) { 107 switch (qllx) {
108 case 'A04': 108 case 'A04':
109 this.showBatch = true; 109 this.showBatch = true;
110 this.batchButtonName = '批量单元信息'; 110 this.batchButtonName = '房屋批量操作';
111 break; 111 break;
112 case 'B39': 112 case 'B39':
113 this.showBatch = true; 113 this.showBatch = true;
114 this.batchButtonName = '批量查封清单信息'; 114 this.batchButtonName = '查封批量操作';
115 break; 115 break;
116 case 'A37': 116 case 'A37':
117 this.showBatch = true; 117 this.showBatch = true;
118 this.batchButtonName = '批量抵押'; 118 this.batchButtonName = '抵押批量操作';
119 break;
120 case 'B37':
121 this.showBatch = true;
122 this.batchButtonName = '在建工程抵押批量操作';
119 break; 123 break;
120 default:
121 this.batchButtonName = '批量操作';
122 } 124 }
123 } 125 }
124 }, 126 },
......
1 <!-- 1 <!--
2 * @Description: 权利人列表 2 * @Description:
3 * @Autor: miaofang 3 * @Autor: renchao
4 * @LastEditTime: 2023-06-14 10:40:48 4 * @LastEditTime: 2023-05-17 10:40:48
5 --> 5 -->
6 <template> 6 <template>
7 <lb-table :column="column" :maxHeight="200" :heightNumSetting="true" :pagination="false" :key="key" :data="tableData"> 7 <lb-table :column="column" :maxHeight="200" :heightNumSetting="true" :pagination="false" :key="key" :data="tableData">
...@@ -49,29 +49,33 @@ ...@@ -49,29 +49,33 @@
49 ) 49 )
50 } 50 }
51 }, 51 },
52 // {
53 // prop: "bdcdyh",
54 // label: "不动产单元号"
55 // },
52 { 56 {
53 prop: "qllxmc", 57 prop: "zl",
54 label: "权利类型" 58 label: "坐落"
55 }, 59 },
56 { 60 {
57 prop: "bdcqzh", 61 prop: "shbw",
58 label: "不动产权证号" 62 label: "室号部位"
59 }, 63 },
60 { 64 {
61 prop: "qlrmc", 65 prop: "fwxzmc",
62 label: "权利人" 66 label: "房屋性质"
63 }, 67 },
64 { 68 {
65 prop: "ytmc", 69 prop: "jzmj",
66 label: "用途" 70 label: "建筑面积"
67 }, 71 },
68 { 72 {
69 prop: "mj", 73 prop: "showfwyt",
70 label: "面积" 74 label: "房屋用途"
71 }, 75 },
72 { 76 {
73 prop: "zl", 77 prop: "showfwjg",
74 label: "坐落" 78 label: "房屋结构"
75 }, 79 },
76 ], 80 ],
77 column: this.qlrCommonTable 81 column: this.qlrCommonTable
...@@ -80,14 +84,8 @@ ...@@ -80,14 +84,8 @@
80 watch: { 84 watch: {
81 tableData: { 85 tableData: {
82 handler: function (val, oldVal) { 86 handler: function (val, oldVal) {
83 let that = this 87 let that = this;
84 if (val.length == 0 || !val) { 88 if (val.length == 0 || !val) {
85 that.tableDataList = _.cloneDeep([{
86 sqrmc: '',
87 dlrzjlx: '',
88 dlrzjh: '',
89 fr: ''
90 }])
91 } else { 89 } else {
92 that.tableDataList = _.cloneDeep(val) 90 that.tableDataList = _.cloneDeep(val)
93 } 91 }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
4 * @LastEditTime: 2023-06-19 13:16:53 4 * @LastEditTime: 2023-06-19 13:16:53
5 */ 5 */
6 //流程环节操作按钮 6 //流程环节操作按钮
7 export function getForm (tabName, djywbm) { 7 export function getForm(tabName, djywbm) {
8 let form; 8 let form;
9 switch (tabName) { 9 switch (tabName) {
10 case "tdsyqslxx": 10 case "tdsyqslxx":
...@@ -31,7 +31,6 @@ export function getForm (tabName, djywbm) { ...@@ -31,7 +31,6 @@ export function getForm (tabName, djywbm) {
31 case "nydsyqslxx100": 31 case "nydsyqslxx100":
32 form = require("@/views/ywbl/slsqxx/nydsyq/slxx.vue"); 32 form = require("@/views/ywbl/slsqxx/nydsyq/slxx.vue");
33 break; 33 break;
34
35 case "nydsyqslxx200": 34 case "nydsyqslxx200":
36 form = require("@/views/ywbl/slsqxx/nydsyq/slxx200.vue"); 35 form = require("@/views/ywbl/slsqxx/nydsyq/slxx200.vue");
37 break; 36 break;
...@@ -66,6 +65,9 @@ export function getForm (tabName, djywbm) { ...@@ -66,6 +65,9 @@ export function getForm (tabName, djywbm) {
66 case "zjgcdyqSlxx": 65 case "zjgcdyqSlxx":
67 form = require("@/views/ywbl/slsqxx/zjgcdy/slxx.vue"); 66 form = require("@/views/ywbl/slsqxx/zjgcdy/slxx.vue");
68 break; 67 break;
68 case "batchZjgcdyq":
69 form = require("@/views/ywbl/slsqxx/zjgcdy/batchSlxx.vue");
70 break;
69 case "cfdjxx": 71 case "cfdjxx":
70 form = require("@/views/registerBook/cfdj.vue"); 72 form = require("@/views/registerBook/cfdj.vue");
71 break; 73 break;
......
...@@ -55,51 +55,51 @@ ...@@ -55,51 +55,51 @@
55 <el-row :gutter="10"> 55 <el-row :gutter="10">
56 <el-col :span="8"> 56 <el-col :span="8">
57 <el-form-item label="权利人:"> 57 <el-form-item label="权利人:">
58 <el-input disabled v-model="ruleForm.ssQlxx.qlrmc"></el-input> 58 <el-input disabled v-model="ruleForm.ztQlxx.qlrmc"></el-input>
59 </el-form-item> 59 </el-form-item>
60 </el-col> 60 </el-col>
61 <el-col :span="8"> 61 <el-col :span="8">
62 <el-form-item label="证件:"> 62 <el-form-item label="证件种类:">
63 <el-input disabled v-model="ruleForm.ssQlxx.qlrzjhm"></el-input> 63 <el-input disabled v-model="ruleForm.ztQlxx.qlrzjzl"></el-input>
64 </el-form-item> 64 </el-form-item>
65 </el-col> 65 </el-col>
66 <el-col :span="8"> 66 <el-col :span="8">
67 <el-form-item label="证件种类:"> 67 <el-form-item label="证件:">
68 <el-input disabled v-model="ruleForm.ssQlxx.qlrzjzl"></el-input> 68 <el-input disabled v-model="ruleForm.ztQlxx.qlrzjhm"></el-input>
69 </el-form-item> 69 </el-form-item>
70 </el-col> 70 </el-col>
71 </el-row> 71 </el-row>
72 <el-row :gutter="10"> 72 <el-row :gutter="10">
73 <el-col :span="8"> 73 <el-col :span="8">
74 <el-form-item label="权利类型:"> 74 <el-form-item label="权利类型:">
75 <el-input disabled v-model="ruleForm.ssQlxx.qllxmc"></el-input> 75 <el-input disabled v-model="ruleForm.ztQlxx.qllxmc"></el-input>
76 </el-form-item> 76 </el-form-item>
77 </el-col> 77 </el-col>
78 <el-col :span="8"> 78 <el-col :span="8">
79 <el-form-item label="不动产权证号:"> 79 <el-form-item label="不动产权证号:">
80 <el-input disabled v-model="ruleForm.ssQlxx.bdcqzh"></el-input> 80 <el-input disabled v-model="ruleForm.ztQlxx.bdcqzh"></el-input>
81 </el-form-item> 81 </el-form-item>
82 </el-col> 82 </el-col>
83 <el-col :span="8"> 83 <el-col :span="8">
84 <el-form-item label="坐落:"> 84 <el-form-item label="坐落:">
85 <el-input disabled v-model="ruleForm.ssQlxx.zl"></el-input> 85 <el-input disabled v-model="ruleForm.ztQlxx.zl"></el-input>
86 </el-form-item> 86 </el-form-item>
87 </el-col> 87 </el-col>
88 </el-row> 88 </el-row>
89 <el-row :gutter="10"> 89 <el-row :gutter="10">
90 <el-col :span="8"> 90 <el-col :span="8">
91 <el-form-item label="不动产单元号:"> 91 <el-form-item label="不动产单元号:">
92 <el-input disabled v-model="ruleForm.ssQlxx.bdcdyh"></el-input> 92 <el-input disabled v-model="ruleForm.ztQlxx.bdcdyh"></el-input>
93 </el-form-item> 93 </el-form-item>
94 </el-col> 94 </el-col>
95 <el-col :span="8"> 95 <el-col :span="8">
96 <el-form-item label="面积:"> 96 <el-form-item label="面积:">
97 <el-input disabled v-model="ruleForm.ssQlxx.mj"></el-input> 97 <el-input disabled v-model="ruleForm.ztQlxx.mj"></el-input>
98 </el-form-item> 98 </el-form-item>
99 </el-col> 99 </el-col>
100 <el-col :span="8"> 100 <el-col :span="8">
101 <el-form-item label="用途:"> 101 <el-form-item label="用途:">
102 <el-input disabled v-model="ruleForm.ssQlxx.ytmc"></el-input> 102 <el-input disabled v-model="ruleForm.ztQlxx.ytmc"></el-input>
103 </el-form-item> 103 </el-form-item>
104 </el-col> 104 </el-col>
105 </el-row> 105 </el-row>
......
...@@ -32,12 +32,12 @@ ...@@ -32,12 +32,12 @@
32 <el-row :gutter="10" v-if="ruleForm.slsq"> 32 <el-row :gutter="10" v-if="ruleForm.slsq">
33 <el-col :span="8"> 33 <el-col :span="8">
34 <el-form-item label="权利类型:"> 34 <el-form-item label="权利类型:">
35 <el-input disabled v-model="ruleForm.sldy.qllxmc"></el-input> 35 <el-input disabled v-model="ruleForm.sldyList[0].qllxmc"></el-input>
36 </el-form-item> 36 </el-form-item>
37 </el-col> 37 </el-col>
38 <el-col :span="8"> 38 <el-col :span="8">
39 <el-form-item label="登记类型:"> 39 <el-form-item label="登记类型:">
40 <el-input disabled v-model="ruleForm.sldy.djlxmc"></el-input> 40 <el-input disabled v-model="ruleForm.sldyList[0].djlxmc"></el-input>
41 </el-form-item> 41 </el-form-item>
42 </el-col> 42 </el-col>
43 <el-col :span="8"> 43 <el-col :span="8">
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
102 <el-col :span="14"> 102 <el-col :span="14">
103 <el-form-item label="共有方式:"> 103 <el-form-item label="共有方式:">
104 <el-radio-group :disabled="$route.query.viewtype == 1" @change="showCZInfo" 104 <el-radio-group :disabled="$route.query.viewtype == 1" @change="showCZInfo"
105 v-model="ruleForm.sldy.gyfs"> 105 v-model="ruleForm.sldyList[0].gyfs">
106 <el-radio label="0">单独所有</el-radio> 106 <el-radio label="0">单独所有</el-radio>
107 <el-radio label="1">共同共有</el-radio> 107 <el-radio label="1">共同共有</el-radio>
108 <el-radio label="2">按份所有</el-radio> 108 <el-radio label="2">按份所有</el-radio>
...@@ -114,13 +114,13 @@ ...@@ -114,13 +114,13 @@
114 114
115 <el-col :span="5" v-show=" ruleForm.slsq.gyfs == '2'"> 115 <el-col :span="5" v-show=" ruleForm.slsq.gyfs == '2'">
116 <el-form-item label="是否分别持证:"> 116 <el-form-item label="是否分别持证:">
117 <el-radio-group v-model="ruleForm.sldy.sqfbcz"> 117 <el-radio-group v-model="ruleForm.sldyList[0].sqfbcz">
118 <el-radio label="1"></el-radio> 118 <el-radio label="1"></el-radio>
119 <el-radio label="0"></el-radio> 119 <el-radio label="0"></el-radio>
120 </el-radio-group> 120 </el-radio-group>
121 </el-form-item> 121 </el-form-item>
122 </el-col> 122 </el-col>
123 <el-col :span="5" v-show="ruleForm.sldy.gyfs == '2'"> 123 <el-col :span="5" v-show="ruleForm.sldyList[0].gyfs == '2'">
124 <el-form-item label="持证人:"> 124 <el-form-item label="持证人:">
125 <el-select v-model="ruleForm.slsq.czr" placeholder="持证人"> 125 <el-select v-model="ruleForm.slsq.czr" placeholder="持证人">
126 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value"> 126 <el-option v-for="item in czrOptions" :key="item.value" :label="item.label" :value="item.value">
...@@ -192,6 +192,7 @@ export default { ...@@ -192,6 +192,7 @@ export default {
192 ,qlxxList:[]//权利信息集合 192 ,qlxxList:[]//权利信息集合
193 ,sldyList:[]//受理不动产单元集合 193 ,sldyList:[]//受理不动产单元集合
194 ,slsq: {}//受理申请流程明细 194 ,slsq: {}//受理申请流程明细
195 ,flow: {}//受理申请流程明细
195 ,sqrList:[]//申请人 196 ,sqrList:[]//申请人
196 ,ssQlxxList:[]//上手权利信息 197 ,ssQlxxList:[]//上手权利信息
197 ,user:{}//用户 198 ,user:{}//用户
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-25 08:59:02 4 * @LastEditTime: 2023-06-29 11:13:35
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -131,6 +131,15 @@ ...@@ -131,6 +131,15 @@
131 </el-form-item> 131 </el-form-item>
132 </el-col> 132 </el-col>
133 133
134 <el-col :span="8">
135 <el-form-item label="下拉表格测试:">
136 <select-table v-model="value2" :table-width="600" :props="props" @change="change">
137 <el-table-column prop="id" label="ID" width="180"></el-table-column>
138 <el-table-column prop="user" label="姓名"></el-table-column>
139 </select-table>
140 </el-form-item>
141 </el-col>
142
134 </el-row> 143 </el-row>
135 144
136 <div class="slxx_title title-block"> 145 <div class="slxx_title title-block">
...@@ -203,7 +212,9 @@ ...@@ -203,7 +212,9 @@
203 import { mapGetters } from "vuex" 212 import { mapGetters } from "vuex"
204 import { Init, saveData } from "@/api/workflow/tdsyqFlow.js" 213 import { Init, saveData } from "@/api/workflow/tdsyqFlow.js"
205 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable" 214 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"
215 import selectTable from '@/components/selectTable/index.vue'
206 export default { 216 export default {
217 components: { qlrCommonTable, selectTable },
207 mounted () { 218 mounted () {
208 this.ableOperation = this.$parent.currentSelectTab.ableOperation 219 this.ableOperation = this.$parent.currentSelectTab.ableOperation
209 this.propsParam = this.$attrs; 220 this.propsParam = this.$attrs;
...@@ -222,12 +233,22 @@ ...@@ -222,12 +233,22 @@
222 }) 233 })
223 }) 234 })
224 }, 235 },
225 components: { qlrCommonTable }, 236
226 computed: { 237 computed: {
227 ...mapGetters(["dictData", "flag"]) 238 ...mapGetters(["dictData", "flag"])
228 }, 239 },
229 data () { 240 data () {
230 return { 241 return {
242 value2: {
243 id: "520000198407304275",
244 user: "史平"
245 },
246 props: {
247 label: 'user',
248 value: 'id',
249 keyword: "keyword"
250 },
251
231 //表单是否可操作 252 //表单是否可操作
232 ableOperation: true, 253 ableOperation: true,
233 key: 0, 254 key: 0,
...@@ -241,6 +262,7 @@ ...@@ -241,6 +262,7 @@
241 } 262 }
242 }, 263 },
243 methods: { 264 methods: {
265 change () { },
244 // 更新权利人信息 266 // 更新权利人信息
245 upDateQlrxxList (val) { 267 upDateQlrxxList (val) {
246 this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val)) 268 this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val))
......
...@@ -43,41 +43,40 @@ ...@@ -43,41 +43,40 @@
43 </el-col> 43 </el-col>
44 </el-row> 44 </el-row>
45 <div class="slxx_title title-block"> 45 <div class="slxx_title title-block">
46 抵押房屋信息情况 46 抵押信息情况
47 <div class="triangle"></div> 47 <div class="triangle"></div>
48 </div> 48 </div>
49
50 <el-row :gutter="10"> 49 <el-row :gutter="10">
51 <el-col :span="8"> 50 <el-col :span="8">
52 <el-form-item label="权利人:"> 51 <el-form-item label="房屋用途:">
53 <el-input disabled v-model="ruleForm.qlxx.qlrmc"></el-input> 52 <el-input disabled v-model="ruleForm.qjh.showfwyt"></el-input>
54 </el-form-item> 53 </el-form-item>
55 </el-col> 54 </el-col>
56 <el-col :span="8"> 55 <el-col :span="8">
57 <el-form-item label="证件号:"> 56 <el-form-item label="房屋性质:">
58 <el-input disabled v-model="ruleForm.qlxx.qlrzjhm"></el-input> 57 <el-input disabled v-model="ruleForm.qjh.fwxzmc"></el-input>
59 </el-form-item> 58 </el-form-item>
60 </el-col> 59 </el-col>
61 <el-col :span="8"> 60 <el-col :span="8">
62 <el-form-item label="证件种类:"> 61 <el-form-item label="房屋结构:">
63 <el-input disabled v-model="ruleForm.qlxx.qlrzjzl"></el-input> 62 <el-input disabled v-model="ruleForm.qjh.showfwjg"></el-input>
64 </el-form-item> 63 </el-form-item>
65 </el-col> 64 </el-col>
66 </el-row> 65 </el-row>
67 <el-row :gutter="10"> 66 <el-row :gutter="10">
68 <el-col :span="8"> 67 <el-col :span="8">
69 <el-form-item label="权利类型:"> 68 <el-form-item label="建筑面积:">
70 <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> 69 <el-input disabled v-model="ruleForm.qjh.jzmj"></el-input>
71 </el-form-item> 70 </el-form-item>
72 </el-col> 71 </el-col>
73 <el-col :span="8"> 72 <el-col :span="8">
74 <el-form-item label="不动产权证号:"> 73 <el-form-item label="套内建筑面积:">
75 <el-input disabled v-model="ruleForm.qlxx.bdcqzh"></el-input> 74 <el-input disabled v-model="ruleForm.qjh.tnjzmj"></el-input>
76 </el-form-item> 75 </el-form-item>
77 </el-col> 76 </el-col>
78 <el-col :span="8"> 77 <el-col :span="8">
79 <el-form-item label="坐落:"> 78 <el-form-item label="分摊建筑面积:">
80 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input> 79 <el-input disabled v-model="ruleForm.qjh.ftjzmj"></el-input>
81 </el-form-item> 80 </el-form-item>
82 </el-col> 81 </el-col>
83 </el-row> 82 </el-row>
...@@ -88,13 +87,13 @@ ...@@ -88,13 +87,13 @@
88 </el-form-item> 87 </el-form-item>
89 </el-col> 88 </el-col>
90 <el-col :span="8"> 89 <el-col :span="8">
91 <el-form-item label="面积:"> 90 <el-form-item label="室号部位:">
92 <el-input disabled v-model="ruleForm.qlxx.mj"></el-input> 91 <el-input disabled v-model="ruleForm.qjh.shbw"></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">
96 <el-form-item label="用途:"> 95 <el-form-item label="坐落:">
97 <el-input disabled v-model="ruleForm.qlxx.ytmc"></el-input> 96 <el-input disabled v-model="ruleForm.qlxx.zl"></el-input>
98 </el-form-item> 97 </el-form-item>
99 </el-col> 98 </el-col>
100 </el-row> 99 </el-row>
...@@ -128,12 +127,20 @@ ...@@ -128,12 +127,20 @@
128 <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1"> 127 <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1">
129 <el-form-item label="被担保主债权数额:"> 128 <el-form-item label="被担保主债权数额:">
130 <el-input v-model="ruleForm.diyaq.bdbzzqse"></el-input> 129 <el-input v-model="ruleForm.diyaq.bdbzzqse"></el-input>
130 <el-select v-model="ruleForm.diyaq.jedw" :disabled="$route.query.viewtype == '1'">
131 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode">
132 </el-option>
133 </el-select>
131 </el-form-item> 134 </el-form-item>
132 </el-col> 135 </el-col>
133 136
134 <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2"> 137 <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2">
135 <el-form-item label="最高债权额:"> 138 <el-form-item label="最高债权额:">
136 <el-input v-model="ruleForm.diyaq.zgzqse"></el-input> 139 <el-input v-model="ruleForm.diyaq.zgzqse"></el-input>
140 <el-select v-model="ruleForm.diyaq.jedw" :disabled="$route.query.viewtype == '1'">
141 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode">
142 </el-option>
143 </el-select>
137 </el-form-item> 144 </el-form-item>
138 </el-col> 145 </el-col>
139 146
...@@ -254,14 +261,13 @@ ...@@ -254,14 +261,13 @@
254 var formdata = new FormData(); 261 var formdata = new FormData();
255 this.$startLoading(); 262 this.$startLoading();
256 formdata.append("bsmSldy", this.propsParam.bsmSldy); 263 formdata.append("bsmSldy", this.propsParam.bsmSldy);
257 formdata.append("bsmSlsq", this.$route.query.bsmSlsq);
258 formdata.append("djlx", this.propsParam.djlx); 264 formdata.append("djlx", this.propsParam.djlx);
259 formdata.append("isEdit", this.ableOperation); 265 formdata.append("isEdit", this.ableOperation);
260 Init(formdata).then((res) => { 266 Init(formdata).then((res) => {
261 if (res.code === 200 && res.result) { 267 if (res.code === 200 && res.result) {
262 this.ruleForm = res.result; 268 this.ruleForm = res.result;
263 this.$endLoading(); 269 this.$endLoading();
264 this.ruleForm.diyaq.sfczjzhxz = "0"; 270 //this.ruleForm.diyaq.sfczjzhxz = "0";
265 } 271 }
266 }) 272 })
267 }, 273 },
...@@ -275,12 +281,7 @@ ...@@ -275,12 +281,7 @@
275 ableOperation: true, 281 ableOperation: true,
276 disabled: true, 282 disabled: true,
277 czrOptions: [], 283 czrOptions: [],
278 ruleForm: { 284 ruleForm: {},
279 slywxx: {},
280 qlxxold: {},
281 diyaq: {},
282 gyfs: "",
283 },
284 //传递参数 285 //传递参数
285 propsParam: {}, 286 propsParam: {},
286 rules: {}, 287 rules: {},
......
...@@ -192,6 +192,19 @@ ...@@ -192,6 +192,19 @@
192 this.queryClick(); 192 this.queryClick();
193 }, 193 },
194 ywhClick (item) { 194 ywhClick (item) {
195 //有任务权限
196 if(item.sjlx=="3"){
197 const { href } = this.$router.resolve(
198 "/djbworkFrame?bsmSlsq=" +
199 item.bsmSlsq +
200 "&bestepid=" +
201 item.bestepid +
202 "&bsmBusiness=" +
203 "&sqywbm=" +
204 item.djywbm
205 );
206 window.open(href, `urlname${item.bsmSlsq}`);
207 }else{
195 const { href } = this.$router.resolve( 208 const { href } = this.$router.resolve(
196 "/workFrameView?bsmSlsq=" + 209 "/workFrameView?bsmSlsq=" +
197 item.bsmSlsq + 210 item.bsmSlsq +
...@@ -201,6 +214,9 @@ ...@@ -201,6 +214,9 @@
201 "&viewtype=1" 214 "&viewtype=1"
202 ); 215 );
203 window.open(href, `urlname${item.bsmSlsq}`); 216 window.open(href, `urlname${item.bsmSlsq}`);
217 }
218
219
204 }, 220 },
205 }, 221 },
206 }; 222 };
......