Merge branch 'dev'
Showing
73 changed files
with
1665 additions
and
1311 deletions
... | @@ -18,7 +18,18 @@ export function getDjbfm (data) { | ... | @@ -18,7 +18,18 @@ export function getDjbfm (data) { |
18 | params: data | 18 | params: data |
19 | }) | 19 | }) |
20 | } | 20 | } |
21 | 21 | /** | |
22 | * @description: 获取权利类型数组 | ||
23 | * @param {*} params | ||
24 | * @author: renchao | ||
25 | */ | ||
26 | export function getQllxByBdcdyid (params) { | ||
27 | return request({ | ||
28 | url: SERVER.SERVERAPI + '/rest/djbDetail/getQllxByBdcdyid', | ||
29 | method: 'get', | ||
30 | params | ||
31 | }) | ||
32 | } | ||
22 | /** | 33 | /** |
23 | * @description: 获取登记目录 | 34 | * @description: 获取登记目录 |
24 | * @param {*} data | 35 | * @param {*} data | ... | ... |
... | @@ -66,18 +66,7 @@ export function leftMenubl (params) { | ... | @@ -66,18 +66,7 @@ export function leftMenubl (params) { |
66 | params | 66 | params |
67 | }) | 67 | }) |
68 | } | 68 | } |
69 | /** | 69 | |
70 | * @description: 获取权利类型数组 | ||
71 | * @param {*} params | ||
72 | * @author: renchao | ||
73 | */ | ||
74 | export function getQllxByBdcdyid (params) { | ||
75 | return request({ | ||
76 | url: SERVER.SERVERAPI + '/rest/djbDetail/getQllxByBdcdyid', | ||
77 | method: 'get', | ||
78 | params | ||
79 | }) | ||
80 | } | ||
81 | /** | 70 | /** |
82 | * @description: 保存数据 | 71 | * @description: 保存数据 |
83 | * @param {*} data | 72 | * @param {*} data | ... | ... |
... | @@ -76,4 +76,10 @@ | ... | @@ -76,4 +76,10 @@ |
76 | 76 | ||
77 | /deep/.el-form-item__label { | 77 | /deep/.el-form-item__label { |
78 | padding-bottom: 0px; | 78 | padding-bottom: 0px; |
79 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
79 | } | ||
80 | // 控制表单是否只读 | ||
81 | .readonly{ | ||
82 | /deep/.el-form-item__content{ | ||
83 | pointer-events: none!important; | ||
84 | } | ||
85 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-04-25 17:05:49 | 4 | * @LastEditTime: 2023-07-17 13:31:39 |
5 | */ | 5 | */ |
6 | import store from '@/store' | 6 | import store from '@/store' |
7 | // table 内部过滤器 由于过滤器只能在模板中使用 所以 就有了 jsx内部方法过滤器 | 7 | // table 内部过滤器 由于过滤器只能在模板中使用 所以 就有了 jsx内部方法过滤器 |
... | @@ -44,4 +44,34 @@ export default class filter { | ... | @@ -44,4 +44,34 @@ export default class filter { |
44 | getDictData (val) { | 44 | getDictData (val) { |
45 | return store.getters.dictData[val] | 45 | return store.getters.dictData[val] |
46 | } | 46 | } |
47 | yWstatus (row) { | ||
48 | let text = ""; | ||
49 | let keys = 0; | ||
50 | // 定义策略对象 | ||
51 | const strategies = { | ||
52 | djblzt: "正在办理", | ||
53 | zjgcdyzt: "在建工程抵押", | ||
54 | ycfzt: "已预查封", | ||
55 | cfzt: "已查封", | ||
56 | diyizt: "已地役", | ||
57 | yyzt: "异议中", | ||
58 | xzzt: "已限制", | ||
59 | ygmmzt: "已预告买卖", | ||
60 | ygdyzt: "已预告抵押", | ||
61 | dyzt: "已抵押" | ||
62 | }; | ||
63 | |||
64 | for (let key in row) { | ||
65 | if (row[key] === 1 && strategies[key]) { | ||
66 | keys++; | ||
67 | if (keys == 1) { | ||
68 | text += strategies[key]; | ||
69 | } else { | ||
70 | text += ',' + strategies[key]; | ||
71 | } | ||
72 | } | ||
73 | } | ||
74 | |||
75 | return text; | ||
76 | } | ||
47 | } | 77 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -2,13 +2,13 @@ | ... | @@ -2,13 +2,13 @@ |
2 | /* | 2 | /* |
3 | * @Description: 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器 | 3 | * @Description: 此文件主要创建 axios 实例,然后添加请求拦截器和响应拦截器 |
4 | * @Autor: renchao | 4 | * @Autor: renchao |
5 | * @LastEditTime: 2023-06-20 10:24:00 | 5 | * @LastEditTime: 2023-07-17 13:22:05 |
6 | */ | 6 | */ |
7 | import axios from 'axios' | 7 | import axios from 'axios' |
8 | import Router from '@/router' | 8 | import Router from '@/router' |
9 | import { Message } from 'element-ui' | 9 | import { Message } from 'element-ui' |
10 | import { endLoadingSubCount } from './requestLoading' | 10 | import { endLoadingSubCount } from './requestLoading' |
11 | import {getToken, setToken} from "@/utils/util"; | 11 | import { getToken, setToken } from "@/utils/util"; |
12 | 12 | ||
13 | // create an axios instance | 13 | // create an axios instance |
14 | const service = axios.create({ | 14 | const service = axios.create({ |
... | @@ -84,7 +84,7 @@ service.interceptors.response.use( | ... | @@ -84,7 +84,7 @@ service.interceptors.response.use( |
84 | } else { | 84 | } else { |
85 | // 对响应错误做点什么 | 85 | // 对响应错误做点什么 |
86 | Message({ | 86 | Message({ |
87 | message: '服务器异常,请联系管理员', | 87 | message: error, |
88 | type: 'error', | 88 | type: 'error', |
89 | duration: 5 * 1000, | 89 | duration: 5 * 1000, |
90 | customClass: 'messageIndex' | 90 | customClass: 'messageIndex' | ... | ... |
... | @@ -273,6 +273,7 @@ export default { | ... | @@ -273,6 +273,7 @@ export default { |
273 | }, | 273 | }, |
274 | }, | 274 | }, |
275 | methods: { | 275 | methods: { |
276 | |||
276 | closeDialog() { | 277 | closeDialog() { |
277 | this.$emit("input", false); | 278 | this.$emit("input", false); |
278 | this.$refs["ruleForm"].resetFields(); | 279 | this.$refs["ruleForm"].resetFields(); | ... | ... |
... | @@ -41,7 +41,7 @@ var qlxxPage = [ | ... | @@ -41,7 +41,7 @@ var qlxxPage = [ |
41 | ]; | 41 | ]; |
42 | 42 | ||
43 | //组装登记簿树形结构 | 43 | //组装登记簿树形结构 |
44 | export function loadTreeData(qlxxData, bdcdyh) { | 44 | export function loadTreeData(qlxxData) { |
45 | let treedata = []; | 45 | let treedata = []; |
46 | //加载封面 | 46 | //加载封面 |
47 | treedata.push({ id: "djbfm", form: "djbfm.vue", label: "登记簿封面" }); | 47 | treedata.push({ id: "djbfm", form: "djbfm.vue", label: "登记簿封面" }); | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: workFrame左侧菜单列表-普通 | 2 | * @Description: workFrame左侧菜单列表-普通 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-25 10:42:50 | 4 | * @LastEditTime: 2023-07-17 16:16:13 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
8 | <div v-if="this.isShowdrawer"> | 8 | <div v-if="this.isShowdrawer"> |
9 | <el-menu | 9 | <el-menu |
10 | @select="djbClick" | 10 | @select="djbClick" |
11 | class="title-batch" | 11 | class="title-batch"> |
12 | > | ||
13 | <el-menu-item index="-1" key="-1" class="menus"> | 12 | <el-menu-item index="-1" key="-1" class="menus"> |
14 | <div>登记簿</div> | 13 | <div>登记簿</div> |
15 | </el-menu-item> | 14 | </el-menu-item> |
... | @@ -17,8 +16,7 @@ | ... | @@ -17,8 +16,7 @@ |
17 | <div class="blxx"> | 16 | <div class="blxx"> |
18 | <el-menu | 17 | <el-menu |
19 | @select="blxxClick" | 18 | @select="blxxClick" |
20 | class="title-batch" | 19 | class="title-batch"> |
21 | > | ||
22 | <el-menu-item index="-1" key="-1" class="menus"> | 20 | <el-menu-item index="-1" key="-1" class="menus"> |
23 | <div>补录信息</div> | 21 | <div>补录信息</div> |
24 | </el-menu-item> | 22 | </el-menu-item> |
... | @@ -27,11 +25,10 @@ | ... | @@ -27,11 +25,10 @@ |
27 | <el-menu-item | 25 | <el-menu-item |
28 | v-for="(item, index) in supplementarylist" | 26 | v-for="(item, index) in supplementarylist" |
29 | :index="index.toString()" | 27 | :index="index.toString()" |
30 | :key="index" | 28 | :key="index"> |
31 | > | ||
32 | <div> | 29 | <div> |
33 | <p v-if="item.operate=='D'">{{ item.qllxmc }} <span class="tpcolor">(删除)</span></p> | 30 | <p v-if="item.operate=='D'">{{ item.qllxmc }} <span class="tpcolor">(删除)</span></p> |
34 | <p v-else >{{ item.qllxmc }} <span class="tpcolor">({{ item.operate=="U"?"编辑":"新增" }})</span></p> | 31 | <p v-else>{{ item.qllxmc }} <span class="tpcolor">({{ item.operate=="U"?"编辑":"新增" }})</span></p> |
35 | </div> | 32 | </div> |
36 | <i class="el-icon-delete" @click.stop="handleDel(item)" v-if="delel"></i> | 33 | <i class="el-icon-delete" @click.stop="handleDel(item)" v-if="delel"></i> |
37 | </el-menu-item> | 34 | </el-menu-item> |
... | @@ -45,8 +42,7 @@ | ... | @@ -45,8 +42,7 @@ |
45 | () => { | 42 | () => { |
46 | this.isShowdrawer = !this.isShowdrawer; | 43 | this.isShowdrawer = !this.isShowdrawer; |
47 | } | 44 | } |
48 | " | 45 | "></div> |
49 | ></div> | ||
50 | <div | 46 | <div |
51 | class="map-drawer-expand map-drawer" | 47 | class="map-drawer-expand map-drawer" |
52 | v-else | 48 | v-else |
... | @@ -54,246 +50,240 @@ | ... | @@ -54,246 +50,240 @@ |
54 | () => { | 50 | () => { |
55 | this.isShowdrawer = !this.isShowdrawer; | 51 | this.isShowdrawer = !this.isShowdrawer; |
56 | } | 52 | } |
57 | " | 53 | "></div> |
58 | ></div> | ||
59 | </div> | 54 | </div> |
60 | </template> | 55 | </template> |
61 | <script> | 56 | <script> |
62 | import { mapGetters } from "vuex"; | 57 | import { mapGetters } from "vuex"; |
63 | import { leftMenu, deleteSlbdcdy } from "@/api/workFlow.js"; | 58 | import { leftMenu, deleteSlbdcdy } from "@/api/workFlow.js"; |
64 | import { deleteRepairRecord } from "@/api/djbbl.js"; | 59 | import { deleteRepairRecord } from "@/api/djbRepair.js"; |
65 | import { leftMenubl } from "@/api/djbbl.js"; | 60 | import { leftMenubl } from "@/api/djbRepair.js"; |
66 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; | 61 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; |
67 | import { loadTreeData, getNode } from "./djbFrameData.js"; | 62 | import { loadTreeData, getNode } from "./djbFrameData.js"; |
68 | export default { | 63 | export default { |
69 | data() { | 64 | data () { |
70 | return { | 65 | return { |
71 | supplementarylist: [], | 66 | supplementarylist: [], |
72 | //受理申请标识码 | 67 | //受理申请标识码 |
73 | bsmSlsq: this.$route.query.bsmSlsq, | 68 | bsmSlsq: this.$route.query.bsmSlsq, |
74 | //当前流程所在环节 | 69 | //当前流程所在环节 |
75 | bestepid: this.$route.query.bestepid, | 70 | bestepid: this.$route.query.bestepid, |
76 | //受理申请标识码 | 71 | //受理申请标识码 |
77 | bdcdyid: this.$route.query.bdcdyid, | 72 | bdcdyid: this.$route.query.bdcdyid, |
78 | //当前流程所在环节 | 73 | //当前流程所在环节 |
79 | bdcdyh: this.$route.query.bdcdyh, | 74 | bdcdyh: this.$route.query.bdcdyh, |
80 | qllx: this.$route.query.qllx, | 75 | qllx: this.$route.query.qllx, |
81 | // 默认选中 | 76 | // 默认选中 |
82 | activeIndex: "0", | 77 | activeIndex: "0", |
83 | // 折叠 | 78 | // 折叠 |
84 | isShowdrawer: true, | 79 | isShowdrawer: true, |
85 | delel: true, | 80 | delel: true, |
86 | //批量操作按钮名称 | 81 | //批量操作按钮名称 |
87 | batchButtonName: "", | 82 | batchButtonName: "", |
88 | //左侧菜单数据集合 | 83 | //左侧菜单数据集合 |
89 | unitData: [], | 84 | unitData: [], |
90 | // 设置表单传递数据 | 85 | // 设置表单传递数据 |
91 | currentSelectProps: {}, | 86 | currentSelectProps: {}, |
92 | //左侧树形结构数据 | 87 | //左侧树形结构数据 |
93 | treedata: [], | 88 | treedata: [], |
94 | defaultNode: "", | 89 | defaultNode: "", |
95 | defaultProps: { | 90 | defaultProps: { |
96 | value: "id", | 91 | value: "id", |
97 | children: "children", | 92 | children: "children", |
98 | label: "label", | 93 | label: "label", |
99 | }, | 94 | }, |
100 | showTab: "bdcqldjml", // 选中状态,根据表格中权利类型判断 | 95 | showTab: "bdcqldjml", // 选中状态,根据表格中权利类型判断 |
101 | }; | 96 | }; |
102 | }, | ||
103 | mounted() { | ||
104 | this.delel=this.$parent.isEdit | ||
105 | this.loadBdcdylist(); | ||
106 | // this.getleftMenubl(); | ||
107 | |||
108 | |||
109 | }, | ||
110 | computed: { | ||
111 | // ...mapGetters(["isRefresh"]), | ||
112 | }, | ||
113 | watch: { | ||
114 | // isRefresh: { | ||
115 | // handler(newVal, oldVal) { | ||
116 | // if (newVal) this.loadBdcdylist(); | ||
117 | // }, | ||
118 | // immediate: true, | ||
119 | // }, | ||
120 | }, | ||
121 | methods: { | ||
122 | //读取申请单元信息 | ||
123 | loadBdcdylist() { | ||
124 | var formdata = new FormData(); | ||
125 | if(this.bsmSlsq){ | ||
126 | formdata.append("bsmSlsq", this.bsmSlsq); | ||
127 | formdata.append("bestepid", this.bestepid); | ||
128 | leftMenu(formdata).then((res) => { | ||
129 | if (res.code === 200 && res.result) { | ||
130 | this.currentSelectProps = res.result[0]; | ||
131 | this.$emit("getCurrentSelectProps", this.currentSelectProps); | ||
132 | } | ||
133 | }); | ||
134 | } | ||
135 | |||
136 | |||
137 | }, | ||
138 | // 获取右侧菜单 | ||
139 | getleftMenubl(row) { | ||
140 | |||
141 | leftMenubl(this.bsmSlsq).then((res) => { | ||
142 | this.supplementarylist = res.result; | ||
143 | if(row==1){ | ||
144 | this.delel=false | ||
145 | } | ||
146 | if(row&&row!=1){ | ||
147 | this.supplementarylist.forEach((item,index) => { | ||
148 | if(item.bsmRepair==row.bsmRepair){ | ||
149 | this.activeIndex=index.toString() | ||
150 | // 补录成功后定位到该条记录 | ||
151 | this.unitClick(index) | ||
152 | } | ||
153 | }) | ||
154 | } | ||
155 | if(this.supplementarylist.length){ | ||
156 | this.unitClick(0) | ||
157 | }else{ | ||
158 | this.$emit("getCurrentSelectProps", this.currentSelectProps); | ||
159 | } | ||
160 | }); | ||
161 | }, | 97 | }, |
162 | handleNodeClick(data, node, elem) { | 98 | mounted () { |
163 | this.$parent.loadComponent(this.currentSelectProps, data); | 99 | this.delel = this.$parent.isEdit |
164 | this.$parent.tabset(); | 100 | this.loadBdcdylist(); |
165 | }, | 101 | }, |
166 | //申请单元点击事件 | 102 | computed: { |
167 | unitClick(index) { | 103 | // ...mapGetters(["isRefresh"]), |
168 | this.currentSelectProps = this.supplementarylist[index]; | ||
169 | this.$emit("getCurrentSelectProps", this.currentSelectProps); | ||
170 | }, | 104 | }, |
171 | //登记簿点击事件 | 105 | watch: { |
172 | djbClick() { | 106 | // isRefresh: { |
173 | this.loadBdcdylist(); | 107 | // handler(newVal, oldVal) { |
108 | // if (newVal) this.loadBdcdylist(); | ||
109 | // }, | ||
110 | // immediate: true, | ||
111 | // }, | ||
174 | }, | 112 | }, |
175 | // 删除补录记录 | 113 | methods: { |
176 | handleDel(row) { | 114 | //读取申请单元信息 |
177 | this.$confirm("此操作将永久删除该条补录记录, 是否继续?", "提示", { | 115 | loadBdcdylist () { |
178 | confirmButtonText: "确定", | 116 | var formdata = new FormData(); |
179 | cancelButtonText: "取消", | 117 | if (this.bsmSlsq) { |
180 | type: "warning", | 118 | formdata.append("bsmSlsq", this.bsmSlsq); |
181 | }) | 119 | formdata.append("bestepid", this.bestepid); |
182 | .then(() => { | 120 | leftMenu(formdata).then((res) => { |
183 | deleteRepairRecord(row.bsmRepair).then((res) => { | 121 | if (res.code === 200 && res.result) { |
184 | this.$message({ | 122 | this.currentSelectProps = res.result[0]; |
185 | type: "success", | 123 | this.$emit("getCurrentSelectProps", this.currentSelectProps); |
186 | message: "删除成功!", | 124 | } |
187 | }); | 125 | }); |
188 | this.$nextTick(() => { | 126 | } |
189 | this.getleftMenubl(); | 127 | |
190 | this.blxxClick() | 128 | |
191 | if(!this.supplementarylist.length){ | 129 | }, |
192 | getdjblist() | 130 | // 获取右侧菜单 |
131 | getleftMenubl (row) { | ||
132 | |||
133 | leftMenubl(this.bsmSlsq).then((res) => { | ||
134 | this.supplementarylist = res.result; | ||
135 | if (row == 1) { | ||
136 | this.delel = false | ||
137 | } | ||
138 | if (row && row != 1) { | ||
139 | this.supplementarylist.forEach((item, index) => { | ||
140 | if (item.bsmRepair == row.bsmRepair) { | ||
141 | this.activeIndex = index.toString() | ||
142 | // 补录成功后定位到该条记录 | ||
143 | this.unitClick(index) | ||
193 | } | 144 | } |
145 | }) | ||
146 | } | ||
147 | if (this.supplementarylist.length) { | ||
148 | this.unitClick(0) | ||
149 | } else { | ||
150 | this.$emit("getCurrentSelectProps", this.currentSelectProps); | ||
151 | } | ||
152 | }); | ||
153 | }, | ||
154 | handleNodeClick (data, node, elem) { | ||
155 | this.$parent.loadComponent(this.currentSelectProps, data); | ||
156 | this.$parent.tabset(); | ||
157 | }, | ||
158 | //申请单元点击事件 | ||
159 | unitClick (index) { | ||
160 | this.currentSelectProps = this.supplementarylist[index]; | ||
161 | this.$emit("getCurrentSelectProps", this.currentSelectProps); | ||
162 | }, | ||
163 | //登记簿点击事件 | ||
164 | djbClick () { | ||
165 | this.loadBdcdylist(); | ||
166 | }, | ||
167 | // 删除补录记录 | ||
168 | handleDel (row) { | ||
169 | this.$confirm("此操作将永久删除该条补录记录, 是否继续?", "提示", { | ||
170 | confirmButtonText: "确定", | ||
171 | cancelButtonText: "取消", | ||
172 | type: "warning", | ||
173 | }) | ||
174 | .then(() => { | ||
175 | deleteRepairRecord(row.bsmRepair).then((res) => { | ||
176 | this.$message({ | ||
177 | type: "success", | ||
178 | message: "删除成功!", | ||
179 | }); | ||
180 | this.$nextTick(() => { | ||
181 | this.getleftMenubl(); | ||
182 | this.blxxClick() | ||
183 | if (!this.supplementarylist.length) { | ||
184 | getdjblist() | ||
185 | } | ||
194 | 186 | ||
187 | }); | ||
188 | }); | ||
189 | }) | ||
190 | .catch(() => { | ||
191 | this.$message({ | ||
192 | type: "info", | ||
193 | message: "已取消删除", | ||
195 | }); | 194 | }); |
196 | }); | 195 | }); |
197 | }) | 196 | }, |
198 | .catch(() => { | 197 | //补录信息点击事件默认展示第一条补录记录 |
199 | this.$message({ | 198 | blxxClick () { |
200 | type: "info", | 199 | if (this.supplementarylist.length) { |
201 | message: "已取消删除", | 200 | this.unitClick(0); |
202 | }); | 201 | } |
203 | }); | ||
204 | }, | ||
205 | //补录信息点击事件默认展示第一条补录记录 | ||
206 | blxxClick() { | ||
207 | if(this.supplementarylist.length){ | ||
208 | this.unitClick(0); | ||
209 | } | ||
210 | 202 | ||
203 | }, | ||
211 | }, | 204 | }, |
212 | }, | 205 | }; |
213 | }; | ||
214 | </script> | 206 | </script> |
215 | <style scoped lang="scss"> | 207 | <style scoped lang="scss"> |
216 | @import "~@/styles/mixin.scss"; | 208 | @import "~@/styles/mixin.scss"; |
217 | @import "../../workFrame.scss"; | 209 | @import "../../workFrame.scss"; |
218 | .leftmenu ul { | 210 | .leftmenu ul { |
219 | height: calc(100vh - 120px); | 211 | height: calc(100vh - 120px); |
220 | } | ||
221 | /deep/.rollTable { | ||
222 | height: calc(100vh - 240px) !important; | ||
223 | } | ||
224 | |||
225 | .content { | ||
226 | width: 100%; | ||
227 | height: 100%; | ||
228 | display: flex; | ||
229 | |||
230 | .left { | ||
231 | width: 256px; | ||
232 | height: 704px; | ||
233 | background-color: #f5f5f5; | ||
234 | color: #333; | ||
235 | border: 1px solid rgb(228, 228, 228); | ||
236 | } | 212 | } |
237 | 213 | /deep/.rollTable { | |
238 | .right { | 214 | height: calc(100vh - 240px) !important; |
239 | width: calc(100% - 256px); | ||
240 | height: 704px; | ||
241 | // overflow-y: scroll; | ||
242 | overflow: auto; | ||
243 | background-color: #f5f5f5; | ||
244 | border: 1px solid rgb(228, 228, 228); | ||
245 | } | 215 | } |
246 | } | ||
247 | 216 | ||
248 | /deep/ .expanded.el-tree-node__expand-icon, | 217 | .content { |
249 | /deep/ .el-tree-node__expand-icon { | 218 | width: 100%; |
250 | visibility: hidden; | 219 | height: 100%; |
251 | } | 220 | display: flex; |
252 | 221 | ||
253 | /deep/ .el-tree-node__content { | 222 | .left { |
254 | border: 1px solid rgb(228, 228, 228); | 223 | width: 256px; |
255 | height: 45px; | 224 | height: 704px; |
256 | } | 225 | background-color: #f5f5f5; |
226 | color: #333; | ||
227 | border: 1px solid rgb(228, 228, 228); | ||
228 | } | ||
257 | 229 | ||
258 | /deep/ .el-tree-node:focus > .el-tree-node__content { | 230 | .right { |
259 | background-color: #f5f5f5; | 231 | width: calc(100% - 256px); |
260 | color: #0079fe; | 232 | height: 704px; |
261 | border-right: 4px solid #0079fe; | 233 | // overflow-y: scroll; |
262 | } | 234 | overflow: auto; |
235 | background-color: #f5f5f5; | ||
236 | border: 1px solid rgb(228, 228, 228); | ||
237 | } | ||
238 | } | ||
263 | 239 | ||
264 | /deep/.el-tree-node { | 240 | /deep/ .expanded.el-tree-node__expand-icon, |
265 | white-space: pre-wrap; | 241 | /deep/ .el-tree-node__expand-icon { |
266 | } | 242 | visibility: hidden; |
243 | } | ||
267 | 244 | ||
268 | /deep/ .is-current > .el-tree-node__content { | 245 | /deep/ .el-tree-node__content { |
269 | background-color: #f5f5f5; | 246 | border: 1px solid rgb(228, 228, 228); |
270 | color: #0079fe; | 247 | height: 45px; |
271 | border-right: 4px solid #0079fe; | ||
272 | } | ||
273 | .menus { | ||
274 | background-color: #e7f4fe; | ||
275 | div{ | ||
276 | font-size: 16px; | ||
277 | font-weight: 600; | ||
278 | } | 248 | } |
279 | 249 | ||
280 | } | 250 | /deep/ .el-tree-node:focus > .el-tree-node__content { |
281 | .blxx { | 251 | background-color: #f5f5f5; |
282 | .el-menu-item{ | 252 | color: #0079fe; |
283 | display: flex; | 253 | border-right: 4px solid #0079fe; |
284 | justify-content: space-between; | ||
285 | } | 254 | } |
286 | border: #b0d9f8 solid 1px; | 255 | |
287 | .tpcolor{ | 256 | /deep/.el-tree-node { |
288 | color: red; | 257 | white-space: pre-wrap; |
289 | line-height: 22px; | ||
290 | } | 258 | } |
291 | .el-icon-delete{ | ||
292 | margin-right: 3px; | ||
293 | // background-color: saddlebrown; | ||
294 | height: 27px; | ||
295 | float: left; | ||
296 | 259 | ||
260 | /deep/ .is-current > .el-tree-node__content { | ||
261 | background-color: #f5f5f5; | ||
262 | color: #0079fe; | ||
263 | border-right: 4px solid #0079fe; | ||
264 | } | ||
265 | .menus { | ||
266 | background-color: #e7f4fe; | ||
267 | div { | ||
268 | font-size: 16px; | ||
269 | font-weight: 600; | ||
270 | } | ||
271 | } | ||
272 | .blxx { | ||
273 | .el-menu-item { | ||
274 | display: flex; | ||
275 | justify-content: space-between; | ||
276 | } | ||
277 | border: #b0d9f8 solid 1px; | ||
278 | .tpcolor { | ||
279 | color: red; | ||
280 | line-height: 22px; | ||
281 | } | ||
282 | .el-icon-delete { | ||
283 | margin-right: 3px; | ||
284 | // background-color: saddlebrown; | ||
285 | height: 27px; | ||
286 | float: left; | ||
287 | } | ||
297 | } | 288 | } |
298 | } | ||
299 | </style> | 289 | </style> | ... | ... |
... | @@ -5,220 +5,284 @@ | ... | @@ -5,220 +5,284 @@ |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
8 | <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="150" | 8 | <lb-table |
9 | :data="tableDataList"> | 9 | :column="column" |
10 | :pagination="false" | ||
11 | :key="key" | ||
12 | :heightNumSetting="true" | ||
13 | :minHeight="150" | ||
14 | :data="tableDataList" | ||
15 | > | ||
10 | </lb-table> | 16 | </lb-table> |
11 | <addQlr v-model="dialog" :details="details" :showButton="showButton" @updateDetail="handleupdateDetail" /> | 17 | <addQlr |
18 | v-model="dialog" | ||
19 | :details="details" | ||
20 | :showButton="showButton" | ||
21 | @updateDetail="handleupdateDetail" | ||
22 | /> | ||
12 | </div> | 23 | </div> |
13 | </template> | 24 | </template> |
14 | <script> | 25 | <script> |
15 | import addQlr from './dialog/addQlr.vue' | 26 | import addQlr from "./dialog/addQlr.vue"; |
16 | import { mapGetters } from 'vuex' | 27 | import { mapGetters } from "vuex"; |
17 | export default { | 28 | export default { |
18 | components: { | 29 | components: { |
19 | addQlr | 30 | addQlr, |
31 | }, | ||
32 | computed: { | ||
33 | ...mapGetters(["dictData"]), | ||
34 | }, | ||
35 | props: { | ||
36 | tableData: { | ||
37 | type: Array, | ||
38 | default: function () { | ||
39 | return []; | ||
40 | }, | ||
20 | }, | 41 | }, |
21 | computed: { | 42 | ableOperation: { |
22 | ...mapGetters(["dictData"]), | 43 | type: Boolean, |
44 | default: false, | ||
23 | }, | 45 | }, |
24 | props: { | 46 | gyfs: { |
25 | tableData: { | 47 | type: String, |
26 | type: Array, | 48 | default: "1", |
27 | default: function () { | ||
28 | return [] | ||
29 | } | ||
30 | }, | ||
31 | gyfs: { | ||
32 | type: String, | ||
33 | default: '1' | ||
34 | } | ||
35 | }, | 49 | }, |
36 | data () { | 50 | }, |
37 | return { | 51 | data() { |
38 | key: 0, | 52 | return { |
39 | dataIndex: 0, | 53 | key: 0, |
40 | dialog: false, | 54 | dataIndex: 0, |
41 | isaddupdate: false, | 55 | dialog: false, |
42 | showButton: this.$route.query.viewtype ? false : true, | 56 | isaddupdate: false, |
43 | details: {}, | 57 | showButton: this.ableOperation, |
44 | tableDataList: [], | 58 | details: {}, |
45 | InformationTable: [ | 59 | tableDataList: [], |
46 | { | 60 | InformationTable: [ |
47 | width: '50', | 61 | { |
48 | renderHeader: (h, scope) => { | 62 | width: "50", |
49 | return <div> { | 63 | renderHeader: (h, scope) => { |
50 | this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i> | 64 | return ( |
51 | } | 65 | <div> |
66 | {" "} | ||
67 | {!this.ableOperation ? ( | ||
68 | "序号" | ||
69 | ) : ( | ||
70 | <i | ||
71 | class="el-icon-plus pointer" | ||
72 | onClick={() => { | ||
73 | this.addClick(); | ||
74 | }} | ||
75 | ></i> | ||
76 | )} | ||
52 | </div> | 77 | </div> |
53 | }, | 78 | ); |
54 | render: (h, scope) => { | ||
55 | return ( | ||
56 | <div> | ||
57 | { | ||
58 | this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> : | ||
59 | <i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i> | ||
60 | } | ||
61 | </div> | ||
62 | ) | ||
63 | } | ||
64 | }, | 79 | }, |
65 | { | 80 | render: (h, scope) => { |
66 | label: '身份证读卡器', | 81 | return ( |
67 | align: 'center', | 82 | <div> |
68 | render: (h, scope) => { | 83 | {!this.ableOperation ? ( |
69 | return <el-button type="text" icon="el-icon-tickets" onClick={() => { this.readClick(scope) }}>读取</el-button> | 84 | <span>{scope.$index + 1}</span> |
70 | } | 85 | ) : ( |
86 | <i | ||
87 | class="el-icon-minus pointer" | ||
88 | onClick={() => { | ||
89 | this.deleClick(scope.$index, scope.row); | ||
90 | }} | ||
91 | ></i> | ||
92 | )} | ||
93 | </div> | ||
94 | ); | ||
71 | }, | 95 | }, |
72 | { | 96 | }, |
73 | prop: "qlrmc", | 97 | { |
74 | label: "姓名/名称" | 98 | label: "身份证读卡器", |
99 | align: "center", | ||
100 | render: (h, scope) => { | ||
101 | return ( | ||
102 | <el-button | ||
103 | type="text" | ||
104 | icon="el-icon-tickets" | ||
105 | disabled={!this.ableOperation} | ||
106 | onClick={() => { | ||
107 | this.readClick(scope); | ||
108 | }} | ||
109 | > | ||
110 | 读取 | ||
111 | </el-button> | ||
112 | ); | ||
75 | }, | 113 | }, |
76 | { | 114 | }, |
77 | prop: "zjzl", | 115 | { |
78 | label: "证件种类", | 116 | prop: "qlrmc", |
79 | render: (h, scope) => { | 117 | label: "姓名/名称", |
80 | return this.dictData['A30'] && this.dictData['A30'].map(option => { | 118 | }, |
119 | { | ||
120 | prop: "zjzl", | ||
121 | label: "证件种类", | ||
122 | render: (h, scope) => { | ||
123 | return ( | ||
124 | this.dictData["A30"] && | ||
125 | this.dictData["A30"].map((option) => { | ||
81 | if (option.dcode == scope.row.zjzl) { | 126 | if (option.dcode == scope.row.zjzl) { |
82 | return <span>{option.dname}</span> | 127 | return <span>{option.dname}</span>; |
83 | } | 128 | } |
84 | }) | 129 | }) |
85 | } | 130 | ); |
86 | }, | ||
87 | { | ||
88 | prop: "zjh", | ||
89 | label: "证件号" | ||
90 | }, | 131 | }, |
91 | { | 132 | }, |
92 | prop: "dh", | 133 | { |
93 | label: "联系电话" | 134 | prop: "zjh", |
135 | label: "证件号", | ||
136 | }, | ||
137 | { | ||
138 | prop: "dh", | ||
139 | label: "联系电话", | ||
140 | }, | ||
141 | { | ||
142 | label: "操作", | ||
143 | render: (h, scope) => { | ||
144 | return ( | ||
145 | <div> | ||
146 | {this.$route.query.viewtype ? ( | ||
147 | <el-button | ||
148 | icon="el-icon-view" | ||
149 | type="text" | ||
150 | onClick={() => { | ||
151 | this.queryViewClick(scope.$index, scope.row); | ||
152 | }} | ||
153 | disabled={!this.ableOperation} | ||
154 | > | ||
155 | {" "} | ||
156 | 查看 | ||
157 | </el-button> | ||
158 | ) : ( | ||
159 | <el-button | ||
160 | icon="el-icon-edit-outline" | ||
161 | type="text" | ||
162 | onClick={() => { | ||
163 | this.editClick(scope.$index, scope.row); | ||
164 | }} | ||
165 | disabled={!this.ableOperation} | ||
166 | > | ||
167 | 编辑 | ||
168 | </el-button> | ||
169 | )} | ||
170 | </div> | ||
171 | ); | ||
94 | }, | 172 | }, |
95 | { | ||
96 | label: '操作', | ||
97 | render: (h, scope) => { | ||
98 | return ( | ||
99 | <div> | ||
100 | { | ||
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> | ||
108 | } | ||
109 | </div> | ||
110 | ) | ||
111 | } | ||
112 | } | ||
113 | ], | ||
114 | column: [] | ||
115 | } | ||
116 | }, | ||
117 | watch: { | ||
118 | tableData: { | ||
119 | handler: function (val, oldVal) { | ||
120 | let that = this | ||
121 | this.$nextTick(() => { | ||
122 | if (val.length == 0 || !val) { | ||
123 | that.tableDataList = _.cloneDeep([{ | ||
124 | qlrmc: '', | ||
125 | dlrzjlx: '', | ||
126 | dlrzjh: '', | ||
127 | fr: '' | ||
128 | }]) | ||
129 | } else { | ||
130 | that.tableDataList = _.cloneDeep(val) | ||
131 | } | ||
132 | }) | ||
133 | }, | 173 | }, |
134 | immediate: true, | 174 | ], |
135 | deep: true | 175 | column: [], |
136 | }, | 176 | }; |
137 | gyfs: { | 177 | }, |
138 | handler (newVal, oldValue) { | 178 | watch: { |
139 | let dataList = _.cloneDeep(this.InformationTable) | 179 | tableData: { |
140 | if (newVal == 0) { | 180 | handler: function (val, oldVal) { |
141 | // this.column = _.cloneDeep(dataList).slice(1, dataList.length) | 181 | let that = this; |
142 | this.column = _.cloneDeep(dataList) | 182 | this.$nextTick(() => { |
143 | 183 | if (val.length == 0 || !val) { | |
144 | } else if ((newVal == '1' || newVal == '3')) { | 184 | that.tableDataList = _.cloneDeep([ |
145 | this.column = dataList | 185 | { |
186 | qlrmc: "", | ||
187 | dlrzjlx: "", | ||
188 | dlrzjh: "", | ||
189 | fr: "", | ||
190 | }, | ||
191 | ]); | ||
146 | } else { | 192 | } else { |
147 | this.column = _.cloneDeep(dataList) | 193 | that.tableDataList = _.cloneDeep(val); |
148 | this.column.splice( | ||
149 | 2, 0, { | ||
150 | prop: "fs", | ||
151 | label: "份数" | ||
152 | }) | ||
153 | } | 194 | } |
154 | }, | 195 | }); |
155 | immediate: true | 196 | }, |
156 | } | 197 | immediate: true, |
198 | deep: true, | ||
157 | }, | 199 | }, |
158 | methods: { | 200 | gyfs: { |
159 | handleupdateDetail (value) { | 201 | handler(newVal, oldValue) { |
160 | if (this.isaddupdate) { | 202 | let dataList = _.cloneDeep(this.InformationTable); |
161 | if (!_.isEqual(value, this.tableData)) { | 203 | if (newVal == 0) { |
162 | this.tableDataList[this.tableDataList.length] = _.cloneDeep(value); | 204 | // this.column = _.cloneDeep(dataList).slice(1, dataList.length) |
163 | this.$emit('upDateQlrxxList', this.tableDataList) | 205 | this.column = _.cloneDeep(dataList); |
164 | } | 206 | } else if (newVal == "1" || newVal == "3") { |
207 | this.column = dataList; | ||
165 | } else { | 208 | } else { |
166 | if (!_.isEqual(value, this.tableData)) { | 209 | this.column = _.cloneDeep(dataList); |
167 | this.tableDataList[this.dataIndex] = _.cloneDeep(value); | 210 | this.column.splice(2, 0, { |
168 | this.$emit('upDateQlrxxList', this.tableDataList) | 211 | prop: "fs", |
169 | } | 212 | label: "份数", |
213 | }); | ||
170 | } | 214 | } |
171 | this.key++ | ||
172 | }, | 215 | }, |
173 | // 新增 | 216 | immediate: true, |
174 | addClick () { | 217 | }, |
175 | if (this.gyfs == '0' && this.tableDataList.length > 0) { | 218 | }, |
176 | this.$message.warning("当前共有方式为单独所有,无法添加多个权利人") | 219 | methods: { |
177 | } else { | 220 | handleupdateDetail(value) { |
178 | this.dialog = true | 221 | if (this.isaddupdate) { |
179 | this.isaddupdate = true | 222 | if (!_.isEqual(value, this.tableData)) { |
223 | this.tableDataList[this.tableDataList.length] = _.cloneDeep(value); | ||
224 | this.$emit("upDateQlrxxList", this.tableDataList); | ||
180 | } | 225 | } |
181 | }, | 226 | } else { |
227 | if (!_.isEqual(value, this.tableData)) { | ||
228 | this.tableDataList[this.dataIndex] = _.cloneDeep(value); | ||
229 | this.$emit("upDateQlrxxList", this.tableDataList); | ||
230 | } | ||
231 | } | ||
232 | this.key++; | ||
233 | }, | ||
234 | // 新增 | ||
235 | addClick() { | ||
236 | if (this.gyfs == "0" && this.tableDataList.length > 0) { | ||
237 | this.$message.warning("当前共有方式为单独所有,无法添加多个权利人"); | ||
238 | } else { | ||
239 | this.dialog = true; | ||
240 | this.isaddupdate = true; | ||
241 | } | ||
242 | }, | ||
182 | 243 | ||
183 | // 删除 | 244 | // 删除 |
184 | deleClick (index, row) { | 245 | deleClick(index, row) { |
185 | this.$confirm('确定要删除吗, 是否继续?', '提示', { | 246 | this.$confirm("确定要删除吗, 是否继续?", "提示", { |
186 | confirmButtonText: '确定', | 247 | confirmButtonText: "确定", |
187 | cancelButtonText: '取消', | 248 | cancelButtonText: "取消", |
188 | type: 'warning' | 249 | type: "warning", |
189 | }).then(() => { | 250 | }) |
190 | this.tableData.splice(index, 1) | 251 | .then(() => { |
191 | }).catch(() => { | 252 | this.tableData.splice(index, 1); |
192 | }); | 253 | }) |
193 | }, | 254 | .catch(() => {}); |
255 | }, | ||
194 | 256 | ||
195 | // 身份证读取 | 257 | // 身份证读取 |
196 | readClick () { }, | 258 | readClick() {}, |
197 | 259 | ||
198 | // 修改 | 260 | // 身份证读取按钮禁用 |
199 | editClick (index, row) { | 261 | onreadClick() { |
200 | // popupDialog("申请人信息", "workflow/components/addQlr", { | 262 | this.$message.error("此阶段不可编辑"); |
201 | // showButton: this.$route.query.viewtype ? false : true, | 263 | }, |
202 | // dataIndex :index, | 264 | // 修改 |
203 | // details :row, | 265 | editClick(index, row) { |
204 | // isaddupdate :false | 266 | // popupDialog("申请人信息", "workflow/components/addQlr", { |
205 | // }); | 267 | // showButton: this.$route.query.viewtype ? false : true, |
206 | this.dataIndex = index | 268 | // dataIndex :index, |
207 | this.dialog = true | 269 | // details :row, |
208 | this.details = row | 270 | // isaddupdate :false |
209 | this.isaddupdate = false | 271 | // }); |
210 | }, | 272 | this.dataIndex = index; |
211 | queryViewClick (index, row) { | 273 | this.dialog = true; |
212 | // popupDialog("申请人信息", "workflow/components/addQlr", { | 274 | this.details = row; |
213 | // showButton: this.$route.query.viewtype ? false : true, | 275 | this.isaddupdate = false; |
214 | // details: row, | 276 | }, |
215 | // }); | 277 | queryViewClick(index, row) { |
216 | this.dialog = true | 278 | // popupDialog("申请人信息", "workflow/components/addQlr", { |
217 | this.details = row | 279 | // showButton: this.$route.query.viewtype ? false : true, |
218 | } | 280 | // details: row, |
219 | } | 281 | // }); |
220 | } | 282 | this.dialog = true; |
283 | this.details = row; | ||
284 | }, | ||
285 | }, | ||
286 | }; | ||
221 | </script> | 287 | </script> |
222 | <style scoped lang="scss"> | 288 | <style scoped lang="scss"></style> |
223 | |||
224 | </style> | ... | ... |
... | @@ -5,217 +5,279 @@ | ... | @@ -5,217 +5,279 @@ |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
8 | <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="150" | 8 | <lb-table |
9 | :data="tableDataList"> | 9 | :column="column" |
10 | :pagination="false" | ||
11 | :key="key" | ||
12 | :heightNumSetting="true" | ||
13 | :minHeight="150" | ||
14 | :data="tableDataList" | ||
15 | > | ||
10 | </lb-table> | 16 | </lb-table> |
11 | <addYwr v-model="dialog" :details="details" :showButton="showButton" @updateDetail="handleupdateDetail" /> | 17 | <addYwr |
18 | v-model="dialog" | ||
19 | :details="details" | ||
20 | :showButton="showButton" | ||
21 | @updateDetail="handleupdateDetail" | ||
22 | /> | ||
12 | </div> | 23 | </div> |
13 | </template> | 24 | </template> |
14 | <script> | 25 | <script> |
15 | import addYwr from './dialog/addYwr.vue' | 26 | import addYwr from "./dialog/addYwr.vue"; |
16 | import { mapGetters } from 'vuex' | 27 | import { mapGetters } from "vuex"; |
17 | export default { | 28 | export default { |
18 | components: { | 29 | components: { |
19 | addYwr | 30 | addYwr, |
31 | }, | ||
32 | computed: { | ||
33 | ...mapGetters(["dictData"]), | ||
34 | }, | ||
35 | props: { | ||
36 | tableData: { | ||
37 | type: Array, | ||
38 | default: function () { | ||
39 | return []; | ||
40 | }, | ||
20 | }, | 41 | }, |
21 | computed: { | 42 | ableOperation: { |
22 | ...mapGetters(["dictData"]), | 43 | type: Boolean, |
44 | default: false, | ||
23 | }, | 45 | }, |
24 | props: { | 46 | gyfs: { |
25 | tableData: { | 47 | type: String, |
26 | type: Array, | 48 | default: "1", |
27 | default: function () { | ||
28 | return [] | ||
29 | } | ||
30 | }, | ||
31 | gyfs: { | ||
32 | type: String, | ||
33 | default: '1' | ||
34 | } | ||
35 | }, | 49 | }, |
36 | data () { | 50 | }, |
37 | return { | 51 | data() { |
38 | key: 0, | 52 | return { |
39 | dataIndex: 0, | 53 | key: 0, |
40 | dialog: false, | 54 | dataIndex: 0, |
41 | isaddupdate: false, | 55 | dialog: false, |
42 | showButton: this.$route.query.viewtype ? false : true, | 56 | isaddupdate: false, |
43 | details: {}, | 57 | showButton: this.ableOperation, |
44 | tableDataList: [], | 58 | details: {}, |
45 | InformationTable: [ | 59 | tableDataList: [], |
46 | { | 60 | InformationTable: [ |
47 | width: '50', | 61 | { |
48 | renderHeader: (h, scope) => { | 62 | width: "50", |
49 | return <div> { | 63 | renderHeader: (h, scope) => { |
50 | this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i> | 64 | return ( |
51 | } | 65 | <div> |
66 | {" "} | ||
67 | {!this.ableOperation ? ( | ||
68 | "序号" | ||
69 | ) : ( | ||
70 | <i | ||
71 | class="el-icon-plus pointer" | ||
72 | onClick={() => { | ||
73 | this.addClick(); | ||
74 | }} | ||
75 | ></i> | ||
76 | )} | ||
52 | </div> | 77 | </div> |
53 | }, | 78 | ); |
54 | render: (h, scope) => { | ||
55 | return ( | ||
56 | <div> | ||
57 | { | ||
58 | this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> : | ||
59 | <i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i> | ||
60 | } | ||
61 | </div> | ||
62 | ) | ||
63 | } | ||
64 | }, | 79 | }, |
65 | { | 80 | render: (h, scope) => { |
66 | label: '身份证读卡器', | 81 | return ( |
67 | align: 'center', | 82 | <div> |
68 | render: (h, scope) => { | 83 | {!this.ableOperation ? ( |
69 | return <el-button type="text" icon="el-icon-tickets" onClick={() => { this.readClick(scope) }}>读取</el-button> | 84 | <span>{scope.$index + 1}</span> |
70 | } | 85 | ) : ( |
86 | <i | ||
87 | class="el-icon-minus pointer" | ||
88 | onClick={() => { | ||
89 | this.deleClick(scope.$index, scope.row); | ||
90 | }} | ||
91 | ></i> | ||
92 | )} | ||
93 | </div> | ||
94 | ); | ||
71 | }, | 95 | }, |
72 | { | 96 | }, |
73 | prop: "ywrmc", | 97 | { |
74 | label: "姓名/名称" | 98 | label: "身份证读卡器", |
99 | align: "center", | ||
100 | render: (h, scope) => { | ||
101 | return ( | ||
102 | <el-button | ||
103 | type="text" | ||
104 | icon="el-icon-tickets" | ||
105 | disabled={!this.ableOperation} | ||
106 | onClick={() => { | ||
107 | this.readClick(scope); | ||
108 | }} | ||
109 | > | ||
110 | 读取 | ||
111 | </el-button> | ||
112 | ); | ||
75 | }, | 113 | }, |
76 | { | 114 | }, |
77 | prop: "zjzl", | 115 | { |
78 | label: "证件种类", | 116 | prop: "ywrmc", |
79 | render: (h, scope) => { | 117 | label: "姓名/名称", |
80 | return this.dictData['A30'] && this.dictData['A30'].map(option => { | 118 | }, |
119 | { | ||
120 | prop: "zjzl", | ||
121 | label: "证件种类", | ||
122 | render: (h, scope) => { | ||
123 | return ( | ||
124 | this.dictData["A30"] && | ||
125 | this.dictData["A30"].map((option) => { | ||
81 | if (option.dcode == scope.row.zjzl) { | 126 | if (option.dcode == scope.row.zjzl) { |
82 | return <span>{option.dname}</span> | 127 | return <span>{option.dname}</span>; |
83 | } | 128 | } |
84 | }) | 129 | }) |
85 | } | 130 | ); |
86 | }, | 131 | }, |
87 | { | 132 | }, |
88 | prop: "zjh", | 133 | { |
89 | label: "证件号" | 134 | prop: "zjh", |
90 | }, | 135 | label: "证件号", |
91 | { | 136 | }, |
92 | prop: "dh", | 137 | { |
93 | label: "联系电话" | 138 | prop: "dh", |
139 | label: "联系电话", | ||
140 | }, | ||
141 | { | ||
142 | label: "操作", | ||
143 | render: (h, scope) => { | ||
144 | return ( | ||
145 | <div> | ||
146 | {this.$route.query.viewtype ? ( | ||
147 | <el-button | ||
148 | icon="el-icon-view" | ||
149 | type="text" | ||
150 | onClick={() => { | ||
151 | this.queryViewClick(scope.$index, scope.row); | ||
152 | }} | ||
153 | disabled={!this.ableOperation} | ||
154 | > | ||
155 | {" "} | ||
156 | 查看 | ||
157 | </el-button> | ||
158 | ) : ( | ||
159 | <el-button | ||
160 | icon="el-icon-edit-outline" | ||
161 | type="text" | ||
162 | onClick={() => { | ||
163 | this.editClick(scope.$index, scope.row); | ||
164 | }} | ||
165 | disabled={!this.ableOperation} | ||
166 | > | ||
167 | 编辑 | ||
168 | </el-button> | ||
169 | )} | ||
170 | </div> | ||
171 | ); | ||
94 | }, | 172 | }, |
95 | { | ||
96 | label: '操作', | ||
97 | render: (h, scope) => { | ||
98 | return ( | ||
99 | <div> | ||
100 | { | ||
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> | ||
108 | } | ||
109 | </div> | ||
110 | ) | ||
111 | } | ||
112 | } | ||
113 | ], | ||
114 | column: [] | ||
115 | } | ||
116 | }, | ||
117 | watch: { | ||
118 | tableData: { | ||
119 | handler: function (val, oldVal) { | ||
120 | let that = this | ||
121 | this.$nextTick(() => { | ||
122 | if (val.length == 0 || !val) { | ||
123 | that.tableDataList = _.cloneDeep([{ | ||
124 | ywrmc: '', | ||
125 | dlrzjlx: '', | ||
126 | dlrzjh: '', | ||
127 | fr: '' | ||
128 | }]) | ||
129 | } else { | ||
130 | that.tableDataList = _.cloneDeep(val) | ||
131 | } | ||
132 | }) | ||
133 | }, | 173 | }, |
134 | immediate: true, | 174 | ], |
135 | deep: true | 175 | column: [], |
136 | }, | 176 | }; |
137 | gyfs: { | 177 | }, |
138 | handler (newVal, oldValue) { | 178 | watch: { |
139 | let dataList = _.cloneDeep(this.InformationTable) | 179 | tableData: { |
140 | if (newVal == 0) { | 180 | handler: function (val, oldVal) { |
141 | // this.column = _.cloneDeep(dataList).slice(1, dataList.length) | 181 | let that = this; |
142 | this.column = _.cloneDeep(dataList) | 182 | this.$nextTick(() => { |
143 | 183 | if (val.length == 0 || !val) { | |
144 | } else if ((newVal == '1' || newVal == '3')) { | 184 | that.tableDataList = _.cloneDeep([ |
145 | this.column = dataList | 185 | { |
186 | ywrmc: "", | ||
187 | dlrzjlx: "", | ||
188 | dlrzjh: "", | ||
189 | fr: "", | ||
190 | }, | ||
191 | ]); | ||
146 | } else { | 192 | } else { |
147 | this.column = _.cloneDeep(dataList) | 193 | that.tableDataList = _.cloneDeep(val); |
148 | this.column.splice( | ||
149 | 2, 0, { | ||
150 | prop: "fs", | ||
151 | label: "份数" | ||
152 | }) | ||
153 | } | 194 | } |
154 | }, | 195 | }); |
155 | immediate: true | 196 | }, |
156 | } | 197 | immediate: true, |
198 | deep: true, | ||
157 | }, | 199 | }, |
158 | methods: { | 200 | gyfs: { |
159 | handleupdateDetail (value) { | 201 | handler(newVal, oldValue) { |
160 | if (this.isaddupdate) { | 202 | let dataList = _.cloneDeep(this.InformationTable); |
161 | if (!_.isEqual(value, this.tableData)) { | 203 | if (newVal == 0) { |
162 | this.tableDataList[this.tableDataList.length] = _.cloneDeep(value); | 204 | // this.column = _.cloneDeep(dataList).slice(1, dataList.length) |
163 | this.$emit('upDateQlrxxList', this.tableDataList) | 205 | this.column = _.cloneDeep(dataList); |
164 | } | 206 | } else if (newVal == "1" || newVal == "3") { |
207 | this.column = dataList; | ||
165 | } else { | 208 | } else { |
166 | if (!_.isEqual(value, this.tableData)) { | 209 | this.column = _.cloneDeep(dataList); |
167 | this.tableDataList[this.dataIndex] = _.cloneDeep(value); | 210 | this.column.splice(2, 0, { |
168 | this.$emit('upDateQlrxxList', this.tableDataList) | 211 | prop: "fs", |
169 | } | 212 | label: "份数", |
213 | }); | ||
170 | } | 214 | } |
171 | this.key++ | ||
172 | }, | 215 | }, |
173 | // 新增 | 216 | immediate: true, |
174 | addClick () { | 217 | }, |
175 | if (this.gyfs == '0' && this.tableDataList.length > 0) { | 218 | }, |
176 | this.$message.warning("当前共有方式为单独所有,无法添加多个权利人") | 219 | methods: { |
177 | } else { | 220 | handleupdateDetail(value) { |
178 | this.dialog = true | 221 | if (this.isaddupdate) { |
179 | this.isaddupdate = true | 222 | if (!_.isEqual(value, this.tableData)) { |
223 | this.tableDataList[this.tableDataList.length] = _.cloneDeep(value); | ||
224 | this.$emit("upDateQlrxxList", this.tableDataList); | ||
180 | } | 225 | } |
181 | }, | 226 | } else { |
227 | if (!_.isEqual(value, this.tableData)) { | ||
228 | this.tableDataList[this.dataIndex] = _.cloneDeep(value); | ||
229 | this.$emit("upDateQlrxxList", this.tableDataList); | ||
230 | } | ||
231 | } | ||
232 | this.key++; | ||
233 | }, | ||
234 | // 新增 | ||
235 | addClick() { | ||
236 | if (this.gyfs == "0" && this.tableDataList.length > 0) { | ||
237 | this.$message.warning("当前共有方式为单独所有,无法添加多个权利人"); | ||
238 | } else { | ||
239 | this.dialog = true; | ||
240 | this.isaddupdate = true; | ||
241 | } | ||
242 | }, | ||
182 | 243 | ||
183 | // 删除 | 244 | // 删除 |
184 | deleClick (index, row) { | 245 | deleClick(index, row) { |
185 | this.$confirm('确定要删除吗, 是否继续?', '提示', { | 246 | this.$confirm("确定要删除吗, 是否继续?", "提示", { |
186 | confirmButtonText: '确定', | 247 | confirmButtonText: "确定", |
187 | cancelButtonText: '取消', | 248 | cancelButtonText: "取消", |
188 | type: 'warning' | 249 | type: "warning", |
189 | }).then(() => { | 250 | }) |
190 | this.tableData.splice(index, 1) | 251 | .then(() => { |
191 | }).catch(() => { | 252 | this.tableData.splice(index, 1); |
192 | }); | 253 | }) |
193 | }, | 254 | .catch(() => {}); |
255 | }, | ||
194 | 256 | ||
195 | // 身份证读取 | 257 | // 身份证读取 |
196 | readClick () { }, | 258 | readClick() {}, |
197 | 259 | ||
198 | // 修改 | 260 | // 修改 |
199 | editClick (index, row) { | 261 | editClick(index, row) { |
200 | // popupDialog("申请人信息", "workflow/components/addYwr", { | 262 | // popupDialog("申请人信息", "workflow/components/addYwr", { |
201 | // showButton: this.$route.query.viewtype ? false : true, | 263 | // showButton: this.$route.query.viewtype ? false : true, |
202 | // dataIndex :index, | 264 | // dataIndex :index, |
203 | // details :row, | 265 | // details :row, |
204 | // isaddupdate :false | 266 | // isaddupdate :false |
205 | // }); | 267 | // }); |
206 | this.dataIndex = index | 268 | this.dataIndex = index; |
207 | this.dialog = true | 269 | this.dialog = true; |
208 | this.details = row | 270 | this.details = row; |
209 | this.isaddupdate = false | 271 | this.isaddupdate = false; |
210 | }, | 272 | }, |
211 | queryViewClick (index, row) { | 273 | queryViewClick(index, row) { |
212 | // popupDialog("申请人信息", "workflow/components/addYwr", { | 274 | // popupDialog("申请人信息", "workflow/components/addYwr", { |
213 | // showButton: this.$route.query.viewtype ? false : true, | 275 | // showButton: this.$route.query.viewtype ? false : true, |
214 | // details: row, | 276 | // details: row, |
215 | // }); | 277 | // }); |
216 | this.dialog = true | 278 | this.dialog = true; |
217 | this.details = row | 279 | this.details = row; |
218 | } | 280 | }, |
219 | } | 281 | }, |
220 | } | 282 | }; |
221 | </script> | 283 | </script> | ... | ... |
... | @@ -10,12 +10,13 @@ | ... | @@ -10,12 +10,13 @@ |
10 | <el-form | 10 | <el-form |
11 | :model="ruleForm" | 11 | :model="ruleForm" |
12 | :rules="rules" | 12 | :rules="rules" |
13 | class="loadingtext" | ||
14 | ref="ruleForm" | 13 | ref="ruleForm" |
15 | :label-position="flag ? 'top' : ''" | 14 | :label-position="flag ? 'top' : ''" |
16 | :inline="flag" | 15 | :inline="flag" |
17 | label-width="145px" | 16 | label-width="145px" |
18 | inline-message | 17 | inline-message |
18 | :class="{readonly: editDisabled }" | ||
19 | class="loadingtext" | ||
19 | > | 20 | > |
20 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 21 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
21 | <div class="slxx_title title-block"> | 22 | <div class="slxx_title title-block"> |
... | @@ -340,7 +341,7 @@ | ... | @@ -340,7 +341,7 @@ |
340 | </el-form-item> | 341 | </el-form-item> |
341 | </el-col> | 342 | </el-col> |
342 | </div> | 343 | </div> |
343 | <el-row class="btn" v-if="!$route.query.viewtype"> | 344 | <el-row class="btn" v-if="ableOperation"> |
344 | <el-form-item> | 345 | <el-form-item> |
345 | <el-button type="primary" @click="onSubmit">保存</el-button> | 346 | <el-button type="primary" @click="onSubmit">保存</el-button> |
346 | </el-form-item> | 347 | </el-form-item> |
... | @@ -350,7 +351,7 @@ | ... | @@ -350,7 +351,7 @@ |
350 | </template> | 351 | </template> |
351 | <script> | 352 | <script> |
352 | import { mapGetters } from "vuex"; | 353 | import { mapGetters } from "vuex"; |
353 | import { init, getSsQlxx, getZtQlxx, save } from "@/api/djbbl.js"; | 354 | import { init, getSsQlxx, getZtQlxx, save } from "@/api/djbRepair.js"; |
354 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 355 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
355 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; | 356 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; |
356 | import tdytTable from "@/views/workflow/components/tdytTable"; | 357 | import tdytTable from "@/views/workflow/components/tdytTable"; |
... | @@ -359,6 +360,14 @@ export default { | ... | @@ -359,6 +360,14 @@ export default { |
359 | components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, | 360 | components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, |
360 | computed: { | 361 | computed: { |
361 | ...mapGetters(["dictData", "flag"]), | 362 | ...mapGetters(["dictData", "flag"]), |
363 | // 根据流程判断表单是否为只读 | ||
364 | editDisabled() { | ||
365 | if (!this.ableOperation) { | ||
366 | //只读状态 | ||
367 | return true; | ||
368 | } | ||
369 | return false; | ||
370 | }, | ||
362 | }, | 371 | }, |
363 | data() { | 372 | data() { |
364 | return { | 373 | return { |
... | @@ -426,6 +435,7 @@ export default { | ... | @@ -426,6 +435,7 @@ export default { |
426 | dname: "是", | 435 | dname: "是", |
427 | }, | 436 | }, |
428 | ], | 437 | ], |
438 | ableOperation:false, | ||
429 | //传递参数\ | 439 | //传递参数\ |
430 | 440 | ||
431 | ssQlxxList: [], | 441 | ssQlxxList: [], |
... | @@ -444,7 +454,9 @@ export default { | ... | @@ -444,7 +454,9 @@ export default { |
444 | created() { | 454 | created() { |
445 | this.loadData(); | 455 | this.loadData(); |
446 | }, | 456 | }, |
447 | mounted() {}, | 457 | mounted() { |
458 | this.ableOperation=this.$parent.ableOperation | ||
459 | }, | ||
448 | methods: { | 460 | methods: { |
449 | ztQlxxchange(val) { | 461 | ztQlxxchange(val) { |
450 | this.ruleForm.ztQlxx = val; | 462 | this.ruleForm.ztQlxx = val; |
... | @@ -570,6 +582,13 @@ export default { | ... | @@ -570,6 +582,13 @@ export default { |
570 | }; | 582 | }; |
571 | </script> | 583 | </script> |
572 | <style scoped lang="scss"> | 584 | <style scoped lang="scss"> |
585 | |||
573 | @import "~@/styles/public.scss"; | 586 | @import "~@/styles/public.scss"; |
574 | @import "~@/styles/slxx/slxx.scss"; | 587 | @import "~@/styles/slxx/slxx.scss"; |
588 | |||
589 | |||
590 | |||
591 | |||
592 | |||
575 | </style> | 593 | </style> |
594 | ... | ... |
... | @@ -9,7 +9,8 @@ | ... | @@ -9,7 +9,8 @@ |
9 | <el-form | 9 | <el-form |
10 | :model="ruleForm" | 10 | :model="ruleForm" |
11 | :rules="rules" | 11 | :rules="rules" |
12 | class="loadingtext" | 12 | :class="{readonly: editDisabled }" |
13 | class="loadingtext" | ||
13 | ref="ruleForm" | 14 | ref="ruleForm" |
14 | :label-position="flag ? 'top' : ''" | 15 | :label-position="flag ? 'top' : ''" |
15 | :inline="flag" | 16 | :inline="flag" |
... | @@ -455,6 +456,7 @@ | ... | @@ -455,6 +456,7 @@ |
455 | :tableData="ruleForm.qlrData" | 456 | :tableData="ruleForm.qlrData" |
456 | @upDateQlrxxList="upDateQlrxxList" | 457 | @upDateQlrxxList="upDateQlrxxList" |
457 | :key="key" | 458 | :key="key" |
459 | :ableOperation="ableOperation" | ||
458 | :gyfs="ruleForm.qlxx.gyfs" | 460 | :gyfs="ruleForm.qlxx.gyfs" |
459 | /> | 461 | /> |
460 | 462 | ||
... | @@ -467,11 +469,12 @@ | ... | @@ -467,11 +469,12 @@ |
467 | v-if="ruleForm.ywrData" | 469 | v-if="ruleForm.ywrData" |
468 | :tableData="ruleForm.ywrData" | 470 | :tableData="ruleForm.ywrData" |
469 | :key="key" | 471 | :key="key" |
472 | :ableOperation="ableOperation" | ||
470 | @upDateQlrxxList="upDateYwrxxList" | 473 | @upDateQlrxxList="upDateYwrxxList" |
471 | /> | 474 | /> |
472 | </div> | 475 | </div> |
473 | </div> | 476 | </div> |
474 | <el-row class="btn" v-if="!$route.query.viewtype"> | 477 | <el-row class="btn" v-if="ableOperation"> |
475 | <el-form-item> | 478 | <el-form-item> |
476 | <el-button type="primary" @click="onSubmit">保存</el-button> | 479 | <el-button type="primary" @click="onSubmit">保存</el-button> |
477 | </el-form-item> | 480 | </el-form-item> |
... | @@ -481,7 +484,7 @@ | ... | @@ -481,7 +484,7 @@ |
481 | </template> | 484 | </template> |
482 | <script> | 485 | <script> |
483 | import { mapGetters } from "vuex"; | 486 | import { mapGetters } from "vuex"; |
484 | import { init, getSsQlxx, getZtQlxx, save } from "@/api/djbbl.js"; | 487 | import { init, getSsQlxx, getZtQlxx, save } from "@/api/djbRepair.js"; |
485 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 488 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
486 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; | 489 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; |
487 | import selectTable from "@/components/selectTable/index.vue"; | 490 | import selectTable from "@/components/selectTable/index.vue"; |
... | @@ -490,6 +493,14 @@ export default { | ... | @@ -490,6 +493,14 @@ export default { |
490 | components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, | 493 | components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, |
491 | computed: { | 494 | computed: { |
492 | ...mapGetters(["dictData", "flag"]), | 495 | ...mapGetters(["dictData", "flag"]), |
496 | // 根据流程判断表单是否为只读 | ||
497 | editDisabled() { | ||
498 | if (!this.ableOperation) { | ||
499 | //只读状态 | ||
500 | return true; | ||
501 | } | ||
502 | return false; | ||
503 | }, | ||
493 | }, | 504 | }, |
494 | data() { | 505 | data() { |
495 | return { | 506 | return { |
... | @@ -546,6 +557,7 @@ export default { | ... | @@ -546,6 +557,7 @@ export default { |
546 | ], | 557 | ], |
547 | ssQlxxList: [], | 558 | ssQlxxList: [], |
548 | ztQlxxList: [], | 559 | ztQlxxList: [], |
560 | ableOperation:false, | ||
549 | rules: { | 561 | rules: { |
550 | bdcqzhrules: [ | 562 | bdcqzhrules: [ |
551 | { required: true, message: "不动产登记证明号", trigger: "blur" }, | 563 | { required: true, message: "不动产登记证明号", trigger: "blur" }, |
... | @@ -570,7 +582,9 @@ export default { | ... | @@ -570,7 +582,9 @@ export default { |
570 | created() { | 582 | created() { |
571 | this.loadData(); | 583 | this.loadData(); |
572 | }, | 584 | }, |
573 | 585 | mounted() { | |
586 | this.ableOperation=this.$parent.ableOperation | ||
587 | }, | ||
574 | methods: { | 588 | methods: { |
575 | ztQlxxchange(val) { | 589 | ztQlxxchange(val) { |
576 | this.ruleForm.ztQlxx = val; | 590 | this.ruleForm.ztQlxx = val; |
... | @@ -703,4 +717,5 @@ export default { | ... | @@ -703,4 +717,5 @@ export default { |
703 | .el-table__row { | 717 | .el-table__row { |
704 | height: 30px !important; | 718 | height: 30px !important; |
705 | } | 719 | } |
720 | |||
706 | </style> | 721 | </style> | ... | ... |
... | @@ -9,7 +9,8 @@ | ... | @@ -9,7 +9,8 @@ |
9 | <el-form | 9 | <el-form |
10 | :model="ruleForm" | 10 | :model="ruleForm" |
11 | :rules="rules" | 11 | :rules="rules" |
12 | class="loadingtext" | 12 | :class="{readonly: editDisabled }" |
13 | class="loadingtext" | ||
13 | ref="ruleForm" | 14 | ref="ruleForm" |
14 | :label-position="flag ? 'top' : ''" | 15 | :label-position="flag ? 'top' : ''" |
15 | :inline="flag" | 16 | :inline="flag" |
... | @@ -244,6 +245,7 @@ | ... | @@ -244,6 +245,7 @@ |
244 | :tableData="ruleForm.qlrData" | 245 | :tableData="ruleForm.qlrData" |
245 | @upDateQlrxxList="upDateQlrxxList" | 246 | @upDateQlrxxList="upDateQlrxxList" |
246 | :key="key" | 247 | :key="key" |
248 | :ableOperation="ableOperation" | ||
247 | :gyfs="ruleForm.qlxx.gyfs" | 249 | :gyfs="ruleForm.qlxx.gyfs" |
248 | /> | 250 | /> |
249 | 251 | ||
... | @@ -256,11 +258,12 @@ | ... | @@ -256,11 +258,12 @@ |
256 | v-if="ruleForm.ywrData" | 258 | v-if="ruleForm.ywrData" |
257 | :tableData="ruleForm.ywrData" | 259 | :tableData="ruleForm.ywrData" |
258 | :key="key" | 260 | :key="key" |
261 | :ableOperation="ableOperation" | ||
259 | @upDateQlrxxList="upDateYwrxxList" | 262 | @upDateQlrxxList="upDateYwrxxList" |
260 | /> | 263 | /> |
261 | </div> | 264 | </div> |
262 | </div> | 265 | </div> |
263 | <el-row class="btn" v-if="!$route.query.viewtype"> | 266 | <el-row class="btn" v-if="ableOperation"> |
264 | <el-form-item> | 267 | <el-form-item> |
265 | <el-button type="primary" @click="onSubmit">保存</el-button> | 268 | <el-button type="primary" @click="onSubmit">保存</el-button> |
266 | </el-form-item> | 269 | </el-form-item> |
... | @@ -270,7 +273,7 @@ | ... | @@ -270,7 +273,7 @@ |
270 | </template> | 273 | </template> |
271 | <script> | 274 | <script> |
272 | import { mapGetters } from "vuex"; | 275 | import { mapGetters } from "vuex"; |
273 | import { init, save } from "@/api/djbbl.js"; | 276 | import { init, save } from "@/api/djbRepair.js"; |
274 | import { getSjlx, getDictLeabel } from "@/utils/dictionary.js"; | 277 | import { getSjlx, getDictLeabel } from "@/utils/dictionary.js"; |
275 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 278 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
276 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; | 279 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; |
... | @@ -279,6 +282,14 @@ export default { | ... | @@ -279,6 +282,14 @@ export default { |
279 | components: { qlrCommonTable, ywrCommonTable, tdytTable }, | 282 | components: { qlrCommonTable, ywrCommonTable, tdytTable }, |
280 | computed: { | 283 | computed: { |
281 | ...mapGetters(["dictData", "flag"]), | 284 | ...mapGetters(["dictData", "flag"]), |
285 | // 根据流程判断表单是否为只读 | ||
286 | editDisabled() { | ||
287 | if (!this.ableOperation) { | ||
288 | //只读状态 | ||
289 | return true; | ||
290 | } | ||
291 | return false; | ||
292 | }, | ||
282 | }, | 293 | }, |
283 | data() { | 294 | data() { |
284 | return { | 295 | return { |
... | @@ -328,6 +339,7 @@ export default { | ... | @@ -328,6 +339,7 @@ export default { |
328 | dname: "历史", | 339 | dname: "历史", |
329 | }, | 340 | }, |
330 | ], | 341 | ], |
342 | ableOperation:false, | ||
331 | //传递参数\ | 343 | //传递参数\ |
332 | rules: { | 344 | rules: { |
333 | bdcqzhrules:[ | 345 | bdcqzhrules:[ |
... | @@ -343,7 +355,9 @@ export default { | ... | @@ -343,7 +355,9 @@ export default { |
343 | created() { | 355 | created() { |
344 | this.loadData(); | 356 | this.loadData(); |
345 | }, | 357 | }, |
346 | mounted() {}, | 358 | mounted() { |
359 | this.ableOperation=this.$parent.ableOperation | ||
360 | }, | ||
347 | methods: { | 361 | methods: { |
348 | loadData() { | 362 | loadData() { |
349 | this.propsParam.isEdit = this.$parent.isEdit; | 363 | this.propsParam.isEdit = this.$parent.isEdit; | ... | ... |
... | @@ -9,7 +9,8 @@ | ... | @@ -9,7 +9,8 @@ |
9 | <el-form | 9 | <el-form |
10 | :model="ruleForm" | 10 | :model="ruleForm" |
11 | :rules="rules" | 11 | :rules="rules" |
12 | class="loadingtext" | 12 | :class="{readonly: editDisabled }" |
13 | class="loadingtext" | ||
13 | ref="ruleForm" | 14 | ref="ruleForm" |
14 | :label-position="flag ? 'top' : ''" | 15 | :label-position="flag ? 'top' : ''" |
15 | :inline="flag" | 16 | :inline="flag" |
... | @@ -272,6 +273,7 @@ | ... | @@ -272,6 +273,7 @@ |
272 | <tdytTable | 273 | <tdytTable |
273 | :tableData="ruleForm.tdytqxList" | 274 | :tableData="ruleForm.tdytqxList" |
274 | @upDateTdytxxList="upDateTdytxxList" | 275 | @upDateTdytxxList="upDateTdytxxList" |
276 | :ableOperation="ableOperation" | ||
275 | /> | 277 | /> |
276 | <div class="slxx_title title-block"> | 278 | <div class="slxx_title title-block"> |
277 | 权利人信息 | 279 | 权利人信息 |
... | @@ -318,11 +320,12 @@ | ... | @@ -318,11 +320,12 @@ |
318 | <qlrCommonTable | 320 | <qlrCommonTable |
319 | :tableData="ruleForm.qlrData" | 321 | :tableData="ruleForm.qlrData" |
320 | @upDateQlrxxList="upDateQlrxxList" | 322 | @upDateQlrxxList="upDateQlrxxList" |
323 | :ableOperation="ableOperation" | ||
321 | :key="key" | 324 | :key="key" |
322 | :gyfs="ruleForm.qlxx.gyfs" | 325 | :gyfs="ruleForm.qlxx.gyfs" |
323 | /> | 326 | /> |
324 | </div> | 327 | </div> |
325 | <el-row class="btn" v-if="!$route.query.viewtype"> | 328 | <el-row class="btn" v-if="ableOperation"> |
326 | <el-form-item> | 329 | <el-form-item> |
327 | <el-button type="primary" @click="onSubmit">保存</el-button> | 330 | <el-button type="primary" @click="onSubmit">保存</el-button> |
328 | </el-form-item> | 331 | </el-form-item> |
... | @@ -332,7 +335,7 @@ | ... | @@ -332,7 +335,7 @@ |
332 | </template> | 335 | </template> |
333 | <script> | 336 | <script> |
334 | import { mapGetters } from "vuex"; | 337 | import { mapGetters } from "vuex"; |
335 | import { init, save } from "@/api/djbbl.js"; | 338 | import { init, save } from "@/api/djbRepair.js"; |
336 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 339 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
337 | import tdytTable from "@/views/workflow/components/tdytTable"; | 340 | import tdytTable from "@/views/workflow/components/tdytTable"; |
338 | // import the component | 341 | // import the component |
... | @@ -343,6 +346,14 @@ export default { | ... | @@ -343,6 +346,14 @@ export default { |
343 | components: { qlrCommonTable, tdytTable }, | 346 | components: { qlrCommonTable, tdytTable }, |
344 | computed: { | 347 | computed: { |
345 | ...mapGetters(["dictData", "flag"]), | 348 | ...mapGetters(["dictData", "flag"]), |
349 | // 根据流程判断表单是否为只读 | ||
350 | editDisabled() { | ||
351 | if (!this.ableOperation) { | ||
352 | //只读状态 | ||
353 | return true; | ||
354 | } | ||
355 | return false; | ||
356 | }, | ||
346 | }, | 357 | }, |
347 | data() { | 358 | data() { |
348 | return { | 359 | return { |
... | @@ -405,6 +416,7 @@ export default { | ... | @@ -405,6 +416,7 @@ export default { |
405 | disabled: true, | 416 | disabled: true, |
406 | czrOptions: [], | 417 | czrOptions: [], |
407 | ruleForm: {}, | 418 | ruleForm: {}, |
419 | ableOperation:false, | ||
408 | //传递参数\ | 420 | //传递参数\ |
409 | rules: { | 421 | rules: { |
410 | 422 | ||
... | @@ -422,7 +434,9 @@ export default { | ... | @@ -422,7 +434,9 @@ export default { |
422 | created() { | 434 | created() { |
423 | this.loadData(); | 435 | this.loadData(); |
424 | }, | 436 | }, |
425 | mounted() {}, | 437 | mounted() { |
438 | this.ableOperation=this.$parent.ableOperation | ||
439 | }, | ||
426 | methods: { | 440 | methods: { |
427 | loadData() { | 441 | loadData() { |
428 | 442 | ... | ... |
... | @@ -9,7 +9,8 @@ | ... | @@ -9,7 +9,8 @@ |
9 | <el-form | 9 | <el-form |
10 | :model="ruleForm" | 10 | :model="ruleForm" |
11 | :rules="rules" | 11 | :rules="rules" |
12 | class="loadingtext" | 12 | :class="{readonly: editDisabled }" |
13 | class="loadingtext" | ||
13 | ref="ruleForm" | 14 | ref="ruleForm" |
14 | :label-position="flag ? 'top' : ''" | 15 | :label-position="flag ? 'top' : ''" |
15 | :inline="flag" | 16 | :inline="flag" |
... | @@ -214,6 +215,7 @@ | ... | @@ -214,6 +215,7 @@ |
214 | <tdytTable | 215 | <tdytTable |
215 | :tableData="ruleForm.tdytqxList" | 216 | :tableData="ruleForm.tdytqxList" |
216 | @upDateTdytxxList="upDateTdytxxList" | 217 | @upDateTdytxxList="upDateTdytxxList" |
218 | :ableOperation="ableOperation" | ||
217 | /> | 219 | /> |
218 | <div class="slxx_title title-block"> | 220 | <div class="slxx_title title-block"> |
219 | 权利人信息 | 221 | 权利人信息 |
... | @@ -262,12 +264,12 @@ | ... | @@ -262,12 +264,12 @@ |
262 | :tableData="ruleForm.qlrData" | 264 | :tableData="ruleForm.qlrData" |
263 | @upDateQlrxxList="upDateQlrxxList" | 265 | @upDateQlrxxList="upDateQlrxxList" |
264 | :key="key" | 266 | :key="key" |
265 | :viewtype="$route.query.viewtype" | 267 | :ableOperation="ableOperation" |
266 | :gyfs="ruleForm.qlxx.gyfs" | 268 | :gyfs="ruleForm.qlxx.gyfs" |
267 | /> | 269 | /> |
268 | 270 | ||
269 | </div> | 271 | </div> |
270 | <el-row class="btn" v-if="!$route.query.viewtype"> | 272 | <el-row class="btn" v-if="ableOperation"> |
271 | <el-form-item> | 273 | <el-form-item> |
272 | <el-button type="primary" @click="onSubmit">保存</el-button> | 274 | <el-button type="primary" @click="onSubmit">保存</el-button> |
273 | </el-form-item> | 275 | </el-form-item> |
... | @@ -278,13 +280,21 @@ | ... | @@ -278,13 +280,21 @@ |
278 | <script> | 280 | <script> |
279 | import store from "@/store/index.js"; | 281 | import store from "@/store/index.js"; |
280 | import { mapGetters } from "vuex"; | 282 | import { mapGetters } from "vuex"; |
281 | import { init, save } from "@/api/djbbl.js"; | 283 | import { init, save } from "@/api/djbRepair.js"; |
282 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 284 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
283 | import tdytTable from "@/views/workflow/components/tdytTable"; | 285 | import tdytTable from "@/views/workflow/components/tdytTable"; |
284 | export default { | 286 | export default { |
285 | components: { qlrCommonTable, tdytTable }, | 287 | components: { qlrCommonTable, tdytTable }, |
286 | computed: { | 288 | computed: { |
287 | ...mapGetters(["dictData", "flag"]), | 289 | ...mapGetters(["dictData", "flag"]), |
290 | // 根据流程判断表单是否为只读 | ||
291 | editDisabled() { | ||
292 | if (!this.ableOperation) { | ||
293 | //只读状态 | ||
294 | return true; | ||
295 | } | ||
296 | return false; | ||
297 | }, | ||
288 | }, | 298 | }, |
289 | data() { | 299 | data() { |
290 | return { | 300 | return { |
... | @@ -301,7 +311,7 @@ export default { | ... | @@ -301,7 +311,7 @@ export default { |
301 | }, | 311 | }, |
302 | //表单是否可操作 | 312 | //表单是否可操作 |
303 | propsParam: this.$attrs, | 313 | propsParam: this.$attrs, |
304 | ableOperation: true, | 314 | ableOperation:false, |
305 | key: 0, | 315 | key: 0, |
306 | // 登记类型 | 316 | // 登记类型 |
307 | djlxlist: [ | 317 | djlxlist: [ |
... | @@ -362,7 +372,9 @@ export default { | ... | @@ -362,7 +372,9 @@ export default { |
362 | created() { | 372 | created() { |
363 | this.loadData(); | 373 | this.loadData(); |
364 | }, | 374 | }, |
365 | mounted() {}, | 375 | mounted() { |
376 | this.ableOperation=this.$parent.ableOperation | ||
377 | }, | ||
366 | methods: { | 378 | methods: { |
367 | // 字典 | 379 | // 字典 |
368 | getDictData(val) { | 380 | getDictData(val) { | ... | ... |
... | @@ -9,7 +9,8 @@ | ... | @@ -9,7 +9,8 @@ |
9 | <el-form | 9 | <el-form |
10 | :model="ruleForm" | 10 | :model="ruleForm" |
11 | :rules="rules" | 11 | :rules="rules" |
12 | class="loadingtext" | 12 | :class="{readonly: editDisabled }" |
13 | class="loadingtext" | ||
13 | ref="ruleForm" | 14 | ref="ruleForm" |
14 | :label-position="flag ? 'top' : ''" | 15 | :label-position="flag ? 'top' : ''" |
15 | :inline="flag" | 16 | :inline="flag" |
... | @@ -241,6 +242,7 @@ | ... | @@ -241,6 +242,7 @@ |
241 | <tdytTable | 242 | <tdytTable |
242 | :tableData="ruleForm.tdytqxList" | 243 | :tableData="ruleForm.tdytqxList" |
243 | @upDateTdytxxList="upDateTdytxxList" | 244 | @upDateTdytxxList="upDateTdytxxList" |
245 | :ableOperation="ableOperation" | ||
244 | /> | 246 | /> |
245 | <div class="slxx_title title-block"> | 247 | <div class="slxx_title title-block"> |
246 | 权利人信息 | 248 | 权利人信息 |
... | @@ -250,8 +252,8 @@ | ... | @@ -250,8 +252,8 @@ |
250 | <el-col :span="12"> | 252 | <el-col :span="12"> |
251 | <el-form-item label="共有方式:"> | 253 | <el-form-item label="共有方式:"> |
252 | <el-radio-group | 254 | <el-radio-group |
253 | :disabled="$route.query.viewtype == 0" | 255 | :disabled="!ableOperation" |
254 | v-model="ruleForm.qlxx.gyqk" | 256 | v-model="ruleForm.qlxx.gyfs" |
255 | > | 257 | > |
256 | <el-radio label="0">单独所有</el-radio> | 258 | <el-radio label="0">单独所有</el-radio> |
257 | <el-radio label="1">共同共有</el-radio> | 259 | <el-radio label="1">共同共有</el-radio> |
... | @@ -289,11 +291,11 @@ | ... | @@ -289,11 +291,11 @@ |
289 | :tableData="ruleForm.qlrData" | 291 | :tableData="ruleForm.qlrData" |
290 | @upDateQlrxxList="upDateQlrxxList" | 292 | @upDateQlrxxList="upDateQlrxxList" |
291 | :key="key" | 293 | :key="key" |
292 | :viewtype="$route.query.viewtype" | 294 | :ableOperation="ableOperation" |
293 | :gyfs="ruleForm.qlxx.gyfs" | 295 | :gyfs="ruleForm.qlxx.gyfs" |
294 | /> | 296 | /> |
295 | </div> | 297 | </div> |
296 | <el-row class="btn" v-if="!$route.query.viewtype"> | 298 | <el-row class="btn" v-if="ableOperation"> |
297 | <el-form-item> | 299 | <el-form-item> |
298 | <el-button type="primary" @click="onSubmit">保存</el-button> | 300 | <el-button type="primary" @click="onSubmit">保存</el-button> |
299 | </el-form-item> | 301 | </el-form-item> |
... | @@ -304,13 +306,21 @@ | ... | @@ -304,13 +306,21 @@ |
304 | <script> | 306 | <script> |
305 | import store from "@/store/index.js"; | 307 | import store from "@/store/index.js"; |
306 | import { mapGetters } from "vuex"; | 308 | import { mapGetters } from "vuex"; |
307 | import { init, save } from "@/api/djbbl.js"; | 309 | import { init, save } from "@/api/djbRepair.js"; |
308 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 310 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
309 | import tdytTable from "@/views/workflow/components/tdytTable"; | 311 | import tdytTable from "@/views/workflow/components/tdytTable"; |
310 | export default { | 312 | export default { |
311 | components: { qlrCommonTable, tdytTable }, | 313 | components: { qlrCommonTable, tdytTable }, |
312 | computed: { | 314 | computed: { |
313 | ...mapGetters(["dictData", "flag"]), | 315 | ...mapGetters(["dictData", "flag"]), |
316 | // 根据流程判断表单是否为只读 | ||
317 | editDisabled() { | ||
318 | if (!this.ableOperation) { | ||
319 | //只读状态 | ||
320 | return true; | ||
321 | } | ||
322 | return false; | ||
323 | }, | ||
314 | }, | 324 | }, |
315 | data() { | 325 | data() { |
316 | return { | 326 | return { |
... | @@ -327,7 +337,6 @@ export default { | ... | @@ -327,7 +337,6 @@ export default { |
327 | }, | 337 | }, |
328 | //表单是否可操作 | 338 | //表单是否可操作 |
329 | propsParam: this.$attrs, | 339 | propsParam: this.$attrs, |
330 | ableOperation: true, | ||
331 | key: 0, | 340 | key: 0, |
332 | // 登记类型 | 341 | // 登记类型 |
333 | djlxlist: [ | 342 | djlxlist: [ |
... | @@ -373,6 +382,7 @@ export default { | ... | @@ -373,6 +382,7 @@ export default { |
373 | disabled: true, | 382 | disabled: true, |
374 | czrOptions: [], | 383 | czrOptions: [], |
375 | ruleForm: {}, | 384 | ruleForm: {}, |
385 | ableOperation:false, | ||
376 | //传递参数\ | 386 | //传递参数\ |
377 | rules: { | 387 | rules: { |
378 | bdcqzhrules: [ | 388 | bdcqzhrules: [ |
... | @@ -388,7 +398,9 @@ export default { | ... | @@ -388,7 +398,9 @@ export default { |
388 | created() { | 398 | created() { |
389 | this.loadData(); | 399 | this.loadData(); |
390 | }, | 400 | }, |
391 | mounted() {}, | 401 | mounted() { |
402 | this.ableOperation=this.$parent.ableOperation | ||
403 | }, | ||
392 | methods: { | 404 | methods: { |
393 | // 字典 | 405 | // 字典 |
394 | getDictData(val) { | 406 | getDictData(val) { |
... | @@ -491,4 +503,9 @@ export default { | ... | @@ -491,4 +503,9 @@ export default { |
491 | <style scoped lang="scss"> | 503 | <style scoped lang="scss"> |
492 | @import "~@/styles/public.scss"; | 504 | @import "~@/styles/public.scss"; |
493 | @import "~@/styles/slxx/slxx.scss"; | 505 | @import "~@/styles/slxx/slxx.scss"; |
506 | .loadingtext{ | ||
507 | /deep/.el-form-item__content{ | ||
508 | pointer-events: none!important; | ||
509 | } | ||
510 | } | ||
494 | </style> | 511 | </style> | ... | ... |
... | @@ -10,7 +10,8 @@ | ... | @@ -10,7 +10,8 @@ |
10 | <el-form | 10 | <el-form |
11 | :model="ruleForm" | 11 | :model="ruleForm" |
12 | :rules="rules" | 12 | :rules="rules" |
13 | class="loadingtext" | 13 | :class="{readonly: editDisabled }" |
14 | class="loadingtext" | ||
14 | ref="ruleForm" | 15 | ref="ruleForm" |
15 | :label-position="flag ? 'top' : ''" | 16 | :label-position="flag ? 'top' : ''" |
16 | :inline="flag" | 17 | :inline="flag" |
... | @@ -283,6 +284,7 @@ | ... | @@ -283,6 +284,7 @@ |
283 | :tableData="ruleForm.qlrData" | 284 | :tableData="ruleForm.qlrData" |
284 | @upDateQlrxxList="upDateQlrxxList" | 285 | @upDateQlrxxList="upDateQlrxxList" |
285 | :key="key" | 286 | :key="key" |
287 | :ableOperation="ableOperation" | ||
286 | :gyfs="ruleForm.qlxx.gyfs" | 288 | :gyfs="ruleForm.qlxx.gyfs" |
287 | /> | 289 | /> |
288 | 290 | ||
... | @@ -295,11 +297,12 @@ | ... | @@ -295,11 +297,12 @@ |
295 | v-if="ruleForm.ywrData" | 297 | v-if="ruleForm.ywrData" |
296 | :tableData="ruleForm.ywrData" | 298 | :tableData="ruleForm.ywrData" |
297 | :key="key" | 299 | :key="key" |
300 | :ableOperation="ableOperation" | ||
298 | @upDateQlrxxList="upDateYwrxxList" | 301 | @upDateQlrxxList="upDateYwrxxList" |
299 | /> | 302 | /> |
300 | </div> | 303 | </div> |
301 | </div> | 304 | </div> |
302 | <el-row class="btn" v-if="!$route.query.viewtype"> | 305 | <el-row class="btn" v-if="ableOperation"> |
303 | <el-form-item> | 306 | <el-form-item> |
304 | <el-button type="primary" @click="onSubmit">保存</el-button> | 307 | <el-button type="primary" @click="onSubmit">保存</el-button> |
305 | </el-form-item> | 308 | </el-form-item> |
... | @@ -309,7 +312,7 @@ | ... | @@ -309,7 +312,7 @@ |
309 | </template> | 312 | </template> |
310 | <script> | 313 | <script> |
311 | import { mapGetters } from "vuex"; | 314 | import { mapGetters } from "vuex"; |
312 | import { init, save } from "@/api/djbbl.js"; | 315 | import { init, save } from "@/api/djbRepair.js"; |
313 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 316 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
314 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; | 317 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; |
315 | import tdytTable from "@/views/workflow/components/tdytTable"; | 318 | import tdytTable from "@/views/workflow/components/tdytTable"; |
... | @@ -317,6 +320,14 @@ export default { | ... | @@ -317,6 +320,14 @@ export default { |
317 | components: { qlrCommonTable, ywrCommonTable, tdytTable }, | 320 | components: { qlrCommonTable, ywrCommonTable, tdytTable }, |
318 | computed: { | 321 | computed: { |
319 | ...mapGetters(["dictData", "flag"]), | 322 | ...mapGetters(["dictData", "flag"]), |
323 | // 根据流程判断表单是否为只读 | ||
324 | editDisabled() { | ||
325 | if (!this.ableOperation) { | ||
326 | //只读状态 | ||
327 | return true; | ||
328 | } | ||
329 | return false; | ||
330 | }, | ||
320 | }, | 331 | }, |
321 | data() { | 332 | data() { |
322 | return { | 333 | return { |
... | @@ -377,12 +388,15 @@ export default { | ... | @@ -377,12 +388,15 @@ export default { |
377 | djsjrules: [{ required: true, message: "登记时间", trigger: "change" }], | 388 | djsjrules: [{ required: true, message: "登记时间", trigger: "change" }], |
378 | ygdjlxrules: [{ required: true, message: "预告登记种类", trigger: "change" }], | 389 | ygdjlxrules: [{ required: true, message: "预告登记种类", trigger: "change" }], |
379 | }, | 390 | }, |
391 | ableOperation:false, | ||
380 | }; | 392 | }; |
381 | }, | 393 | }, |
382 | created() { | 394 | created() { |
383 | this.loadData(); | 395 | this.loadData(); |
384 | }, | 396 | }, |
385 | mounted() {}, | 397 | mounted() { |
398 | this.ableOperation=this.$parent.ableOperation | ||
399 | }, | ||
386 | methods: { | 400 | methods: { |
387 | loadData() { | 401 | loadData() { |
388 | this.propsParam.isEdit=this.$parent.isEdit | 402 | this.propsParam.isEdit=this.$parent.isEdit | ... | ... |
... | @@ -9,7 +9,8 @@ | ... | @@ -9,7 +9,8 @@ |
9 | <el-form | 9 | <el-form |
10 | :model="ruleForm" | 10 | :model="ruleForm" |
11 | :rules="rules" | 11 | :rules="rules" |
12 | class="loadingtext" | 12 | :class="{readonly: editDisabled }" |
13 | class="loadingtext" | ||
13 | ref="ruleForm" | 14 | ref="ruleForm" |
14 | :label-position="flag ? 'top' : ''" | 15 | :label-position="flag ? 'top' : ''" |
15 | :inline="flag" | 16 | :inline="flag" |
... | @@ -202,6 +203,7 @@ | ... | @@ -202,6 +203,7 @@ |
202 | :tableData="ruleForm.qlrData" | 203 | :tableData="ruleForm.qlrData" |
203 | @upDateQlrxxList="upDateQlrxxList" | 204 | @upDateQlrxxList="upDateQlrxxList" |
204 | :key="key" | 205 | :key="key" |
206 | :ableOperation="ableOperation" | ||
205 | :gyfs="ruleForm.qlxx.gyfs" | 207 | :gyfs="ruleForm.qlxx.gyfs" |
206 | /> | 208 | /> |
207 | <div v-if="ruleForm.ywrData"> | 209 | <div v-if="ruleForm.ywrData"> |
... | @@ -213,6 +215,7 @@ | ... | @@ -213,6 +215,7 @@ |
213 | v-if="ruleForm.ywrData" | 215 | v-if="ruleForm.ywrData" |
214 | :tableData="ruleForm.ywrData" | 216 | :tableData="ruleForm.ywrData" |
215 | :key="key" | 217 | :key="key" |
218 | :ableOperation="ableOperation" | ||
216 | @upDateQlrxxList="upDateYwrxxList" | 219 | @upDateQlrxxList="upDateYwrxxList" |
217 | /> | 220 | /> |
218 | </div> | 221 | </div> |
... | @@ -227,7 +230,7 @@ | ... | @@ -227,7 +230,7 @@ |
227 | </template> | 230 | </template> |
228 | <script> | 231 | <script> |
229 | import { mapGetters } from "vuex"; | 232 | import { mapGetters } from "vuex"; |
230 | import { init, save } from "@/api/djbbl.js"; | 233 | import { init, save } from "@/api/djbRepair.js"; |
231 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; | 234 | import qlrCommonTable from "@/views/djbworkflow/components/qlrCommonTable"; |
232 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; | 235 | import ywrCommonTable from "@/views/djbworkflow/components/ywrCommonTable"; |
233 | import tdytTable from "@/views/workflow/components/tdytTable"; | 236 | import tdytTable from "@/views/workflow/components/tdytTable"; |
... | @@ -235,6 +238,14 @@ export default { | ... | @@ -235,6 +238,14 @@ export default { |
235 | components: { qlrCommonTable, ywrCommonTable, tdytTable }, | 238 | components: { qlrCommonTable, ywrCommonTable, tdytTable }, |
236 | computed: { | 239 | computed: { |
237 | ...mapGetters(["dictData", "flag"]), | 240 | ...mapGetters(["dictData", "flag"]), |
241 | // 根据流程判断表单是否为只读 | ||
242 | editDisabled() { | ||
243 | if (!this.ableOperation) { | ||
244 | //只读状态 | ||
245 | return true; | ||
246 | } | ||
247 | return false; | ||
248 | }, | ||
238 | }, | 249 | }, |
239 | data() { | 250 | data() { |
240 | return { | 251 | return { |
... | @@ -294,12 +305,15 @@ export default { | ... | @@ -294,12 +305,15 @@ export default { |
294 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | 305 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], |
295 | djsjrules: [{ required: true, message: "登记时间", trigger: "change" }], | 306 | djsjrules: [{ required: true, message: "登记时间", trigger: "change" }], |
296 | }, | 307 | }, |
308 | ableOperation:false | ||
297 | }; | 309 | }; |
298 | }, | 310 | }, |
299 | created() { | 311 | created() { |
300 | this.loadData(); | 312 | this.loadData(); |
301 | }, | 313 | }, |
302 | mounted() {}, | 314 | mounted() { |
315 | this.ableOperation =this.$parent.ableOperation | ||
316 | }, | ||
303 | methods: { | 317 | methods: { |
304 | loadData() { | 318 | loadData() { |
305 | this.propsParam.isEdit=this.$parent.isEdit | 319 | this.propsParam.isEdit=this.$parent.isEdit | ... | ... |
... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
7 | <div class="spyj loadingtext"> | 7 | <div class="spyj loadingtext"> |
8 | <div class="box"> | 8 | <div class="box"> |
9 | <div class="spyj_title"> | 9 | <div class="spyj_title"> |
10 | <div class="leftadd"> | 10 | <div class="leftadd" v-if="ableOperation"> |
11 | <i | 11 | <i |
12 | class="el-icon-plus pointer" | 12 | class="el-icon-plus pointer" |
13 | @click="addClick()" | 13 | @click="addClick()" |
... | @@ -25,12 +25,15 @@ | ... | @@ -25,12 +25,15 @@ |
25 | > | 25 | > |
26 | <div class="spyj_form"> | 26 | <div class="spyj_form"> |
27 | <div class="item_left"> | 27 | <div class="item_left"> |
28 | <div class="left"> | 28 | <div class="left" v-if="ableOperation"> |
29 | <i | 29 | <i |
30 | class="el-icon-minus pointer" | 30 | class="el-icon-minus pointer" |
31 | @click="deleClick()" | 31 | @click="deleClick()" |
32 | ></i> | 32 | ></i> |
33 | </div> | 33 | </div> |
34 | <div class="left" v-else> | ||
35 | {{index+1}} | ||
36 | </div> | ||
34 | <div class="right">{{ item.jdmc }}意见</div> | 37 | <div class="right">{{ item.jdmc }}意见</div> |
35 | </div> | 38 | </div> |
36 | <div class="item_right"> | 39 | <div class="item_right"> |
... | @@ -42,6 +45,7 @@ | ... | @@ -42,6 +45,7 @@ |
42 | prop="shyj" | 45 | prop="shyj" |
43 | > | 46 | > |
44 | <el-input | 47 | <el-input |
48 | :disabled="!ableOperation" | ||
45 | type="textarea" | 49 | type="textarea" |
46 | :rows="4" | 50 | :rows="4" |
47 | class="opinion" | 51 | class="opinion" |
... | @@ -55,12 +59,13 @@ | ... | @@ -55,12 +59,13 @@ |
55 | <el-row> | 59 | <el-row> |
56 | <el-col :span="16"> | 60 | <el-col :span="16"> |
57 | <el-form-item label="审查人" prop="shryxm"> | 61 | <el-form-item label="审查人" prop="shryxm"> |
58 | <el-input v-model="item.shryxm"></el-input> | 62 | <el-input :disabled="!ableOperation" v-model="item.shryxm"></el-input> |
59 | </el-form-item> | 63 | </el-form-item> |
60 | </el-col> | 64 | </el-col> |
61 | <el-col :span="8"> | 65 | <el-col :span="8"> |
62 | <el-form-item label="审核时间" prop="shkssj"> | 66 | <el-form-item class="sjxzq" label="审核时间" prop="shkssj"> |
63 | <el-date-picker | 67 | <el-date-picker |
68 | :disabled="!ableOperation" | ||
64 | v-model="item.shkssj" | 69 | v-model="item.shkssj" |
65 | type="date" | 70 | type="date" |
66 | placeholder="选择日期" | 71 | placeholder="选择日期" |
... | @@ -85,7 +90,7 @@ | ... | @@ -85,7 +90,7 @@ |
85 | </div> | 90 | </div> |
86 | </template> | 91 | </template> |
87 | <script> | 92 | <script> |
88 | import { addidea, getShList } from "@/api/djbbl.js"; | 93 | import { addidea, getShList } from "@/api/djbRepair.js"; |
89 | import { mapGetters } from "vuex"; | 94 | import { mapGetters } from "vuex"; |
90 | export default { | 95 | export default { |
91 | computed: { | 96 | computed: { |
... | @@ -95,7 +100,7 @@ export default { | ... | @@ -95,7 +100,7 @@ export default { |
95 | return { | 100 | return { |
96 | isNoData: false, | 101 | isNoData: false, |
97 | currentindex:0, | 102 | currentindex:0, |
98 | ableOperation: true, | 103 | ableOperation: false, |
99 | tableData: [{ jdmc: "初审" }], | 104 | tableData: [{ jdmc: "初审" }], |
100 | rules: { | 105 | rules: { |
101 | shyj: [{ required: true, message: "请填写意见", trigger: "blur" }], | 106 | shyj: [{ required: true, message: "请填写意见", trigger: "blur" }], |
... | @@ -116,11 +121,7 @@ export default { | ... | @@ -116,11 +121,7 @@ export default { |
116 | }, | 121 | }, |
117 | created() {}, | 122 | created() {}, |
118 | mounted() { | 123 | mounted() { |
119 | this.propsParam.isEdit=this.$parent.isEdit | 124 | this.ableOperation=this.$parent.ableOperation |
120 | this.propsParam = this.$attrs; | ||
121 | if (this.$route.query.viewtype) { | ||
122 | this.ableOperation = false | ||
123 | } | ||
124 | this.getShList(); | 125 | this.getShList(); |
125 | }, | 126 | }, |
126 | methods: { | 127 | methods: { |
... | @@ -305,7 +306,6 @@ export default { | ... | @@ -305,7 +306,6 @@ export default { |
305 | /deep/.el-form-item__content { | 306 | /deep/.el-form-item__content { |
306 | display: block; | 307 | display: block; |
307 | text-align: left; | 308 | text-align: left; |
308 | text-indent: 10px; | ||
309 | } | 309 | } |
310 | .opinion_item { | 310 | .opinion_item { |
311 | /deep/.el-form-item__error { | 311 | /deep/.el-form-item__error { |
... | @@ -337,5 +337,11 @@ export default { | ... | @@ -337,5 +337,11 @@ export default { |
337 | text-align: center; | 337 | text-align: center; |
338 | margin: 15px 0; | 338 | margin: 15px 0; |
339 | } | 339 | } |
340 | |||
341 | .el-date-editor.el-input{ | ||
342 | width: 100%; | ||
343 | |||
344 | |||
345 | } | ||
340 | } | 346 | } |
341 | </style> | 347 | </style> | ... | ... |
1 | /* | 1 | /* |
2 | * @Description:workFramezu.vue组件的方法 头部按钮弹框方法 | 2 | * @Description:workFramezu.vue组件的方法 头部按钮弹框方法 |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2023-06-14 15:01:31 | 4 | * @LastEditTime: 2023-07-17 16:14:23 |
5 | */ | 5 | */ |
6 | import { getPrintTemplateByCode } from "@/api/print"; | 6 | import { getPrintTemplateByCode } from "@/api/print"; |
7 | import { getQllxByBdcdyid } from "@/api/djbbl.js"; | 7 | import { getQllxByBdcdyid } from "@/api/djbDetail.js"; |
8 | import { uploadUndo } from "@/api/clxx"; | 8 | import { uploadUndo } from "@/api/clxx"; |
9 | import { deleteFlow } from "@/api/djbbl"; | 9 | import { deleteFlow } from "@/api/djbRepair"; |
10 | import { getLodop } from "@/utils/LodopFuncs" | 10 | import { getLodop } from "@/utils/LodopFuncs" |
11 | import { | 11 | import { |
12 | stepExpandInfo, | 12 | stepExpandInfo, |
... | @@ -18,7 +18,6 @@ import { | ... | @@ -18,7 +18,6 @@ import { |
18 | unClaimTask | 18 | unClaimTask |
19 | } from "@/api/workFlow.js"; | 19 | } from "@/api/workFlow.js"; |
20 | import { mapGetters } from 'vuex' | 20 | import { mapGetters } from 'vuex' |
21 | import { log } from "bpmn-js-token-simulation"; | ||
22 | export default { | 21 | export default { |
23 | data () { | 22 | data () { |
24 | return { | 23 | return { |
... | @@ -36,7 +35,7 @@ export default { | ... | @@ -36,7 +35,7 @@ export default { |
36 | batchButtonName: '', | 35 | batchButtonName: '', |
37 | // 受理申请信息 | 36 | // 受理申请信息 |
38 | slsq: {}, | 37 | slsq: {}, |
39 | ableOperation:true | 38 | ableOperation: true |
40 | } | 39 | } |
41 | }, | 40 | }, |
42 | mounted () { | 41 | mounted () { |
... | @@ -54,20 +53,18 @@ export default { | ... | @@ -54,20 +53,18 @@ export default { |
54 | } | 53 | } |
55 | stepExpandInfo(formdata).then((res) => { | 54 | stepExpandInfo(formdata).then((res) => { |
56 | if (res.code === 200) { | 55 | if (res.code === 200) { |
57 | this.leftButtonList = res.result.button; | 56 | this.leftButtonList = res.result.button; |
58 | this.rightButtonList = res.result.operation; | 57 | this.rightButtonList = res.result.operation; |
59 | let arr=this.rightButtonList.filter((item) => { | 58 | let arr = this.rightButtonList.filter((item) => { |
60 | return item.name=="删除" | 59 | return item.name == "删除" |
61 | }) | 60 | }) |
62 | 61 | ||
63 | if(arr.length){ | 62 | if (arr.length) { |
64 | console.log("1111111111111111111"); | 63 | this.$refs.Menu.getleftMenubl(); |
65 | this.$refs.Menu.getleftMenubl(); | 64 | } else { |
66 | }else{ | 65 | this.ableOperation = false |
67 | this.ableOperation=false | 66 | this.$refs.Menu.getleftMenubl(1); |
68 | console.log("22222222222222"); | 67 | } |
69 | this.$refs.Menu.getleftMenubl(1); | ||
70 | } | ||
71 | } | 68 | } |
72 | }) | 69 | }) |
73 | 70 | ||
... | @@ -79,27 +76,30 @@ export default { | ... | @@ -79,27 +76,30 @@ export default { |
79 | let that = this; | 76 | let that = this; |
80 | switch (item.value) { | 77 | switch (item.value) { |
81 | case "B0": | 78 | case "B0": |
82 | this.openDialog() | 79 | // this.openDialog() |
80 | this.$alert('此功能正在开发', '提示', { | ||
81 | confirmButtonText: '确定', | ||
82 | }) | ||
83 | break; | ||
84 | case "B1": | ||
85 | getWorkFlowImage(this.bsmSlsq, this.$route.query.bestepid).then(res => { | ||
86 | let { result } = res | ||
87 | this.$popupDialog("流程图", "workflow/components/processViewer", { | ||
88 | xml: result.xml, | ||
89 | finishedInfo: { | ||
90 | finishedTaskSet: result.finishedActivityIds, | ||
91 | unfinishedTaskSet: result.runningActivityIds, | ||
92 | rejectedTaskSet: {}, | ||
93 | finishedSequenceFlowSet: result.finishedSequenceFlowIds | ||
94 | }, | ||
95 | handlinglist: result.runningTasks, | ||
96 | allCommentList: result.finishedTasks | ||
97 | }, '80%', true) | ||
98 | }) | ||
83 | break; | 99 | break; |
84 | case "B1": | ||
85 | getWorkFlowImage(this.bsmSlsq, this.$route.query.bestepid).then(res => { | ||
86 | let { result } = res | ||
87 | this.$popupDialog("流程图", "workflow/components/processViewer", { | ||
88 | xml: result.xml, | ||
89 | finishedInfo: { | ||
90 | finishedTaskSet: result.finishedActivityIds, | ||
91 | unfinishedTaskSet: result.runningActivityIds, | ||
92 | rejectedTaskSet: {}, | ||
93 | finishedSequenceFlowSet: result.finishedSequenceFlowIds | ||
94 | }, | ||
95 | handlinglist:result.runningTasks, | ||
96 | allCommentList: result.finishedTasks | ||
97 | }, '80%', true) | ||
98 | }) | ||
99 | break; | ||
100 | case "B2": //材料分屏按钮 | 100 | case "B2": //材料分屏按钮 |
101 | 101 | ||
102 | this.closefp() | 102 | this.closefp() |
103 | 103 | ||
104 | // if (this.splitScreen) { | 104 | // if (this.splitScreen) { |
105 | // //如果当前选项卡为材料信息内容,递减到上一个选项卡内容 | 105 | // //如果当前选项卡为材料信息内容,递减到上一个选项卡内容 |
... | @@ -150,22 +150,22 @@ export default { | ... | @@ -150,22 +150,22 @@ export default { |
150 | // }); | 150 | // }); |
151 | 151 | ||
152 | // break; | 152 | // break; |
153 | case "B5": | 153 | case "B5": |
154 | if (this.currentSelectProps.bdcdyid) { | 154 | if (this.currentSelectProps.bdcdyid) { |
155 | getQllxByBdcdyid({ bdcdyid: this.currentSelectProps.bdcdyid }).then( | 155 | getQllxByBdcdyid({ bdcdyid: this.currentSelectProps.bdcdyid }).then( |
156 | (res) => { | 156 | (res) => { |
157 | if (res.code === 200) { | 157 | if (res.code === 200) { |
158 | this.$refs.qllxlist.qllxlistdata = res.result; | 158 | this.$refs.qllxlist.qllxlistdata = res.result; |
159 | this.$refs.qllxlist.dialogVisible = true; | 159 | this.$refs.qllxlist.dialogVisible = true; |
160 | } | ||
161 | } | 160 | } |
162 | ); | 161 | } |
163 | } | 162 | ); |
164 | // this.$refs.Menu.loadBdcdylist("add") | 163 | } |
165 | // this.$popupDialog("选择新增权力类型", "djbworkflow/djbBook/components/qllxcloseDailog", this.currentSelectProps, '50%', true) | 164 | // this.$refs.Menu.loadBdcdylist("add") |
165 | // this.$popupDialog("选择新增权力类型", "djbworkflow/djbBook/components/qllxcloseDailog", this.currentSelectProps, '50%', true) | ||
166 | 166 | ||
167 | 167 | ||
168 | break; | 168 | break; |
169 | case "B6": | 169 | case "B6": |
170 | //根据编号获取对应信息 | 170 | //根据编号获取对应信息 |
171 | getPrintTemplateByCode({ tmpno: 'dysqs' }).then(res => { | 171 | getPrintTemplateByCode({ tmpno: 'dysqs' }).then(res => { | ... | ... |
... | @@ -72,16 +72,14 @@ | ... | @@ -72,16 +72,14 @@ |
72 | import { getStepFormInfo } from "@/api/workFlow.js"; | 72 | import { getStepFormInfo } from "@/api/workFlow.js"; |
73 | import NoticeBar from "@/components/NoticeBar/index"; | 73 | import NoticeBar from "@/components/NoticeBar/index"; |
74 | import ProcessViewer from "./components/processViewer.vue"; | 74 | import ProcessViewer from "./components/processViewer.vue"; |
75 | // 引入左侧菜单 | 75 | |
76 | import { leftMenubl } from "@/api/djbbl.js"; | ||
77 | import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; | 76 | import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; |
78 | import qllxDailog from "./djbBook/components/qllxDailog"; | 77 | import qllxDailog from "./djbBook/components/qllxDailog"; |
79 | import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; | 78 | import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; |
80 | import { loadTreeData, getNode } from "./components/leftmenu/djbFrameData.js"; | 79 | import { loadTreeData, getNode } from "./components/leftmenu/djbFrameData.js"; |
81 | // 登记簿数据信息 | 80 | // 登记簿数据信息 |
82 | import { addRepairRecord } from "@/api/djbbl.js"; | 81 | import { addRepairRecord } from "@/api/djbRepair.js"; |
83 | // 获取权利类型数组 | 82 | // 获取权利类型数组 |
84 | import { getQllxByBdcdyid } from "@/api/djbbl.js"; | ||
85 | 83 | ||
86 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; | 84 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; |
87 | export default { | 85 | export default { |
... | @@ -98,11 +96,6 @@ | ... | @@ -98,11 +96,6 @@ |
98 | bsmSlsq: this.$route.query.bsmSlsq, | 96 | bsmSlsq: this.$route.query.bsmSlsq, |
99 | //当前流程所在环节 | 97 | //当前流程所在环节 |
100 | bestepid: this.$route.query.bestepid, | 98 | bestepid: this.$route.query.bestepid, |
101 | //受理申请标识码 | ||
102 | bdcdyid: this.$route.query.bdcdyid, | ||
103 | //当前流程所在环节 | ||
104 | bdcdyh: this.$route.query.bdcdyh, | ||
105 | qllx: this.$route.query.qllx, | ||
106 | //设置那个表单选中 | 99 | //设置那个表单选中 |
107 | tabName: "", | 100 | tabName: "", |
108 | isEdit: true, | 101 | isEdit: true, |
... | @@ -124,6 +117,7 @@ | ... | @@ -124,6 +117,7 @@ |
124 | tabdata: [], | 117 | tabdata: [], |
125 | bsmRepair:"", | 118 | bsmRepair:"", |
126 | defaultNode: {}, | 119 | defaultNode: {}, |
120 | ableOperation:false | ||
127 | }; | 121 | }; |
128 | }, | 122 | }, |
129 | mounted () { | 123 | mounted () { |
... | @@ -138,29 +132,13 @@ | ... | @@ -138,29 +132,13 @@ |
138 | this.$nextTick(function () { | 132 | this.$nextTick(function () { |
139 | this.tabList = res.result; | 133 | this.tabList = res.result; |
140 | this.tabName = this.tabList[0].value; | 134 | this.tabName = this.tabList[0].value; |
135 | this.ableOperation=this.tabList[0].ableOperation | ||
141 | this.getFromRouter(this.tabName); | 136 | this.getFromRouter(this.tabName); |
142 | }); | 137 | }); |
143 | }); | 138 | }); |
144 | } | 139 | } |
145 | }, | 140 | }, |
146 | // 获取右侧菜单 | 141 | |
147 | // getleftMenubl() { | ||
148 | // leftMenubl(this.bsmSlsq).then((res) => { | ||
149 | // this.supplementarylist = res.result; | ||
150 | // }) | ||
151 | // }, | ||
152 | // getQllxByBdcdyid () { | ||
153 | // if (this.currentSelectProps.bdcdyid) { | ||
154 | // getQllxByBdcdyid({ bdcdyid: this.currentSelectProps.bdcdyid }).then( | ||
155 | // (res) => { | ||
156 | // if (res.code === 200) { | ||
157 | // this.$refs.qllxlist.qllxlistdata = res.result; | ||
158 | // this.$refs.qllxlist.dialogVisible = true; | ||
159 | // } | ||
160 | // } | ||
161 | // ); | ||
162 | // } | ||
163 | // }, | ||
164 | // 获取右侧选项卡 | 142 | // 获取右侧选项卡 |
165 | getCurrentSelectProps (val) { | 143 | getCurrentSelectProps (val) { |
166 | this.bsmRepair= val.bsmRepair | 144 | this.bsmRepair= val.bsmRepair |
... | @@ -185,7 +163,7 @@ | ... | @@ -185,7 +163,7 @@ |
185 | bdcdyh: this.currentSelectProps.bdcdyh, | 163 | bdcdyh: this.currentSelectProps.bdcdyh, |
186 | }).then((res) => { | 164 | }).then((res) => { |
187 | if (res.code === 200) { | 165 | if (res.code === 200) { |
188 | this.treedata = loadTreeData(res.result, this.bdcdyh); | 166 | this.treedata = loadTreeData(res.result); |
189 | this.$nextTick(function () { | 167 | this.$nextTick(function () { |
190 | this.defaultNode = getNode(this.currentSelectProps.qllx, { | 168 | this.defaultNode = getNode(this.currentSelectProps.qllx, { |
191 | linShi: 0, | 169 | linShi: 0, | ... | ... |
... | @@ -12,8 +12,7 @@ | ... | @@ -12,8 +12,7 @@ |
12 | <li | 12 | <li |
13 | @click="operation(item)" | 13 | @click="operation(item)" |
14 | v-for="(item, index) in leftButtonList" | 14 | v-for="(item, index) in leftButtonList" |
15 | :key="index" | 15 | :key="index"> |
16 | > | ||
17 | <svg-icon class="icon" :icon-class="item.icon" /> | 16 | <svg-icon class="icon" :icon-class="item.icon" /> |
18 | <span class="iconName">{{ item.name }}</span> | 17 | <span class="iconName">{{ item.name }}</span> |
19 | </li> | 18 | </li> |
... | @@ -22,8 +21,7 @@ | ... | @@ -22,8 +21,7 @@ |
22 | <li | 21 | <li |
23 | @click="operation(item)" | 22 | @click="operation(item)" |
24 | v-for="(item, index) in rightButtonList" | 23 | v-for="(item, index) in rightButtonList" |
25 | :key="index" | 24 | :key="index"> |
26 | > | ||
27 | <svg-icon class="icon" :icon-class="item.icon" /> | 25 | <svg-icon class="icon" :icon-class="item.icon" /> |
28 | <span class="iconName">{{ item.name }}</span> | 26 | <span class="iconName">{{ item.name }}</span> |
29 | </li> | 27 | </li> |
... | @@ -50,15 +48,13 @@ | ... | @@ -50,15 +48,13 @@ |
50 | :label="item.name" | 48 | :label="item.name" |
51 | :name="item.value" | 49 | :name="item.value" |
52 | v-for="item in tabList" | 50 | v-for="item in tabList" |
53 | :key="item.value" | 51 | :key="item.value"> |
54 | > | ||
55 | </el-tab-pane> | 52 | </el-tab-pane> |
56 | </el-tabs> | 53 | </el-tabs> |
57 | <component | 54 | <component |
58 | :key="fresh" | 55 | :key="fresh" |
59 | :is="componentTag" | 56 | :is="componentTag" |
60 | v-bind="currentSelectProps" | 57 | v-bind="currentSelectProps" /> |
61 | /> | ||
62 | </div> | 58 | </div> |
63 | </div> | 59 | </div> |
64 | </div> | 60 | </div> |
... | @@ -67,207 +63,185 @@ | ... | @@ -67,207 +63,185 @@ |
67 | </div> | 63 | </div> |
68 | </template> | 64 | </template> |
69 | <style scoped lang="scss"> | 65 | <style scoped lang="scss"> |
70 | @import "~@/styles/mixin.scss"; | 66 | @import "~@/styles/mixin.scss"; |
71 | @import "./workFrame.scss"; | 67 | @import "./workFrame.scss"; |
72 | </style> | 68 | </style> |
73 | <script> | 69 | <script> |
74 | import WorkFlow from "./mixin/index"; | 70 | import WorkFlow from "./mixin/index"; |
75 | import { getForm } from "./flowform"; | 71 | import { getForm } from "./flowform"; |
76 | import { getBlYbxStepFormInfo } from "@/api/workFlow.js"; | 72 | import { getBlYbxStepFormInfo } from "@/api/workFlow.js"; |
77 | import NoticeBar from "@/components/NoticeBar/index"; | 73 | import NoticeBar from "@/components/NoticeBar/index"; |
78 | import ProcessViewer from "./components/processViewer.vue"; | 74 | import ProcessViewer from "./components/processViewer.vue"; |
79 | // 引入左侧菜单 | 75 | // 引入左侧菜单 |
80 | import { leftMenubl } from "@/api/djbbl.js"; | 76 | import { leftMenubl } from "@/api/djbRepair.js"; |
81 | import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; | 77 | import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; |
82 | import qllxDailog from "./djbBook/components/qllxDailog"; | 78 | import qllxDailog from "./djbBook/components/qllxDailog"; |
83 | import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; | 79 | import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; |
84 | import { loadTreeData, getNode } from "./components/leftmenu/djbFrameData.js"; | 80 | import { loadTreeData, getNode } from "./components/leftmenu/djbFrameData.js"; |
85 | // 登记簿数据信息 | 81 | // 登记簿数据信息 |
86 | import { addRepairRecord } from "@/api/djbbl.js"; | 82 | import { addRepairRecord } from "@/api/djbRepair.js"; |
87 | // 获取权利类型数组 | ||
88 | import { getQllxByBdcdyid } from "@/api/djbbl.js"; | ||
89 | 83 | ||
90 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; | 84 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; |
91 | export default { | 85 | export default { |
92 | components: { | 86 | components: { |
93 | selectBdc, | 87 | selectBdc, |
94 | NoticeBar, | 88 | NoticeBar, |
95 | ProcessViewer, | 89 | ProcessViewer, |
96 | ordinaryMenu, | 90 | ordinaryMenu, |
97 | qllxDailog, | 91 | qllxDailog, |
98 | }, | ||
99 | mixins: [WorkFlow], | ||
100 | data() { | ||
101 | return { | ||
102 | bsmSlsq: this.$route.query.bsmSlsq, | ||
103 | //当前流程所在环节 | ||
104 | bestepid: this.$route.query.bestepid, | ||
105 | //受理申请标识码 | ||
106 | bdcdyid: this.$route.query.bdcdyid, | ||
107 | //当前流程所在环节 | ||
108 | bdcdyh: this.$route.query.bdcdyh, | ||
109 | qllx: this.$route.query.qllx, | ||
110 | //设置那个表单选中 | ||
111 | tabName: "", | ||
112 | // 弹框显示 | ||
113 | dialogVisible: true, | ||
114 | isEdit:false, | ||
115 | //表单集合 | ||
116 | tabList: [], | ||
117 | type: "READ_ONLY", | ||
118 | //选择加载哪一个组件 | ||
119 | componentTag: "", | ||
120 | //设置表单传递数据 | ||
121 | currentSelectProps: {}, | ||
122 | // 首次拿到的业务信息 | ||
123 | oneSelectProps: {}, | ||
124 | //材料信息选择卡索引 | ||
125 | oneget: true, | ||
126 | //页面监听时间 | ||
127 | _beforeUnload_time: "", | ||
128 | treedata: {}, | ||
129 | bsmRepair:"", | ||
130 | tabdata: [], | ||
131 | defaultNode: {}, | ||
132 | }; | ||
133 | }, | ||
134 | mounted() { | ||
135 | // this.getleftMenubl() | ||
136 | }, | ||
137 | |||
138 | methods: { | ||
139 | stepForm(qllx) { | ||
140 | this.oneSelectProps.qllx = qllx; | ||
141 | if (this.$refs.Menu.supplementarylist.length) { | ||
142 | this.oneSelectProps.type = this.type | ||
143 | getBlYbxStepFormInfo(this.oneSelectProps).then((res) => { | ||
144 | this.$nextTick(function () { | ||
145 | this.tabList = res.result; | ||
146 | this.tabName = this.tabList[0].value; | ||
147 | this.getFromRouter(this.tabName); | ||
148 | }); | ||
149 | }); | ||
150 | } | ||
151 | }, | 92 | }, |
152 | // 获取右侧菜单 | 93 | mixins: [WorkFlow], |
153 | // getleftMenubl() { | 94 | data () { |
154 | // leftMenubl(this.bsmSlsq).then((res) => { | 95 | return { |
155 | // this.supplementarylist = res.result; | 96 | bsmSlsq: this.$route.query.bsmSlsq, |
156 | // }) | 97 | bestepid: this.$route.query.bestepid, |
157 | // }, | 98 | bsmBusiness: this.$route.query.bsmBusiness, |
158 | // getQllxByBdcdyid() { | 99 | //设置那个表单选中 |
159 | // if (this.currentSelectProps.bdcdyid) { | 100 | tabName: "", |
160 | // getQllxByBdcdyid({ bdcdyid: this.currentSelectProps.bdcdyid }).then( | 101 | // 弹框显示 |
161 | // (res) => { | 102 | dialogVisible: true, |
162 | // if (res.code === 200) { | 103 | isEdit: false, |
163 | // this.$refs.qllxlist.qllxlistdata = res.result; | 104 | //表单集合 |
164 | // this.$refs.qllxlist.dialogVisible = true; | 105 | tabList: [], |
165 | // } | 106 | type: "READ_ONLY", |
166 | // } | 107 | //选择加载哪一个组件 |
167 | // ); | 108 | componentTag: "", |
168 | // } | 109 | //设置表单传递数据 |
169 | // }, | 110 | currentSelectProps: {}, |
170 | // 获取右侧选项卡 | 111 | // 首次拿到的业务信息 |
171 | getCurrentSelectProps(val) { | 112 | oneSelectProps: {}, |
172 | this.bsmRepair= val.bsmRepair | 113 | //材料信息选择卡索引 |
173 | if (val.bdcdyid) { | 114 | oneget: true, |
174 | this.oneSelectProps = val; | 115 | //页面监听时间 |
175 | } | 116 | _beforeUnload_time: "", |
176 | this.currentSelectProps = val; | 117 | treedata: {}, |
177 | if (this.currentSelectProps.bsmRepair) { | 118 | bsmRepair: "", |
178 | this.stepForm(this.currentSelectProps.qllx); | 119 | tabdata: [], |
179 | } else if (!this.oneget) { | 120 | defaultNode: {}, |
180 | this.getdjblist(); | 121 | ableOperation: false |
181 | } | 122 | }; |
182 | if (this.oneget) { | 123 | }, |
183 | this.oneget = false; | 124 | mounted () { |
184 | this.stepForm(this.currentSelectProps.qllx); | 125 | // this.getleftMenubl() |
185 | } | ||
186 | }, | 126 | }, |
187 | // 获取渲染登记簿列表 | 127 | |
188 | getdjblist() { | 128 | methods: { |
189 | getBdcqljqtsx({ | 129 | stepForm (qllx) { |
190 | bdcdyid: this.currentSelectProps.bdcdyid, | 130 | this.oneSelectProps.qllx = qllx; |
191 | bdcdyh: this.currentSelectProps.bdcdyh, | 131 | if (this.$refs.Menu.supplementarylist.length) { |
192 | }).then((res) => { | 132 | this.oneSelectProps.type = this.type |
193 | if (res.code === 200) { | 133 | getBlYbxStepFormInfo(this.oneSelectProps).then((res) => { |
194 | this.treedata = loadTreeData(res.result, this.bdcdyh); | 134 | this.$nextTick(function () { |
195 | this.$nextTick(function () { | 135 | this.tabList = res.result; |
196 | this.defaultNode = getNode(this.currentSelectProps.qllx, { | 136 | this.tabName = this.tabList[0].value; |
197 | linShi: 0, | 137 | console.log("是否只读", this.tabList[0].ableOperation); |
198 | xianShi: 0, | 138 | this.ableOperation = this.tabList[0].ableOperation |
199 | liShi: 0, | 139 | this.getFromRouter(this.tabName); |
200 | }); | 140 | }); |
201 | this.tabName = this.defaultNode.id; //data[0].id为默认选中的节点 | ||
202 | }); | 141 | }); |
203 | let settree = JSON.parse(JSON.stringify(this.treedata)); | ||
204 | this.tabdata = [ | ||
205 | ...settree, | ||
206 | ...settree[1].children[0].children[0].children, | ||
207 | ]; | ||
208 | this.tabdata.forEach((item, index, arr) => { | ||
209 | arr[index].name = item.label; | ||
210 | arr[index].value = item.id; | ||
211 | }); | ||
212 | this.tabList = this.tabdata; | ||
213 | } | 142 | } |
214 | }); | 143 | }, |
215 | }, | 144 | // 获取右侧选项卡 |
216 | //右侧表单选项卡事件 | 145 | getCurrentSelectProps (val) { |
217 | beforeLeave(activeName) { | 146 | this.bsmRepair = val.bsmRepair |
218 | if (activeName && activeName != 0) this.getFromRouter(activeName); | 147 | if (val.bdcdyid) { |
219 | }, | 148 | this.oneSelectProps = val; |
220 | //切换选项卡内容组件 | 149 | } |
221 | getFromRouter(tabname) { | 150 | this.currentSelectProps = val; |
222 | this.componentTag = getForm(tabname); | 151 | if (this.currentSelectProps.bsmRepair) { |
223 | }, | 152 | this.stepForm(this.currentSelectProps.qllx); |
224 | closefp() { | 153 | } else if (!this.oneget) { |
225 | this.splitScreen = this.splitScreen ? false : true; | 154 | this.getdjblist(); |
226 | this.$store.dispatch("app/set1tScreen", this.splitScreen); | 155 | } |
227 | this.getFromRouter(this.tabList[0].value); | 156 | if (this.oneget) { |
228 | this.clxxForm = getForm(this.tabList[1].value); | 157 | this.oneget = false; |
229 | }, | 158 | this.stepForm(this.currentSelectProps.qllx); |
230 | // 增加补录记录 | ||
231 | addRepairRecord(row, del) { | ||
232 | let from = { | ||
233 | bsmQlxx: "", | ||
234 | bsmSlsq: this.bsmSlsq, | ||
235 | bsmSldy: this.currentSelectProps.bsmSldy, | ||
236 | operate: "C", | ||
237 | qllx: "", | ||
238 | }; | ||
239 | if (row) { | ||
240 | from.bsmQlxx = row.bsmQlxx; | ||
241 | if (del) { | ||
242 | from.operate = del; | ||
243 | } else { | ||
244 | from.operate = row.bsmQlxx ? "U" : "C"; | ||
245 | } | 159 | } |
246 | from.qllx = row.qllx; | 160 | }, |
247 | } | 161 | // 获取渲染登记簿列表 |
248 | addRepairRecord(from) | 162 | getdjblist () { |
249 | .then((res) => { | 163 | getBdcqljqtsx({ |
250 | if (res.code == "200") { | 164 | bdcdyid: this.currentSelectProps.bdcdyid, |
251 | this.$refs.qllxlist.dialogVisible = false; | 165 | bdcdyh: this.currentSelectProps.bdcdyh, |
252 | this.$nextTick(() => { | 166 | }).then((res) => { |
253 | this.$refs.Menu.getleftMenubl(res.result); | 167 | if (res.code === 200) { |
254 | this.$message({ | 168 | this.treedata = loadTreeData(res.result, this.bdcdyh); |
255 | type: "success", | 169 | this.$nextTick(function () { |
256 | message: "补录成功!", | 170 | this.defaultNode = getNode(this.currentSelectProps.qllx, { |
171 | linShi: 0, | ||
172 | xianShi: 0, | ||
173 | liShi: 0, | ||
257 | }); | 174 | }); |
175 | this.tabName = this.defaultNode.id; //data[0].id为默认选中的节点 | ||
258 | }); | 176 | }); |
259 | } else { | 177 | let settree = JSON.parse(JSON.stringify(this.treedata)); |
260 | this.$alert(res.message, "提示", { | 178 | this.tabdata = [ |
261 | confirmButtonText: "确定", | 179 | ...settree, |
262 | type: "warning", | 180 | ...settree[1].children[0].children[0].children, |
181 | ]; | ||
182 | this.tabdata.forEach((item, index, arr) => { | ||
183 | arr[index].name = item.label; | ||
184 | arr[index].value = item.id; | ||
263 | }); | 185 | }); |
186 | this.tabList = this.tabdata; | ||
264 | } | 187 | } |
265 | }) | ||
266 | .catch((res) => { | ||
267 | console.log("错", res); | ||
268 | }); | 188 | }); |
189 | }, | ||
190 | //右侧表单选项卡事件 | ||
191 | beforeLeave (activeName) { | ||
192 | if (activeName && activeName != 0) this.getFromRouter(activeName); | ||
193 | }, | ||
194 | //切换选项卡内容组件 | ||
195 | getFromRouter (tabname) { | ||
196 | this.componentTag = getForm(tabname); | ||
197 | }, | ||
198 | closefp () { | ||
199 | this.splitScreen = this.splitScreen ? false : true; | ||
200 | this.$store.dispatch("app/set1tScreen", this.splitScreen); | ||
201 | this.getFromRouter(this.tabList[0].value); | ||
202 | this.clxxForm = getForm(this.tabList[1].value); | ||
203 | }, | ||
204 | // 增加补录记录 | ||
205 | addRepairRecord (row, del) { | ||
206 | let from = { | ||
207 | bsmQlxx: "", | ||
208 | bsmSlsq: this.bsmSlsq, | ||
209 | bsmSldy: this.currentSelectProps.bsmSldy, | ||
210 | operate: "C", | ||
211 | qllx: "", | ||
212 | }; | ||
213 | if (row) { | ||
214 | from.bsmQlxx = row.bsmQlxx; | ||
215 | if (del) { | ||
216 | from.operate = del; | ||
217 | } else { | ||
218 | from.operate = row.bsmQlxx ? "U" : "C"; | ||
219 | } | ||
220 | from.qllx = row.qllx; | ||
221 | } | ||
222 | addRepairRecord(from) | ||
223 | .then((res) => { | ||
224 | if (res.code == "200") { | ||
225 | this.$refs.qllxlist.dialogVisible = false; | ||
226 | this.$nextTick(() => { | ||
227 | this.$refs.Menu.getleftMenubl(res.result); | ||
228 | this.$message({ | ||
229 | type: "success", | ||
230 | message: "补录成功!", | ||
231 | }); | ||
232 | }); | ||
233 | } else { | ||
234 | this.$alert(res.message, "提示", { | ||
235 | confirmButtonText: "确定", | ||
236 | type: "warning", | ||
237 | }); | ||
238 | } | ||
239 | }) | ||
240 | .catch((res) => { | ||
241 | console.log("错", res); | ||
242 | }); | ||
243 | }, | ||
269 | }, | 244 | }, |
270 | }, | 245 | }; |
271 | }; | ||
272 | </script> | 246 | </script> |
273 | <style scoped lang="scss"></style> | 247 | <style scoped lang="scss"></style> | ... | ... |
1 | <template> | 1 | <template> |
2 | <div class="content"> | 2 | <div class="content loadingtext"> |
3 | <div class="left"> | 3 | <div class="left"> |
4 | <el-tree ref="tree" :data="treedata" :props="defaultProps" @node-click="handleNodeClick" | 4 | <el-tree ref="tree" :data="treedata" :props="defaultProps" @node-click="handleNodeClick" |
5 | :default-expand-all="true" :expand-on-click-node="false" node-key="id" :default-checked-keys="[showTab]"> | 5 | :default-expand-all="true" :expand-on-click-node="false" node-key="id" :default-checked-keys="[showTab]"> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-11 10:26:50 | 4 | * @LastEditTime: 2023-07-17 13:51:03 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
... | @@ -168,5 +168,11 @@ | ... | @@ -168,5 +168,11 @@ |
168 | } | 168 | } |
169 | } | 169 | } |
170 | </script> | 170 | </script> |
171 | <style scoped lang='scss'> | ||
172 | </style> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
171 | <style scoped lang="scss"> | ||
172 | /deep/.el-table th { | ||
173 | height: 30px !important; | ||
174 | } | ||
175 | /deep/.el-table--small .el-table__cell { | ||
176 | padding: 5px; | ||
177 | } | ||
178 | </style> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:40:48 | 4 | * @LastEditTime: 2023-07-17 13:51:29 |
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"> |
... | @@ -57,7 +57,7 @@ | ... | @@ -57,7 +57,7 @@ |
57 | prop: "qlrmc", | 57 | prop: "qlrmc", |
58 | label: "被执行人" | 58 | label: "被执行人" |
59 | }, | 59 | }, |
60 | { | 60 | { |
61 | prop: "bdcqzh", | 61 | prop: "bdcqzh", |
62 | label: "不动产权证号" | 62 | label: "不动产权证号" |
63 | }, | 63 | }, |
... | @@ -65,7 +65,7 @@ | ... | @@ -65,7 +65,7 @@ |
65 | prop: "bdcdyh", | 65 | prop: "bdcdyh", |
66 | label: "不动产单元号" | 66 | label: "不动产单元号" |
67 | }, | 67 | }, |
68 | { | 68 | { |
69 | prop: "qlxzmc", | 69 | prop: "qlxzmc", |
70 | label: "权利性质" | 70 | label: "权利性质" |
71 | }, | 71 | }, |
... | @@ -127,4 +127,10 @@ | ... | @@ -127,4 +127,10 @@ |
127 | } | 127 | } |
128 | </script> | 128 | </script> |
129 | <style scoped lang='scss'> | 129 | <style scoped lang='scss'> |
130 | /deep/.el-table th { | ||
131 | height: 30px !important; | ||
132 | } | ||
133 | /deep/.el-table--small .el-table__cell { | ||
134 | padding: 5px; | ||
135 | } | ||
130 | </style> | 136 | </style> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: workFrame左侧菜单列表-普通 | 2 | * @Description: workFrame左侧菜单列表-普通 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-25 10:42:50 | 4 | * @LastEditTime: 2023-07-17 16:20:37 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
... | @@ -39,157 +39,160 @@ | ... | @@ -39,157 +39,160 @@ |
39 | </div> | 39 | </div> |
40 | </template> | 40 | </template> |
41 | <script> | 41 | <script> |
42 | import { mapGetters } from 'vuex' | 42 | import { mapGetters } from 'vuex' |
43 | import { leftMenu, deleteSlbdcdy } from "@/api/workFlow.js" | 43 | import { leftMenu, deleteSlbdcdy } from "@/api/workFlow.js" |
44 | export default { | 44 | export default { |
45 | data () { | 45 | data () { |
46 | return { | 46 | return { |
47 | //受理申请标识码 | 47 | //受理申请标识码 |
48 | bsmSlsq: this.$route.query.bsmSlsq, | 48 | bsmSlsq: this.$route.query.bsmSlsq, |
49 | //当前流程所在环节 | 49 | //当前流程所在环节 |
50 | bestepid: this.$route.query.bestepid, | 50 | bestepid: this.$route.query.bestepid, |
51 | // 默认选中 | 51 | // 默认选中 |
52 | activeIndex: '0', | 52 | activeIndex: '0', |
53 | // 折叠 | 53 | // 折叠 |
54 | isShowdrawer: true, | 54 | isShowdrawer: true, |
55 | // 批量操作 | 55 | // 批量操作 |
56 | showBatch: false, | 56 | showBatch: false, |
57 | //批量操作按钮名称 | 57 | //批量操作按钮名称 |
58 | batchButtonName: '', | 58 | batchButtonName: '', |
59 | //左侧菜单数据集合 | 59 | //左侧菜单数据集合 |
60 | unitData: [], | 60 | unitData: [], |
61 | // 设置表单传递数据 | 61 | // 设置表单传递数据 |
62 | currentSelectProps: {} | 62 | currentSelectProps: {} |
63 | } | 63 | } |
64 | }, | ||
65 | mounted () { | ||
66 | this.loadBdcdylist(); | ||
67 | }, | ||
68 | computed: { | ||
69 | ...mapGetters(['isRefresh']) | ||
70 | }, | ||
71 | watch: { | ||
72 | isRefresh: { | ||
73 | handler (newVal, oldVal) { | ||
74 | if (newVal) this.loadBdcdylist() | ||
75 | }, | ||
76 | immediate: true | ||
77 | } | ||
78 | }, | ||
79 | methods: { | ||
80 | //读取申请单元信息 | ||
81 | loadBdcdylist () { | ||
82 | var formdata = new FormData(); | ||
83 | formdata.append("bsmSlsq", this.bsmSlsq); | ||
84 | formdata.append("bestepid", this.bestepid); | ||
85 | leftMenu(formdata).then((res) => { | ||
86 | if (res.code === 200 && res.result) { | ||
87 | this.unitData = res.result; | ||
88 | this.currentSelectProps = res.result[0]; | ||
89 | this.$emit('getCurrentSelectProps', this.currentSelectProps); | ||
90 | this.judgeBatchShow(); | ||
91 | if (this.showBatch) { | ||
92 | //满足批量查封/批量抵押按钮出现 即先展示批量表单 | ||
93 | this.batchUnitClick(); | ||
94 | } else { | ||
95 | //默认选择单元列表第一个 | ||
96 | this.unitClick(0); | ||
97 | } | ||
98 | } | ||
99 | }) | ||
100 | }, | 64 | }, |
101 | //批量按钮判断 | 65 | mounted () { |
102 | judgeBatchShow () { | 66 | this.loadBdcdylist(); |
103 | this.showBatch = false; | 67 | }, |
104 | if (this.unitData.length > 1) { | 68 | computed: { |
105 | let qllx = this.$route.query?.sqywbm?.substring(0, 3); | 69 | ...mapGetters(['isRefresh']) |
106 | switch (qllx) { | 70 | }, |
107 | case 'A04': | 71 | watch: { |
108 | this.showBatch = true; | 72 | isRefresh: { |
109 | this.batchButtonName = '房屋批量操作'; | 73 | handler (newVal, oldVal) { |
110 | break; | 74 | if (newVal) this.loadBdcdylist() |
111 | case 'B39': | 75 | }, |
112 | this.showBatch = true; | 76 | immediate: true |
113 | this.batchButtonName = '查封批量操作'; | ||
114 | break; | ||
115 | case 'A37': | ||
116 | this.showBatch = true; | ||
117 | this.batchButtonName = '抵押批量操作'; | ||
118 | break; | ||
119 | case 'B37': | ||
120 | this.showBatch = true; | ||
121 | this.batchButtonName = '在建工程抵押批量操作'; | ||
122 | break; | ||
123 | } | ||
124 | } | 77 | } |
125 | }, | 78 | }, |
126 | /** | 79 | methods: { |
127 | * @description: 删除左侧列表 | 80 | //读取申请单元信息 |
128 | * @param {*} item | 81 | loadBdcdylist () { |
129 | * @author: renchao | 82 | var formdata = new FormData(); |
130 | */ | 83 | formdata.append("bsmSlsq", this.bsmSlsq); |
131 | handleDel (item) { | 84 | formdata.append("bestepid", this.bestepid); |
132 | this.$confirm("确定要删除吗, 是否继续?", "提示", { | 85 | if (this.$route.query.bsmBusiness) { |
133 | confirmButtonText: "确定", | 86 | formdata.append("bsmBusiness", this.$route.query.bsmBusiness); |
134 | cancelButtonText: "取消", | 87 | } |
135 | type: "warning", | 88 | leftMenu(formdata).then((res) => { |
136 | }) | 89 | if (res.code === 200 && res.result) { |
137 | .then(() => { | 90 | this.unitData = res.result; |
138 | var formdata = new FormData(); | 91 | this.currentSelectProps = res.result[0]; |
139 | formdata.append("bsmSldyList", item.bsmSldy.split(",")); | 92 | this.$emit('getCurrentSelectProps', this.currentSelectProps); |
140 | // formdata.append("bsmSlsq", this.bsmSlsq); | 93 | this.judgeBatchShow(); |
141 | deleteSlbdcdy(formdata).then((res) => { | 94 | if (this.showBatch) { |
142 | if (res.code == 200) { | 95 | //满足批量查封/批量抵押按钮出现 即先展示批量表单 |
143 | this.$message.success("删除成功"); | 96 | this.batchUnitClick(); |
144 | /** | ||
145 | * @description: 更新列表 | ||
146 | * @author: miaofang | ||
147 | */ | ||
148 | this.loadBdcdylist() | ||
149 | // this.$parent.updateDialog(); | ||
150 | } else { | 97 | } else { |
151 | this.$message.error(res.message); | 98 | //默认选择单元列表第一个 |
99 | this.unitClick(0); | ||
152 | } | 100 | } |
153 | }); | 101 | } |
154 | }) | 102 | }) |
155 | .catch(() => { | 103 | }, |
156 | this.$message({ | 104 | //批量按钮判断 |
157 | type: "info", | 105 | judgeBatchShow () { |
158 | message: "已取消删除", | 106 | this.showBatch = false; |
107 | if (this.unitData.length > 1) { | ||
108 | let qllx = this.$route.query?.sqywbm?.substring(0, 3); | ||
109 | switch (qllx) { | ||
110 | case 'A04': | ||
111 | this.showBatch = true; | ||
112 | this.batchButtonName = '房屋批量操作'; | ||
113 | break; | ||
114 | case 'B39': | ||
115 | this.showBatch = true; | ||
116 | this.batchButtonName = '查封批量操作'; | ||
117 | break; | ||
118 | case 'A37': | ||
119 | this.showBatch = true; | ||
120 | this.batchButtonName = '抵押批量操作'; | ||
121 | break; | ||
122 | case 'B37': | ||
123 | this.showBatch = true; | ||
124 | this.batchButtonName = '在建工程抵押批量操作'; | ||
125 | break; | ||
126 | } | ||
127 | } | ||
128 | }, | ||
129 | /** | ||
130 | * @description: 删除左侧列表 | ||
131 | * @param {*} item | ||
132 | * @author: renchao | ||
133 | */ | ||
134 | handleDel (item) { | ||
135 | this.$confirm("确定要删除吗, 是否继续?", "提示", { | ||
136 | confirmButtonText: "确定", | ||
137 | cancelButtonText: "取消", | ||
138 | type: "warning", | ||
139 | }) | ||
140 | .then(() => { | ||
141 | var formdata = new FormData(); | ||
142 | formdata.append("bsmSldyList", item.bsmSldy.split(",")); | ||
143 | // formdata.append("bsmSlsq", this.bsmSlsq); | ||
144 | deleteSlbdcdy(formdata).then((res) => { | ||
145 | if (res.code == 200) { | ||
146 | this.$message.success("删除成功"); | ||
147 | /** | ||
148 | * @description: 更新列表 | ||
149 | * @author: miaofang | ||
150 | */ | ||
151 | this.loadBdcdylist() | ||
152 | // this.$parent.updateDialog(); | ||
153 | } else { | ||
154 | this.$message.error(res.message); | ||
155 | } | ||
156 | }); | ||
157 | }) | ||
158 | .catch(() => { | ||
159 | this.$message({ | ||
160 | type: "info", | ||
161 | message: "已取消删除", | ||
162 | }); | ||
159 | }); | 163 | }); |
160 | }); | 164 | }, |
161 | }, | 165 | //批量按钮点击事件 |
162 | //批量按钮点击事件 | 166 | batchUnitClick () { |
163 | batchUnitClick () { | 167 | this.currentSelectProps.batchOperation = true; |
164 | this.currentSelectProps.batchOperation = true; | 168 | this.activeIndex = "-1"; |
165 | this.activeIndex = "-1"; | 169 | this.$parent.stepForm(); |
166 | this.$parent.stepForm(); | ||
167 | 170 | ||
168 | }, | 171 | }, |
169 | //批量操作 | 172 | //批量操作 |
170 | handleBatchDel () { | 173 | handleBatchDel () { |
171 | this.$popupDialog("批量删除", "workflow/components/batchDel", { | 174 | this.$popupDialog("批量删除", "workflow/components/batchDel", { |
172 | bsmSlsq: this.bsmSlsq, | 175 | bsmSlsq: this.bsmSlsq, |
173 | dataList: this.unitData, | 176 | dataList: this.unitData, |
174 | }, '50%', true) | 177 | }, '50%', true) |
175 | }, | 178 | }, |
176 | //申请单元点击事件 | 179 | //申请单元点击事件 |
177 | unitClick (index) { | 180 | unitClick (index) { |
178 | this.currentSelectProps = this.unitData[index]; | 181 | this.currentSelectProps = this.unitData[index]; |
179 | this.currentSelectProps.batchOperation = false; | 182 | this.currentSelectProps.batchOperation = false; |
180 | this.activeIndex = index.toString(); | 183 | this.activeIndex = index.toString(); |
181 | //选中表单传递数据 | 184 | //选中表单传递数据 |
182 | this.$emit('getCurrentSelectProps', this.currentSelectProps); | 185 | this.$emit('getCurrentSelectProps', this.currentSelectProps); |
183 | this.$parent.stepForm(index); | 186 | this.$parent.stepForm(index); |
184 | this.$store.dispatch('user/refreshPage', false); | 187 | this.$store.dispatch('user/refreshPage', false); |
188 | } | ||
185 | } | 189 | } |
186 | } | 190 | } |
187 | } | ||
188 | </script> | 191 | </script> |
189 | <style scoped lang='scss'> | 192 | <style scoped lang='scss'> |
190 | @import "~@/styles/mixin.scss"; | 193 | @import "~@/styles/mixin.scss"; |
191 | @import "../../workFrame.scss"; | 194 | @import "../../workFrame.scss"; |
192 | .leftmenu ul { | 195 | .leftmenu ul { |
193 | height: calc(100vh - 120px); | 196 | height: calc(100vh - 120px); |
194 | } | 197 | } |
195 | </style> | 198 | </style> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: workFrame左侧菜单列表-分割 | 2 | * @Description: workFrame左侧菜单列表-分割 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-25 10:18:02 | 4 | * @LastEditTime: 2023-07-17 16:21:24 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
... | @@ -99,6 +99,9 @@ | ... | @@ -99,6 +99,9 @@ |
99 | var formdata = new FormData(); | 99 | var formdata = new FormData(); |
100 | formdata.append("bsmSlsq", this.bsmSlsq); | 100 | formdata.append("bsmSlsq", this.bsmSlsq); |
101 | formdata.append("bestepid", this.bestepid); | 101 | formdata.append("bestepid", this.bestepid); |
102 | if (this.$route.query.bsmBusiness) { | ||
103 | formdata.append("bsmBusiness", this.$route.query.bsmBusiness); | ||
104 | } | ||
102 | leftMenu(formdata).then((res) => { | 105 | leftMenu(formdata).then((res) => { |
103 | if (res.code === 200 && res.result) { | 106 | if (res.code === 200 && res.result) { |
104 | this.aroundUnitData = res.result.filter(item => item.bglx == '1') | 107 | this.aroundUnitData = res.result.filter(item => item.bglx == '1') | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:40:48 | 4 | * @LastEditTime: 2023-07-17 13:50:53 |
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"> |
... | @@ -53,30 +53,30 @@ | ... | @@ -53,30 +53,30 @@ |
53 | // prop: "bdcdyh", | 53 | // prop: "bdcdyh", |
54 | // label: "不动产单元号" | 54 | // label: "不动产单元号" |
55 | // }, | 55 | // }, |
56 | { | 56 | { |
57 | prop: "zl", | 57 | prop: "zl", |
58 | label: "坐落" | 58 | label: "坐落" |
59 | }, | 59 | }, |
60 | { | 60 | { |
61 | prop: "shbw", | 61 | prop: "shbw", |
62 | label: "室号部位" | 62 | label: "室号部位" |
63 | }, | 63 | }, |
64 | { | 64 | { |
65 | prop: "fwxzmc", | 65 | prop: "fwxzmc", |
66 | label: "房屋性质" | 66 | label: "房屋性质" |
67 | }, | 67 | }, |
68 | { | 68 | { |
69 | prop: "jzmj", | 69 | prop: "jzmj", |
70 | label: "建筑面积" | 70 | label: "建筑面积" |
71 | }, | 71 | }, |
72 | { | 72 | { |
73 | prop: "showfwyt", | 73 | prop: "showfwyt", |
74 | label: "房屋用途" | 74 | label: "房屋用途" |
75 | }, | 75 | }, |
76 | { | 76 | { |
77 | prop: "showfwjg", | 77 | prop: "showfwjg", |
78 | label: "房屋结构" | 78 | label: "房屋结构" |
79 | }, | 79 | }, |
80 | ], | 80 | ], |
81 | column: this.qlrCommonTable | 81 | column: this.qlrCommonTable |
82 | } | 82 | } |
... | @@ -116,5 +116,12 @@ | ... | @@ -116,5 +116,12 @@ |
116 | } | 116 | } |
117 | } | 117 | } |
118 | </script> | 118 | </script> |
119 | <style scoped lang='scss'> | 119 | <style scoped lang="scss"> |
120 | /deep/.el-table th { | ||
121 | height: 30px !important; | ||
122 | } | ||
123 | /deep/.el-table--small .el-table__cell { | ||
124 | padding: 5px; | ||
125 | } | ||
120 | </style> | 126 | </style> |
127 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:41:35 | 4 | * @LastEditTime: 2023-07-17 13:51:09 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <lb-table :column="column" :maxHeight="300" heightNumSetting :pagination="false" :key="key" :data="tableData"> | 7 | <lb-table :column="column" :maxHeight="300" heightNumSetting :pagination="false" :key="key" :data="tableData"> |
... | @@ -158,5 +158,11 @@ | ... | @@ -158,5 +158,11 @@ |
158 | } | 158 | } |
159 | } | 159 | } |
160 | </script> | 160 | </script> |
161 | <style scoped lang='scss'> | ||
162 | </style> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
161 | <style scoped lang="scss"> | ||
162 | /deep/.el-table th { | ||
163 | height: 30px !important; | ||
164 | } | ||
165 | /deep/.el-table--small .el-table__cell { | ||
166 | padding: 5px; | ||
167 | } | ||
168 | </style> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-11 09:14:44 | 4 | * @LastEditTime: 2023-07-17 13:52:47 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
... | @@ -10,62 +10,61 @@ | ... | @@ -10,62 +10,61 @@ |
10 | border | 10 | border |
11 | :pagination="false" | 11 | :pagination="false" |
12 | :key="key" | 12 | :key="key" |
13 | :header-cell-style="{'text-align':'center'}" | 13 | :header-cell-style="{ 'text-align': 'center' }" |
14 | :heightNumSetting="true" | 14 | :heightNumSetting="true" |
15 | :minHeight="150" | 15 | :minHeight="150" |
16 | height="150" | 16 | height="150" |
17 | style="width: 100%"> | 17 | style="width: 100%"> |
18 | <el-table-column | 18 | <el-table-column prop="index" width="50" :render-header="renderHeader"> |
19 | prop="index" | 19 | <template slot-scope="scope"> |
20 | width="50" | ||
21 | :render-header="renderHeader"> | ||
22 | <template slot-scope="scope"> | ||
23 | <i | 20 | <i |
24 | class="el-icon-minus pointer" | 21 | class="el-icon-minus pointer" |
25 | @click="deleClick(scope.$index, scope.row)" | 22 | @click="deleClick(scope.$index, scope.row)" |
26 | v-if="!$route.query.viewtype == 1" | 23 | v-if="ableOperation"></i> |
27 | ></i> | 24 | <div style="text-align: center" v-else> |
28 | <div style="text-align:center;" v-else> | 25 | {{ scope.$index + 1 }} |
29 | {{ scope.$index+1}} | ||
30 | </div> | 26 | </div> |
31 | </template> | 27 | </template> |
32 | </el-table-column> | 28 | </el-table-column> |
33 | <el-table-column prop="yt" label="土地用途" min-width="100"> | 29 | <el-table-column prop="tdyt" label="土地用途" min-width="100"> |
34 | <template slot-scope="scope"> | 30 | <template slot-scope="scope"> |
35 | <treeselect | 31 | <treeselect |
36 | v-model="tdyt" | 32 | v-model="tdyt" |
37 | :disabled="disabled" | 33 | :disabled="!ableOperation" |
38 | noOptionsText="暂无数据" | 34 | noOptionsText="暂无数据" |
39 | :show-count="true" | 35 | :show-count="true" |
40 | :options="dictData['tdyt']" | 36 | :options="dictData['tdyt']" |
41 | :normalizer="normalizer" | 37 | :normalizer="normalizer" |
42 | :appendToBody="true" z-index="9999" | 38 | :appendToBody="true" |
39 | z-index="9999" | ||
43 | @input="addrow(scope.row)" /> | 40 | @input="addrow(scope.row)" /> |
44 | </template> | 41 | </template> |
45 | </el-table-column> | 42 | </el-table-column> |
46 | <el-table-column prop="qssj" label="土地使用起始时间" min-width="100"> | 43 | <el-table-column prop="qssj" label="土地使用起始时间" min-width="100"> |
47 | <template slot-scope="scope"> | 44 | <template slot-scope="scope"> |
48 | <el-date-picker | 45 | <el-date-picker |
49 | v-model='scope.row.qssj' | 46 | v-model="scope.row.qssj" |
50 | type="date" | 47 | type="date" |
51 | :disabled="disabled" | 48 | :disabled="!ableOperation" |
52 | placeholder="选择日期" | 49 | :picker-options="scope.row.pickerStart" |
53 | value-format="yyyy-MM-dd HH:mm:ss" | 50 | placeholder="选择日期" |
54 | format="yyyy-MM-dd" | 51 | value-format="yyyy-MM-dd HH:mm:ss" |
55 | @blur="addrow(scope.row)"> | 52 | format="yyyy-MM-dd" |
53 | @input="startTime(scope.$index)"> | ||
56 | </el-date-picker> | 54 | </el-date-picker> |
57 | </template> | 55 | </template> |
58 | </el-table-column> | 56 | </el-table-column> |
59 | <el-table-column prop="jssj" label="土地使用结束时间" min-width="100"> | 57 | <el-table-column prop="jssj" label="土地使用结束时间" min-width="100"> |
60 | <template slot-scope="scope"> | 58 | <template slot-scope="scope"> |
61 | <el-date-picker | 59 | <el-date-picker |
62 | v-model='scope.row.jssj' | 60 | v-model="scope.row.jssj" |
63 | type="date" | 61 | type="date" |
64 | :disabled="disabled" | 62 | :disabled="!ableOperation" |
65 | placeholder="选择日期" | 63 | :picker-options="scope.row.pickerEnd" |
66 | value-format="yyyy-MM-dd HH:mm:ss" | 64 | placeholder="选择日期" |
67 | format="yyyy-MM-dd" | 65 | value-format="yyyy-MM-dd HH:mm:ss" |
68 | @blur="addrow(scope.row)"> | 66 | format="yyyy-MM-dd" |
67 | @input="endTime(scope.$index)"> | ||
69 | </el-date-picker> | 68 | </el-date-picker> |
70 | </template> | 69 | </template> |
71 | </el-table-column> | 70 | </el-table-column> |
... | @@ -73,10 +72,10 @@ | ... | @@ -73,10 +72,10 @@ |
73 | <template slot-scope="scope"> | 72 | <template slot-scope="scope"> |
74 | <el-input | 73 | <el-input |
75 | class="item" | 74 | class="item" |
76 | :disabled="disabled" | 75 | :disabled="!ableOperation" |
77 | v-model="scope.row.tdsyqx" | 76 | v-model="scope.row.syqx" |
78 | placeholder="请输入内容" | 77 | placeholder="请输入内容" |
79 | @blur="addrow(scope.row)"> | 78 | @input="sumTime(scope.$index,scope.row.syqx)"> |
80 | ></el-input> | 79 | ></el-input> |
81 | </template> | 80 | </template> |
82 | </el-table-column> | 81 | </el-table-column> |
... | @@ -93,17 +92,16 @@ | ... | @@ -93,17 +92,16 @@ |
93 | tableData: { | 92 | tableData: { |
94 | type: Array, | 93 | type: Array, |
95 | default: function () { | 94 | default: function () { |
96 | return [] | 95 | return []; |
97 | } | 96 | }, |
98 | }, | 97 | }, |
99 | disabled: { | 98 | ableOperation: { |
100 | type: Boolean, | 99 | type: Boolean, |
101 | default: false | 100 | default: true, |
102 | } | 101 | }, |
103 | }, | 102 | }, |
104 | data () { | 103 | data () { |
105 | return { | 104 | return { |
106 | isDisabled: this.disabled, | ||
107 | // 键名转换,方法默认是label和children进行树状渲染 | 105 | // 键名转换,方法默认是label和children进行树状渲染 |
108 | tdyt: null, | 106 | tdyt: null, |
109 | key: 0, | 107 | key: 0, |
... | @@ -114,6 +112,9 @@ | ... | @@ -114,6 +112,9 @@ |
114 | syqx: "", | 112 | syqx: "", |
115 | }, | 113 | }, |
116 | tableDataList: [], | 114 | tableDataList: [], |
115 | // 起始时间选择范围 | ||
116 | pickerStart: {}, | ||
117 | pickerEnd: {}, | ||
117 | normalizer (node) { | 118 | normalizer (node) { |
118 | if (node.children == null || node.children == "null") { | 119 | if (node.children == null || node.children == "null") { |
119 | delete node.children; | 120 | delete node.children; |
... | @@ -125,6 +126,8 @@ | ... | @@ -125,6 +126,8 @@ |
125 | }, | 126 | }, |
126 | }; | 127 | }; |
127 | }, | 128 | }, |
129 | mounted () { | ||
130 | }, | ||
128 | watch: { | 131 | watch: { |
129 | tableData: { | 132 | tableData: { |
130 | handler: function (val, oldVal) { | 133 | handler: function (val, oldVal) { |
... | @@ -140,16 +143,20 @@ | ... | @@ -140,16 +143,20 @@ |
140 | }, | 143 | }, |
141 | ]); | 144 | ]); |
142 | if (that.tableDataList.length > 0) { | 145 | if (that.tableDataList.length > 0) { |
143 | this.tdyt = that.tableDataList[0].yt ? that.tableDataList[0].yt : null | 146 | this.tdyt = that.tableDataList[0].yt |
147 | ? that.tableDataList[0].yt | ||
148 | : null; | ||
144 | } else { | 149 | } else { |
145 | this.tdyt = null | 150 | this.tdyt = null; |
146 | } | 151 | } |
147 | } else { | 152 | } else { |
148 | that.tableDataList = _.cloneDeep(val); | 153 | that.tableDataList = _.cloneDeep(val); |
149 | if (that.tableDataList.length > 0) { | 154 | if (that.tableDataList.length > 0) { |
150 | this.tdyt = that.tableDataList[0].yt ? that.tableDataList[0].yt : null | 155 | this.tdyt = that.tableDataList[0].yt |
156 | ? that.tableDataList[0].yt | ||
157 | : null; | ||
151 | } else { | 158 | } else { |
152 | this.tdyt = null | 159 | this.tdyt = null; |
153 | } | 160 | } |
154 | } | 161 | } |
155 | }); | 162 | }); |
... | @@ -163,7 +170,7 @@ | ... | @@ -163,7 +170,7 @@ |
163 | return ( | 170 | return ( |
164 | <div> | 171 | <div> |
165 | {" "} | 172 | {" "} |
166 | {this.$route.query.viewtype == 1 ? ( | 173 | {!this.ableOperation ? ( |
167 | "序号" | 174 | "序号" |
168 | ) : ( | 175 | ) : ( |
169 | <i | 176 | <i |
... | @@ -181,11 +188,64 @@ | ... | @@ -181,11 +188,64 @@ |
181 | this.tableDataList = this.tableDataList.map((item) => { | 188 | this.tableDataList = this.tableDataList.map((item) => { |
182 | return { | 189 | return { |
183 | ...item, | 190 | ...item, |
184 | yt: this.tdyt | 191 | yt: this.tdyt, |
185 | } | 192 | }; |
186 | }) | 193 | }); |
187 | this.$emit("upDateTdytxxList", this.tableDataList); | 194 | this.$emit("upDateTdytxxList", this.tableDataList); |
188 | }, | 195 | }, |
196 | startTime (index) { | ||
197 | // let startTime = this.tableDataList[index].tdsyqssj; | ||
198 | let endTime = this.tableDataList[index].jssj; | ||
199 | let startTime = this.tableDataList[index].qssj; | ||
200 | this.tableDataList[index].pickerEnd = { | ||
201 | disabledDate: (time) => { | ||
202 | if (Object.keys(startTime).length > 0) { | ||
203 | return new Date(startTime).getTime() > time.getTime(); | ||
204 | } else { | ||
205 | return time.getTime() < Date.now(); | ||
206 | } | ||
207 | }, | ||
208 | }; | ||
209 | if ( | ||
210 | Object.keys(startTime).length > 0 && | ||
211 | Object.keys(endTime).length > 0 | ||
212 | ) { | ||
213 | let startYear = new Date(startTime).getFullYear(); | ||
214 | let endYear = new Date(endTime).getFullYear(); | ||
215 | this.tableDataList[index].syqx = endYear - startYear; | ||
216 | } | ||
217 | }, | ||
218 | endTime (index) { | ||
219 | // let startTime = this.tableDataList[index].tdsyqssj; | ||
220 | let startTime = this.tableDataList[index].qssj; | ||
221 | let endTime = this.tableDataList[index].jssj; | ||
222 | this.tableDataList[index].pickerStart = { | ||
223 | disabledDate: (time) => { | ||
224 | if (Object.keys(endTime).length > 0) { | ||
225 | return new Date(endTime).getTime() < time.getTime(); | ||
226 | } else { | ||
227 | return time.getTime() > Date.now(); | ||
228 | } | ||
229 | }, | ||
230 | }; | ||
231 | if ( | ||
232 | Object.keys(startTime).length > 0 && | ||
233 | Object.keys(endTime).length > 0 | ||
234 | ) { | ||
235 | let startYear = new Date(startTime).getFullYear(); | ||
236 | let endYear = new Date(endTime).getFullYear(); | ||
237 | this.tableDataList[index].syqx = endYear - startYear; | ||
238 | } | ||
239 | }, | ||
240 | sumTime (index, syqx) { | ||
241 | |||
242 | let startTime = this.tableDataList[index].qssj; | ||
243 | this.tableDataList[index].jssj = | ||
244 | Number(startTime.substring(0, 4)) + | ||
245 | Number(syqx) + | ||
246 | startTime.slice(4, 19); | ||
247 | |||
248 | }, | ||
189 | // 新增 | 249 | // 新增 |
190 | addClick () { | 250 | addClick () { |
191 | this.tableDataList[this.tableDataList.length] = _.cloneDeep(this.newdata); | 251 | this.tableDataList[this.tableDataList.length] = _.cloneDeep(this.newdata); |
... | @@ -218,4 +278,10 @@ | ... | @@ -218,4 +278,10 @@ |
218 | .el-date-editor.el-input { | 278 | .el-date-editor.el-input { |
219 | width: 100%; | 279 | width: 100%; |
220 | } | 280 | } |
281 | /deep/.el-table th { | ||
282 | height: 30px !important; | ||
283 | } | ||
284 | /deep/.el-table--small .el-table__cell { | ||
285 | padding: 5px; | ||
286 | } | ||
221 | </style> | 287 | </style> | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-13 11:06:42 | 4 | * @LastEditTime: 2023-07-17 14:20:17 |
5 | */ | 5 | */ |
6 | import { getPrintTemplateByCode } from "@/api/print"; | 6 | import { getPrintTemplateByCode } from "@/api/print"; |
7 | import { uploadUndo } from "@/api/clxx"; | 7 | import { uploadUndo } from "@/api/clxx"; |
... | @@ -65,7 +65,10 @@ export default { | ... | @@ -65,7 +65,10 @@ export default { |
65 | let that = this; | 65 | let that = this; |
66 | switch (item.value) { | 66 | switch (item.value) { |
67 | case "B0": | 67 | case "B0": |
68 | this.openDialog() | 68 | // this.openDialog() |
69 | this.$alert('此功能正在开发', '提示', { | ||
70 | confirmButtonText: '确定', | ||
71 | }) | ||
69 | break; | 72 | break; |
70 | case "B1": | 73 | case "B1": |
71 | getWorkFlowImage(this.bsmSlsq, this.$route.query.bestepid).then(res => { | 74 | getWorkFlowImage(this.bsmSlsq, this.$route.query.bestepid).then(res => { | ... | ... |
... | @@ -101,6 +101,7 @@ | ... | @@ -101,6 +101,7 @@ |
101 | clxxIndex: "", | 101 | clxxIndex: "", |
102 | //材料信息选项卡对象 | 102 | //材料信息选项卡对象 |
103 | clxxTab: {}, | 103 | clxxTab: {}, |
104 | ableOperation:false, | ||
104 | //页面监听时间 | 105 | //页面监听时间 |
105 | _beforeUnload_time: "" | 106 | _beforeUnload_time: "" |
106 | } | 107 | } |
... | @@ -141,10 +142,12 @@ | ... | @@ -141,10 +142,12 @@ |
141 | this.tabList = res.result; | 142 | this.tabList = res.result; |
142 | //默认加载第一个表单信息 | 143 | //默认加载第一个表单信息 |
143 | this.tabName = res.result[0].value; | 144 | this.tabName = res.result[0].value; |
145 | this.ableOperation=this.tabList[0].ableOperation | ||
144 | //批量操作无分屏按钮 | 146 | //批量操作无分屏按钮 |
145 | if (index != null) { | 147 | if (index != null) { |
146 | //处理分屏材料信息 | 148 | //处理分屏材料信息 |
147 | let that = this; | 149 | let that = this; |
150 | |||
148 | this.tabList.forEach(function (item, index) { | 151 | this.tabList.forEach(function (item, index) { |
149 | if (item.value == "clxx") { | 152 | if (item.value == "clxx") { |
150 | that.clxxIndex = index; | 153 | that.clxxIndex = index; | ... | ... |
... | @@ -93,6 +93,7 @@ | ... | @@ -93,6 +93,7 @@ |
93 | currentSelectProps: {}, | 93 | currentSelectProps: {}, |
94 | //是否开启材料分屏 | 94 | //是否开启材料分屏 |
95 | splitScreen: false, | 95 | splitScreen: false, |
96 | ableOperation:false, | ||
96 | //材料分屏表单 | 97 | //材料分屏表单 |
97 | clxxForm: "", | 98 | clxxForm: "", |
98 | //材料信息选择卡索引 | 99 | //材料信息选择卡索引 |
... | @@ -115,6 +116,7 @@ | ... | @@ -115,6 +116,7 @@ |
115 | this.tabList = res.result; | 116 | this.tabList = res.result; |
116 | //默认加载第一个表单信息 | 117 | //默认加载第一个表单信息 |
117 | this.tabName = res.result[0].value; | 118 | this.tabName = res.result[0].value; |
119 | this.ableOperation=this.tabList[0].ableOperation | ||
118 | //批量操作无分屏按钮 | 120 | //批量操作无分屏按钮 |
119 | if (index != null) { | 121 | if (index != null) { |
120 | //处理分屏材料信息 | 122 | //处理分屏材料信息 | ... | ... |
... | @@ -198,7 +198,6 @@ | ... | @@ -198,7 +198,6 @@ |
198 | }); | 198 | }); |
199 | }, | 199 | }, |
200 | ywhClick (item) { | 200 | ywhClick (item) { |
201 | console.log("代办箱列表信息",item); | ||
202 | //判断用户是否拥有该任务的权限,若有则跳转,无权限则给予提示并刷新页面 | 201 | //判断用户是否拥有该任务的权限,若有则跳转,无权限则给予提示并刷新页面 |
203 | judgeUserTaskPermission({ | 202 | judgeUserTaskPermission({ |
204 | bsmSlsq: item.bsmSlsq, | 203 | bsmSlsq: item.bsmSlsq, |
... | @@ -209,7 +208,7 @@ | ... | @@ -209,7 +208,7 @@ |
209 | //有任务权限 | 208 | //有任务权限 |
210 | if(item.sjlx=="3"){ | 209 | if(item.sjlx=="3"){ |
211 | const { href } = this.$router.resolve( | 210 | const { href } = this.$router.resolve( |
212 | "/djbworkFrame?bsmSlsq=" + | 211 | "/djbworkFrame?bsmSlsq=" + |
213 | item.bsmSlsq + | 212 | item.bsmSlsq + |
214 | "&bestepid=" + | 213 | "&bestepid=" + |
215 | item.bestepid + | 214 | item.bestepid + | ... | ... |
... | @@ -131,7 +131,7 @@ | ... | @@ -131,7 +131,7 @@ |
131 | <div class="triangle"></div> | 131 | <div class="triangle"></div> |
132 | </div> | 132 | </div> |
133 | <tdytTable | 133 | <tdytTable |
134 | :disabled="!ableOperation" | 134 | :ableOperation="ableOperation" |
135 | :tableData="ruleForm.tdytqxList" | 135 | :tableData="ruleForm.tdytqxList" |
136 | @upDateTdytxxList="upDateTdytxxList" /> | 136 | @upDateTdytxxList="upDateTdytxxList" /> |
137 | <div class="slxx_title title-block"> | 137 | <div class="slxx_title title-block"> |
... | @@ -253,7 +253,6 @@ | ... | @@ -253,7 +253,6 @@ |
253 | methods: { | 253 | methods: { |
254 | // 更新土地用途信息 | 254 | // 更新土地用途信息 |
255 | upDateTdytxxList (val) { | 255 | upDateTdytxxList (val) { |
256 | console.log("VAL", val); | ||
257 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 256 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
258 | this.key++; | 257 | this.key++; |
259 | }, | 258 | }, | ... | ... |
... | @@ -143,7 +143,7 @@ | ... | @@ -143,7 +143,7 @@ |
143 | <div class="triangle"></div> | 143 | <div class="triangle"></div> |
144 | </div> | 144 | </div> |
145 | <tdytTable | 145 | <tdytTable |
146 | :disabled="!ableOperation" | 146 | :ableOperation="ableOperation" |
147 | :tableData="ruleForm.tdytqxList" | 147 | :tableData="ruleForm.tdytqxList" |
148 | @upDateTdytxxList="upDateTdytxxList" /> | 148 | @upDateTdytxxList="upDateTdytxxList" /> |
149 | <div class="slxx_title title-block"> | 149 | <div class="slxx_title title-block"> |
... | @@ -288,7 +288,6 @@ | ... | @@ -288,7 +288,6 @@ |
288 | }, | 288 | }, |
289 | // 更新土地用途信息 | 289 | // 更新土地用途信息 |
290 | upDateTdytxxList (val) { | 290 | upDateTdytxxList (val) { |
291 | console.log("VAL", val); | ||
292 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 291 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
293 | this.key++; | 292 | this.key++; |
294 | }, | 293 | }, | ... | ... |
... | @@ -129,7 +129,7 @@ | ... | @@ -129,7 +129,7 @@ |
129 | <div class="triangle"></div> | 129 | <div class="triangle"></div> |
130 | </div> | 130 | </div> |
131 | <tdytTable | 131 | <tdytTable |
132 | :disabled="!ableOperation" | 132 | :ableOperation="ableOperation" |
133 | :tableData="ruleForm.tdytqxList" | 133 | :tableData="ruleForm.tdytqxList" |
134 | @upDateTdytxxList="upDateTdytxxList" /> | 134 | @upDateTdytxxList="upDateTdytxxList" /> |
135 | <div class="slxx_title title-block"> | 135 | <div class="slxx_title title-block"> |
... | @@ -258,7 +258,6 @@ | ... | @@ -258,7 +258,6 @@ |
258 | methods: { | 258 | methods: { |
259 | // 更新土地用途信息 | 259 | // 更新土地用途信息 |
260 | upDateTdytxxList (val) { | 260 | upDateTdytxxList (val) { |
261 | console.log("VAL", val); | ||
262 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 261 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
263 | this.key++; | 262 | this.key++; |
264 | }, | 263 | }, | ... | ... |
... | @@ -6,7 +6,8 @@ | ... | @@ -6,7 +6,8 @@ |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
8 | <div class="slxx"> | 8 | <div class="slxx"> |
9 | <el-form :model="ruleForm" :rules="rules" class="loadingtext" ref="ruleForm" :label-position="flag ? 'top' : ''" | 9 | <el-form :model="ruleForm" :rules="rules" :class="{readonly: editDisabled }" |
10 | class="loadingtext" ref="ruleForm" :label-position="flag ? 'top' : ''" | ||
10 | :inline="flag" label-width="120px"> | 11 | :inline="flag" label-width="120px"> |
11 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> | 12 | <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> |
12 | <div class="slxx_title title-block"> | 13 | <div class="slxx_title title-block"> |
... | @@ -16,34 +17,34 @@ | ... | @@ -16,34 +17,34 @@ |
16 | <el-row :gutter="10"> | 17 | <el-row :gutter="10"> |
17 | <el-col :span="8"> | 18 | <el-col :span="8"> |
18 | <el-form-item label="业务号:"> | 19 | <el-form-item label="业务号:"> |
19 | <el-input disabled v-model="ruleForm.flow.ywh"></el-input> | 20 | <el-input v-model="ruleForm.flow.ywh"></el-input> |
20 | </el-form-item> | 21 | </el-form-item> |
21 | </el-col> | 22 | </el-col> |
22 | <el-col :span="8"> | 23 | <el-col :span="8"> |
23 | <el-form-item label="受理人员:"> | 24 | <el-form-item label="受理人员:"> |
24 | <el-input disabled v-model="ruleForm.slsq.slry"></el-input> | 25 | <el-input v-model="ruleForm.slsq.slry"></el-input> |
25 | </el-form-item> | 26 | </el-form-item> |
26 | </el-col> | 27 | </el-col> |
27 | <el-col :span="8"> | 28 | <el-col :span="8"> |
28 | <el-form-item label="受理时间:"> | 29 | <el-form-item label="受理时间:"> |
29 | <el-input disabled v-model="ruleForm.slsq.slsj"></el-input> | 30 | <el-input v-model="ruleForm.slsq.slsj"></el-input> |
30 | </el-form-item> | 31 | </el-form-item> |
31 | </el-col> | 32 | </el-col> |
32 | </el-row> | 33 | </el-row> |
33 | <el-row :gutter="10"> | 34 | <el-row :gutter="10"> |
34 | <el-col :span="8"> | 35 | <el-col :span="8"> |
35 | <el-form-item label="权利类型:"> | 36 | <el-form-item label="权利类型:"> |
36 | <el-input disabled v-model="ruleForm.sldy.qllxmc"></el-input> | 37 | <el-input v-model="ruleForm.sldy.qllxmc"></el-input> |
37 | </el-form-item> | 38 | </el-form-item> |
38 | </el-col> | 39 | </el-col> |
39 | <el-col :span="8"> | 40 | <el-col :span="8"> |
40 | <el-form-item label="登记类型:"> | 41 | <el-form-item label="登记类型:"> |
41 | <el-input disabled v-model="ruleForm.sldy.djlxmc"></el-input> | 42 | <el-input v-model="ruleForm.sldy.djlxmc"></el-input> |
42 | </el-form-item> | 43 | </el-form-item> |
43 | </el-col> | 44 | </el-col> |
44 | <el-col :span="8"> | 45 | <el-col :span="8"> |
45 | <el-form-item label="登记情形:"> | 46 | <el-form-item label="登记情形:"> |
46 | <el-input disabled v-model="ruleForm.slsq.djqxmc"></el-input> | 47 | <el-input v-model="ruleForm.slsq.djqxmc"></el-input> |
47 | </el-form-item> | 48 | </el-form-item> |
48 | </el-col> | 49 | </el-col> |
49 | </el-row> | 50 | </el-row> |
... | @@ -54,60 +55,71 @@ | ... | @@ -54,60 +55,71 @@ |
54 | <el-row :gutter="10"> | 55 | <el-row :gutter="10"> |
55 | <el-col :span="8"> | 56 | <el-col :span="8"> |
56 | <el-form-item label="宗地代码:"> | 57 | <el-form-item label="宗地代码:"> |
57 | <el-input disabled v-model="ruleForm.zdjbxx.zddm"></el-input> | 58 | <el-input v-model="ruleForm.zdjbxx.zddm"></el-input> |
58 | </el-form-item> | 59 | </el-form-item> |
59 | </el-col> | 60 | </el-col> |
60 | <el-col :span="8"> | 61 | <el-col :span="8"> |
61 | <el-form-item label="不动产单元号:"> | 62 | <el-form-item label="不动产单元号:"> |
62 | <el-input disabled v-model="ruleForm.zdjbxx.bdcdyh"></el-input> | 63 | <el-input v-model="ruleForm.zdjbxx.bdcdyh"></el-input> |
63 | </el-form-item> | 64 | </el-form-item> |
64 | </el-col> | 65 | </el-col> |
65 | <el-col :span="8"> | 66 | <el-col :span="8"> |
66 | <el-form-item label="权利性质:"> | 67 | <el-form-item label="权利性质:"> |
67 | <el-input disabled v-model="ruleForm.zdjbxx.qlxzmc"></el-input> | 68 | <el-input v-model="ruleForm.zdjbxx.qlxzmc"></el-input> |
68 | </el-form-item> | 69 | </el-form-item> |
69 | </el-col> | 70 | </el-col> |
70 | </el-row> | 71 | </el-row> |
71 | <el-row :gutter="10"> | 72 | <el-row :gutter="10"> |
72 | <el-col :span="8"> | 73 | <el-col :span="8"> |
73 | <el-form-item label="宗地面积:"> | 74 | <el-form-item label="宗地面积:"> |
74 | <el-input disabled v-model="ruleForm.zdjbxx.zdmj"></el-input> | 75 | <el-input v-model="ruleForm.zdjbxx.zdmj"></el-input> |
75 | </el-form-item> | 76 | </el-form-item> |
76 | </el-col> | 77 | </el-col> |
77 | <!-- <el-col :span="8"> | 78 | <!-- <el-col :span="8"> |
78 | <el-form-item label="土地用途:"> | 79 | <el-form-item label="土地用途:"> |
79 | <el-input disabled v-model="ruleForm.zdjbxx.ghytmc"></el-input> | 80 | <el-input v-model="ruleForm.zdjbxx.ghytmc"></el-input> |
80 | </el-form-item> | 81 | </el-form-item> |
81 | </el-col> --> | 82 | </el-col> --> |
82 | <el-col :span="8"> | 83 | <el-col :span="8"> |
83 | <el-form-item label="权利设定方式:"> | 84 | <el-form-item label="权利设定方式:"> |
84 | <el-input disabled v-model="ruleForm.zdjbxx.qlsdfsmc"></el-input> | 85 | <el-input v-model="ruleForm.zdjbxx.qlsdfsmc"></el-input> |
85 | </el-form-item> | 86 | </el-form-item> |
86 | </el-col> | 87 | </el-col> |
87 | <el-col :span="8"> | 88 | <el-col :span="8"> |
88 | <el-form-item label="取得价格:"> | 89 | <el-form-item label="取得价格:"> |
89 | <div style="display:flex"> | 90 | <div style="display:flex"> |
90 | <el-input v-model="ruleForm.jsydsyq.qdjg" style="width:500%" :disabled="$route.query.viewtype == '1' && !ableOperation" | 91 | <el-input v-model="ruleForm.jsydsyq.qdjg" style="width:500%" oninput="value=value.replace(/[^\d.]/g,'')"></el-input> |
91 | oninput="value=value.replace(/[^\d.]/g,'')"></el-input> | 92 | <el-select v-model="ruleForm.jsydsyq.jedw"> |
92 | <el-select v-model="ruleForm.jsydsyq.jedw" :disabled="$route.query.viewtype == '1' && !ableOperation"> | ||
93 | <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 93 | <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
94 | </el-option> | 94 | </el-option> |
95 | </el-select> | 95 | </el-select> |
96 | </div> | 96 | </div> |
97 | </el-form-item> | 97 | </el-form-item> |
98 | </el-col> | 98 | </el-col> |
99 | |||
100 | <el-col :span="16"> | ||
101 | <el-form-item label="坐落:"> | ||
102 | <el-input v-model="ruleForm.zdjbxx.zl"></el-input> | ||
103 | </el-form-item> | ||
104 | </el-col> | ||
99 | </el-row> | 105 | </el-row> |
100 | <el-row :gutter="10"> | 106 | <el-row :gutter="10"> |
101 | <el-col :span="24"> | 107 | <el-col :span="8"> |
102 | <el-form-item label="坐落:"> | 108 | <el-form-item label="使用期限:"> |
103 | <el-input disabled v-model="ruleForm.zdjbxx.zl"></el-input> | 109 | <el-input v-model="ruleForm.jsydsyq.tdsyqx"></el-input> |
110 | </el-form-item> | ||
111 | </el-col> | ||
112 | |||
113 | <el-col :span="16"> | ||
114 | <el-form-item label="使用权起止时间:"> | ||
115 | <el-input v-model="ruleForm.jsydsyq.syqqzsj"></el-input> | ||
104 | </el-form-item> | 116 | </el-form-item> |
105 | </el-col> | 117 | </el-col> |
106 | </el-row> | 118 | </el-row> |
107 | <el-row :gutter="10"> | 119 | <el-row :gutter="10"> |
108 | <el-col> | 120 | <el-col> |
109 | <el-form-item label="附记:" prop="fj"> | 121 | <el-form-item label="附记:" prop="fj"> |
110 | <el-input type="textarea" v-model="ruleForm.jsydsyq.fj" :disabled="$route.query.viewtype == '1' && !ableOperation"></el-input> | 122 | <el-input type="textarea" v-model="ruleForm.jsydsyq.fj"></el-input> |
111 | </el-form-item> | 123 | </el-form-item> |
112 | </el-col> | 124 | </el-col> |
113 | </el-row> | 125 | </el-row> |
... | @@ -116,7 +128,7 @@ | ... | @@ -116,7 +128,7 @@ |
116 | <div class="triangle"></div> | 128 | <div class="triangle"></div> |
117 | </div> | 129 | </div> |
118 | <tdytTable | 130 | <tdytTable |
119 | :disabled="!ableOperation" | 131 | :ableOperation="ableOperation" |
120 | :tableData="ruleForm.tdytqxList" | 132 | :tableData="ruleForm.tdytqxList" |
121 | @upDateTdytxxList="upDateTdytxxList" /> | 133 | @upDateTdytxxList="upDateTdytxxList" /> |
122 | <div class="slxx_title title-block"> | 134 | <div class="slxx_title title-block"> |
... | @@ -213,7 +225,15 @@ | ... | @@ -213,7 +225,15 @@ |
213 | }, | 225 | }, |
214 | components: { qlrCommonTable, tdytTable }, | 226 | components: { qlrCommonTable, tdytTable }, |
215 | computed: { | 227 | computed: { |
216 | ...mapGetters(["dictData", "flag"]) | 228 | ...mapGetters(["dictData", "flag"]), |
229 | // 根据流程判断表单是否为只读 | ||
230 | editDisabled() { | ||
231 | if (!this.ableOperation) { | ||
232 | //只读状态 | ||
233 | return true; | ||
234 | } | ||
235 | return false; | ||
236 | }, | ||
217 | }, | 237 | }, |
218 | data () { | 238 | data () { |
219 | return { | 239 | return { |
... | @@ -232,7 +252,6 @@ | ... | @@ -232,7 +252,6 @@ |
232 | methods: { | 252 | methods: { |
233 | // 更新土地用途信息 | 253 | // 更新土地用途信息 |
234 | upDateTdytxxList (val) { | 254 | upDateTdytxxList (val) { |
235 | console.log("VAL", val); | ||
236 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 255 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
237 | this.key++; | 256 | this.key++; |
238 | }, | 257 | }, | ... | ... |
... | @@ -47,11 +47,9 @@ | ... | @@ -47,11 +47,9 @@ |
47 | </el-form-item> | 47 | </el-form-item> |
48 | </el-col> | 48 | </el-col> |
49 | </el-row> | 49 | </el-row> |
50 | <div class="slxx_title title-block"> | 50 | <div class="slxx_title title-block flex" style="justify-content: space-between;"> |
51 | 不动产单元情况 | 51 | 不动产单元情况 |
52 | <div> | 52 | <el-button @click="compare">变化情况对比+</el-button> |
53 | <el-button @click="compare">变化情况对比+</el-button> | ||
54 | </div> | ||
55 | </div> | 53 | </div> |
56 | <el-row :gutter="10"> | 54 | <el-row :gutter="10"> |
57 | <el-col :span="8"> | 55 | <el-col :span="8"> |
... | @@ -133,7 +131,7 @@ | ... | @@ -133,7 +131,7 @@ |
133 | </div> | 131 | </div> |
134 | <tdytTable | 132 | <tdytTable |
135 | :tableData="ruleForm.tdytqxList" | 133 | :tableData="ruleForm.tdytqxList" |
136 | :disabled="!ableOperation" | 134 | :ableOperation="ableOperation" |
137 | @upDateTdytxxList="upDateTdytxxList" /> | 135 | @upDateTdytxxList="upDateTdytxxList" /> |
138 | <div class="slxx_title title-block"> | 136 | <div class="slxx_title title-block"> |
139 | 权利人信息 | 137 | 权利人信息 |
... | @@ -239,7 +237,6 @@ | ... | @@ -239,7 +237,6 @@ |
239 | methods: { | 237 | methods: { |
240 | // 更新土地用途信息 | 238 | // 更新土地用途信息 |
241 | upDateTdytxxList (val) { | 239 | upDateTdytxxList (val) { |
242 | console.log("VAL", val); | ||
243 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 240 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
244 | this.key++; | 241 | this.key++; |
245 | }, | 242 | }, | ... | ... |
... | @@ -181,7 +181,7 @@ | ... | @@ -181,7 +181,7 @@ |
181 | </div> | 181 | </div> |
182 | <tdytTable | 182 | <tdytTable |
183 | :tableData="ruleForm.tdytqxList" | 183 | :tableData="ruleForm.tdytqxList" |
184 | :disabled="!ableOperation" | 184 | :ableOperation="ableOperation" |
185 | @upDateTdytxxList="upDateTdytxxList" /> | 185 | @upDateTdytxxList="upDateTdytxxList" /> |
186 | <div class="slxx_title title-block"> | 186 | <div class="slxx_title title-block"> |
187 | 权利人信息 | 187 | 权利人信息 |
... | @@ -306,7 +306,6 @@ | ... | @@ -306,7 +306,6 @@ |
306 | methods: { | 306 | methods: { |
307 | // 更新土地用途信息 | 307 | // 更新土地用途信息 |
308 | upDateTdytxxList (val) { | 308 | upDateTdytxxList (val) { |
309 | console.log("VAL", val); | ||
310 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 309 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
311 | this.key++; | 310 | this.key++; |
312 | }, | 311 | }, | ... | ... |
... | @@ -203,9 +203,7 @@ | ... | @@ -203,9 +203,7 @@ |
203 | "/djbworkFrameview?bsmSlsq=" + | 203 | "/djbworkFrameview?bsmSlsq=" + |
204 | item.bsmSlsq + | 204 | item.bsmSlsq + |
205 | "&bestepid=" + | 205 | "&bestepid=" + |
206 | item.bestepid + | 206 | item.bestepid |
207 | "&bsmBusiness=" + | ||
208 | "&viewtype=1" | ||
209 | ); | 207 | ); |
210 | window.open(href, `djbworkFrameview${item.bsmSlsq}`); | 208 | window.open(href, `djbworkFrameview${item.bsmSlsq}`); |
211 | } else { | 209 | } else { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-13 14:47:30 | 4 | * @LastEditTime: 2023-07-17 13:38:49 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
8 | <!-- 表单部分 --> | 8 | <!-- 表单部分 --> |
9 | <div class="from-clues-header"> | 9 | <div class="from-clues-header"> |
10 | <el-form :model="queryForm" ref="queryForm" label-width="100px"> | 10 | <el-form :model="queryForm" ref="queryForm" label-width="90px"> |
11 | <el-row> | 11 | <el-row style="margin-bottom:10px"> |
12 | <el-col :span="8"> | 12 | <el-col :span="5"> |
13 | <el-form-item label="不动产单元号"> | 13 | <el-form-item label="不动产单元号" label-width="110px"> |
14 | <el-input | 14 | <el-input |
15 | placeholder="请输入不动产单元号" | 15 | placeholder="请输入不动产单元号" |
16 | maxlength="28" | 16 | maxlength="28" |
17 | v-model="queryForm.bdcdyh" | 17 | v-model="queryForm.bdcdyh" |
18 | clearable | 18 | clearable |
19 | class="width200px"></el-input> | 19 | class="width100"></el-input> |
20 | </el-form-item> | 20 | </el-form-item> |
21 | </el-col> | 21 | </el-col> |
22 | <el-col :span="8"> | 22 | <el-col :span="5"> |
23 | <el-form-item label="查封机关"> | 23 | <el-form-item label="查封机关"> |
24 | <el-input placeholder="请输入查封机关" v-model="queryForm.cfjg" clearable class="width200px"></el-input> | 24 | <el-input placeholder="请输入查封机关" v-model="queryForm.cfjg" clearable class="width100"></el-input> |
25 | </el-form-item> | 25 | </el-form-item> |
26 | </el-col> | 26 | </el-col> |
27 | <el-col :span="8"> | 27 | <el-col :span="5"> |
28 | <el-form-item label="查封文号"> | 28 | <el-form-item label="查封文号"> |
29 | <el-input | 29 | <el-input |
30 | placeholder="请输入不动产权证号" | 30 | placeholder="请输入不动产权证号" |
31 | v-model="queryForm.cfwh" | 31 | v-model="queryForm.cfwh" |
32 | clearable | 32 | clearable |
33 | class="width200px"></el-input> | 33 | class="width100"></el-input> |
34 | </el-form-item> | 34 | </el-form-item> |
35 | </el-col> | 35 | </el-col> |
36 | </el-row> | 36 | <el-col :span="6"> |
37 | <el-row> | 37 | <el-form-item label="坐落" label-width="50px"> |
38 | <el-col :span="5"> | 38 | <el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width100"></el-input> |
39 | <el-form-item label="坐落"> | ||
40 | <el-input placeholder="请输入坐落" v-model="queryForm.zl" clearable class="width200px"></el-input> | ||
41 | </el-form-item> | 39 | </el-form-item> |
42 | </el-col> | 40 | </el-col> |
43 | <el-col :span="6" class="btnColRight"> | 41 | <el-col :span="3" class="btnColRight"> |
44 | <el-form-item> | 42 | <el-form-item> |
45 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | ||
46 | <el-button type="primary" @click="queryClick">查询</el-button> | 43 | <el-button type="primary" @click="queryClick">查询</el-button> |
44 | <!-- <el-button type="primary" @click="resetForm(true)">重置</el-button> --> | ||
47 | </el-form-item> | 45 | </el-form-item> |
48 | </el-col> | 46 | </el-col> |
49 | </el-row> | 47 | </el-row> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-13 14:47:36 | 4 | * @LastEditTime: 2023-07-17 13:16:57 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 抵押权利信息查询 --> | 7 | <!-- 抵押权利信息查询 --> |
... | @@ -38,8 +38,8 @@ | ... | @@ -38,8 +38,8 @@ |
38 | </el-col> | 38 | </el-col> |
39 | <el-col :span="2" class="btnColRight"> | 39 | <el-col :span="2" class="btnColRight"> |
40 | <el-form-item> | 40 | <el-form-item> |
41 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | ||
42 | <el-button type="primary" @click="handleSearch">查询</el-button> | 41 | <el-button type="primary" @click="handleSearch">查询</el-button> |
42 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | ||
43 | </el-form-item> | 43 | </el-form-item> |
44 | </el-col> | 44 | </el-col> |
45 | </el-row> | 45 | </el-row> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-13 15:23:44 | 4 | * @LastEditTime: 2023-07-17 13:17:12 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -23,7 +23,7 @@ | ... | @@ -23,7 +23,7 @@ |
23 | </el-col> | 23 | </el-col> |
24 | <el-col :span="4" class="btnColRight"> | 24 | <el-col :span="4" class="btnColRight"> |
25 | <el-form-item> | 25 | <el-form-item> |
26 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | 26 | <!-- <el-button type="primary" @click="resetForm(true)">重置</el-button> --> |
27 | <el-button type="primary" @click="handleSearch">查询</el-button> | 27 | <el-button type="primary" @click="handleSearch">查询</el-button> |
28 | </el-form-item> | 28 | </el-form-item> |
29 | </el-col> | 29 | </el-col> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-13 15:23:51 | 4 | * @LastEditTime: 2023-07-17 13:17:17 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -23,7 +23,7 @@ | ... | @@ -23,7 +23,7 @@ |
23 | </el-col> | 23 | </el-col> |
24 | <el-col :span="4" class="btnColRight"> | 24 | <el-col :span="4" class="btnColRight"> |
25 | <el-form-item> | 25 | <el-form-item> |
26 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | 26 | <!-- <el-button type="primary" @click="resetForm(true)">重置</el-button> --> |
27 | <el-button type="primary" @click="handleSearch">查询</el-button> | 27 | <el-button type="primary" @click="handleSearch">查询</el-button> |
28 | </el-form-item> | 28 | </el-form-item> |
29 | </el-col> | 29 | </el-col> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-13 15:26:40 | 4 | * @LastEditTime: 2023-07-17 13:17:38 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -38,7 +38,7 @@ | ... | @@ -38,7 +38,7 @@ |
38 | </el-col> | 38 | </el-col> |
39 | <el-col :span="3" class="btnColRight"> | 39 | <el-col :span="3" class="btnColRight"> |
40 | <el-form-item> | 40 | <el-form-item> |
41 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | 41 | <!-- <el-button type="primary" @click="resetForm(true)">重置</el-button> --> |
42 | <el-button type="primary" @click="handleSearch">查询</el-button> | 42 | <el-button type="primary" @click="handleSearch">查询</el-button> |
43 | </el-form-item> | 43 | </el-form-item> |
44 | </el-col> | 44 | </el-col> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-13 15:26:46 | 4 | * @LastEditTime: 2023-07-17 13:17:50 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -35,7 +35,7 @@ | ... | @@ -35,7 +35,7 @@ |
35 | </el-col> | 35 | </el-col> |
36 | <el-col :span="4" class="btnColRight"> | 36 | <el-col :span="4" class="btnColRight"> |
37 | <el-form-item> | 37 | <el-form-item> |
38 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | 38 | <!-- <el-button type="primary" @click="resetForm(true)">重置</el-button> --> |
39 | <el-button type="primary" @click="handleSearch">查询</el-button> | 39 | <el-button type="primary" @click="handleSearch">查询</el-button> |
40 | </el-form-item> | 40 | </el-form-item> |
41 | </el-col> | 41 | </el-col> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-13 15:26:51 | 4 | * @LastEditTime: 2023-07-17 13:18:01 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -30,7 +30,7 @@ | ... | @@ -30,7 +30,7 @@ |
30 | </el-col> | 30 | </el-col> |
31 | <el-col :span="4" class="btnColRight"> | 31 | <el-col :span="4" class="btnColRight"> |
32 | <el-form-item> | 32 | <el-form-item> |
33 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | 33 | <!-- <el-button type="primary" @click="resetForm(true)">重置</el-button> --> |
34 | <el-button type="primary" @click="handleSearch">查询</el-button> | 34 | <el-button type="primary" @click="handleSearch">查询</el-button> |
35 | </el-form-item> | 35 | </el-form-item> |
36 | </el-col> | 36 | </el-col> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-13 15:26:55 | 4 | * @LastEditTime: 2023-07-17 13:18:06 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -30,7 +30,7 @@ | ... | @@ -30,7 +30,7 @@ |
30 | </el-col> | 30 | </el-col> |
31 | <el-col :span="2" class="btnColRight"> | 31 | <el-col :span="2" class="btnColRight"> |
32 | <el-form-item> | 32 | <el-form-item> |
33 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | 33 | <!-- <el-button type="primary" @click="resetForm(true)">重置</el-button> --> |
34 | <el-button type="primary" @click="handleSearch">查询</el-button> | 34 | <el-button type="primary" @click="handleSearch">查询</el-button> |
35 | </el-form-item> | 35 | </el-form-item> |
36 | </el-col> | 36 | </el-col> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-13 15:27:00 | 4 | * @LastEditTime: 2023-07-17 13:18:12 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -37,8 +37,8 @@ | ... | @@ -37,8 +37,8 @@ |
37 | </el-col> | 37 | </el-col> |
38 | <el-col :span="6" class="btnColRight"> | 38 | <el-col :span="6" class="btnColRight"> |
39 | <el-form-item> | 39 | <el-form-item> |
40 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | ||
41 | <el-button type="primary" @click="handleSearch">查询</el-button> | 40 | <el-button type="primary" @click="handleSearch">查询</el-button> |
41 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | ||
42 | </el-form-item> | 42 | </el-form-item> |
43 | </el-col> | 43 | </el-col> |
44 | </el-row> | 44 | </el-row> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-07 09:48:53 | 4 | * @LastEditTime: 2023-07-17 13:18:17 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -37,8 +37,8 @@ | ... | @@ -37,8 +37,8 @@ |
37 | </el-col> | 37 | </el-col> |
38 | <el-col :span="6" class="btnColRight"> | 38 | <el-col :span="6" class="btnColRight"> |
39 | <el-form-item> | 39 | <el-form-item> |
40 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | ||
41 | <el-button type="primary" @click="handleSearch">查询</el-button> | 40 | <el-button type="primary" @click="handleSearch">查询</el-button> |
41 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | ||
42 | </el-form-item> | 42 | </el-form-item> |
43 | </el-col> | 43 | </el-col> |
44 | </el-row> | 44 | </el-row> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-13 15:27:13 | 4 | * @LastEditTime: 2023-07-17 13:16:27 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -29,7 +29,7 @@ | ... | @@ -29,7 +29,7 @@ |
29 | </el-col> | 29 | </el-col> |
30 | <el-col :span="6" class="btnColRight"> | 30 | <el-col :span="6" class="btnColRight"> |
31 | <el-form-item> | 31 | <el-form-item> |
32 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | 32 | <!-- <el-button type="primary" @click="resetForm(true)">重置</el-button> --> |
33 | <el-button type="primary" @click="handleSearch">查询</el-button> | 33 | <el-button type="primary" @click="handleSearch">查询</el-button> |
34 | </el-form-item> | 34 | </el-form-item> |
35 | </el-col> | 35 | </el-col> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-13 15:27:16 | 4 | * @LastEditTime: 2023-07-17 13:18:26 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -37,8 +37,8 @@ | ... | @@ -37,8 +37,8 @@ |
37 | </el-col> | 37 | </el-col> |
38 | <el-col :span="6" class="btnColRight"> | 38 | <el-col :span="6" class="btnColRight"> |
39 | <el-form-item> | 39 | <el-form-item> |
40 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | ||
41 | <el-button type="primary" @click="handleSearch">查询</el-button> | 40 | <el-button type="primary" @click="handleSearch">查询</el-button> |
41 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | ||
42 | </el-form-item> | 42 | </el-form-item> |
43 | </el-col> | 43 | </el-col> |
44 | </el-row> | 44 | </el-row> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-13 15:27:19 | 4 | * @LastEditTime: 2023-07-17 13:18:34 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -30,7 +30,7 @@ | ... | @@ -30,7 +30,7 @@ |
30 | </el-col> | 30 | </el-col> |
31 | <el-col :span="2" class="btnColRight"> | 31 | <el-col :span="2" class="btnColRight"> |
32 | <el-form-item> | 32 | <el-form-item> |
33 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | 33 | <!-- <el-button type="primary" @click="resetForm(true)">重置</el-button> --> |
34 | <el-button type="primary" @click="handleSearch">查询</el-button> | 34 | <el-button type="primary" @click="handleSearch">查询</el-button> |
35 | </el-form-item> | 35 | </el-form-item> |
36 | </el-col> | 36 | </el-col> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-13 15:27:26 | 4 | * @LastEditTime: 2023-07-17 13:18:39 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -30,7 +30,7 @@ | ... | @@ -30,7 +30,7 @@ |
30 | </el-col> | 30 | </el-col> |
31 | <el-col :span="2" class="btnColRight"> | 31 | <el-col :span="2" class="btnColRight"> |
32 | <el-form-item> | 32 | <el-form-item> |
33 | <el-button type="primary" @click="resetForm">重置</el-button> | 33 | <!-- <el-button type="primary" @click="resetForm">重置</el-button> --> |
34 | <el-button type="primary" @click="handleSearch">查询</el-button> | 34 | <el-button type="primary" @click="handleSearch">查询</el-button> |
35 | </el-form-item> | 35 | </el-form-item> |
36 | </el-col> | 36 | </el-col> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-13 15:27:34 | 4 | * @LastEditTime: 2023-07-17 13:18:43 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 主体权利信息查询 --> | 7 | <!-- 主体权利信息查询 --> |
... | @@ -30,7 +30,7 @@ | ... | @@ -30,7 +30,7 @@ |
30 | </el-col> | 30 | </el-col> |
31 | <el-col :span="2" class="btnColRight"> | 31 | <el-col :span="2" class="btnColRight"> |
32 | <el-form-item> | 32 | <el-form-item> |
33 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | 33 | <!-- <el-button type="primary" @click="resetForm(true)">重置</el-button> --> |
34 | <el-button type="primary" @click="handleSearch">查询</el-button> | 34 | <el-button type="primary" @click="handleSearch">查询</el-button> |
35 | </el-form-item> | 35 | </el-form-item> |
36 | </el-col> | 36 | </el-col> | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:36:52 | 4 | * @LastEditTime: 2023-07-14 16:59:26 |
5 | */ | 5 | */ |
6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
7 | let vm = null | 7 | let vm = null |
... | @@ -38,8 +38,8 @@ class data extends filter { | ... | @@ -38,8 +38,8 @@ class data extends filter { |
38 | render: (h, scope) => { | 38 | render: (h, scope) => { |
39 | return ( | 39 | return ( |
40 | <div> | 40 | <div> |
41 | {/* <a v-on:click="doSomething"></a> */} | 41 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a> |
42 | <a style='color:#3498db;' v-show={scope.row.qlblzt == 1} >正在办理</a> | 42 | <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span> |
43 | </div> | 43 | </div> |
44 | ) | 44 | ) |
45 | } | 45 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:36:58 | 4 | * @LastEditTime: 2023-07-14 16:59:31 |
5 | */ | 5 | */ |
6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
7 | let vm = null | 7 | let vm = null |
... | @@ -38,8 +38,9 @@ class data extends filter { | ... | @@ -38,8 +38,9 @@ class data extends filter { |
38 | render: (h, scope) => { | 38 | render: (h, scope) => { |
39 | return ( | 39 | return ( |
40 | <div> | 40 | <div> |
41 | {/* <a v-on:click="doSomething"></a> */} | 41 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a> |
42 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | 42 | <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span> |
43 | {/* <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | ||
43 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> | 44 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> |
44 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | 45 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> |
45 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | 46 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> |
... | @@ -49,7 +50,7 @@ class data extends filter { | ... | @@ -49,7 +50,7 @@ class data extends filter { |
49 | <span v-show={scope.row.xzzt == 1}>,已限制</span> | 50 | <span v-show={scope.row.xzzt == 1}>,已限制</span> |
50 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> | 51 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> |
51 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> | 52 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> |
52 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> | 53 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> */} |
53 | </div> | 54 | </div> |
54 | ) | 55 | ) |
55 | } | 56 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:37:01 | 4 | * @LastEditTime: 2023-07-14 16:59:35 |
5 | */ | 5 | */ |
6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
7 | let vm = null | 7 | let vm = null |
... | @@ -38,8 +38,9 @@ class data extends filter { | ... | @@ -38,8 +38,9 @@ class data extends filter { |
38 | render: (h, scope) => { | 38 | render: (h, scope) => { |
39 | return ( | 39 | return ( |
40 | <div> | 40 | <div> |
41 | {/* <a v-on:click="doSomething"></a> */} | 41 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a> |
42 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | 42 | <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span> |
43 | {/* <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | ||
43 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> | 44 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> |
44 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | 45 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> |
45 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | 46 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> |
... | @@ -49,7 +50,7 @@ class data extends filter { | ... | @@ -49,7 +50,7 @@ class data extends filter { |
49 | <span v-show={scope.row.xzzt == 1}>,已限制</span> | 50 | <span v-show={scope.row.xzzt == 1}>,已限制</span> |
50 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> | 51 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> |
51 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> | 52 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> |
52 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> | 53 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> */} |
53 | </div> | 54 | </div> |
54 | ) | 55 | ) |
55 | } | 56 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:37:05 | 4 | * @LastEditTime: 2023-07-14 16:59:38 |
5 | */ | 5 | */ |
6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
7 | let vm = null | 7 | let vm = null |
... | @@ -37,8 +37,9 @@ class data extends filter { | ... | @@ -37,8 +37,9 @@ class data extends filter { |
37 | render: (h, scope) => { | 37 | render: (h, scope) => { |
38 | return ( | 38 | return ( |
39 | <div> | 39 | <div> |
40 | {/* <a v-on:click="doSomething"></a> */} | 40 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a> |
41 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | 41 | <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span> |
42 | {/* <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | ||
42 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> | 43 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> |
43 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | 44 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> |
44 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | 45 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> |
... | @@ -48,7 +49,7 @@ class data extends filter { | ... | @@ -48,7 +49,7 @@ class data extends filter { |
48 | <span v-show={scope.row.xzzt == 1}>,已限制</span> | 49 | <span v-show={scope.row.xzzt == 1}>,已限制</span> |
49 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> | 50 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> |
50 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> | 51 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> |
51 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> | 52 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> */} |
52 | </div> | 53 | </div> |
53 | ) | 54 | ) |
54 | } | 55 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:37:14 | 4 | * @LastEditTime: 2023-07-14 16:59:43 |
5 | */ | 5 | */ |
6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
7 | let vm = null | 7 | let vm = null |
... | @@ -38,8 +38,9 @@ class data extends filter { | ... | @@ -38,8 +38,9 @@ class data extends filter { |
38 | render: (h, scope) => { | 38 | render: (h, scope) => { |
39 | return ( | 39 | return ( |
40 | <div> | 40 | <div> |
41 | {/* <a v-on:click="doSomething"></a> */} | 41 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a> |
42 | <a icon="el-icon-discover" style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | 42 | <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span> |
43 | {/* <a icon="el-icon-discover" style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | ||
43 | <span icon="el-icon-discover" v-show={scope.row.zjgcdyzt == 1}>在建工程抵押</span> | 44 | <span icon="el-icon-discover" v-show={scope.row.zjgcdyzt == 1}>在建工程抵押</span> |
44 | <span icon="el-icon-discover" v-show={scope.row.ycfzt == 1}>,已预查封</span> | 45 | <span icon="el-icon-discover" v-show={scope.row.ycfzt == 1}>,已预查封</span> |
45 | <span icon="el-icon-discover" v-show={scope.row.ycfzt == 1}>,已预查封</span> | 46 | <span icon="el-icon-discover" v-show={scope.row.ycfzt == 1}>,已预查封</span> |
... | @@ -49,7 +50,7 @@ class data extends filter { | ... | @@ -49,7 +50,7 @@ class data extends filter { |
49 | <span icon="el-icon-discover" v-show={scope.row.xzzt == 1}>,已限制</span> | 50 | <span icon="el-icon-discover" v-show={scope.row.xzzt == 1}>,已限制</span> |
50 | <span icon="el-icon-discover" v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> | 51 | <span icon="el-icon-discover" v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> |
51 | <span icon="el-icon-discover" v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> | 52 | <span icon="el-icon-discover" v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> |
52 | <span icon="el-icon-discover" v-show={scope.row.dyzt == 1}>,已抵押</span> | 53 | <span icon="el-icon-discover" v-show={scope.row.dyzt == 1}>,已抵押</span> */} |
53 | </div> | 54 | </div> |
54 | ) | 55 | ) |
55 | } | 56 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:37:18 | 4 | * @LastEditTime: 2023-07-14 16:59:46 |
5 | */ | 5 | */ |
6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
7 | let vm = null | 7 | let vm = null |
... | @@ -38,18 +38,8 @@ class data extends filter { | ... | @@ -38,18 +38,8 @@ class data extends filter { |
38 | render: (h, scope) => { | 38 | render: (h, scope) => { |
39 | return ( | 39 | return ( |
40 | <div> | 40 | <div> |
41 | {/* <a v-on:click="doSomething"></a> */} | 41 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a> |
42 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | 42 | <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span> |
43 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> | ||
44 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
45 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
46 | <span v-show={scope.row.cfzt == 1}>,已查封</span> | ||
47 | <span v-show={scope.row.diyizt == 1}>,已地役</span> | ||
48 | <span v-show={scope.row.yyzt == 1}>,异议中</span> | ||
49 | <span v-show={scope.row.xzzt == 1}>,已限制</span> | ||
50 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> | ||
51 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> | ||
52 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> | ||
53 | </div> | 43 | </div> |
54 | ) | 44 | ) |
55 | } | 45 | } | ... | ... |
... | @@ -33,9 +33,8 @@ class data extends filter { | ... | @@ -33,9 +33,8 @@ class data extends filter { |
33 | render: (h, scope) => { | 33 | render: (h, scope) => { |
34 | return ( | 34 | return ( |
35 | <div> | 35 | <div> |
36 | {/* <a v-on:click="doSomething"></a> */} | 36 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a> |
37 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | 37 | <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span> |
38 | <span v-show={scope.row.sfbl == 1}>,正在补录</span> | ||
39 | </div> | 38 | </div> |
40 | ) | 39 | ) |
41 | } | 40 | } |
... | @@ -68,7 +67,7 @@ class data extends filter { | ... | @@ -68,7 +67,7 @@ class data extends filter { |
68 | ) | 67 | ) |
69 | } | 68 | } |
70 | }, | 69 | }, |
71 | 70 | ||
72 | { | 71 | { |
73 | prop: "qllxmc", | 72 | prop: "qllxmc", |
74 | label: "权利类型", | 73 | label: "权利类型", | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:37:22 | 4 | * @LastEditTime: 2023-07-14 16:59:53 |
5 | */ | 5 | */ |
6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
7 | let vm = null | 7 | let vm = null |
... | @@ -37,8 +37,9 @@ class data extends filter { | ... | @@ -37,8 +37,9 @@ class data extends filter { |
37 | render: (h, scope) => { | 37 | render: (h, scope) => { |
38 | return ( | 38 | return ( |
39 | <div> | 39 | <div> |
40 | {/* <a v-on:click="doSomething"></a> */} | 40 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a> |
41 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | 41 | <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span> |
42 | {/* <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | ||
42 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> | 43 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> |
43 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | 44 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> |
44 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | 45 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> |
... | @@ -48,7 +49,7 @@ class data extends filter { | ... | @@ -48,7 +49,7 @@ class data extends filter { |
48 | <span v-show={scope.row.xzzt == 1}>,已限制</span> | 49 | <span v-show={scope.row.xzzt == 1}>,已限制</span> |
49 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> | 50 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> |
50 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> | 51 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> |
51 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> | 52 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> */} |
52 | </div> | 53 | </div> |
53 | ) | 54 | ) |
54 | } | 55 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-04-26 14:02:59 | 4 | * @LastEditTime: 2023-07-14 16:59:57 |
5 | */ | 5 | */ |
6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
7 | let vm = null | 7 | let vm = null |
... | @@ -36,8 +36,9 @@ class data extends filter { | ... | @@ -36,8 +36,9 @@ class data extends filter { |
36 | render: (h, scope) => { | 36 | render: (h, scope) => { |
37 | return ( | 37 | return ( |
38 | <div> | 38 | <div> |
39 | {/* <a v-on:click="doSomething"></a> */} | 39 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a> |
40 | <a style='color:#3498db;' v-show={scope.row.zt == 1} >正在办理</a> | 40 | <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span> |
41 | {/* <a style='color:#3498db;' v-show={scope.row.zt == 1} >正在办理</a> | ||
41 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> | 42 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> |
42 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | 43 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> |
43 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | 44 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> |
... | @@ -47,16 +48,16 @@ class data extends filter { | ... | @@ -47,16 +48,16 @@ class data extends filter { |
47 | <span v-show={scope.row.xzzt == 1}>,已限制</span> | 48 | <span v-show={scope.row.xzzt == 1}>,已限制</span> |
48 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> | 49 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> |
49 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> | 50 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> |
50 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> | 51 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> */} |
51 | </div> | 52 | </div> |
52 | ) | 53 | ) |
53 | } | 54 | } |
54 | }, | 55 | }, |
55 | { | 56 | { |
56 | label: "测绘类型", | 57 | label: "测绘类型", |
57 | render: (h, scope) => { | 58 | render: (h, scope) => { |
58 | return ( | 59 | return ( |
59 | <div> | 60 | <div> |
60 | <span v-show={scope.row.scyclx == 0}>预测</span> | 61 | <span v-show={scope.row.scyclx == 0}>预测</span> |
61 | <span v-show={scope.row.scyclx == 1}>实测</span> | 62 | <span v-show={scope.row.scyclx == 1}>实测</span> |
62 | </div> | 63 | </div> |
... | @@ -78,7 +79,7 @@ class data extends filter { | ... | @@ -78,7 +79,7 @@ class data extends filter { |
78 | { | 79 | { |
79 | prop: "showFwyt", | 80 | prop: "showFwyt", |
80 | label: "房屋用途", | 81 | label: "房屋用途", |
81 | }, | 82 | }, |
82 | { | 83 | { |
83 | prop: "szc", | 84 | prop: "szc", |
84 | label: "所在层", | 85 | label: "所在层", | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:37:24 | 4 | * @LastEditTime: 2023-07-14 17:00:00 |
5 | */ | 5 | */ |
6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
7 | let vm = null | 7 | let vm = null |
8 | 8 | ||
... | @@ -38,7 +38,9 @@ class data extends filter { | ... | @@ -38,7 +38,9 @@ class data extends filter { |
38 | render: (h, scope) => { | 38 | render: (h, scope) => { |
39 | return ( | 39 | return ( |
40 | <div> | 40 | <div> |
41 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | 41 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a> |
42 | <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span> | ||
43 | {/* <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | ||
42 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> | 44 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> |
43 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | 45 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> |
44 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | 46 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> |
... | @@ -48,7 +50,7 @@ class data extends filter { | ... | @@ -48,7 +50,7 @@ class data extends filter { |
48 | <span v-show={scope.row.xzzt == 1}>,已限制</span> | 50 | <span v-show={scope.row.xzzt == 1}>,已限制</span> |
49 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> | 51 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> |
50 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> | 52 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> |
51 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> | 53 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> */} |
52 | </div> | 54 | </div> |
53 | ) | 55 | ) |
54 | } | 56 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-06-15 16:23:57 | 4 | * @LastEditTime: 2023-07-14 17:00:04 |
5 | */ | 5 | */ |
6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
7 | let vm = null | 7 | let vm = null |
... | @@ -33,7 +33,9 @@ class data extends filter { | ... | @@ -33,7 +33,9 @@ class data extends filter { |
33 | render: (h, scope) => { | 33 | render: (h, scope) => { |
34 | return ( | 34 | return ( |
35 | <div> | 35 | <div> |
36 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | 36 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a> |
37 | <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span> | ||
38 | {/* <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | ||
37 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> | 39 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> |
38 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | 40 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> |
39 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | 41 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> |
... | @@ -43,7 +45,7 @@ class data extends filter { | ... | @@ -43,7 +45,7 @@ class data extends filter { |
43 | <span v-show={scope.row.xzzt == 1}>,已限制</span> | 45 | <span v-show={scope.row.xzzt == 1}>,已限制</span> |
44 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> | 46 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> |
45 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> | 47 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> |
46 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> | 48 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> */} |
47 | </div> | 49 | </div> |
48 | ) | 50 | ) |
49 | } | 51 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-04-26 13:57:47 | 4 | * @LastEditTime: 2023-07-14 17:00:07 |
5 | */ | 5 | */ |
6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
7 | let vm = null | 7 | let vm = null |
... | @@ -37,8 +37,9 @@ class data extends filter { | ... | @@ -37,8 +37,9 @@ class data extends filter { |
37 | render: (h, scope) => { | 37 | render: (h, scope) => { |
38 | return ( | 38 | return ( |
39 | <div> | 39 | <div> |
40 | {/* <a v-on:click="doSomething"></a> */} | 40 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a> |
41 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | 41 | <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span> |
42 | {/* <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | ||
42 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> | 43 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> |
43 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | 44 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> |
44 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | 45 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> |
... | @@ -48,7 +49,7 @@ class data extends filter { | ... | @@ -48,7 +49,7 @@ class data extends filter { |
48 | <span v-show={scope.row.xzzt == 1}>,已限制</span> | 49 | <span v-show={scope.row.xzzt == 1}>,已限制</span> |
49 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> | 50 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> |
50 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> | 51 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> |
51 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> | 52 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> */} |
52 | </div> | 53 | </div> |
53 | ) | 54 | ) |
54 | } | 55 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: 土地所有权对象处理 | 2 | * @Description: 土地所有权对象处理 |
3 | * @Autor: ssq | 3 | * @Autor: ssq |
4 | * @LastEditTime: 2023年06月28日 11:08:58 | 4 | * @LastEditTime: 2023-07-14 17:00:11 |
5 | */ | 5 | */ |
6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
7 | let vm = null | 7 | let vm = null |
8 | 8 | ||
... | @@ -38,7 +38,9 @@ class data extends filter { | ... | @@ -38,7 +38,9 @@ class data extends filter { |
38 | render: (h, scope) => { | 38 | render: (h, scope) => { |
39 | return ( | 39 | return ( |
40 | <div> | 40 | <div> |
41 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | 41 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a> |
42 | <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span> | ||
43 | {/* <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | ||
42 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> | 44 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> |
43 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | 45 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> |
44 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | 46 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> |
... | @@ -48,7 +50,7 @@ class data extends filter { | ... | @@ -48,7 +50,7 @@ class data extends filter { |
48 | <span v-show={scope.row.xzzt == 1}>,已限制</span> | 50 | <span v-show={scope.row.xzzt == 1}>,已限制</span> |
49 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> | 51 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> |
50 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> | 52 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> |
51 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> | 53 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> */} |
52 | </div> | 54 | </div> |
53 | ) | 55 | ) |
54 | } | 56 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:37:39 | 4 | * @LastEditTime: 2023-07-14 17:00:15 |
5 | */ | 5 | */ |
6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
7 | let vm = null | 7 | let vm = null |
... | @@ -38,8 +38,9 @@ class data extends filter { | ... | @@ -38,8 +38,9 @@ class data extends filter { |
38 | render: (h, scope) => { | 38 | render: (h, scope) => { |
39 | return ( | 39 | return ( |
40 | <div> | 40 | <div> |
41 | {/* <a v-on:click="doSomething"></a> */} | 41 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a> |
42 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | 42 | <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span> |
43 | {/* <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | ||
43 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> | 44 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> |
44 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | 45 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> |
45 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | 46 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> |
... | @@ -49,7 +50,7 @@ class data extends filter { | ... | @@ -49,7 +50,7 @@ class data extends filter { |
49 | <span v-show={scope.row.xzzt == 1}>,已限制</span> | 50 | <span v-show={scope.row.xzzt == 1}>,已限制</span> |
50 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> | 51 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> |
51 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> | 52 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> |
52 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> | 53 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> */} |
53 | </div> | 54 | </div> |
54 | ) | 55 | ) |
55 | } | 56 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:37:47 | 4 | * @LastEditTime: 2023-07-14 17:00:21 |
5 | */ | 5 | */ |
6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
7 | let vm = null | 7 | let vm = null |
... | @@ -38,8 +38,9 @@ class data extends filter { | ... | @@ -38,8 +38,9 @@ class data extends filter { |
38 | render: (h, scope) => { | 38 | render: (h, scope) => { |
39 | return ( | 39 | return ( |
40 | <div> | 40 | <div> |
41 | {/* <a v-on:click="doSomething"></a> */} | 41 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a> |
42 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | 42 | <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span> |
43 | {/* <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | ||
43 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> | 44 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> |
44 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | 45 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> |
45 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | 46 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> |
... | @@ -49,7 +50,7 @@ class data extends filter { | ... | @@ -49,7 +50,7 @@ class data extends filter { |
49 | <span v-show={scope.row.xzzt == 1}>,已限制</span> | 50 | <span v-show={scope.row.xzzt == 1}>,已限制</span> |
50 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> | 51 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> |
51 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> | 52 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> |
52 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> | 53 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> */} |
53 | </div> | 54 | </div> |
54 | ) | 55 | ) |
55 | } | 56 | } | ... | ... |
-
Please register or sign in to post a comment