1Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web into dev
Showing
47 changed files
with
388 additions
and
381 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, | ... | ... |
... | @@ -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")) { | ... | ... |
... | @@ -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")) { |
... | @@ -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")) { | ... | ... |
... | @@ -5,7 +5,11 @@ | ... | @@ -5,7 +5,11 @@ |
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', | ... | ... |
... | @@ -5,7 +5,11 @@ | ... | @@ -5,7 +5,11 @@ |
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) | ... | ... |
... | @@ -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 | } | ... | ... |
... | @@ -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 |
This diff is collapsed.
Click to expand it.
... | @@ -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 | }, | ... | ... |
... | @@ -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 | ... | ... |
... | @@ -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 | ... | ... |
... | @@ -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" | ... | ... |
... | @@ -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) { | ... | ... |
... | @@ -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> | ... | ... |
... | @@ -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> | ... | ... |
... | @@ -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> | ... | ... |
... | @@ -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> | ... | ... |
This diff is collapsed.
Click to expand it.
... | @@ -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 | } | ... | ... |
-
Please register or sign in to post a comment