da7590f9 by renchao@pashanhoo.com

1Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev

2 parents 80c2a733 1a57a7e8
Showing 47 changed files with 697 additions and 898 deletions
...@@ -6,8 +6,11 @@ ...@@ -6,8 +6,11 @@
6 import request from '@/utils/request' 6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
8 8
9 9 /**
10 // 数据上报推送查询 10 * @description: 数据上报推送查询
11 * @param {*} data
12 * @author: renchao
13 */
11 export function list (data) { 14 export function list (data) {
12 return request({ 15 return request({
13 url: SERVER.SERVERAPI + '/rest/system/sysPushRecord/list', 16 url: SERVER.SERVERAPI + '/rest/system/sysPushRecord/list',
...@@ -16,7 +19,11 @@ export function list (data) { ...@@ -16,7 +19,11 @@ export function list (data) {
16 }) 19 })
17 } 20 }
18 21
19 // 数据上报推送 22 /**
23 * @description: 数据上报推送
24 * @param {*} data
25 * @author: renchao
26 */
20 export function push (data) { 27 export function push (data) {
21 return request({ 28 return request({
22 url: SERVER.SERVERAPI + '/rest/system/sysPushRecord/push', 29 url: SERVER.SERVERAPI + '/rest/system/sysPushRecord/push',
...@@ -25,7 +32,11 @@ export function push (data) { ...@@ -25,7 +32,11 @@ export function push (data) {
25 }) 32 })
26 } 33 }
27 34
28 // 数据上报推送 35 /**
36 * @description: 数据上报推送
37 * @param {*} bsm
38 * @author: renchao
39 */
29 export function detail (bsm) { 40 export function detail (bsm) {
30 return request({ 41 return request({
31 url: SERVER.SERVERAPI + '/rest/system/sysPushRecord/detail?bsm=' + bsm, 42 url: SERVER.SERVERAPI + '/rest/system/sysPushRecord/detail?bsm=' + bsm,
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:25:58 4 * @LastEditTime: 2023-05-17 10:25:58
5 */ 5 */
...@@ -31,6 +31,11 @@ export function BatchInit (data) { ...@@ -31,6 +31,11 @@ export function BatchInit (data) {
31 }) 31 })
32 } 32 }
33 33
34 /**
35 * @description: 初始化
36 * @param {*} data
37 * @author: renchao
38 */
34 export function Init (data) { 39 export function Init (data) {
35 let apiUrl = ""; 40 let apiUrl = "";
36 switch (data.get("djlx")) { 41 switch (data.get("djlx")) {
......
...@@ -6,7 +6,11 @@ ...@@ -6,7 +6,11 @@
6 import request from '@/utils/request' 6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
8 8
9 // 初始化内容 9 /**
10 * @description: 初始化
11 * @param {*} data
12 * @author: renchao
13 */
10 export function Init (data) { 14 export function Init (data) {
11 let apiUrl = ""; 15 let apiUrl = "";
12 switch (data.get("djlx")) { 16 switch (data.get("djlx")) {
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:32:29 4 * @LastEditTime: 2023-05-17 10:32:29
5 */ 5 */
6 import request from '@/utils/request' 6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
8 8
9 // 初始化内容 9 /**
10 * @description: 初始化
11 * @param {*} data
12 * @author: renchao
13 */
10 export function Init (data) { 14 export function Init (data) {
11 let apiUrl = ""; 15 let apiUrl = "";
12 switch (data.get("djlx")) { 16 switch (data.get("djlx")) {
...@@ -39,7 +43,11 @@ export function Init (data) { ...@@ -39,7 +43,11 @@ export function Init (data) {
39 }) 43 })
40 } 44 }
41 45
42 // 初始化内容 46 /**
47 * @description: 保存数据
48 * @param {*} data
49 * @author: renchao
50 */
43 export function saveData (data) { 51 export function saveData (data) {
44 return request({ 52 return request({
45 url: SERVER.SERVERAPI + '/rest/ywbl/nydsyqlr/saveData', 53 url: SERVER.SERVERAPI + '/rest/ywbl/nydsyqlr/saveData',
......
...@@ -6,7 +6,11 @@ ...@@ -6,7 +6,11 @@
6 import request from '@/utils/request' 6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
8 8
9 // 初始化内容 9 /**
10 * @description: 初始化
11 * @param {*} data
12 * @author: renchao
13 */
10 export function Init (data) { 14 export function Init (data) {
11 let apiUrl = ""; 15 let apiUrl = "";
12 switch (data.get("djlx")) { 16 switch (data.get("djlx")) {
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:32:37 4 * @LastEditTime: 2023-05-17 10:32:37
5 */ 5 */
6 import request from '@/utils/request' 6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
8 // 初始化内容 8 /**
9 * @description: 初始化
10 * @param {*} data
11 * @author: renchao
12 */
9 export function Init (data) { 13 export function Init (data) {
10 let apiUrl = ""; 14 let apiUrl = "";
11 switch (data.get("djlx")) { 15 switch (data.get("djlx")) {
...@@ -37,7 +41,11 @@ export function Init (data) { ...@@ -37,7 +41,11 @@ export function Init (data) {
37 data 41 data
38 }) 42 })
39 } 43 }
40 // 初始化内容 44 /**
45 * @description: 保存数据
46 * @param {*} data
47 * @author: renchao
48 */
41 export function saveData (data) { 49 export function saveData (data) {
42 return request({ 50 return request({
43 url: SERVER.SERVERAPI + '/rest/ywbl/ygmmdj/saveData', 51 url: SERVER.SERVERAPI + '/rest/ywbl/ygmmdj/saveData',
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:32:41 4 * @LastEditTime: 2023-05-17 10:32:41
5 */ 5 */
6 import request from '@/utils/request' 6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
8 // 初始化内容 8 /**
9 * @description: 初始化
10 * @param {*} data
11 * @author: renchao
12 */
9 export function Init (data) { 13 export function Init (data) {
10 let apiUrl = ""; 14 let apiUrl = "";
11 switch (data.get("djlx")) { 15 switch (data.get("djlx")) {
...@@ -37,7 +41,11 @@ export function Init (data) { ...@@ -37,7 +41,11 @@ export function Init (data) {
37 data 41 data
38 }) 42 })
39 } 43 }
40 // 初始化内容 44 /**
45 * @description: 保存数据
46 * @param {*} data
47 * @author: renchao
48 */
41 export function saveData (data) { 49 export function saveData (data) {
42 return request({ 50 return request({
43 url: SERVER.SERVERAPI + '/rest/ywbl/ygdydj/saveData', 51 url: SERVER.SERVERAPI + '/rest/ywbl/ygdydj/saveData',
......
...@@ -6,7 +6,11 @@ ...@@ -6,7 +6,11 @@
6 import request from '@/utils/request' 6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
8 8
9 // 初始化内容 9 /**
10 * @description: 初始化
11 * @param {*} data
12 * @author: renchao
13 */
10 export function Init (data) { 14 export function Init (data) {
11 return request({ 15 return request({
12 url: SERVER.SERVERAPI + "/rest/ywbl/zjgcdy/init", 16 url: SERVER.SERVERAPI + "/rest/ywbl/zjgcdy/init",
...@@ -14,7 +18,11 @@ export function Init (data) { ...@@ -14,7 +18,11 @@ export function Init (data) {
14 data 18 data
15 }) 19 })
16 } 20 }
17 // 批量初始化内容 21 /**
22 * @description: 批量初始化
23 * @param {*} data
24 * @author: renchao
25 */
18 export function bacthInit (data) { 26 export function bacthInit (data) {
19 let apiUrl = ""; 27 let apiUrl = "";
20 switch (data.get("djlx")) { 28 switch (data.get("djlx")) {
...@@ -46,7 +54,11 @@ export function bacthInit (data) { ...@@ -46,7 +54,11 @@ export function bacthInit (data) {
46 data 54 data
47 }) 55 })
48 } 56 }
49 // 受理信息保存 57 /**
58 * @description: 保存数据
59 * @param {*} data
60 * @author: renchao
61 */
50 export function saveData (data, djlx) { 62 export function saveData (data, djlx) {
51 let apiUrl = "/rest/ywbl/zjgcdy/saveData"; 63 let apiUrl = "/rest/ywbl/zjgcdy/saveData";
52 if (djlx == "400") { 64 if (djlx == "400") {
...@@ -59,7 +71,11 @@ export function saveData (data, djlx) { ...@@ -59,7 +71,11 @@ export function saveData (data, djlx) {
59 }) 71 })
60 } 72 }
61 73
62 // 受理信息保存 74 /**
75 * @description: 批量保存
76 * @param {*} data
77 * @author: renchao
78 */
63 export function saveBatchData (data, djlx) { 79 export function saveBatchData (data, djlx) {
64 return request({ 80 return request({
65 url: SERVER.SERVERAPI + "/rest/ywbl/zjgcdy/saveBatchData", 81 url: SERVER.SERVERAPI + "/rest/ywbl/zjgcdy/saveBatchData",
...@@ -67,7 +83,12 @@ export function saveBatchData (data, djlx) { ...@@ -67,7 +83,12 @@ export function saveBatchData (data, djlx) {
67 data 83 data
68 }) 84 })
69 } 85 }
70 // 上传单个文件 86
87 /**
88 * @description: 上传当个文件
89 * @param {*} data
90 * @author: renchao
91 */
71 export function sjClmxUpload (data) { 92 export function sjClmxUpload (data) {
72 return request({ 93 return request({
73 url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/upload', 94 url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/upload',
...@@ -75,7 +96,12 @@ export function sjClmxUpload (data) { ...@@ -75,7 +96,12 @@ export function sjClmxUpload (data) {
75 data 96 data
76 }) 97 })
77 } 98 }
78 // 删除上传文件 99
100 /**
101 * @description: 删除多个文件
102 * @param {*} data
103 * @author: renchao
104 */
79 export function sjClmxDelete (bsmClmx) { 105 export function sjClmxDelete (bsmClmx) {
80 return request({ 106 return request({
81 url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/delete?bsmClmx=' + bsmClmx, 107 url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/delete?bsmClmx=' + bsmClmx,
......
...@@ -54,12 +54,20 @@ export default { ...@@ -54,12 +54,20 @@ export default {
54 54
55 computed: { 55 computed: {
56 model: { 56 model: {
57 /**
58 * @description: get
59 * @author: renchao
60 */
57 get () { 61 get () {
58 return this.isGroup 62 return this.isGroup
59 ? this.store : this.value !== undefined 63 ? this.store : this.value !== undefined
60 ? this.value : this.selfModel; 64 ? this.value : this.selfModel;
61 }, 65 },
62 66 /**
67 * @description: set
68 * @param {*} val
69 * @author: renchao
70 */
63 set (val) { 71 set (val) {
64 if (this.isGroup) { 72 if (this.isGroup) {
65 this.isLimitExceeded = false; 73 this.isLimitExceeded = false;
...@@ -80,6 +88,10 @@ export default { ...@@ -80,6 +88,10 @@ export default {
80 } 88 }
81 }, 89 },
82 90
91 /**
92 * @description: isChecked
93 * @author: renchao
94 */
83 isChecked () { 95 isChecked () {
84 if ({}.toString.call(this.model) === '[object Boolean]') { 96 if ({}.toString.call(this.model) === '[object Boolean]') {
85 return this.model; 97 return this.model;
...@@ -89,7 +101,10 @@ export default { ...@@ -89,7 +101,10 @@ export default {
89 return this.model === this.trueLabel; 101 return this.model === this.trueLabel;
90 } 102 }
91 }, 103 },
92 104 /**
105 * @description: isGroup
106 * @author: renchao
107 */
93 isGroup () { 108 isGroup () {
94 let parent = this.$parent; 109 let parent = this.$parent;
95 while (parent) { 110 while (parent) {
...@@ -102,29 +117,44 @@ export default { ...@@ -102,29 +117,44 @@ export default {
102 } 117 }
103 return false; 118 return false;
104 }, 119 },
105 120 /**
121 * @description: store
122 * @author: renchao
123 */
106 store () { 124 store () {
107 return this._checkboxGroup ? this._checkboxGroup.value : this.value; 125 return this._checkboxGroup ? this._checkboxGroup.value : this.value;
108 }, 126 },
109 127
110 /* used to make the isDisabled judgment under max/min props */ 128 /**
129 * @description: isLimitDisabled
130 * @author: renchao
131 */
111 isLimitDisabled () { 132 isLimitDisabled () {
112 const { max, min } = this._checkboxGroup; 133 const { max, min } = this._checkboxGroup;
113 return !!(max || min) && 134 return !!(max || min) &&
114 (this.model.length >= max && !this.isChecked) || 135 (this.model.length >= max && !this.isChecked) ||
115 (this.model.length <= min && this.isChecked); 136 (this.model.length <= min && this.isChecked);
116 }, 137 },
117 138 /**
139 * @description: isDisabled
140 * @author: renchao
141 */
118 isDisabled () { 142 isDisabled () {
119 return this.isGroup 143 return this.isGroup
120 ? this._checkboxGroup.disabled || this.disabled || (this.elForm || {}).disabled || this.isLimitDisabled 144 ? this._checkboxGroup.disabled || this.disabled || (this.elForm || {}).disabled || this.isLimitDisabled
121 : this.disabled || (this.elForm || {}).disabled; 145 : this.disabled || (this.elForm || {}).disabled;
122 }, 146 },
123 147 /**
148 * @description: _elFormItemSize
149 * @author: renchao
150 */
124 _elFormItemSize () { 151 _elFormItemSize () {
125 return (this.elFormItem || {}).elFormItemSize; 152 return (this.elFormItem || {}).elFormItemSize;
126 }, 153 },
127 154 /**
155 * @description: checkboxSize
156 * @author: renchao
157 */
128 checkboxSize () { 158 checkboxSize () {
129 const temCheckboxSize = this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; 159 const temCheckboxSize = this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
130 return this.isGroup 160 return this.isGroup
...@@ -149,6 +179,10 @@ export default { ...@@ -149,6 +179,10 @@ export default {
149 }, 179 },
150 180
151 methods: { 181 methods: {
182 /**
183 * @description: addToStore
184 * @author: renchao
185 */
152 addToStore () { 186 addToStore () {
153 if ( 187 if (
154 Array.isArray(this.model) && 188 Array.isArray(this.model) &&
...@@ -159,6 +193,10 @@ export default { ...@@ -159,6 +193,10 @@ export default {
159 this.model = this.trueLabel || true; 193 this.model = this.trueLabel || true;
160 } 194 }
161 }, 195 },
196 /**
197 * @description: handleChange
198 * @author: renchao
199 */
162 handleChange (ev) { 200 handleChange (ev) {
163 if (this.isLimitExceeded) return; 201 if (this.isLimitExceeded) return;
164 let value; 202 let value;
...@@ -175,16 +213,26 @@ export default { ...@@ -175,16 +213,26 @@ export default {
175 }); 213 });
176 } 214 }
177 }, 215 },
178 216 /**
217 * @description: created
218 * @author: renchao
219 */
179 created () { 220 created () {
180 this.checked && this.addToStore(); 221 this.checked && this.addToStore();
181 }, 222 },
223 /**
224 * @description: mounted
225 * @author: renchao
226 */
182 mounted () { // 为indeterminate元素 添加aria-controls 属性 227 mounted () { // 为indeterminate元素 添加aria-controls 属性
183 if (this.indeterminate) { 228 if (this.indeterminate) {
184 this.$el.setAttribute('aria-controls', this.controls); 229 this.$el.setAttribute('aria-controls', this.controls);
185 } 230 }
186 }, 231 },
187 232 /**
233 * @description: watch
234 * @author: renchao
235 */
188 watch: { 236 watch: {
189 value (value) { 237 value (value) {
190 this.dispatch('ElFormItem', 'el.form.change', value); 238 this.dispatch('ElFormItem', 'el.form.change', value);
......
...@@ -92,6 +92,10 @@ export default { ...@@ -92,6 +92,10 @@ export default {
92 } 92 }
93 }, 93 },
94 methods: { 94 methods: {
95 /**
96 * @description: handleFullscreen
97 * @author: renchao
98 */
95 handleFullscreen () { 99 handleFullscreen () {
96 this.fullscreen = !this.fullscreen 100 this.fullscreen = !this.fullscreen
97 if (!this.fullscreen) { 101 if (!this.fullscreen) {
...@@ -100,11 +104,19 @@ export default { ...@@ -100,11 +104,19 @@ export default {
100 this.scrollerHeight = (window.innerHeight - 120) + 'px' 104 this.scrollerHeight = (window.innerHeight - 120) + 'px'
101 } 105 }
102 }, 106 },
107 /**
108 * @description: submitForm
109 * @author: renchao
110 */
103 submitForm () { 111 submitForm () {
104 if (this.isButton) { 112 if (this.isButton) {
105 this.$emit('submitForm'); 113 this.$emit('submitForm');
106 } 114 }
107 }, 115 },
116 /**
117 * @description: closeDialog
118 * @author: renchao
119 */
108 closeDialog () { 120 closeDialog () {
109 this.key++ 121 this.key++
110 this.$emit('input', false) 122 this.$emit('input', false)
...@@ -124,4 +136,4 @@ export default { ...@@ -124,4 +136,4 @@ export default {
124 left: 50% !important; 136 left: 50% !important;
125 transform: translate(-50%, -50%) !important; 137 transform: translate(-50%, -50%) !important;
126 } 138 }
127 </style>
...\ No newline at end of file ...\ No newline at end of file
139 </style>
......
...@@ -106,6 +106,11 @@ ...@@ -106,6 +106,11 @@
106 components: { 106 components: {
107 LbColumn, 107 LbColumn,
108 }, 108 },
109
110 /**
111 * @description: data
112 * @author: renchao
113 */
109 data () { 114 data () {
110 return { 115 return {
111 tableHeight: 'auto', 116 tableHeight: 'auto',
...@@ -114,6 +119,10 @@ ...@@ -114,6 +119,10 @@
114 selected: '' 119 selected: ''
115 } 120 }
116 }, 121 },
122 /**
123 * @description: created
124 * @author: renchao
125 */
117 created () { 126 created () {
118 this.getMergeArr(this.data, this.merge) 127 this.getMergeArr(this.data, this.merge)
119 this.getHeight() 128 this.getHeight()
...@@ -124,17 +133,29 @@ ...@@ -124,17 +133,29 @@
124 }, 133 },
125 }, 134 },
126 methods: { 135 methods: {
127 // 单选 136 /**
137 * @description: 单选
138 * @param {*} row
139 * @author: renchao
140 */
128 singleElection (row) { 141 singleElection (row) {
129 this.selected = this.data.indexOf(row); 142 this.selected = this.data.indexOf(row);
130 // this.$emit('row-click', row) 143 // this.$emit('row-click', row)
131 }, 144 },
132 145
146 /**
147 * @description: tableRowClassName
148 * @author: renchao
149 */
133 tableRowClassName ({ row, rowIndex }) { 150 tableRowClassName ({ row, rowIndex }) {
134 if (rowIndex % 2 === 1) { 151 if (rowIndex % 2 === 1) {
135 return 'interlaced'; 152 return 'interlaced';
136 } 153 }
137 }, 154 },
155 /**
156 * @description: getHeight
157 * @author: renchao
158 */
138 getHeight () { 159 getHeight () {
139 if (!this.heightNumSetting) { 160 if (!this.heightNumSetting) {
140 let _this = this 161 let _this = this
...@@ -170,6 +191,12 @@ ...@@ -170,6 +191,12 @@
170 }) 191 })
171 } 192 }
172 }, 193 },
194 /**
195 * @description: calcHeightx
196 * @param {*} value
197 * @param {*} wappered
198 * @author: renchao
199 */
173 calcHeightx (value, wappered = true) { 200 calcHeightx (value, wappered = true) {
174 //项目自定义的公共header部分的高度,可忽略 201 //项目自定义的公共header部分的高度,可忽略
175 let header = document.querySelector(".from-clues-header").offsetHeight; 202 let header = document.querySelector(".from-clues-header").offsetHeight;
...@@ -195,36 +222,89 @@ ...@@ -195,36 +222,89 @@
195 } 222 }
196 return res; 223 return res;
197 }, 224 },
225 /**
226 * @description: clearSelection
227 * @author: renchao
228 */
198 clearSelection () { 229 clearSelection () {
199 this.$refs.elTable.clearSelection() 230 this.$refs.elTable.clearSelection()
200 }, 231 },
232 /**
233 * @description: toggleRowSelection
234 * @author: renchao
235 */
201 toggleRowSelection (row, selected) { 236 toggleRowSelection (row, selected) {
202 this.$refs.elTable.toggleRowSelection(row, selected) 237 this.$refs.elTable.toggleRowSelection(row, selected)
203 }, 238 },
239 /**
240 * @description: toggleAllSelection
241 * @author: renchao
242 */
204 toggleAllSelection () { 243 toggleAllSelection () {
205 this.$refs.elTable.toggleAllSelection() 244 this.$refs.elTable.toggleAllSelection()
206 }, 245 },
246 /**
247 * @description: toggleRowExpansion
248 * @param {*} row
249 * @param {*} bsm
250 * @author: renchao
251 */
207 toggleRowExpansion (row, expanded) { 252 toggleRowExpansion (row, expanded) {
208 this.$refs.elTable.toggleRowExpansion(row, expanded) 253 this.$refs.elTable.toggleRowExpansion(row, expanded)
209 }, 254 },
255 /**
256 * @description: setCurrentRow
257 * @param {*} row
258 * @author: renchao
259 */
210 setCurrentRow (row) { 260 setCurrentRow (row) {
211 this.$refs.elTable.setCurrentRow(row) 261 this.$refs.elTable.setCurrentRow(row)
212 }, 262 },
263 /**
264 * @description: setCurrentRow
265 * @author: renchao
266 */
213 clearSort () { 267 clearSort () {
214 this.$refs.elTable.clearSort() 268 this.$refs.elTable.clearSort()
215 }, 269 },
270 /**
271 * @description: clearFilter
272 * @param {*} columnKey
273 * @author: renchao
274 */
216 clearFilter (columnKey) { 275 clearFilter (columnKey) {
217 this.$refs.elTable.clearFilter(columnKey) 276 this.$refs.elTable.clearFilter(columnKey)
218 }, 277 },
278 /**
279 * @description: doLayout
280 * @author: renchao
281 */
219 doLayout () { 282 doLayout () {
220 this.$refs.elTable.doLayout() 283 this.$refs.elTable.doLayout()
221 }, 284 },
285 /**
286 * @description: sort
287 * @param {*} prop
288 * @param {*} order
289 * @author: renchao
290 */
222 sort (prop, order) { 291 sort (prop, order) {
223 this.$refs.elTable.sort(prop, order) 292 this.$refs.elTable.sort(prop, order)
224 }, 293 },
294 /**
295 * @description: paginationCurrentChange
296 * @param {*} val
297 * @author: renchao
298 */
225 paginationCurrentChange (val) { 299 paginationCurrentChange (val) {
226 this.$emit('p-current-change', val) 300 this.$emit('p-current-change', val)
227 }, 301 },
302 /**
303 * @description: getMergeArr
304 * @param {*} tableData
305 * @param {*} merge
306 * @author: renchao
307 */
228 getMergeArr (tableData, merge) { 308 getMergeArr (tableData, merge) {
229 if (!merge) return 309 if (!merge) return
230 this.mergeLine = {} 310 this.mergeLine = {}
...@@ -247,6 +327,10 @@ ...@@ -247,6 +327,10 @@
247 }) 327 })
248 }) 328 })
249 }, 329 },
330 /**
331 * @description: mergeMethod
332 * @author: renchao
333 */
250 mergeMethod ({ row, column, rowIndex, columnIndex }) { 334 mergeMethod ({ row, column, rowIndex, columnIndex }) {
251 const index = this.merge.indexOf(column.property) 335 const index = this.merge.indexOf(column.property)
252 if (index > -1) { 336 if (index > -1) {
...@@ -260,9 +344,17 @@ ...@@ -260,9 +344,17 @@
260 }, 344 },
261 }, 345 },
262 watch: { 346 watch: {
347 /**
348 * @description: merge
349 * @author: renchao
350 */
263 merge () { 351 merge () {
264 this.getMergeArr(this.data, this.merge) 352 this.getMergeArr(this.data, this.merge)
265 }, 353 },
354 /**
355 * @description: dataLength
356 * @author: renchao
357 */
266 dataLength () { 358 dataLength () {
267 this.getMergeArr(this.data, this.merge) 359 this.getMergeArr(this.data, this.merge)
268 } 360 }
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-04 16:07:37 4 * @LastEditTime: 2023-07-04 16:07:37
5 --> 5 -->
...@@ -26,11 +26,11 @@ ...@@ -26,11 +26,11 @@
26 <el-upload class="fileUpdate" ref="upload" action="" :show-file-list="false" :multiple="true" :auto-upload="false" 26 <el-upload class="fileUpdate" ref="upload" action="" :show-file-list="false" :multiple="true" :auto-upload="false"
27 :on-change="handleChange" 27 :on-change="handleChange"
28 accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg" :before-upload="beforeUpload"> 28 accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg" :before-upload="beforeUpload">
29 <el-button icon="el-icon-upload" type="primary" v-if="!this.$route.query.viewtype && ableOperation">上传</el-button> 29 <el-button icon="el-icon-upload" type="primary" v-if="ableOperation">上传</el-button>
30 </el-upload> 30 </el-upload>
31 <el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete" 31 <el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete"
32 v-if="!this.$route.query.viewtype && thumbnailImages.length>0 && ableOperation">删除</el-button> 32 v-if="thumbnailImages.length>0 && ableOperation">删除</el-button>
33 <div v-if="!this.$route.query.viewtype" class="pl-5"> 33 <div v-if="ableOperation" class="pl-5">
34 <el-button type="primary" @click="handleOpenScan" v-if="ableOperation">{{scanTitle}}</el-button> 34 <el-button type="primary" @click="handleOpenScan" v-if="ableOperation">{{scanTitle}}</el-button>
35 <el-button type="primary" @click="handleViewScan" v-if="isScan && ableOperation">拍照</el-button> 35 <el-button type="primary" @click="handleViewScan" v-if="isScan && ableOperation">拍照</el-button>
36 </div> 36 </div>
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:41:09
5 -->
6 <template>
7 <div>
8 <lb-table :column="column" border :maxHeight="300" heightNumSetting :pagination="false" :key="key" :data="tableDataList">
9 </lb-table>
10 <addJtcy v-model="dialog" :details="details" @updateDetail="updateDetail" />
11 </div>
12 </template>
13 <script>
14 import addJtcy from './addJtcy.vue'
15 import { mapGetters } from 'vuex'
16 export default {
17 components: {
18 addJtcy
19 },
20 computed: {
21 ...mapGetters(["dictData"]),
22 },
23 props: {
24 tableData: {
25 type: Array,
26 default: function () {
27 return []
28 }
29 },
30 gyfs: {
31 type: String,
32 default: '1'
33 }
34 },
35 data () {
36 return {
37 key: 0,
38 dataIndex: 0,
39 dialog: false,
40 details: {},
41 tableDataList: [],
42 qlrCommonTable: [
43 {
44 width: '50',
45 renderHeader: (h, scope) => {
46 return <div> {
47 this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i>
48 }
49 </div>
50 },
51 render: (h, scope) => {
52 return (
53 <div>
54 {
55 this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> :
56 <i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i>
57 }
58 </div>
59 )
60 }
61 },
62 {
63 label: '身份证读卡器',
64 align: 'center',
65 render: (h, scope) => {
66 return <el-button type="text" icon="el-icon-tickets" onClick={() => { this.readClick(scope) }}>读取</el-button>
67 }
68 },
69 {
70 prop: "cyxm",
71 label: "成员姓名"
72 },
73 {
74 prop: "sfzhm",
75 label: "身份证号码"
76 },
77 {
78 prop: "dh",
79 label: "联系电话"
80 },
81 {
82 label: '修改',
83 render: (h, scope) => {
84 return (
85 <div>
86 {
87 this.$route.query.viewtype == 1 ? <el-button
88 icon="el-icon-view"
89 type="text"
90 onClick={() => { this.queryViewClick(scope.$index, scope.row) }}>查看</el-button> : <el-button
91 icon="el-icon-edit-outline"
92 type="text"
93 onClick={() => { this.editClick(scope.$index, scope.row) }}>编辑</el-button>
94 }
95 </div>
96 )
97 }
98 }
99 ],
100 column: this.qlrCommonTable
101 }
102 },
103 watch: {
104 tableData: {
105 handler: function (val, oldVal) {
106 let that = this
107 if (val.length == 0 || !val) {
108 that.tableDataList = _.cloneDeep([{
109 sqrmc: '',
110 dlrzjlx: '',
111 dlrzjh: '',
112 fr: ''
113 }])
114 } else {
115 that.tableDataList = _.cloneDeep(val)
116 }
117 },
118 immediate: true,
119 deep: true
120 },
121 gyfs: {
122 handler (newVal, oldValue) {
123 let dataList = _.cloneDeep(this.qlrCommonTable)
124 if (newVal == '1') {
125 this.column = _.cloneDeep(dataList).slice(1, dataList.length)
126 } else {
127 this.column = dataList
128 }
129 },
130 immediate: true
131 }
132 },
133 methods: {
134 updateDetail (value) {
135 this.tableDataList[this.dataIndex] = value
136 this.key++
137 this.$emit('upDateJtcyList', this.tableDataList)
138 },
139
140 // 新增
141 addClick () {
142 this.dialog = true
143 },
144
145 // 删除
146 deleClick (index, row) {
147 this.tableData.splice(index, 1)
148 },
149
150 // 身份证读取
151 readClick () { },
152
153 // 修改
154 editClick (index, row) {
155 console.log(row, 'rowrowrowrowrow');
156 this.dataIndex = index
157 this.dialog = true
158 this.details = row
159 },
160
161 queryViewClick () {
162 this.dialog = true
163 }
164 }
165 }
166 </script>
167 <style scoped lang='scss'>
168 </style>
...\ No newline at end of file ...\ No newline at end of file
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:41:15
5 -->
6 <template>
7 <div>
8 <div class="process-viewer">
9 <div v-show="!isLoading" ref="processCanvas" class="process-canvas" style="height: 280px;" />
10 <!-- 自定义箭头样式,用于成功状态下流程连线箭头 -->
11 <defs ref="customSuccessDefs">
12 <marker id="sequenceflow-end-white-success" view-box="0 0 20 20" ref-x="11" ref-y="10" marker-width="10"
13 marker-height="10" orient="auto">
14 <path class="success-arrow" d="M 1 5 L 11 10 L 1 15 Z"
15 style="stroke-width: 1px; stroke-linecap: round; stroke-dasharray: 10000, 1;" />
16 </marker>
17 <marker id="conditional-flow-marker-white-success" view-box="0 0 20 20" ref-x="-1" ref-y="10" marker-width="10"
18 marker-height="10" orient="auto">
19 <path class="success-conditional" d="M 0 10 L 8 6 L 16 10 L 8 14 Z"
20 style="stroke-width: 1px; stroke-linecap: round; stroke-dasharray: 10000, 1;" />
21 </marker>
22 </defs>
23 <!-- 自定义箭头样式,用于失败状态下流程连线箭头 -->
24 <defs ref="customFailDefs">
25 <marker id="sequenceflow-end-white-fail" view-box="0 0 20 20" ref-x="11" ref-y="10" marker-width="10"
26 marker-height="10" orient="auto">
27 <path class="fail-arrow" d="M 1 5 L 11 10 L 1 15 Z"
28 style="stroke-width: 1px; stroke-linecap: round; stroke-dasharray: 10000, 1;" />
29 </marker>
30 <marker id="conditional-flow-marker-white-fail" view-box="0 0 20 20" ref-x="-1" ref-y="10" marker-width="10"
31 marker-height="10" orient="auto">
32 <path class="fail-conditional" d="M 0 10 L 8 6 L 16 10 L 8 14 Z"
33 style="stroke-width: 1px; stroke-linecap: round; stroke-dasharray: 10000, 1;" />
34 </marker>
35 </defs>
36
37 <div style="position: absolute; top: 0px; left: 0px; width: 100%;">
38 <el-row type="flex" justify="end">
39 <el-button-group key="scale-control" size="medium">
40 <el-button size="medium" type="default" :plain="true" :disabled="defaultZoom <= 0.3" icon="el-icon-zoom-out"
41 @click="processZoomOut()" />
42 <el-button size="medium" type="default" style="width: 90px;">{{ Math.floor(this.defaultZoom * 10 * 10) + "%"
43 }}</el-button>
44 <el-button size="medium" type="default" :plain="true" :disabled="defaultZoom >= 3.9" icon="el-icon-zoom-in"
45 @click="processZoomIn()" />
46 <el-button size="medium" type="default" icon="el-icon-c-scale-to-original" @click="processReZoom()" />
47 <slot />
48 </el-button-group>
49 </el-row>
50 </div>
51 </div>
52 <!-- 已完成节点悬浮弹窗 -->
53 <div class="information-list">
54 <el-select v-model="selectValue" @change="handleSelect">
55 <el-option v-for="item in selectOptions" :key="item.value" :label="item.label" :value="item.value">
56 </el-option>
57 </el-select>
58 <el-table height="190" :data="taskCommentList" size="mini" border header-cell-class-name="table-header-gray">
59 <el-table-column label="序号" header-align="center" align="center" type="index" width="55px" />
60 <el-table-column label="流程状态" header-align="center" align="center">
61 <template slot-scope="scope">
62 <div v-if="scope.row.endTime">已完结</div>
63 <div v-else>正在办理</div>
64 </template>
65 </el-table-column>
66 <el-table-column label="环节名称" prop="name" minWidth="100" align="center" />
67 <el-table-column label="办理人" prop="agent" minWidth="120" align="center" />
68 <el-table-column label="转入时间" prop="createTime" :formatter="formatDate" width="160" align="center" />
69 <el-table-column label="认领时间" prop="claimTime" :formatter="formatDate" width="160" align="center" />
70 <el-table-column label="转出时间" prop="endTime" :formatter="formatDate" width="160" align="center" />
71 <el-table-column label="操作方式" prop="controls" align="center"/>
72 <el-table-column label="意见" prop="idea" align="center"/>
73 </el-table>
74 </div>
75 </div>
76 </template>
77 <script>
78 import '@/styles/package/theme/index.scss'
79 import BpmnViewer from 'bpmn-js/lib/Viewer'
80 import MoveCanvasModule from 'diagram-js/lib/navigation/movecanvas'
81 export default {
82 props: {
83 formData: {
84 type: Object,
85 default: {}
86 }
87 },
88 data () {
89 return {
90 dlgTitle: undefined,
91 defaultZoom: 1,
92 // 是否正在加载流程图
93 isLoading: true,
94 bpmnViewer: undefined,
95 // 已完成流程元素
96 processNodeInfo: undefined,
97 // 当前任务id
98 selectTaskId: undefined,
99 // 任务节点审批记录
100 taskList:[],
101 taskCommentList: [],
102 // 已完成任务悬浮延迟Timer
103 hoverTimer: null,
104 // 下拉
105 selectValue: '',
106 selectOptions: []
107 }
108 },
109 created () {
110 this.$nextTick(() => {
111 // 获取流程记录
112 this.getCommentList()
113 this.setProcessStatus(this.formData.finishedInfo);
114 this.importXML(this.formData.xml)
115
116 })
117 },
118 destroyed () {
119 this.clearViewer()
120 },
121 methods: {
122 formatDate(row, column) {
123 let data = row[column.property]
124 if(data == null) {
125 return null
126 }
127 let dt = new Date(data)
128 return dt.getFullYear() + '-' + (dt.getMonth() + 1) + '-' + dt.getDate() + ' ' + dt.getHours() + ':' + dt.getMinutes() + ':' + dt.getSeconds()
129 },
130 processReZoom () {
131 this.defaultZoom = 1
132 this.bpmnViewer.get('canvas').zoom('fit-viewport', 'auto')
133 },
134 processZoomIn (zoomStep = 0.1) {
135 const newZoom = Math.floor(this.defaultZoom * 100 + zoomStep * 100) / 100
136 if (newZoom > 4) {
137 throw new Error('[Process Designer Warn ]: The zoom ratio cannot be greater than 4')
138 }
139 this.defaultZoom = newZoom
140 this.bpmnViewer.get('canvas').zoom(this.defaultZoom)
141 },
142 processZoomOut (zoomStep = 0.1) {
143 const newZoom = Math.floor(this.defaultZoom * 100 - zoomStep * 100) / 100
144 if (newZoom < 0.2) {
145 throw new Error('[Process Designer Warn ]: The zoom ratio cannot be scss than 0.2')
146 }
147 this.defaultZoom = newZoom
148 this.bpmnViewer.get('canvas').zoom(this.defaultZoom)
149 },
150 getOperationTagType (type) {
151 return 'success'
152 },
153 // 流程图预览清空
154 clearViewer (a) {
155 if (this.$refs.processCanvas) {
156 this.$refs.processCanvas.innerHTML = ''
157 }
158 if (this.bpmnViewer) {
159 this.bpmnViewer.destroy()
160 }
161 this.bpmnViewer = null
162 },
163 // 添加自定义箭头
164 addCustomDefs () {
165 const canvas = this.bpmnViewer.get('canvas')
166 const svg = canvas._svg
167 const customSuccessDefs = this.$refs.customSuccessDefs
168 const customFailDefs = this.$refs.customFailDefs
169 svg.appendChild(customSuccessDefs)
170 svg.appendChild(customFailDefs)
171 },
172 // 任务悬浮弹窗
173 onSelectElement (element) {
174 this.selectTaskId = undefined
175 this.dlgTitle = undefined
176 let allfinishedTaskSet = [...this.processNodeInfo.finishedTaskSet, ...this.processNodeInfo.unfinishedTaskSet]
177 if (this.processNodeInfo == null || allfinishedTaskSet == null)
178 return
179 if (element == null || allfinishedTaskSet.indexOf(element.id) === -1) {
180 return
181 }
182 this.selectTaskId = element.id
183 this.selectValue = element.id
184 this.dlgTitle = element.businessObject ? element.businessObject.name : undefined
185 // 计算当前悬浮任务审批记录,如果记录为空不显示弹窗
186 this.taskCommentList = (this.taskList || []).filter(item => {
187 return item.taskDefinitionKey === this.selectTaskId
188 })
189 if (this.taskCommentList.length==0) {
190 this.taskCommentList = this.taskList;
191 }
192 },
193 // 下拉列表切换
194 handleSelect (val) {
195 this.taskCommentList = (this.taskList || []).filter(item => {
196 return item.taskDefinitionKey === val
197 })
198 if (this.taskCommentList.length==0) {
199 this.taskCommentList = this.taskList;
200 }
201 },
202 // 显示流程图
203 async importXML (xml) {
204 let xmlData = this.$x2js.xml2js(xml).definitions.process;
205 this.selectOptions = xmlData.userTask.map(item => {
206 return { value: item._id, label: item._name }
207 })
208 this.selectOptions = [{ value: xmlData.startEvent._id, label: '浏览记录' }, ...this.selectOptions]
209 this.selectOptions = this.selectOptions.map(item => {
210 if (this.formData.finishedInfo.finishedTaskSet.includes(item.value)) {
211 return item
212 }
213 if (this.formData.finishedInfo.unfinishedTaskSet.includes(item.value)) {
214 return item
215 }
216 }).filter(Boolean);
217 this.selectValue = xmlData.startEvent._id
218 this.clearViewer('a')
219 if (xml != null && xml !== '') {
220 try {
221 this.bpmnViewer = new BpmnViewer({
222 additionalModules: [
223 // 移动整个画布
224 MoveCanvasModule
225 ],
226 container: this.$refs.processCanvas
227 })
228 // 任务节点悬浮事件
229 this.bpmnViewer.on('element.click', ({ element }) => {
230 this.onSelectElement(element)
231 })
232 await this.bpmnViewer.importXML(xml)
233 this.isLoading = true
234 this.addCustomDefs()
235 } catch (e) {
236 this.clearViewer('b')
237 } finally {
238 this.isLoading = false
239 this.setProcessStatus(this.processNodeInfo)
240 this.$nextTick(() => {
241 this.processReZoom()
242 })
243 }
244 }
245 },
246 // 获取流程记录
247 getCommentList() {
248 this.formData.allCommentList.forEach(async (item,index) => {
249 item.comments.forEach(element => {
250 if(element.type=="COMPLETE"){
251 this.formData.allCommentList[index].idea=element.message
252 this.formData.allCommentList[index].controls="完成"
253 }
254 });
255 this.formData.allCommentList[index].agent=item.assignee.name
256 })
257 this.formData.handlinglist.forEach(async (item,index) => {
258 if(item.assignee.name){
259 this.formData.handlinglist[index].agent=item.assignee.name
260 }else{
261 let str=""
262 item.countersign.forEach((item) => {
263 str+=item.name+","
264 })
265 str=str.slice(0, -1);
266 this.formData.allCommentList[index].agent=str
267 }
268
269 })
270 this.taskList =[...this.formData.allCommentList,...this.formData.handlinglist];
271 // this.taskList =this.formData.allCommentList;
272 // 处理数据之后赋值
273 this.taskCommentList=this.taskList
274
275 },
276
277 // 设置流程图元素状态
278 setProcessStatus (processNodeInfo) {
279 this.processNodeInfo = processNodeInfo
280 if (this.isLoading || this.processNodeInfo == null || this.bpmnViewer == null) return
281 const { finishedTaskSet, rejectedTaskSet, unfinishedTaskSet, finishedSequenceFlowSet } = this.processNodeInfo
282 const canvas = this.bpmnViewer.get('canvas')
283 const elementRegistry = this.bpmnViewer.get('elementRegistry')
284 if (Array.isArray(finishedSequenceFlowSet)) {
285 finishedSequenceFlowSet.forEach(item => {
286 if (item != null) {
287 canvas.addMarker(item, 'success')
288 const element = elementRegistry.get(item)
289 const conditionExpression = element.businessObject.conditionExpression
290 if (conditionExpression) {
291 canvas.addMarker(item, 'condition-expression')
292 }
293 }
294 })
295 }
296 if (Array.isArray(finishedTaskSet)) {
297 finishedTaskSet.forEach(item => canvas.addMarker(item, 'success'))
298 }
299 if (Array.isArray(unfinishedTaskSet)) {
300 unfinishedTaskSet.forEach(item => canvas.addMarker(item, 'primary'))
301 }
302 if (Array.isArray(rejectedTaskSet)) {
303 rejectedTaskSet.forEach(item => {
304 if (item != null) {
305 const element = elementRegistry.get(item)
306 if (element.type.includes('Task')) {
307 canvas.addMarker(item, 'danger')
308 } else {
309 canvas.addMarker(item, 'warning')
310 }
311 }
312 })
313 }
314
315 }
316 }
317 }
318 </script>
319 <style scoped lang="scss">
320 .information-list {
321 height: 220px;
322 margin-top: 10px;
323
324 p {
325 font-size: 16px;
326 line-height: 24px;
327 }
328 }
329 /deep/.bjs-powered-by {
330 display: none;
331 }
332 // /deep/.information-list {
333 // height: 170px;
334 // overflow: visible;
335 // }
336 </style>
...@@ -143,7 +143,7 @@ export default { ...@@ -143,7 +143,7 @@ export default {
143 render: (h, scope) => { 143 render: (h, scope) => {
144 return ( 144 return (
145 <div> 145 <div>
146 {this.$route.query.viewtype ? ( 146 {!this.showButton ? (
147 <el-button 147 <el-button
148 icon="el-icon-view" 148 icon="el-icon-view"
149 type="text" 149 type="text"
...@@ -263,22 +263,12 @@ export default { ...@@ -263,22 +263,12 @@ export default {
263 }, 263 },
264 // 修改 264 // 修改
265 editClick(index, row) { 265 editClick(index, row) {
266 // popupDialog("申请人信息", "workflow/components/addQlr", {
267 // showButton: this.$route.query.viewtype ? false : true,
268 // dataIndex :index,
269 // details :row,
270 // isaddupdate :false
271 // });
272 this.dataIndex = index; 266 this.dataIndex = index;
273 this.dialog = true; 267 this.dialog = true;
274 this.details = row; 268 this.details = row;
275 this.isaddupdate = false; 269 this.isaddupdate = false;
276 }, 270 },
277 queryViewClick(index, row) { 271 queryViewClick(index, row) {
278 // popupDialog("申请人信息", "workflow/components/addQlr", {
279 // showButton: this.$route.query.viewtype ? false : true,
280 // details: row,
281 // });
282 this.dialog = true; 272 this.dialog = true;
283 this.details = row; 273 this.details = row;
284 }, 274 },
......
...@@ -143,7 +143,7 @@ export default { ...@@ -143,7 +143,7 @@ export default {
143 render: (h, scope) => { 143 render: (h, scope) => {
144 return ( 144 return (
145 <div> 145 <div>
146 {this.$route.query.viewtype ? ( 146 {!this.showButton? (
147 <el-button 147 <el-button
148 icon="el-icon-view" 148 icon="el-icon-view"
149 type="text" 149 type="text"
...@@ -259,22 +259,12 @@ export default { ...@@ -259,22 +259,12 @@ export default {
259 259
260 // 修改 260 // 修改
261 editClick(index, row) { 261 editClick(index, row) {
262 // popupDialog("申请人信息", "workflow/components/addYwr", {
263 // showButton: this.$route.query.viewtype ? false : true,
264 // dataIndex :index,
265 // details :row,
266 // isaddupdate :false
267 // });
268 this.dataIndex = index; 262 this.dataIndex = index;
269 this.dialog = true; 263 this.dialog = true;
270 this.details = row; 264 this.details = row;
271 this.isaddupdate = false; 265 this.isaddupdate = false;
272 }, 266 },
273 queryViewClick(index, row) { 267 queryViewClick(index, row) {
274 // popupDialog("申请人信息", "workflow/components/addYwr", {
275 // showButton: this.$route.query.viewtype ? false : true,
276 // details: row,
277 // });
278 this.dialog = true; 268 this.dialog = true;
279 this.details = row; 269 this.details = row;
280 }, 270 },
......
...@@ -468,8 +468,8 @@ export default { ...@@ -468,8 +468,8 @@ export default {
468 djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }], 468 djjgrules: [{ required: true, message: "登记机构", trigger: "blur" }],
469 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], 469 dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }],
470 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], 470 djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }],
471 fwjgrules: [{ required: true, message: "房屋结构", trigger: "blur" }], 471 fwjgrules: [{ required: true, message: "房屋结构", trigger: "change" }],
472 djlxrules: [{ required: true, message: "登记类型", trigger: "blur" }], 472 djlxrules: [{ required: true, message: "登记类型", trigger: "change" }],
473 }, 473 },
474 }; 474 };
475 }, 475 },
...@@ -549,14 +549,6 @@ export default { ...@@ -549,14 +549,6 @@ export default {
549 }); 549 });
550 return false; 550 return false;
551 } 551 }
552 if (this.ruleForm.ywrData.length == 0) {
553 this.$message({
554 showClose: true,
555 message: "请确认义务人信息",
556 type: "error",
557 });
558 return false;
559 }
560 if (this.ruleForm.tdytqxList.length == 0 && !this.tdxz) { 552 if (this.ruleForm.tdytqxList.length == 0 && !this.tdxz) {
561 this.$message({ 553 this.$message({
562 showClose: true, 554 showClose: true,
......
...@@ -224,7 +224,7 @@ ...@@ -224,7 +224,7 @@
224 /> 224 />
225 </div> 225 </div>
226 </div> 226 </div>
227 <el-row class="btn" v-if="!$route.query.viewtype"> 227 <el-row class="btn" v-if="ableOperation">
228 <el-form-item> 228 <el-form-item>
229 <el-button type="primary" @click="onSubmit">保存</el-button> 229 <el-button type="primary" @click="onSubmit">保存</el-button>
230 </el-form-item> 230 </el-form-item>
......
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
71 import { getForm } from "./flowform"; 71 import { getForm } from "./flowform";
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 ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; 76 import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue";
77 import qllxDailog from "./djbBook/components/qllxDailog"; 77 import qllxDailog from "./djbBook/components/qllxDailog";
...@@ -86,7 +86,6 @@ ...@@ -86,7 +86,6 @@
86 components: { 86 components: {
87 selectBdc, 87 selectBdc,
88 NoticeBar, 88 NoticeBar,
89 ProcessViewer,
90 ordinaryMenu, 89 ordinaryMenu,
91 qllxDailog, 90 qllxDailog,
92 }, 91 },
......
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
71 import { getForm } from "./flowform"; 71 import { getForm } from "./flowform";
72 import { getBlYbxStepFormInfo } from "@/api/workFlow.js"; 72 import { getBlYbxStepFormInfo } 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/djbRepair.js"; 76 import { leftMenubl } from "@/api/djbRepair.js";
77 import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; 77 import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue";
...@@ -86,7 +86,6 @@ ...@@ -86,7 +86,6 @@
86 components: { 86 components: {
87 selectBdc, 87 selectBdc,
88 NoticeBar, 88 NoticeBar,
89 ProcessViewer,
90 ordinaryMenu, 89 ordinaryMenu,
91 qllxDailog, 90 qllxDailog,
92 }, 91 },
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-17 13:51:03 4 * @LastEditTime: 2023-07-17 13:51:03
5 --> 5 -->
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
38 }, 38 },
39 data () { 39 data () {
40 return { 40 return {
41 isDisabled: this.disabled,
41 key: 0, 42 key: 0,
42 dataIndex: 0, 43 dataIndex: 0,
43 dialog: false, 44 dialog: false,
...@@ -48,7 +49,7 @@ ...@@ -48,7 +49,7 @@
48 width: '50', 49 width: '50',
49 renderHeader: (h, scope) => { 50 renderHeader: (h, scope) => {
50 return <div> { 51 return <div> {
51 this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i> 52 this.isDisabled? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i>
52 } 53 }
53 </div> 54 </div>
54 }, 55 },
...@@ -56,7 +57,7 @@ ...@@ -56,7 +57,7 @@
56 return ( 57 return (
57 <div> 58 <div>
58 { 59 {
59 this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> : 60 this.isDisabled? <span>{scope.$index + 1}</span> :
60 <i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i> 61 <i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i>
61 } 62 }
62 </div> 63 </div>
...@@ -88,7 +89,7 @@ ...@@ -88,7 +89,7 @@
88 return ( 89 return (
89 <div> 90 <div>
90 { 91 {
91 this.$route.query.viewtype == 1 ? <el-button 92 this.isDisabled? <el-button
92 icon="el-icon-view" 93 icon="el-icon-view"
93 type="text" 94 type="text"
94 onClick={() => { this.queryViewClick(scope.$index, scope.row) }} disabled={this.isDisabled}>查看</el-button> : <el-button 95 onClick={() => { this.queryViewClick(scope.$index, scope.row) }} disabled={this.isDisabled}>查看</el-button> : <el-button
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-04 16:05:44 4 * @LastEditTime: 2023-07-04 16:05:44
5 --> 5 -->
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
74 return ( 74 return (
75 <div> 75 <div>
76 { 76 {
77 this.$route.query.viewtype == 1 ? '序号' : 77 this.ableOperation? '序号' :
78 <i 78 <i
79 class="el-icon-plus pointer" 79 class="el-icon-plus pointer"
80 onClick={() => { 80 onClick={() => {
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
91 return ( 91 return (
92 <div> 92 <div>
93 { 93 {
94 this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> : 94 this.ableOperation? <span>{scope.$index + 1}</span> :
95 <i 95 <i
96 class="el-icon-minus pointer" 96 class="el-icon-minus pointer"
97 97
...@@ -536,4 +536,4 @@ ...@@ -536,4 +536,4 @@
536 } 536 }
537 } 537 }
538 } 538 }
539 </style>
...\ No newline at end of file ...\ No newline at end of file
539 </style>
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
23 </div> 23 </div>
24 </div> 24 </div>
25 <el-button type="primary" native-type="submit" style="width:100%" @click="handleAdd()" 25 <el-button type="primary" native-type="submit" style="width:100%" @click="handleAdd()"
26 v-if="!this.$route.query.viewtype && ableOperation">新增</el-button> 26 v-if="ableOperation">新增</el-button>
27 </div> 27 </div>
28 <image-preview ref='imageRef' v-if="tableData.length>0" :previewImg="previewImg" :ableOperation="ableOperation" @updateList="updateList" 28 <image-preview ref='imageRef' v-if="tableData.length>0" :previewImg="previewImg" :ableOperation="ableOperation" @updateList="updateList"
29 @nextPriview="nextPriview" 29 @nextPriview="nextPriview"
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
71 }, 71 },
72 mounted() { 72 mounted() {
73 this.ableOperation=this.$parent.ableOperation 73 this.ableOperation=this.$parent.ableOperation
74 }, 74 },
75 methods: { 75 methods: {
76 // 自动预览 76 // 自动预览
77 nextPriview () { 77 nextPriview () {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:39:57 4 * @LastEditTime: 2023-05-17 10:39:57
5 --> 5 -->
...@@ -275,4 +275,4 @@ ...@@ -275,4 +275,4 @@
275 margin-bottom: -1px; 275 margin-bottom: -1px;
276 } 276 }
277 } 277 }
278 </style>
...\ No newline at end of file ...\ No newline at end of file
278 </style>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
8 <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="150" 8 <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="150"
9 :data="tableDataList"> 9 :data="tableDataList">
10 </lb-table> 10 </lb-table>
11 <addQlr v-model="dialog" :details="details" :showButton="showButton" @updateDetail="handleupdateDetail" /> 11 <addQlr v-model="dialog" :details="details" :showButton="!isDisabled" @updateDetail="handleupdateDetail" />
12 </div> 12 </div>
13 </template> 13 </template>
14 <script> 14 <script>
...@@ -44,7 +44,6 @@ ...@@ -44,7 +44,6 @@
44 dataIndex: 0, 44 dataIndex: 0,
45 dialog: false, 45 dialog: false,
46 isaddupdate: false, 46 isaddupdate: false,
47 showButton: this.$route.query.viewtype ? false : true,
48 isDisabled: this.disabled, 47 isDisabled: this.disabled,
49 details: {}, 48 details: {},
50 tableDataList: [], 49 tableDataList: [],
...@@ -53,7 +52,7 @@ ...@@ -53,7 +52,7 @@
53 width: '50', 52 width: '50',
54 renderHeader: (h, scope) => { 53 renderHeader: (h, scope) => {
55 return <div> { 54 return <div> {
56 this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i> 55 this.isDisabled? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i>
57 } 56 }
58 </div> 57 </div>
59 }, 58 },
...@@ -61,7 +60,7 @@ ...@@ -61,7 +60,7 @@
61 return ( 60 return (
62 <div> 61 <div>
63 { 62 {
64 this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> : 63 this.isDisabled? <span>{scope.$index + 1}</span> :
65 <i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i> 64 <i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i>
66 } 65 }
67 </div> 66 </div>
...@@ -104,7 +103,7 @@ ...@@ -104,7 +103,7 @@
104 return ( 103 return (
105 <div> 104 <div>
106 { 105 {
107 this.$route.query.viewtype ? <el-button 106 this.isDisabled ? <el-button
108 icon="el-icon-view" 107 icon="el-icon-view"
109 type="text" 108 type="text"
110 onClick={() => { this.queryViewClick(scope.$index, scope.row) }} disabled={this.isDisabled} > 查看</el-button> : <el-button 109 onClick={() => { this.queryViewClick(scope.$index, scope.row) }} disabled={this.isDisabled} > 查看</el-button> : <el-button
...@@ -239,7 +238,7 @@ ...@@ -239,7 +238,7 @@
239 /deep/.el-table th { 238 /deep/.el-table th {
240 height: 30px !important; 239 height: 30px !important;
241 } 240 }
242 /deep/.el-table--small .el-table__cell { 241 /deep/.el-table .cell {
243 padding: 3px; 242 padding-right: 12px;
244 } 243 }
245 </style> 244 </style>
......
...@@ -83,11 +83,7 @@ ...@@ -83,11 +83,7 @@
83 }, 83 },
84 }, 84 },
85 mounted () { 85 mounted () {
86 this.propsParam.isEdit=this.$parent.isEdit 86 this.ableOperation = this.$parent.ableOperation;
87 this.propsParam = this.$attrs;
88 if (this.$route.query.viewtype) {
89 this.ableOperation = false
90 }
91 this.list(); 87 this.list();
92 }, 88 },
93 methods: { 89 methods: {
...@@ -98,7 +94,7 @@ ...@@ -98,7 +94,7 @@
98 var formdata = new FormData(); 94 var formdata = new FormData();
99 formdata.append("bsmBusiness", this.propsParam.bsmBusiness); 95 formdata.append("bsmBusiness", this.propsParam.bsmBusiness);
100 formdata.append("bestepid", this.$route.query.bestepid); 96 formdata.append("bestepid", this.$route.query.bestepid);
101 formdata.append("ableOperation", this.ableOperation) 97 // formdata.append("ableOperation", this.ableOperation)
102 getSpyjList(formdata).then((res) => { 98 getSpyjList(formdata).then((res) => {
103 this.$endLoading() 99 this.$endLoading()
104 if (res.code === 200 && res.result) { 100 if (res.code === 200 && res.result) {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-17 13:51:09 4 * @LastEditTime: 2023-07-17 13:51:09
5 --> 5 -->
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
41 width: '50', 41 width: '50',
42 renderHeader: (h, scope) => { 42 renderHeader: (h, scope) => {
43 return <div> { 43 return <div> {
44 this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.handleAdd() }}></i> 44 this.ableOperation ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.handleAdd() }}></i>
45 } 45 }
46 </div> 46 </div>
47 }, 47 },
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
49 return ( 49 return (
50 <div> 50 <div>
51 { 51 {
52 this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> : 52 this.ableOperation ? <span>{scope.$index + 1}</span> :
53 <i class="el-icon-minus pointer" onClick={() => { this.handleMinus(scope.$index, scope.row) }}></i> 53 <i class="el-icon-minus pointer" onClick={() => { this.handleMinus(scope.$index, scope.row) }}></i>
54 } 54 }
55 </div> 55 </div>
......
...@@ -281,7 +281,5 @@ ...@@ -281,7 +281,5 @@
281 /deep/.el-table th { 281 /deep/.el-table th {
282 height: 30px !important; 282 height: 30px !important;
283 } 283 }
284 /deep/.el-table--small .el-table__cell { 284
285 padding: 5px;
286 }
287 </style> 285 </style>
......
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
63 import { getStepFormInfo, unClaimTask } from "@/api/workFlow.js" 63 import { getStepFormInfo, unClaimTask } from "@/api/workFlow.js"
64 import { getForm } from "./flowform" 64 import { getForm } from "./flowform"
65 import NoticeBar from "@/components/NoticeBar/index" 65 import NoticeBar from "@/components/NoticeBar/index"
66 import ProcessViewer from "./components/processViewer.vue" 66 // import ProcessViewer from "./components/processViewer.vue"
67 // 引入左侧菜单 67 // 引入左侧菜单
68 import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue" 68 import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"
69 // 引入左侧菜单 69 // 引入左侧菜单
...@@ -73,7 +73,6 @@ ...@@ -73,7 +73,6 @@
73 components: { 73 components: {
74 selectBdc, 74 selectBdc,
75 NoticeBar, 75 NoticeBar,
76 ProcessViewer,
77 ordinaryMenu, 76 ordinaryMenu,
78 segmentMenu 77 segmentMenu
79 }, 78 },
......
...@@ -64,12 +64,12 @@ ...@@ -64,12 +64,12 @@
64 <el-row :gutter="10"> 64 <el-row :gutter="10">
65 <el-col :span="8"> 65 <el-col :span="8">
66 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg"> 66 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg">
67 <el-input v-model="ruleForm.cfdjList[0].cfjg" :disabled="$route.query.viewtype || isJfOperation"></el-input> 67 <el-input v-model="ruleForm.cfdjList[0].cfjg" :disabled="!ableOperation|| isJfOperation"></el-input>
68 </el-form-item> 68 </el-form-item>
69 </el-col> 69 </el-col>
70 <el-col :span="8"> 70 <el-col :span="8">
71 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh"> 71 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh">
72 <el-input v-model="ruleForm.cfdjList[0].cfwh" :disabled="$route.query.viewtype || isJfOperation"></el-input> 72 <el-input v-model="ruleForm.cfdjList[0].cfwh" :disabled="!ableOperation|| isJfOperation"></el-input>
73 </el-form-item> 73 </el-form-item>
74 </el-col> 74 </el-col>
75 <!-- 批量查封状态有多种查封类型,不予展示 --> 75 <!-- 批量查封状态有多种查封类型,不予展示 -->
...@@ -82,19 +82,19 @@ ...@@ -82,19 +82,19 @@
82 <el-row :gutter="10"> 82 <el-row :gutter="10">
83 <el-col :span="8"> 83 <el-col :span="8">
84 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封期限:" prop="cfdj.cfqx"> 84 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封期限:" prop="cfdj.cfqx">
85 <el-input v-model="ruleForm.cfdjList[0].cfqx" :disabled="$route.query.viewtype || isJfOperation"></el-input> 85 <el-input v-model="ruleForm.cfdjList[0].cfqx" :disabled="!ableOperation|| isJfOperation"></el-input>
86 </el-form-item> 86 </el-form-item>
87 </el-col> 87 </el-col>
88 <el-col :span="8"> 88 <el-col :span="8">
89 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj"> 89 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj">
90 <el-date-picker v-model="ruleForm.cfdjList[0].cfqssj" class="width100" type="date" placeholder="选择日期" 90 <el-date-picker v-model="ruleForm.cfdjList[0].cfqssj" class="width100" type="date" placeholder="选择日期"
91 value-format="yyyy-MM-dd" :disabled="$route.query.viewtype || isJfOperation"></el-date-picker> 91 value-format="yyyy-MM-dd" :disabled="!ableOperation|| isJfOperation"></el-date-picker>
92 </el-form-item> 92 </el-form-item>
93 </el-col> 93 </el-col>
94 <el-col :span="8"> 94 <el-col :span="8">
95 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:" prop="cfdj.cfjssj"> 95 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:" prop="cfdj.cfjssj">
96 <el-date-picker v-model="ruleForm.cfdjList[0].cfjssj" class="width100" 96 <el-date-picker v-model="ruleForm.cfdjList[0].cfjssj" class="width100"
97 :disabled="$route.query.viewtype || isJfOperation" type="date" placeholder="选择日期" 97 :disabled="!ableOperation|| isJfOperation" type="date" placeholder="选择日期"
98 value-format="yyyy-MM-dd"></el-date-picker> 98 value-format="yyyy-MM-dd"></el-date-picker>
99 </el-form-item> 99 </el-form-item>
100 </el-col> 100 </el-col>
...@@ -102,19 +102,19 @@ ...@@ -102,19 +102,19 @@
102 <el-row :gutter="10"> 102 <el-row :gutter="10">
103 <el-col :span="8"> 103 <el-col :span="8">
104 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj"> 104 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj">
105 <el-input v-model="ruleForm.cfdjList[0].cfwj" :disabled="$route.query.viewtype || isJfOperation"></el-input> 105 <el-input v-model="ruleForm.cfdjList[0].cfwj" :disabled="!ableOperation|| isJfOperation"></el-input>
106 </el-form-item> 106 </el-form-item>
107 </el-col> 107 </el-col>
108 <el-col :span="16"> 108 <el-col :span="16">
109 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw"> 109 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw">
110 <el-input v-model="ruleForm.cfdjList[0].cffw" :disabled="$route.query.viewtype || isJfOperation"></el-input> 110 <el-input v-model="ruleForm.cfdjList[0].cffw" :disabled="!ableOperation|| isJfOperation"></el-input>
111 </el-form-item> 111 </el-form-item>
112 </el-col> 112 </el-col>
113 </el-row> 113 </el-row>
114 <el-row :gutter="10"> 114 <el-row :gutter="10">
115 <el-col :span="24"> 115 <el-col :span="24">
116 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj"> 116 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj">
117 <el-input v-model="ruleForm.cfdjList[0].fj" type="textarea" :disabled="$route.query.viewtype || isJfOperation"> 117 <el-input v-model="ruleForm.cfdjList[0].fj" type="textarea" :disabled="!ableOperation|| isJfOperation">
118 </el-input> 118 </el-input>
119 </el-form-item> 119 </el-form-item>
120 </el-col> 120 </el-col>
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
123 <el-col> 123 <el-col>
124 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy"> 124 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy">
125 <el-input class="textArea" type="textarea" v-model="ruleForm.cfdjList[0].djyy" 125 <el-input class="textArea" type="textarea" v-model="ruleForm.cfdjList[0].djyy"
126 :disabled="$route.query.viewtype || isJfOperation"></el-input> 126 :disabled="!ableOperation|| isJfOperation"></el-input>
127 </el-form-item> 127 </el-form-item>
128 </el-col> 128 </el-col>
129 </el-row> 129 </el-row>
...@@ -135,23 +135,23 @@ ...@@ -135,23 +135,23 @@
135 <el-row :gutter="10"> 135 <el-row :gutter="10">
136 <el-col :span="8"> 136 <el-col :span="8">
137 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封机关:" prop="cfdj.jfjg"> 137 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封机关:" prop="cfdj.jfjg">
138 <el-input v-model="ruleForm.cfdjList[0].jfjg" :disabled="$route.query.viewtype"></el-input> 138 <el-input v-model="ruleForm.cfdjList[0].jfjg" :disabled="!ableOperation"></el-input>
139 </el-form-item> 139 </el-form-item>
140 </el-col> 140 </el-col>
141 <el-col :span="8"> 141 <el-col :span="8">
142 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文件:" prop="cfdj.jfwj"> 142 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文件:" prop="cfdj.jfwj">
143 <el-input v-model="ruleForm.cfdjList[0].jfwj" :disabled="$route.query.viewtype"></el-input> 143 <el-input v-model="ruleForm.cfdjList[0].jfwj" :disabled="!ableOperation"></el-input>
144 </el-form-item> 144 </el-form-item>
145 </el-col> 145 </el-col>
146 <el-col :span="8"> 146 <el-col :span="8">
147 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文号:" prop="cfdj.jfwh"> 147 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文号:" prop="cfdj.jfwh">
148 <el-input v-model="ruleForm.cfdjList[0].jfwh" :disabled="$route.query.viewtype"></el-input> 148 <el-input v-model="ruleForm.cfdjList[0].jfwh" :disabled="!ableOperation"></el-input>
149 </el-form-item> 149 </el-form-item>
150 </el-col> 150 </el-col>
151 </el-row> 151 </el-row>
152 </div> 152 </div>
153 </div> 153 </div>
154 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> 154 <el-row class="btn" v-if="ableOperation">
155 <el-form-item :class="flag ? 'marginBot0' : ''"> 155 <el-form-item :class="flag ? 'marginBot0' : ''">
156 <el-button type="primary" @click="onSubmit">保存</el-button> 156 <el-button type="primary" @click="onSubmit">保存</el-button>
157 </el-form-item> 157 </el-form-item>
......
...@@ -152,14 +152,14 @@ ...@@ -152,14 +152,14 @@
152 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg"> 152 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg">
153 <el-input 153 <el-input
154 v-model="ruleForm.cfdj.cfjg" 154 v-model="ruleForm.cfdj.cfjg"
155 :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-input> 155 :disabled="!ableOperation || ableEdit || isJfOperation"></el-input>
156 </el-form-item> 156 </el-form-item>
157 </el-col> 157 </el-col>
158 <el-col :span="8"> 158 <el-col :span="8">
159 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh"> 159 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh">
160 <el-input 160 <el-input
161 v-model="ruleForm.cfdj.cfwh" 161 v-model="ruleForm.cfdj.cfwh"
162 :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-input> 162 :disabled="!ableOperation || ableEdit || isJfOperation"></el-input>
163 </el-form-item> 163 </el-form-item>
164 </el-col> 164 </el-col>
165 <el-col :span="8"> 165 <el-col :span="8">
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
173 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封期限:" prop="cfdj.cfqx"> 173 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封期限:" prop="cfdj.cfqx">
174 <el-input 174 <el-input
175 v-model="ruleForm.cfdj.cfqx" 175 v-model="ruleForm.cfdj.cfqx"
176 :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-input> 176 :disabled="!ableOperation || ableEdit || isJfOperation"></el-input>
177 </el-form-item> 177 </el-form-item>
178 </el-col> 178 </el-col>
179 <el-col :span="8"> 179 <el-col :span="8">
...@@ -184,7 +184,7 @@ ...@@ -184,7 +184,7 @@
184 type="date" 184 type="date"
185 placeholder="选择日期" 185 placeholder="选择日期"
186 value-format="yyyy-MM-dd" 186 value-format="yyyy-MM-dd"
187 :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-date-picker> 187 :disabled="!ableOperation || ableEdit || isJfOperation"></el-date-picker>
188 </el-form-item> 188 </el-form-item>
189 </el-col> 189 </el-col>
190 <el-col :span="8"> 190 <el-col :span="8">
...@@ -192,7 +192,7 @@ ...@@ -192,7 +192,7 @@
192 <el-date-picker 192 <el-date-picker
193 v-model="ruleForm.cfdj.cfjssj" 193 v-model="ruleForm.cfdj.cfjssj"
194 class="width100" 194 class="width100"
195 :disabled="$route.query.viewtype || ableEdit || isJfOperation" 195 :disabled="!ableOperation || ableEdit || isJfOperation"
196 type="date" 196 type="date"
197 placeholder="选择日期" 197 placeholder="选择日期"
198 value-format="yyyy-MM-dd"></el-date-picker> 198 value-format="yyyy-MM-dd"></el-date-picker>
...@@ -204,14 +204,14 @@ ...@@ -204,14 +204,14 @@
204 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj"> 204 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj">
205 <el-input 205 <el-input
206 v-model="ruleForm.cfdj.cfwj" 206 v-model="ruleForm.cfdj.cfwj"
207 :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-input> 207 :disabled="!ableOperation || ableEdit || isJfOperation"></el-input>
208 </el-form-item> 208 </el-form-item>
209 </el-col> 209 </el-col>
210 <el-col :span="16"> 210 <el-col :span="16">
211 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw"> 211 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw">
212 <el-input 212 <el-input
213 v-model="ruleForm.cfdj.cffw" 213 v-model="ruleForm.cfdj.cffw"
214 :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-input> 214 :disabled="!ableOperation || ableEdit || isJfOperation"></el-input>
215 </el-form-item> 215 </el-form-item>
216 </el-col> 216 </el-col>
217 </el-row> 217 </el-row>
...@@ -221,7 +221,7 @@ ...@@ -221,7 +221,7 @@
221 <el-input 221 <el-input
222 v-model="ruleForm.cfdj.fj" 222 v-model="ruleForm.cfdj.fj"
223 type="textarea" 223 type="textarea"
224 :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-input> 224 :disabled="!ableOperation || ableEdit || isJfOperation"></el-input>
225 </el-form-item> 225 </el-form-item>
226 </el-col> 226 </el-col>
227 </el-row> 227 </el-row>
...@@ -232,7 +232,7 @@ ...@@ -232,7 +232,7 @@
232 class="textArea" 232 class="textArea"
233 type="textarea" 233 type="textarea"
234 v-model="ruleForm.cfdj.djyy" 234 v-model="ruleForm.cfdj.djyy"
235 :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-input> 235 :disabled="!ableOperation || ableEdit || isJfOperation"></el-input>
236 </el-form-item> 236 </el-form-item>
237 </el-col> 237 </el-col>
238 </el-row> 238 </el-row>
...@@ -246,27 +246,27 @@ ...@@ -246,27 +246,27 @@
246 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封机关:" prop="cfdj.jfjg"> 246 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封机关:" prop="cfdj.jfjg">
247 <el-input 247 <el-input
248 v-model="ruleForm.cfdj.jfjg" 248 v-model="ruleForm.cfdj.jfjg"
249 :disabled="$route.query.viewtype || ableEdit"></el-input> 249 :disabled="!ableOperation || ableEdit"></el-input>
250 </el-form-item> 250 </el-form-item>
251 </el-col> 251 </el-col>
252 <el-col :span="8"> 252 <el-col :span="8">
253 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文件:" prop="cfdj.jfwj"> 253 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文件:" prop="cfdj.jfwj">
254 <el-input 254 <el-input
255 v-model="ruleForm.cfdj.jfwj" 255 v-model="ruleForm.cfdj.jfwj"
256 :disabled="$route.query.viewtype || ableEdit"></el-input> 256 :disabled="!ableOperation || ableEdit"></el-input>
257 </el-form-item> 257 </el-form-item>
258 </el-col> 258 </el-col>
259 <el-col :span="8"> 259 <el-col :span="8">
260 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文号:" prop="cfdj.jfwh"> 260 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文号:" prop="cfdj.jfwh">
261 <el-input 261 <el-input
262 v-model="ruleForm.cfdj.jfwh" 262 v-model="ruleForm.cfdj.jfwh"
263 :disabled="$route.query.viewtype || ableEdit"></el-input> 263 :disabled="!ableOperation || ableEdit"></el-input>
264 </el-form-item> 264 </el-form-item>
265 </el-col> 265 </el-col>
266 </el-row> 266 </el-row>
267 </div> 267 </div>
268 </div> 268 </div>
269 <el-row class="btn" v-if="!$route.query.viewtype && !ableEdit"> 269 <el-row class="btn" v-if="ableOperation && !ableEdit">
270 <el-form-item :class="flag ? 'marginBot0' : ''"> 270 <el-form-item :class="flag ? 'marginBot0' : ''">
271 <el-button type="primary" @click="onSubmit">保存</el-button> 271 <el-button type="primary" @click="onSubmit">保存</el-button>
272 </el-form-item> 272 </el-form-item>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-11 10:00:43 4 * @LastEditTime: 2023-07-11 10:00:43
5 --> 5 -->
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
139 <el-form-item label="被担保主债权数额:"> 139 <el-form-item label="被担保主债权数额:">
140 <div style="display:flex"> 140 <div style="display:flex">
141 <el-input v-model="ruleForm.diyaq.bdbzzqse" :disabled="!ableOperation" style="width:500%"></el-input> 141 <el-input v-model="ruleForm.diyaq.bdbzzqse" :disabled="!ableOperation" style="width:500%"></el-input>
142 <el-select v-model="ruleForm.diyaq.jedw" :disabled="$route.query.viewtype == '1' && !ableOperation"> 142 <el-select v-model="ruleForm.diyaq.jedw" :disabled="!ableOperation">
143 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 143 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode">
144 </el-option> 144 </el-option>
145 </el-select> 145 </el-select>
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
170 <el-col :span="24"> 170 <el-col :span="24">
171 <el-form-item label="担保范围:"> 171 <el-form-item label="担保范围:">
172 <el-input v-model="ruleForm.diyaq.dbfw" 172 <el-input v-model="ruleForm.diyaq.dbfw"
173 :disabled="($route.query.viewtype == 1 || ruleForm.sldy.djlx == '300') && !ableOperation"></el-input> 173 :disabled="ruleForm.sldy.djlx == '300'&& !ableOperation"></el-input>
174 </el-form-item> 174 </el-form-item>
175 </el-col> 175 </el-col>
176 </el-row> 176 </el-row>
...@@ -184,7 +184,7 @@ ...@@ -184,7 +184,7 @@
184 <el-row> 184 <el-row>
185 <el-col> 185 <el-col>
186 <el-form-item label="附记:" prop="fj"> 186 <el-form-item label="附记:" prop="fj">
187 <el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="$route.query.viewtype == 1 && !ableOperation"></el-input> 187 <el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="!ableOperation"></el-input>
188 </el-form-item> 188 </el-form-item>
189 </el-col> 189 </el-col>
190 </el-row> 190 </el-row>
...@@ -196,7 +196,7 @@ ...@@ -196,7 +196,7 @@
196 <el-row :gutter="10"> 196 <el-row :gutter="10">
197 <el-col :span="14"> 197 <el-col :span="14">
198 <el-form-item label="共有方式:"> 198 <el-form-item label="共有方式:">
199 <el-radio-group :disabled="$route.query.viewtype == 1 && !ableOperation" v-model="ruleForm.sldy.gyfs"> 199 <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldy.gyfs">
200 <el-radio label="0">单独所有</el-radio> 200 <el-radio label="0">单独所有</el-radio>
201 <el-radio label="1">共同共有</el-radio> 201 <el-radio label="1">共同共有</el-radio>
202 <el-radio label="2">按份所有</el-radio> 202 <el-radio label="2">按份所有</el-radio>
...@@ -222,13 +222,13 @@ ...@@ -222,13 +222,13 @@
222 </el-col> 222 </el-col>
223 </el-row> 223 </el-row>
224 <qlrCommonTable :tableData="ruleForm.qlrList" :disabled="!ableOperation" @upDateQlrxxList="upDateQlrxxList" 224 <qlrCommonTable :tableData="ruleForm.qlrList" :disabled="!ableOperation" @upDateQlrxxList="upDateQlrxxList"
225 :viewtype="$route.query.viewtype" :gyfs="ruleForm.sldy.gyfs" /> 225 :viewtype="!ableOperation" :gyfs="ruleForm.sldy.gyfs" />
226 <div class="slxx_title title-block"> 226 <div class="slxx_title title-block">
227 抵押人信息 227 抵押人信息
228 <div class="triangle"></div> 228 <div class="triangle"></div>
229 </div> 229 </div>
230 <qlrCommonTable :tableData="ruleForm.ywrList" :disabled="!ableOperation" @upDateQlrxxList="upDateYwrxxList" 230 <qlrCommonTable :tableData="ruleForm.ywrList" :disabled="!ableOperation" @upDateQlrxxList="upDateYwrxxList"
231 :viewtype="$route.query.viewtype" /> 231 :viewtype="!ableOperation" />
232 232
233 <div class="slxx_title title-block"> 233 <div class="slxx_title title-block">
234 登记原因 234 登记原因
...@@ -237,12 +237,12 @@ ...@@ -237,12 +237,12 @@
237 <el-row :gutter="10"> 237 <el-row :gutter="10">
238 <el-col> 238 <el-col>
239 <el-form-item v-if="ruleForm.sldy.djlx == '400'" label="注销抵押原因:" prop="djyy"> 239 <el-form-item v-if="ruleForm.sldy.djlx == '400'" label="注销抵押原因:" prop="djyy">
240 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1 && !ableOperation" 240 <el-input class="textArea" type="textarea" :disabled="!ableOperation"
241 v-model="ruleForm.diyaq.zxdyyy"> 241 v-model="ruleForm.diyaq.zxdyyy">
242 </el-input> 242 </el-input>
243 </el-form-item> 243 </el-form-item>
244 <el-form-item v-else label="登记原因:" prop="djyy"> 244 <el-form-item v-else label="登记原因:" prop="djyy">
245 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1 && !ableOperation" 245 <el-input class="textArea" type="textarea" :disabled="!ableOperation"
246 v-model="ruleForm.diyaq.djyy"> 246 v-model="ruleForm.diyaq.djyy">
247 </el-input> 247 </el-input>
248 </el-form-item> 248 </el-form-item>
...@@ -250,7 +250,7 @@ ...@@ -250,7 +250,7 @@
250 </el-row> 250 </el-row>
251 251
252 </div> 252 </div>
253 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> 253 <el-row class="btn" v-if="ableOperation">
254 <el-form-item> 254 <el-form-item>
255 <el-button type="primary" @click="onSubmitClick()">保存</el-button> 255 <el-button type="primary" @click="onSubmitClick()">保存</el-button>
256 </el-form-item> 256 </el-form-item>
......
...@@ -141,7 +141,7 @@ ...@@ -141,7 +141,7 @@
141 <el-row :gutter="10"> 141 <el-row :gutter="10">
142 <el-col :span="14" v-if="ruleForm.qlxx"> 142 <el-col :span="14" v-if="ruleForm.qlxx">
143 <el-form-item label="共有方式:"> 143 <el-form-item label="共有方式:">
144 <el-radio-group :disabled="$route.query.viewtype == 1 && !ableOperation" @change="showCZInfo" 144 <el-radio-group :disabled="!ableOperation" @change="showCZInfo"
145 v-model="ruleForm.sldy.gyfs"> 145 v-model="ruleForm.sldy.gyfs">
146 <el-radio label="0">单独所有</el-radio> 146 <el-radio label="0">单独所有</el-radio>
147 <el-radio label="1">共同共有</el-radio> 147 <el-radio label="1">共同共有</el-radio>
...@@ -194,14 +194,14 @@ ...@@ -194,14 +194,14 @@
194 <el-row :gutter="10"> 194 <el-row :gutter="10">
195 <el-col> 195 <el-col>
196 <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy"> 196 <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy">
197 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1 && !ableOperation" 197 <el-input class="textArea" type="textarea" :disabled="!ableOperation"
198 v-model="ruleForm.fdcq2.djyy"> 198 v-model="ruleForm.fdcq2.djyy">
199 </el-input> 199 </el-input>
200 </el-form-item> 200 </el-form-item>
201 </el-col> 201 </el-col>
202 </el-row> 202 </el-row>
203 </div> 203 </div>
204 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> 204 <el-row class="btn" v-if="!ableOperation">
205 <el-form-item> 205 <el-form-item>
206 <el-button type="primary" @click="onSubmit">保存</el-button> 206 <el-button type="primary" @click="onSubmit">保存</el-button>
207 </el-form-item> 207 </el-form-item>
......
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
153 <el-row :gutter="10"> 153 <el-row :gutter="10">
154 <el-col :span="14"> 154 <el-col :span="14">
155 <el-form-item label="共有方式:"> 155 <el-form-item label="共有方式:">
156 <el-radio-group :disabled="$route.query.viewtype == 1 && !ableOperation" v-model="ruleForm.sldy.gyfs"> 156 <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldy.gyfs">
157 <el-radio label="0">单独所有</el-radio> 157 <el-radio label="0">单独所有</el-radio>
158 <el-radio label="1">共同共有</el-radio> 158 <el-radio label="1">共同共有</el-radio>
159 <el-radio label="2">按份所有</el-radio> 159 <el-radio label="2">按份所有</el-radio>
...@@ -187,14 +187,14 @@ ...@@ -187,14 +187,14 @@
187 <el-row :gutter="10"> 187 <el-row :gutter="10">
188 <el-col> 188 <el-col>
189 <el-form-item v-if="ruleForm.fdcq2" label="登记原因:" prop="djyy"> 189 <el-form-item v-if="ruleForm.fdcq2" label="登记原因:" prop="djyy">
190 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1 && !ableOperation" 190 <el-input class="textArea" type="textarea" :disabled="!ableOperation"
191 v-model="ruleForm.fdcq2.djyy"> 191 v-model="ruleForm.fdcq2.djyy">
192 </el-input> 192 </el-input>
193 </el-form-item> 193 </el-form-item>
194 </el-col> 194 </el-col>
195 </el-row> 195 </el-row>
196 </div> 196 </div>
197 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> 197 <el-row class="btn" v-if="!ableOperation">
198 <el-form-item> 198 <el-form-item>
199 <el-button type="primary" @click="onSubmit">保存</el-button> 199 <el-button type="primary" @click="onSubmit">保存</el-button>
200 </el-form-item> 200 </el-form-item>
......
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
101 <el-row :gutter="10"> 101 <el-row :gutter="10">
102 <el-col :span="14"> 102 <el-col :span="14">
103 <el-form-item label="共有方式:"> 103 <el-form-item label="共有方式:">
104 <el-radio-group :disabled="$route.query.viewtype == 1" @change="showCZInfo" 104 <el-radio-group :disabled="!ableOperation" @change="showCZInfo"
105 v-model="ruleForm.sldyList[0].gyfs"> 105 v-model="ruleForm.sldyList[0].gyfs">
106 <el-radio label="0">单独所有</el-radio> 106 <el-radio label="0">单独所有</el-radio>
107 <el-radio label="1">共同共有</el-radio> 107 <el-radio label="1">共同共有</el-radio>
...@@ -138,14 +138,14 @@ ...@@ -138,14 +138,14 @@
138 <el-row :gutter="10"> 138 <el-row :gutter="10">
139 <el-col> 139 <el-col>
140 <el-form-item v-if="ruleForm.slsq" label="登记原因:" prop="djyy"> 140 <el-form-item v-if="ruleForm.slsq" label="登记原因:" prop="djyy">
141 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" 141 <el-input class="textArea" type="textarea" :disabled="!ableOperation"
142 v-model="ruleForm.fdcq2List[0].djyy"> 142 v-model="ruleForm.fdcq2List[0].djyy">
143 </el-input> 143 </el-input>
144 </el-form-item> 144 </el-form-item>
145 </el-col> 145 </el-col>
146 </el-row> 146 </el-row>
147 </div> 147 </div>
148 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> 148 <el-row class="btn" v-if="!ableOperation">
149 <el-form-item> 149 <el-form-item>
150 <el-button type="primary" @click="onSubmit">保存</el-button> 150 <el-button type="primary" @click="onSubmit">保存</el-button>
151 </el-form-item> 151 </el-form-item>
......
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
139 <el-row :gutter="10"> 139 <el-row :gutter="10">
140 <el-col :span="14"> 140 <el-col :span="14">
141 <el-form-item label="共有方式:"> 141 <el-form-item label="共有方式:">
142 <el-radio-group :disabled="$route.query.viewtype == 1 && !ableOperation" v-model="ruleForm.gyfs"> 142 <el-radio-group :disabled="!ableOperation" v-model="ruleForm.gyfs">
143 <el-radio label="1">单独所有</el-radio> 143 <el-radio label="1">单独所有</el-radio>
144 <el-radio label="2">共同共有</el-radio> 144 <el-radio label="2">共同共有</el-radio>
145 <el-radio label="3">按份所有</el-radio> 145 <el-radio label="3">按份所有</el-radio>
...@@ -171,13 +171,13 @@ ...@@ -171,13 +171,13 @@
171 <el-row :gutter="10"> 171 <el-row :gutter="10">
172 <el-col> 172 <el-col>
173 <el-form-item label="登记原因:" prop="djyy"> 173 <el-form-item label="登记原因:" prop="djyy">
174 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1 && !ableOperation" v-model="ruleForm.djyy"> 174 <el-input class="textArea" type="textarea" :disabled="!ableOperation" v-model="ruleForm.djyy">
175 </el-input> 175 </el-input>
176 </el-form-item> 176 </el-form-item>
177 </el-col> 177 </el-col>
178 </el-row> 178 </el-row>
179 </div> 179 </div>
180 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> 180 <el-row class="btn" v-if="!ableOperation">
181 <el-form-item> 181 <el-form-item>
182 <el-button type="primary" @click="onSubmit">保存</el-button> 182 <el-button type="primary" @click="onSubmit">保存</el-button>
183 </el-form-item> 183 </el-form-item>
......
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
138 <el-row :gutter="10"> 138 <el-row :gutter="10">
139 <el-col :span="12"> 139 <el-col :span="12">
140 <el-form-item label="共有方式:"> 140 <el-form-item label="共有方式:">
141 <el-radio-group :disabled="$route.query.viewtype == 0 && !ableOperation" v-model="ruleForm.sldy.gyfs"> 141 <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldy.gyfs">
142 <el-radio label="0">单独所有</el-radio> 142 <el-radio label="0">单独所有</el-radio>
143 <el-radio label="1">共同共有</el-radio> 143 <el-radio label="1">共同共有</el-radio>
144 <el-radio label="2">按份所有</el-radio> 144 <el-radio label="2">按份所有</el-radio>
...@@ -165,16 +165,14 @@ ...@@ -165,16 +165,14 @@
165 </el-row> 165 </el-row>
166 <qlrCommonTable :tableData="ruleForm.qlrList" 166 <qlrCommonTable :tableData="ruleForm.qlrList"
167 :disabled="!ableOperation" 167 :disabled="!ableOperation"
168 @upDateQlrxxList="upDateQlrxxList" :key="key" 168 @upDateQlrxxList="upDateQlrxxList" :key="key" :gyfs="ruleForm.sldy.gyfs" />
169 :viewtype="$route.query.viewtype" :gyfs="ruleForm.sldy.gyfs" />
170 169
171 <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> 170 <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0">
172 <div class="slxx_title title-block"> 171 <div class="slxx_title title-block">
173 义务人信息 172 义务人信息
174 <div class="triangle"></div> 173 <div class="triangle"></div>
175 </div> 174 </div>
176 <qlrCommonTable v-if="ruleForm.ywrList" :disabled="!ableOperation" :tableData="ruleForm.ywrList" :key="key" @upDateQlrxxList="upDateYwrxxList" 175 <qlrCommonTable v-if="ruleForm.ywrList" :disabled="!ableOperation" :tableData="ruleForm.ywrList" :key="key" @upDateQlrxxList="upDateYwrxxList" />
177 :viewtype="$route.query.viewtype" />
178 </div> 176 </div>
179 177
180 <div class="slxx_title title-block"> 178 <div class="slxx_title title-block">
...@@ -184,14 +182,14 @@ ...@@ -184,14 +182,14 @@
184 <el-row :gutter="10"> 182 <el-row :gutter="10">
185 <el-col> 183 <el-col>
186 <el-form-item label="登记原因:" prop="djyy"> 184 <el-form-item label="登记原因:" prop="djyy">
187 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype && !ableOperation" 185 <el-input class="textArea" type="textarea" :disabled="!ableOperation"
188 v-model="ruleForm.jsydsyq.djyy"> 186 v-model="ruleForm.jsydsyq.djyy">
189 </el-input> 187 </el-input>
190 </el-form-item> 188 </el-form-item>
191 </el-col> 189 </el-col>
192 </el-row> 190 </el-row>
193 </div> 191 </div>
194 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> 192 <el-row class="btn" v-if="!ableOperation">
195 <el-form-item> 193 <el-form-item>
196 <el-button type="primary" @click="onSubmit">保存</el-button> 194 <el-button type="primary" @click="onSubmit">保存</el-button>
197 </el-form-item> 195 </el-form-item>
......
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
121 <el-row :gutter="10"> 121 <el-row :gutter="10">
122 <el-col> 122 <el-col>
123 <el-form-item label="附记:" prop="fj"> 123 <el-form-item label="附记:" prop="fj">
124 <el-input type="textarea" v-model="ruleForm.jsydsyq.fj" :disabled="$route.query.viewtype=='1' && !ableOperation"></el-input> 124 <el-input type="textarea" v-model="ruleForm.jsydsyq.fj" :disabled="!ableOperation"></el-input>
125 </el-form-item> 125 </el-form-item>
126 </el-col> 126 </el-col>
127 </el-row> 127 </el-row>
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
143 <el-row :gutter="10"> 143 <el-row :gutter="10">
144 <el-col :span="14"> 144 <el-col :span="14">
145 <el-form-item label="共有方式:"> 145 <el-form-item label="共有方式:">
146 <el-radio-group :disabled="$route.query.viewtype=='1' && !ableOperation" v-model="ruleForm.sldy.gyfs"> 146 <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldy.gyfs">
147 <el-radio label="0">单独所有</el-radio> 147 <el-radio label="0">单独所有</el-radio>
148 <el-radio label="1">共同共有</el-radio> 148 <el-radio label="1">共同共有</el-radio>
149 <el-radio label="2">按份所有</el-radio> 149 <el-radio label="2">按份所有</el-radio>
...@@ -168,8 +168,7 @@ ...@@ -168,8 +168,7 @@
168 </el-form-item> 168 </el-form-item>
169 </el-col> 169 </el-col>
170 </el-row> 170 </el-row>
171 <qlrCommonTable :tableData="ruleForm.qlrList" :disabled="!ableOperation" @upDateQlrxxList='upDateQlrxxList' 171 <qlrCommonTable :tableData="ruleForm.qlrList" :disabled="!ableOperation" @upDateQlrxxList='upDateQlrxxList' :gyfs="ruleForm.sldy.gyfs" />
172 :viewtype="$route.query.viewtype=='1'" :gyfs="ruleForm.sldy.gyfs" />
173 <div class="slxx_title title-block"> 172 <div class="slxx_title title-block">
174 登记原因 173 登记原因
175 <div class="triangle"></div> 174 <div class="triangle"></div>
...@@ -177,14 +176,14 @@ ...@@ -177,14 +176,14 @@
177 <el-row :gutter="10"> 176 <el-row :gutter="10">
178 <el-col> 177 <el-col>
179 <el-form-item label="登记原因:" prop="djyy"> 178 <el-form-item label="登记原因:" prop="djyy">
180 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype=='1' && !ableOperation" 179 <el-input class="textArea" type="textarea" :disabled="!ableOperation"
181 v-model="ruleForm.jsydsyq.djyy"> 180 v-model="ruleForm.jsydsyq.djyy">
182 </el-input> 181 </el-input>
183 </el-form-item> 182 </el-form-item>
184 </el-col> 183 </el-col>
185 </el-row> 184 </el-row>
186 </div> 185 </div>
187 <el-row class="btn" v-if="!$route.query.viewtype=='1' && ableOperation"> 186 <el-row class="btn" v-if="!ableOperation">
188 <el-form-item> 187 <el-form-item>
189 <el-button type="primary" @click="onSubmit">保存</el-button> 188 <el-button type="primary" @click="onSubmit">保存</el-button>
190 </el-form-item> 189 </el-form-item>
......
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
165 <el-row :gutter="10"> 165 <el-row :gutter="10">
166 <el-col> 166 <el-col>
167 <el-form-item label="附记:" prop="fj"> 167 <el-form-item label="附记:" prop="fj">
168 <el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="$route.query.viewtype && !ableOperation"></el-input> 168 <el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="!ableOperation"></el-input>
169 </el-form-item> 169 </el-form-item>
170 </el-col> 170 </el-col>
171 </el-row> 171 </el-row>
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
176 <el-row :gutter="10"> 176 <el-row :gutter="10">
177 <el-col :span="14"> 177 <el-col :span="14">
178 <el-form-item label="共有方式:"> 178 <el-form-item label="共有方式:">
179 <el-radio-group v-model="ruleForm.sldy.gyfs" :disabled="$route.query.viewtype&& !ableOperation"> 179 <el-radio-group v-model="ruleForm.sldy.gyfs" :disabled="!ableOperation">
180 <el-radio label="0">单独所有</el-radio> 180 <el-radio label="0">单独所有</el-radio>
181 <el-radio label="1">共同共有</el-radio> 181 <el-radio label="1">共同共有</el-radio>
182 <el-radio label="2">按份所有</el-radio> 182 <el-radio label="2">按份所有</el-radio>
...@@ -201,14 +201,12 @@ ...@@ -201,14 +201,12 @@
201 </el-form-item> 201 </el-form-item>
202 </el-col> 202 </el-col>
203 </el-row> 203 </el-row>
204 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!ableOperation" 204 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!ableOperation" :gyfs="ruleForm.slywxx.gyfs" />
205 :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" />
206 <div class="slxx_title title-block"> 205 <div class="slxx_title title-block">
207 家庭成员 206 家庭成员
208 <div class="triangle"></div> 207 <div class="triangle"></div>
209 </div> 208 </div>
210 <JtcyTable :tableData="ruleForm.jtcyList" @upDateJtcyList="upDateJtcyList" :viewtype="$route.query.viewtype" 209 <JtcyTable :tableData="ruleForm.jtcyList" @upDateJtcyList="upDateJtcyList" :disabled="!ableOperation" :gyfs="ruleForm.slywxx.gyfs" />
211 :gyfs="ruleForm.slywxx.gyfs" />
212 <div class="slxx_title title-block"> 210 <div class="slxx_title title-block">
213 登记原因 211 登记原因
214 <div class="triangle"></div> 212 <div class="triangle"></div>
...@@ -216,14 +214,14 @@ ...@@ -216,14 +214,14 @@
216 <el-row :gutter="10"> 214 <el-row :gutter="10">
217 <el-col> 215 <el-col>
218 <el-form-item label="登记原因:" prop="djyy"> 216 <el-form-item label="登记原因:" prop="djyy">
219 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype && ableOperation" 217 <el-input class="textArea" type="textarea" :disabled="!ableOperation"
220 v-model="ruleForm.nydsyq.djyy"> 218 v-model="ruleForm.nydsyq.djyy">
221 </el-input> 219 </el-input>
222 </el-form-item> 220 </el-form-item>
223 </el-col> 221 </el-col>
224 </el-row> 222 </el-row>
225 </div> 223 </div>
226 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> 224 <el-row class="btn" v-if="ableOperation">
227 <el-form-item> 225 <el-form-item>
228 <el-button type="primary" @click="onSubmit">保存</el-button> 226 <el-button type="primary" @click="onSubmit">保存</el-button>
229 </el-form-item> 227 </el-form-item>
...@@ -327,4 +325,4 @@ ...@@ -327,4 +325,4 @@
327 <style scoped lang='scss'> 325 <style scoped lang='scss'>
328 @import "~@/styles/public.scss"; 326 @import "~@/styles/public.scss";
329 @import "~@/styles/slxx/slxx.scss"; 327 @import "~@/styles/slxx/slxx.scss";
330 </style>
...\ No newline at end of file ...\ No newline at end of file
328 </style>
......
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
165 <el-row :gutter="10"> 165 <el-row :gutter="10">
166 <el-col> 166 <el-col>
167 <el-form-item label="附记:" prop="fj"> 167 <el-form-item label="附记:" prop="fj">
168 <el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="$route.query.viewtype == 1 && !ableOperation"></el-input> 168 <el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="!ableOperation"></el-input>
169 </el-form-item> 169 </el-form-item>
170 </el-col> 170 </el-col>
171 </el-row> 171 </el-row>
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
176 <el-row :gutter="10"> 176 <el-row :gutter="10">
177 <el-col :span="14"> 177 <el-col :span="14">
178 <el-form-item label="共有方式:"> 178 <el-form-item label="共有方式:">
179 <el-radio-group :disabled="$route.query.viewtype == 1 && !ableOperation" v-model="ruleForm.sldy.gyfs"> 179 <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldy.gyfs">
180 <el-radio label="0">单独所有</el-radio> 180 <el-radio label="0">单独所有</el-radio>
181 <el-radio label="1">共同共有</el-radio> 181 <el-radio label="1">共同共有</el-radio>
182 <el-radio label="2">按份所有</el-radio> 182 <el-radio label="2">按份所有</el-radio>
...@@ -201,20 +201,17 @@ ...@@ -201,20 +201,17 @@
201 </el-form-item> 201 </el-form-item>
202 </el-col> 202 </el-col>
203 </el-row> 203 </el-row>
204 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!ableOperation" 204 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!ableOperation" :gyfs="ruleForm.sldy.gyfs" />
205 :viewtype="$route.query.viewtype" :gyfs="ruleForm.sldy.gyfs" />
206 <div class="slxx_title title-block"> 205 <div class="slxx_title title-block">
207 义务人信息 206 义务人信息
208 <div class="triangle"></div> 207 <div class="triangle"></div>
209 </div> 208 </div>
210 <qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" :disabled="!ableOperation" 209 <qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" :disabled="!ableOperation" />
211 :viewtype="$route.query.viewtype" />
212 <div class="slxx_title title-block"> 210 <div class="slxx_title title-block">
213 家庭成员 211 家庭成员
214 <div class="triangle"></div> 212 <div class="triangle"></div>
215 </div> 213 </div>
216 <JtcyTable :tableData="ruleForm.jtcyList" :disabled="!ableOperation" @upDateJtcyList="upDateJtcyList" :viewtype="$route.query.viewtype" 214 <JtcyTable :tableData="ruleForm.jtcyList" :disabled="!ableOperation" @upDateJtcyList="upDateJtcyList" :gyfs="ruleForm.slywxx.gyfs" />
217 :gyfs="ruleForm.slywxx.gyfs" />
218 <div class="slxx_title title-block"> 215 <div class="slxx_title title-block">
219 登记原因 216 登记原因
220 <div class="triangle"></div> 217 <div class="triangle"></div>
...@@ -222,14 +219,14 @@ ...@@ -222,14 +219,14 @@
222 <el-row :gutter="10"> 219 <el-row :gutter="10">
223 <el-col> 220 <el-col>
224 <el-form-item label="登记原因:" prop="djyy"> 221 <el-form-item label="登记原因:" prop="djyy">
225 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1 && !ableOperation" 222 <el-input class="textArea" type="textarea" :disabled="!ableOperation"
226 v-model="ruleForm.nydsyq.djyy"> 223 v-model="ruleForm.nydsyq.djyy">
227 </el-input> 224 </el-input>
228 </el-form-item> 225 </el-form-item>
229 </el-col> 226 </el-col>
230 </el-row> 227 </el-row>
231 </div> 228 </div>
232 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> 229 <el-row class="btn" v-if="!ableOperation">
233 <el-form-item> 230 <el-form-item>
234 <el-button type="primary" @click="onSubmit">保存</el-button> 231 <el-button type="primary" @click="onSubmit">保存</el-button>
235 </el-form-item> 232 </el-form-item>
...@@ -338,4 +335,4 @@ ...@@ -338,4 +335,4 @@
338 <style scoped lang='scss'> 335 <style scoped lang='scss'>
339 @import "~@/styles/public.scss"; 336 @import "~@/styles/public.scss";
340 @import "~@/styles/slxx/slxx.scss"; 337 @import "~@/styles/slxx/slxx.scss";
341 </style>
...\ No newline at end of file ...\ No newline at end of file
338 </style>
......
...@@ -6,8 +6,15 @@ ...@@ -6,8 +6,15 @@
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
10 :inline="flag" label-width="120px"> 10 :model="ruleForm"
11 :rules="rules"
12 class="loadingtext"
13 ref="ruleForm"
14 :label-position="flag ? 'top' : ''"
15 :inline="flag"
16 label-width="120px"
17 >
11 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 18 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
12 <div class="slxx_title title-block"> 19 <div class="slxx_title title-block">
13 受理信息 20 受理信息
...@@ -81,7 +88,10 @@ ...@@ -81,7 +88,10 @@
81 </el-col> 88 </el-col>
82 <el-col :span="8"> 89 <el-col :span="8">
83 <el-form-item label="面积单位:"> 90 <el-form-item label="面积单位:">
84 <el-input v-model="ruleForm.tdsyq.mjdw" :disabled="!ableOperation"></el-input> 91 <el-input
92 v-model="ruleForm.tdsyq.mjdw"
93 :disabled="!ableOperation"
94 ></el-input>
85 </el-form-item> 95 </el-form-item>
86 </el-col> 96 </el-col>
87 </el-row> 97 </el-row>
...@@ -89,10 +99,22 @@ ...@@ -89,10 +99,22 @@
89 <el-col :span="8"> 99 <el-col :span="8">
90 <el-form-item label="农用地面积:"> 100 <el-form-item label="农用地面积:">
91 <div class="flex"> 101 <div class="flex">
92 <el-input v-model="ruleForm.tdsyq.nydmj" :disabled="!ableOperation" 102 <el-input
93 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> 103 v-model="ruleForm.tdsyq.nydmj"
94 <el-select v-model="mjdw" :disabled="!ableOperation" style="width:20%"> 104 :disabled="!ableOperation"
95 <el-option v-for="item in dictData['A7']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 105 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"
106 ></el-input>
107 <el-select
108 v-model="mjdw"
109 :disabled="!ableOperation"
110 style="width: 20%"
111 >
112 <el-option
113 v-for="item in dictData['A7']"
114 :key="item.dcode"
115 :label="item.dname"
116 :value="item.dcode"
117 >
96 </el-option> 118 </el-option>
97 </el-select> 119 </el-select>
98 </div> 120 </div>
...@@ -101,10 +123,22 @@ ...@@ -101,10 +123,22 @@
101 <el-col :span="8"> 123 <el-col :span="8">
102 <el-form-item label="耕地面积:"> 124 <el-form-item label="耕地面积:">
103 <div class="flex"> 125 <div class="flex">
104 <el-input v-model="ruleForm.tdsyq.gdmj" :disabled="!ableOperation" 126 <el-input
105 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> 127 v-model="ruleForm.tdsyq.gdmj"
106 <el-select v-model="mjdw" :disabled="!ableOperation" style="width:20%"> 128 :disabled="!ableOperation"
107 <el-option v-for="item in dictData['A7']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 129 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"
130 ></el-input>
131 <el-select
132 v-model="mjdw"
133 :disabled="!ableOperation"
134 style="width: 20%"
135 >
136 <el-option
137 v-for="item in dictData['A7']"
138 :key="item.dcode"
139 :label="item.dname"
140 :value="item.dcode"
141 >
108 </el-option> 142 </el-option>
109 </el-select> 143 </el-select>
110 </div> 144 </div>
...@@ -113,10 +147,22 @@ ...@@ -113,10 +147,22 @@
113 <el-col :span="8"> 147 <el-col :span="8">
114 <el-form-item label="林地面积:"> 148 <el-form-item label="林地面积:">
115 <div class="flex"> 149 <div class="flex">
116 <el-input v-model="ruleForm.tdsyq.ldmj" :disabled="!ableOperation" 150 <el-input
117 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> 151 v-model="ruleForm.tdsyq.ldmj"
118 <el-select v-model="mjdw" :disabled="!ableOperation" style="width:20%"> 152 :disabled="!ableOperation"
119 <el-option v-for="item in dictData['A7']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 153 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"
154 ></el-input>
155 <el-select
156 v-model="mjdw"
157 :disabled="!ableOperation"
158 style="width: 20%"
159 >
160 <el-option
161 v-for="item in dictData['A7']"
162 :key="item.dcode"
163 :label="item.dname"
164 :value="item.dcode"
165 >
120 </el-option> 166 </el-option>
121 </el-select> 167 </el-select>
122 </div> 168 </div>
...@@ -127,10 +173,22 @@ ...@@ -127,10 +173,22 @@
127 <el-col :span="8"> 173 <el-col :span="8">
128 <el-form-item label="草地面积:"> 174 <el-form-item label="草地面积:">
129 <div class="flex"> 175 <div class="flex">
130 <el-input v-model="ruleForm.tdsyq.cdmj" :disabled="!ableOperation" 176 <el-input
131 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> 177 v-model="ruleForm.tdsyq.cdmj"
132 <el-select v-model="mjdw" :disabled="!ableOperation" style="width:20%"> 178 :disabled="!ableOperation"
133 <el-option v-for="item in dictData['A7']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 179 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"
180 ></el-input>
181 <el-select
182 v-model="mjdw"
183 :disabled="!ableOperation"
184 style="width: 20%"
185 >
186 <el-option
187 v-for="item in dictData['A7']"
188 :key="item.dcode"
189 :label="item.dname"
190 :value="item.dcode"
191 >
134 </el-option> 192 </el-option>
135 </el-select> 193 </el-select>
136 </div> 194 </div>
...@@ -139,10 +197,22 @@ ...@@ -139,10 +197,22 @@
139 <el-col :span="8"> 197 <el-col :span="8">
140 <el-form-item label="其他农用地面积:"> 198 <el-form-item label="其他农用地面积:">
141 <div class="flex"> 199 <div class="flex">
142 <el-input v-model="ruleForm.tdsyq.qtnydmj" :disabled="!ableOperation" 200 <el-input
143 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> 201 v-model="ruleForm.tdsyq.qtnydmj"
144 <el-select v-model="mjdw" :disabled="!ableOperation" style="width:20%"> 202 :disabled="!ableOperation"
145 <el-option v-for="item in dictData['A7']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 203 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"
204 ></el-input>
205 <el-select
206 v-model="mjdw"
207 :disabled="!ableOperation"
208 style="width: 20%"
209 >
210 <el-option
211 v-for="item in dictData['A7']"
212 :key="item.dcode"
213 :label="item.dname"
214 :value="item.dcode"
215 >
146 </el-option> 216 </el-option>
147 </el-select> 217 </el-select>
148 </div> 218 </div>
...@@ -151,10 +221,22 @@ ...@@ -151,10 +221,22 @@
151 <el-col :span="8"> 221 <el-col :span="8">
152 <el-form-item label="建筑使用面积:"> 222 <el-form-item label="建筑使用面积:">
153 <div class="flex"> 223 <div class="flex">
154 <el-input v-model="ruleForm.tdsyq.jsydmj" :disabled="!ableOperation" 224 <el-input
155 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> 225 v-model="ruleForm.tdsyq.jsydmj"
156 <el-select v-model="mjdw" :disabled="!ableOperation" style="width:20%"> 226 :disabled="!ableOperation"
157 <el-option v-for="item in dictData['A7']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 227 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"
228 ></el-input>
229 <el-select
230 v-model="mjdw"
231 :disabled="!ableOperation"
232 style="width: 20%"
233 >
234 <el-option
235 v-for="item in dictData['A7']"
236 :key="item.dcode"
237 :label="item.dname"
238 :value="item.dcode"
239 >
158 </el-option> 240 </el-option>
159 </el-select> 241 </el-select>
160 </div> 242 </div>
...@@ -165,10 +247,22 @@ ...@@ -165,10 +247,22 @@
165 <el-col :span="8"> 247 <el-col :span="8">
166 <el-form-item label="未利用地面积:"> 248 <el-form-item label="未利用地面积:">
167 <div class="flex"> 249 <div class="flex">
168 <el-input v-model="ruleForm.tdsyq.wlydmj" :disabled="!ableOperation" 250 <el-input
169 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"></el-input> 251 v-model="ruleForm.tdsyq.wlydmj"
170 <el-select v-model="mjdw" :disabled="!ableOperation" style="width:20%"> 252 :disabled="!ableOperation"
171 <el-option v-for="item in dictData['A7']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 253 oninput="value = (value.match(/^\d*(\.?\d{0,3})/g)[0]) || null"
254 ></el-input>
255 <el-select
256 v-model="mjdw"
257 :disabled="!ableOperation"
258 style="width: 20%"
259 >
260 <el-option
261 v-for="item in dictData['A7']"
262 :key="item.dcode"
263 :label="item.dname"
264 :value="item.dcode"
265 >
172 </el-option> 266 </el-option>
173 </el-select> 267 </el-select>
174 </div> 268 </div>
...@@ -181,8 +275,9 @@ ...@@ -181,8 +275,9 @@
181 </div> 275 </div>
182 <tdytTable 276 <tdytTable
183 :tableData="ruleForm.tdytqxList" 277 :tableData="ruleForm.tdytqxList"
184 :ableOperation="ableOperation" 278 :ableOperation="ableOperation"
185 @upDateTdytxxList="upDateTdytxxList" /> 279 @upDateTdytxxList="upDateTdytxxList"
280 />
186 <div class="slxx_title title-block"> 281 <div class="slxx_title title-block">
187 权利人信息 282 权利人信息
188 <div class="triangle"></div> 283 <div class="triangle"></div>
...@@ -190,7 +285,10 @@ ...@@ -190,7 +285,10 @@
190 <el-row :gutter="10"> 285 <el-row :gutter="10">
191 <el-col :span="12"> 286 <el-col :span="12">
192 <el-form-item label="共有方式:"> 287 <el-form-item label="共有方式:">
193 <el-radio-group :disabled="$route.query.viewtype == 0" v-model="ruleForm.sldy.gyfs"> 288 <el-radio-group
289 :disabled="!ableOperation"
290 v-model="ruleForm.sldy.gyfs"
291 >
194 <el-radio label="0">单独所有</el-radio> 292 <el-radio label="0">单独所有</el-radio>
195 <el-radio label="1">共同共有</el-radio> 293 <el-radio label="1">共同共有</el-radio>
196 <el-radio label="2">按份所有</el-radio> 294 <el-radio label="2">按份所有</el-radio>
...@@ -200,31 +298,56 @@ ...@@ -200,31 +298,56 @@
200 </el-col> 298 </el-col>
201 <el-col :span="6" v-show="ruleForm.sldy.gyfs == '1'"> 299 <el-col :span="6" v-show="ruleForm.sldy.gyfs == '1'">
202 <el-form-item label="是否分别持证:"> 300 <el-form-item label="是否分别持证:">
203 <el-radio-group v-model="ruleForm.sldy.sqfbcz" :disabled="!ableOperation"> 301 <el-radio-group
204 <el-radio :label=1></el-radio> 302 v-model="ruleForm.sldy.sqfbcz"
205 <el-radio :label=0></el-radio> 303 :disabled="!ableOperation"
304 >
305 <el-radio :label="1"></el-radio>
306 <el-radio :label="0"></el-radio>
206 </el-radio-group> 307 </el-radio-group>
207 </el-form-item> 308 </el-form-item>
208 </el-col> 309 </el-col>
209 <el-col :span="6" v-show="ruleForm.sldy.sqfbcz == '0'&&ruleForm.sldy.gyfs == '1'"> 310 <el-col
311 :span="6"
312 v-show="ruleForm.sldy.sqfbcz == '0' && ruleForm.sldy.gyfs == '1'"
313 >
210 <el-form-item label="持证人:"> 314 <el-form-item label="持证人:">
211 <el-select v-model="ruleForm.czr" placeholder="持证人" :disabled="!ableOperation"> 315 <el-select
212 <el-option v-for="item in czrOptions" :key="item.zjh" :label="item.sqrmc" :value="item.zjh"> 316 v-model="ruleForm.czr"
317 placeholder="持证人"
318 :disabled="!ableOperation"
319 >
320 <el-option
321 v-for="item in czrOptions"
322 :key="item.zjh"
323 :label="item.sqrmc"
324 :value="item.zjh"
325 >
213 </el-option> 326 </el-option>
214 </el-select> 327 </el-select>
215 </el-form-item> 328 </el-form-item>
216 </el-col> 329 </el-col>
217 </el-row> 330 </el-row>
218 <qlrCommonTable :tableData="ruleForm.qlrList" :disabled="!ableOperation" @upDateQlrxxList="upDateQlrxxList" :key="key" 331 <qlrCommonTable
219 :viewtype="$route.query.viewtype" :gyfs="ruleForm.sldy.gyfs" /> 332 :tableData="ruleForm.qlrList"
333 :disabled="!ableOperation"
334 @upDateQlrxxList="upDateQlrxxList"
335 :key="key"
336 :gyfs="ruleForm.sldy.gyfs"
337 />
220 338
221 <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> 339 <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0">
222 <div class="slxx_title title-block"> 340 <div class="slxx_title title-block">
223 义务人信息 341 义务人信息
224 <div class="triangle"></div> 342 <div class="triangle"></div>
225 </div> 343 </div>
226 <qlrCommonTable v-if="ruleForm.ywrList" :disabled="!ableOperation" :tableData="ruleForm.ywrList" :key="key" @upDateQlrxxList="upDateYwrxxList" 344 <qlrCommonTable
227 :viewtype="$route.query.viewtype" /> 345 v-if="ruleForm.ywrList"
346 :disabled="!ableOperation"
347 :tableData="ruleForm.ywrList"
348 :key="key"
349 @upDateQlrxxList="upDateYwrxxList"
350 />
228 </div> 351 </div>
229 352
230 <div class="slxx_title title-block"> 353 <div class="slxx_title title-block">
...@@ -234,14 +357,18 @@ ...@@ -234,14 +357,18 @@
234 <el-row :gutter="10"> 357 <el-row :gutter="10">
235 <el-col> 358 <el-col>
236 <el-form-item label="登记原因:" prop="djyy"> 359 <el-form-item label="登记原因:" prop="djyy">
237 <el-input class="textArea" type="textarea" :disabled="!ableOperation" 360 <el-input
238 v-model="ruleForm.tdsyq.djyy"> 361 class="textArea"
362 type="textarea"
363 :disabled="!ableOperation"
364 v-model="ruleForm.tdsyq.djyy"
365 >
239 </el-input> 366 </el-input>
240 </el-form-item> 367 </el-form-item>
241 </el-col> 368 </el-col>
242 </el-row> 369 </el-row>
243 </div> 370 </div>
244 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> 371 <el-row class="btn" v-if="!ableOperation">
245 <el-form-item> 372 <el-form-item>
246 <el-button type="primary" @click="onSubmit">保存</el-button> 373 <el-button type="primary" @click="onSubmit">保存</el-button>
247 </el-form-item> 374 </el-form-item>
...@@ -250,134 +377,135 @@ ...@@ -250,134 +377,135 @@
250 </div> 377 </div>
251 </template> 378 </template>
252 <script> 379 <script>
253 import { mapGetters } from "vuex" 380 import { mapGetters } from "vuex";
254 import { Init, saveData } from "@/api/workflow/tdsyqFlow.js" 381 import { Init, saveData } from "@/api/workflow/tdsyqFlow.js";
255 import tdytTable from "@/views/workflow/components/tdytTable"; 382 import tdytTable from "@/views/workflow/components/tdytTable";
256 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable" 383 import qlrCommonTable from "@/views/workflow/components/qlrCommonTable";
257 export default { 384 export default {
258 components: { qlrCommonTable, tdytTable }, 385 components: { qlrCommonTable, tdytTable },
259 mounted () { 386 mounted() {
260 this.ableOperation = this.$parent.currentSelectTab.ableOperation 387 this.ableOperation = this.$parent.currentSelectTab.ableOperation;
261 this.propsParam = this.$attrs; 388 this.propsParam = this.$attrs;
262 var formdata = new FormData(); 389 var formdata = new FormData();
263 let that = this 390 let that = this;
264 this.$startLoading(); 391 this.$startLoading();
265 formdata.append("bsmSldy", this.propsParam.bsmSldy); 392 formdata.append("bsmSldy", this.propsParam.bsmSldy);
266 formdata.append("djlx", this.propsParam.djlx); 393 formdata.append("djlx", this.propsParam.djlx);
267 formdata.append("isEdit", this.ableOperation); 394 formdata.append("isEdit", this.ableOperation);
268 Init(formdata).then((res) => { 395 Init(formdata).then((res) => {
269 this.$nextTick(() => { 396 this.$nextTick(() => {
270 that.ruleForm = res.result; 397 that.ruleForm = res.result;
271 that.$endLoading(); 398 that.$endLoading();
272 that.isShow = true; 399 that.isShow = true;
273 this.czrOptions = this.ruleForm.qlrList;
274 })
275 })
276 },
277
278 computed: {
279 ...mapGetters(["dictData", "flag"])
280 },
281 data () {
282 return {
283 mjdw: '1',
284 value2: {
285 id: "520000198407304275",
286 user: "史平"
287 },
288 props: {
289 label: 'user',
290 value: 'id',
291 keyword: "keyword"
292 },
293
294 //表单是否可操作
295 ableOperation: true,
296 key: 0,
297 isShow: false,
298 disabled: true,
299 czrOptions: [],
300 ruleForm: {},
301 //传递参数
302 propsParam: {},
303 rules: {}
304 }
305 },
306 methods: {
307 // 更新土地用途信息
308 upDateTdytxxList (val) {
309 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
310 this.key++;
311 },
312 // 更新权利人信息
313 upDateQlrxxList (val) {
314 this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val))
315 this.czrOptions = this.ruleForm.qlrList; 400 this.czrOptions = this.ruleForm.qlrList;
316 this.key++ 401 });
402 });
403 },
404
405 computed: {
406 ...mapGetters(["dictData", "flag"]),
407 },
408 data() {
409 return {
410 mjdw: "1",
411 value2: {
412 id: "520000198407304275",
413 user: "史平",
317 }, 414 },
318 // 更新义务人信息 415 props: {
319 upDateYwrxxList (val) { 416 label: "user",
320 this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val)) 417 value: "id",
321 this.key++ 418 keyword: "keyword",
322 }, 419 },
323 onSubmit () { 420
324 if (this.ruleForm.qlrList.length == 0) { 421 //表单是否可操作
422 ableOperation: true,
423 key: 0,
424 isShow: false,
425 disabled: true,
426 czrOptions: [],
427 ruleForm: {},
428 //传递参数
429 propsParam: {},
430 rules: {},
431 };
432 },
433 methods: {
434 // 更新土地用途信息
435 upDateTdytxxList(val) {
436 this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val));
437 this.key++;
438 },
439 // 更新权利人信息
440 upDateQlrxxList(val) {
441 this.ruleForm.qlrList && (this.ruleForm.qlrList = _.cloneDeep(val));
442 this.czrOptions = this.ruleForm.qlrList;
443 this.key++;
444 },
445 // 更新义务人信息
446 upDateYwrxxList(val) {
447 this.ruleForm.ywrList && (this.ruleForm.ywrList = _.cloneDeep(val));
448 this.key++;
449 },
450 onSubmit() {
451 if (this.ruleForm.qlrList.length == 0) {
452 this.$message({
453 showClose: true,
454 message: "请确认权利人信息",
455 type: "error",
456 });
457 return false;
458 }
459
460 if (this.ruleForm.sldy.gyfs == "0") {
461 if (this.ruleForm.qlrList.length > 1) {
325 this.$message({ 462 this.$message({
326 showClose: true, 463 showClose: true,
327 message: "请确认权利人信息", 464 message: "共有方式:单独所有,权利人只能是一个人",
328 type: "error", 465 type: "error",
329 }); 466 });
330 return false; 467 return false;
331 } 468 }
332 469 this.ruleForm.qlrList[0].sfczr = "1";
333 if (this.ruleForm.sldy.gyfs == "0") { 470 }
334 if (this.ruleForm.qlrList.length > 1) { 471 if (this.ruleForm.sldy.gyfs == "1") {
335 this.$message({ 472 //是否分别持证
336 showClose: true, 473 if (this.ruleForm.sldy.sqfbcz == "1") {
337 message: "共有方式:单独所有,权利人只能是一个人", 474 //是
338 type: "error", 475 this.ruleForm.qlrList.forEach((item, index) => {
339 }); 476 item.sfczr = "1";
340 return false; 477 });
341 } 478 } else {
342 this.ruleForm.qlrList[0].sfczr = "1"; 479 this.ruleForm.qlrList.forEach((item, index) => {
343 } 480 if (item.zjh == this.ruleForm.czr) {
344 if (this.ruleForm.sldy.gyfs == "1") { 481 item.sfczr = "1";
345 //是否分别持证 482 } else {
346 if (this.ruleForm.sldy.sqfbcz == '1') { //是 483 item.sfczr = "0";
347 this.ruleForm.qlrList.forEach((item, index) => { 484 }
348 item.sfczr = "1" 485 });
349 });
350 } else {
351 this.ruleForm.qlrList.forEach((item, index) => {
352 if (item.zjh == this.ruleForm.czr) {
353 item.sfczr = "1"
354 } else {
355 item.sfczr = "0"
356 }
357 })
358 }
359 } 486 }
360 saveData(this.ruleForm).then((res) => {
361 if (res.code === 200) {
362 this.$message({
363 showClose: true,
364 message: "保存成功!",
365 type: "success"
366 })
367 this.$store.dispatch('user/refreshPage', true);
368 } else {
369 this.$message({
370 showClose: true,
371 message: res.message,
372 type: "error"
373 })
374 }
375 })
376 } 487 }
377 } 488 saveData(this.ruleForm).then((res) => {
378 } 489 if (res.code === 200) {
490 this.$message({
491 showClose: true,
492 message: "保存成功!",
493 type: "success",
494 });
495 this.$store.dispatch("user/refreshPage", true);
496 } else {
497 this.$message({
498 showClose: true,
499 message: res.message,
500 type: "error",
501 });
502 }
503 });
504 },
505 },
506 };
379 </script> 507 </script>
380 <style scoped lang='scss'> 508 <style scoped lang="scss">
381 @import "~@/styles/public.scss"; 509 @import "~@/styles/public.scss";
382 @import "~@/styles/slxx/slxx.scss"; 510 @import "~@/styles/slxx/slxx.scss";
383 </style> 511 </style>
......
...@@ -111,7 +111,7 @@ ...@@ -111,7 +111,7 @@
111 <el-row :gutter="10"> 111 <el-row :gutter="10">
112 <el-col :span="14" v-if="ruleForm.qlxx"> 112 <el-col :span="14" v-if="ruleForm.qlxx">
113 <el-form-item label="共有方式:"> 113 <el-form-item label="共有方式:">
114 <el-radio-group :disabled="$route.query.viewtype == 1" v-model="ruleForm.sldy.gyfs"> 114 <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldy.gyfs">
115 <el-radio label="0">单独所有</el-radio> 115 <el-radio label="0">单独所有</el-radio>
116 <el-radio label="1">共同共有</el-radio> 116 <el-radio label="1">共同共有</el-radio>
117 <el-radio label="2">按份所有</el-radio> 117 <el-radio label="2">按份所有</el-radio>
...@@ -120,13 +120,13 @@ ...@@ -120,13 +120,13 @@
120 </el-form-item> 120 </el-form-item>
121 </el-col> 121 </el-col>
122 </el-row> 122 </el-row>
123 <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" 123 <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :disabled="!ableOperation" :tableData="ruleForm.qlrList"
124 :gyfs="ruleForm.qlxx.gyfs" /> 124 :gyfs="ruleForm.qlxx.gyfs" />
125 <div class="slxx_title title-block"> 125 <div class="slxx_title title-block">
126 义务人信息 126 义务人信息
127 <div class="triangle"></div> 127 <div class="triangle"></div>
128 </div> 128 </div>
129 <qlrCommonTable @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList" 129 <qlrCommonTable @upDateQlrxxList="upDateYwrxxList" :disabled="!ableOperation" :tableData="ruleForm.ywrList"
130 :gyfs="ruleForm.qlxx.gyfs" /> 130 :gyfs="ruleForm.qlxx.gyfs" />
131 <div class="slxx_title title-block"> 131 <div class="slxx_title title-block">
132 登记原因 132 登记原因
...@@ -135,14 +135,14 @@ ...@@ -135,14 +135,14 @@
135 <el-row :gutter="10"> 135 <el-row :gutter="10">
136 <el-col> 136 <el-col>
137 <el-form-item label="登记原因:" prop="djyy"> 137 <el-form-item label="登记原因:" prop="djyy">
138 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1" 138 <el-input class="textArea" type="textarea" :disabled="!ableOperation"
139 v-model="ruleForm.ygdj.djyy"> 139 v-model="ruleForm.ygdj.djyy">
140 </el-input> 140 </el-input>
141 </el-form-item> 141 </el-form-item>
142 </el-col> 142 </el-col>
143 </el-row> 143 </el-row>
144 </div> 144 </div>
145 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> 145 <el-row class="btn" v-if="!ableOperation">
146 <el-form-item> 146 <el-form-item>
147 <el-button type="primary" @click="onSubmit">保存</el-button> 147 <el-button type="primary" @click="onSubmit">保存</el-button>
148 </el-form-item> 148 </el-form-item>
......
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
114 <el-row :gutter="10"> 114 <el-row :gutter="10">
115 <el-col :span="14" v-if="ruleForm.qlxx"> 115 <el-col :span="14" v-if="ruleForm.qlxx">
116 <el-form-item label="共有方式:"> 116 <el-form-item label="共有方式:">
117 <el-radio-group :disabled="$route.query.viewtype == 1 && !ableOperation" v-model="ruleForm.sldy.gyfs"> 117 <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldy.gyfs">
118 <el-radio label="0">单独所有</el-radio> 118 <el-radio label="0">单独所有</el-radio>
119 <el-radio label="1">共同共有</el-radio> 119 <el-radio label="1">共同共有</el-radio>
120 <el-radio label="2">按份所有</el-radio> 120 <el-radio label="2">按份所有</el-radio>
...@@ -138,14 +138,14 @@ ...@@ -138,14 +138,14 @@
138 <el-row :gutter="10"> 138 <el-row :gutter="10">
139 <el-col> 139 <el-col>
140 <el-form-item label="登记原因:" prop="djyy"> 140 <el-form-item label="登记原因:" prop="djyy">
141 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1 && !ableOperation" 141 <el-input class="textArea" type="textarea" :disabled="!ableOperation"
142 v-model="ruleForm.ygdj.djyy"> 142 v-model="ruleForm.ygdj.djyy">
143 </el-input> 143 </el-input>
144 </el-form-item> 144 </el-form-item>
145 </el-col> 145 </el-col>
146 </el-row> 146 </el-row>
147 </div> 147 </div>
148 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> 148 <el-row class="btn" v-if="!ableOperation">
149 <el-form-item> 149 <el-form-item>
150 <el-button type="primary" @click="onSubmit">保存</el-button> 150 <el-button type="primary" @click="onSubmit">保存</el-button>
151 </el-form-item> 151 </el-form-item>
......
...@@ -136,13 +136,13 @@ ...@@ -136,13 +136,13 @@
136 <el-col :span="16"> 136 <el-col :span="16">
137 <el-form-item label="是否存在禁止或限制转让抵押不动产的约定:"> 137 <el-form-item label="是否存在禁止或限制转让抵押不动产的约定:">
138 <el-input v-model="ruleForm.ygdj.sfczjzhxz" 138 <el-input v-model="ruleForm.ygdj.sfczjzhxz"
139 :disabled="($route.query.viewtype == 1 || ruleForm.sldy.djlx == '300') && !ableOperation"></el-input> 139 :disabled="ruleForm.sldy.djlx == '300' && !ableOperation"></el-input>
140 </el-form-item> 140 </el-form-item>
141 </el-col> 141 </el-col>
142 <el-col :span="8"> 142 <el-col :span="8">
143 <el-form-item label="担保范围:"> 143 <el-form-item label="担保范围:">
144 <el-input v-model="ruleForm.ygdj.dbfw" 144 <el-input v-model="ruleForm.ygdj.dbfw"
145 :disabled="($route.query.viewtype == 1 || ruleForm.sldy.djlx == '300') && !ableOperation"></el-input> 145 :disabled="ruleForm.sldy.djlx == '300' && !ableOperation"></el-input>
146 </el-form-item> 146 </el-form-item>
147 </el-col> 147 </el-col>
148 148
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
150 <el-row> 150 <el-row>
151 <el-col :span="24"> 151 <el-col :span="24">
152 <el-form-item label="附记:" prop="fj"> 152 <el-form-item label="附记:" prop="fj">
153 <el-input type="textarea" v-model="ruleForm.ygdj.fj" :disabled="$route.query.viewtype == 1 && !ableOperation"></el-input> 153 <el-input type="textarea" v-model="ruleForm.ygdj.fj" :disabled="!ableOperation"></el-input>
154 </el-form-item> 154 </el-form-item>
155 </el-col> 155 </el-col>
156 </el-row> 156 </el-row>
...@@ -161,7 +161,7 @@ ...@@ -161,7 +161,7 @@
161 <el-row :gutter="10"> 161 <el-row :gutter="10">
162 <el-col :span="14"> 162 <el-col :span="14">
163 <el-form-item label="共有方式:"> 163 <el-form-item label="共有方式:">
164 <el-radio-group :disabled="$route.query.viewtype == 1 && !ableOperation" v-model="ruleForm.sldy.gyfs"> 164 <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldy.gyfs">
165 <el-radio label="0">单独所有</el-radio> 165 <el-radio label="0">单独所有</el-radio>
166 <el-radio label="1">共同共有</el-radio> 166 <el-radio label="1">共同共有</el-radio>
167 <el-radio label="2">按份所有</el-radio> 167 <el-radio label="2">按份所有</el-radio>
...@@ -185,14 +185,14 @@ ...@@ -185,14 +185,14 @@
185 <el-row :gutter="10"> 185 <el-row :gutter="10">
186 <el-col> 186 <el-col>
187 <el-form-item label="登记原因:" prop="djyy"> 187 <el-form-item label="登记原因:" prop="djyy">
188 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1 && !ableOperation" 188 <el-input class="textArea" type="textarea" :disabled="!ableOperation"
189 v-model="ruleForm.ygdj.djyy"> 189 v-model="ruleForm.ygdj.djyy">
190 </el-input> 190 </el-input>
191 </el-form-item> 191 </el-form-item>
192 </el-col> 192 </el-col>
193 </el-row> 193 </el-row>
194 </div> 194 </div>
195 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> 195 <el-row class="btn" v-if="!ableOperation">
196 <el-form-item> 196 <el-form-item>
197 <el-button type="primary" @click="onSubmit">保存</el-button> 197 <el-button type="primary" @click="onSubmit">保存</el-button>
198 </el-form-item> 198 </el-form-item>
......
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
83 <el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 1"> 83 <el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 1">
84 <el-form-item label="被担保主债权数额:"> 84 <el-form-item label="被担保主债权数额:">
85 <el-input v-model="ruleForm.diyaqList[0].bdbzzqse" :disabled="!ableOperation"></el-input> 85 <el-input v-model="ruleForm.diyaqList[0].bdbzzqse" :disabled="!ableOperation"></el-input>
86 <el-select v-model="ruleForm.diyaqList[0].jedw" :disabled="$route.query.viewtype == '1' && !ableOperation"> 86 <el-select v-model="ruleForm.diyaqList[0].jedw" :disabled="!ableOperation">
87 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 87 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode">
88 </el-option> 88 </el-option>
89 </el-select> 89 </el-select>
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
93 <el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 2"> 93 <el-col :span="8" v-show="ruleForm.diyaqList[0].dyfs == 2">
94 <el-form-item label="最高债权额:"> 94 <el-form-item label="最高债权额:">
95 <el-input v-model="ruleForm.diyaqList[0].zgzqse" :disabled="!ableOperation"></el-input> 95 <el-input v-model="ruleForm.diyaqList[0].zgzqse" :disabled="!ableOperation"></el-input>
96 <el-select v-model="ruleForm.diyaqList[0].jedw" :disabled="$route.query.viewtype == '1' && !ableOperation"> 96 <el-select v-model="ruleForm.diyaqList[0].jedw" :disabled="!ableOperation">
97 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 97 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode">
98 </el-option> 98 </el-option>
99 </el-select> 99 </el-select>
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
118 <el-col :span="24"> 118 <el-col :span="24">
119 <el-form-item label="担保范围:"> 119 <el-form-item label="担保范围:">
120 <el-input v-model="ruleForm.diyaqList[0].dbfw" 120 <el-input v-model="ruleForm.diyaqList[0].dbfw"
121 :disabled="($route.query.viewtype == 1 || ruleForm.sldyList[0].djlx == '300') && !ableOperation"></el-input> 121 :disabled="ruleForm.sldyList[0].djlx == '300' && !ableOperation"></el-input>
122 </el-form-item> 122 </el-form-item>
123 </el-col> 123 </el-col>
124 </el-row> 124 </el-row>
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
132 <el-row> 132 <el-row>
133 <el-col> 133 <el-col>
134 <el-form-item label="附记:" prop="fj"> 134 <el-form-item label="附记:" prop="fj">
135 <el-input type="textarea" v-model="ruleForm.diyaqList[0].fj" :disabled="$route.query.viewtype == 1 && !ableOperation"></el-input> 135 <el-input type="textarea" v-model="ruleForm.diyaqList[0].fj" :disabled="!ableOperation"></el-input>
136 </el-form-item> 136 </el-form-item>
137 </el-col> 137 </el-col>
138 </el-row> 138 </el-row>
...@@ -144,7 +144,7 @@ ...@@ -144,7 +144,7 @@
144 <el-row :gutter="10"> 144 <el-row :gutter="10">
145 <el-col :span="14"> 145 <el-col :span="14">
146 <el-form-item label="共有方式:"> 146 <el-form-item label="共有方式:">
147 <el-radio-group :disabled="$route.query.viewtype == 1 && !ableOperation" v-model="ruleForm.sldyList[0].gyfs"> 147 <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldyList[0].gyfs">
148 <el-radio label="0">单独所有</el-radio> 148 <el-radio label="0">单独所有</el-radio>
149 <el-radio label="1">共同共有</el-radio> 149 <el-radio label="1">共同共有</el-radio>
150 <el-radio label="2">按份所有</el-radio> 150 <el-radio label="2">按份所有</el-radio>
...@@ -169,14 +169,12 @@ ...@@ -169,14 +169,12 @@
169 </el-form-item> 169 </el-form-item>
170 </el-col> 170 </el-col>
171 </el-row> 171 </el-row>
172 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!ableOperation" 172 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!ableOperation" :gyfs="ruleForm.sldyList[0].gyfs" />
173 :viewtype="$route.query.viewtype" :gyfs="ruleForm.sldyList[0].gyfs" />
174 <div class="slxx_title title-block"> 173 <div class="slxx_title title-block">
175 抵押人信息 174 抵押人信息
176 <div class="triangle"></div> 175 <div class="triangle"></div>
177 </div> 176 </div>
178 <qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" :disabled="!ableOperation" 177 <qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" :disabled="!ableOperation"/>
179 :viewtype="$route.query.viewtype" />
180 178
181 <div class="slxx_title title-block"> 179 <div class="slxx_title title-block">
182 登记原因 180 登记原因
...@@ -185,12 +183,12 @@ ...@@ -185,12 +183,12 @@
185 <el-row :gutter="10"> 183 <el-row :gutter="10">
186 <el-col> 184 <el-col>
187 <el-form-item v-if="ruleForm.sldyList[0].djlx == '400'" label="注销抵押原因:" prop="djyy"> 185 <el-form-item v-if="ruleForm.sldyList[0].djlx == '400'" label="注销抵押原因:" prop="djyy">
188 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1 && !ableOperation" 186 <el-input class="textArea" type="textarea" :disabled="!ableOperation"
189 v-model="ruleForm.diyaqList[0].zxdyyy"> 187 v-model="ruleForm.diyaqList[0].zxdyyy">
190 </el-input> 188 </el-input>
191 </el-form-item> 189 </el-form-item>
192 <el-form-item v-else label="登记原因:" prop="djyy"> 190 <el-form-item v-else label="登记原因:" prop="djyy">
193 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1 && !ableOperation" 191 <el-input class="textArea" type="textarea" :disabled="!ableOperation"
194 v-model="ruleForm.diyaqList[0].djyy"> 192 v-model="ruleForm.diyaqList[0].djyy">
195 </el-input> 193 </el-input>
196 </el-form-item> 194 </el-form-item>
...@@ -198,7 +196,7 @@ ...@@ -198,7 +196,7 @@
198 </el-row> 196 </el-row>
199 197
200 </div> 198 </div>
201 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> 199 <el-row class="btn" v-if="!ableOperation">
202 <el-form-item> 200 <el-form-item>
203 <el-button type="primary" @click="onSubmitClick()">保存</el-button> 201 <el-button type="primary" @click="onSubmitClick()">保存</el-button>
204 </el-form-item> 202 </el-form-item>
......
...@@ -127,7 +127,7 @@ ...@@ -127,7 +127,7 @@
127 <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1"> 127 <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1">
128 <el-form-item label="被担保主债权数额:"> 128 <el-form-item label="被担保主债权数额:">
129 <el-input v-model="ruleForm.diyaq.bdbzzqse" :disabled="!ableOperation"></el-input> 129 <el-input v-model="ruleForm.diyaq.bdbzzqse" :disabled="!ableOperation"></el-input>
130 <el-select v-model="ruleForm.diyaq.jedw" :disabled="$route.query.viewtype == '1' && !ableOperation"> 130 <el-select v-model="ruleForm.diyaq.jedw" :disabled="!ableOperation">
131 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 131 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode">
132 </el-option> 132 </el-option>
133 </el-select> 133 </el-select>
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
137 <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2"> 137 <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2">
138 <el-form-item label="最高债权额:"> 138 <el-form-item label="最高债权额:">
139 <el-input v-model="ruleForm.diyaq.zgzqse" :disabled="!ableOperation"></el-input> 139 <el-input v-model="ruleForm.diyaq.zgzqse" :disabled="!ableOperation"></el-input>
140 <el-select v-model="ruleForm.diyaq.jedw" :disabled="$route.query.viewtype == '1' && !ableOperation"> 140 <el-select v-model="ruleForm.diyaq.jedw" :disabled="!ableOperation">
141 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 141 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode">
142 </el-option> 142 </el-option>
143 </el-select> 143 </el-select>
...@@ -162,7 +162,7 @@ ...@@ -162,7 +162,7 @@
162 <el-col :span="24"> 162 <el-col :span="24">
163 <el-form-item label="担保范围:"> 163 <el-form-item label="担保范围:">
164 <el-input v-model="ruleForm.diyaq.dbfw" 164 <el-input v-model="ruleForm.diyaq.dbfw"
165 :disabled="($route.query.viewtype == 1 || ruleForm.sldy.djlx == '300') && !ableOperation"></el-input> 165 :disabled="ruleForm.sldy.djlx == '300' && !ableOperation"></el-input>
166 </el-form-item> 166 </el-form-item>
167 </el-col> 167 </el-col>
168 </el-row> 168 </el-row>
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
176 <el-row> 176 <el-row>
177 <el-col> 177 <el-col>
178 <el-form-item label="附记:" prop="fj"> 178 <el-form-item label="附记:" prop="fj">
179 <el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="$route.query.viewtype == 1 && !ableOperation"></el-input> 179 <el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="!ableOperation"></el-input>
180 </el-form-item> 180 </el-form-item>
181 </el-col> 181 </el-col>
182 </el-row> 182 </el-row>
...@@ -188,7 +188,7 @@ ...@@ -188,7 +188,7 @@
188 <el-row :gutter="10"> 188 <el-row :gutter="10">
189 <el-col :span="14"> 189 <el-col :span="14">
190 <el-form-item label="共有方式:"> 190 <el-form-item label="共有方式:">
191 <el-radio-group :disabled="$route.query.viewtype == 1 && !ableOperation" v-model="ruleForm.sldy.gyfs"> 191 <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldy.gyfs">
192 <el-radio label="0">单独所有</el-radio> 192 <el-radio label="0">单独所有</el-radio>
193 <el-radio label="1">共同共有</el-radio> 193 <el-radio label="1">共同共有</el-radio>
194 <el-radio label="2">按份所有</el-radio> 194 <el-radio label="2">按份所有</el-radio>
...@@ -213,14 +213,12 @@ ...@@ -213,14 +213,12 @@
213 </el-form-item> 213 </el-form-item>
214 </el-col> 214 </el-col>
215 </el-row> 215 </el-row>
216 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!ableOperation" 216 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!ableOperation" :gyfs="ruleForm.sldy.gyfs" />
217 :viewtype="$route.query.viewtype" :gyfs="ruleForm.sldy.gyfs" />
218 <div class="slxx_title title-block"> 217 <div class="slxx_title title-block">
219 抵押人信息 218 抵押人信息
220 <div class="triangle"></div> 219 <div class="triangle"></div>
221 </div> 220 </div>
222 <qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" :disabled="!ableOperation" 221 <qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" :disabled="!ableOperation"/>
223 :viewtype="$route.query.viewtype" />
224 222
225 <div class="slxx_title title-block"> 223 <div class="slxx_title title-block">
226 登记原因 224 登记原因
...@@ -229,12 +227,12 @@ ...@@ -229,12 +227,12 @@
229 <el-row :gutter="10"> 227 <el-row :gutter="10">
230 <el-col> 228 <el-col>
231 <el-form-item v-if="ruleForm.sldy.djlx == '400'" label="注销抵押原因:" prop="djyy"> 229 <el-form-item v-if="ruleForm.sldy.djlx == '400'" label="注销抵押原因:" prop="djyy">
232 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1 && !ableOperation" 230 <el-input class="textArea" type="textarea" :disabled="!ableOperation"
233 v-model="ruleForm.diyaq.zxdyyy"> 231 v-model="ruleForm.diyaq.zxdyyy">
234 </el-input> 232 </el-input>
235 </el-form-item> 233 </el-form-item>
236 <el-form-item v-else label="登记原因:" prop="djyy"> 234 <el-form-item v-else label="登记原因:" prop="djyy">
237 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1 && !ableOperation " 235 <el-input class="textArea" type="textarea" :disabled="!ableOperation "
238 v-model="ruleForm.diyaq.djyy"> 236 v-model="ruleForm.diyaq.djyy">
239 </el-input> 237 </el-input>
240 </el-form-item> 238 </el-form-item>
...@@ -242,7 +240,7 @@ ...@@ -242,7 +240,7 @@
242 </el-row> 240 </el-row>
243 241
244 </div> 242 </div>
245 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> 243 <el-row class="btn" v-if="!ableOperation">
246 <el-form-item> 244 <el-form-item>
247 <el-button type="primary" @click="onSubmitClick()">保存</el-button> 245 <el-button type="primary" @click="onSubmitClick()">保存</el-button>
248 </el-form-item> 246 </el-form-item>
......
...@@ -211,9 +211,7 @@ ...@@ -211,9 +211,7 @@
211 "/workFrameView?bsmSlsq=" + 211 "/workFrameView?bsmSlsq=" +
212 item.bsmSlsq + 212 item.bsmSlsq +
213 "&bestepid=" + 213 "&bestepid=" +
214 item.bestepid + 214 item.bestepid
215 "&bsmBusiness=" +
216 "&viewtype=1"
217 ); 215 );
218 window.open(href, `workFrameView${item.bsmSlsq}`); 216 window.open(href, `workFrameView${item.bsmSlsq}`);
219 } 217 }
......