b8d1b9f6 by renchao@pashanhoo.com

Merge branch 'dev'

2 parents 9deae9f1 b7b5cde3
Showing 60 changed files with 679 additions and 1086 deletions
...@@ -6,8 +6,11 @@ ...@@ -6,8 +6,11 @@
6 import request from '@/utils/request' 6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
8 8
9 9 /**
10 // 数据上报推送查询 10 * @description: 数据上报推送查询
11 * @param {*} data
12 * @author: renchao
13 */
11 export function list (data) { 14 export function list (data) {
12 return request({ 15 return request({
13 url: SERVER.SERVERAPI + '/rest/system/sysPushRecord/list', 16 url: SERVER.SERVERAPI + '/rest/system/sysPushRecord/list',
...@@ -16,7 +19,11 @@ export function list (data) { ...@@ -16,7 +19,11 @@ export function list (data) {
16 }) 19 })
17 } 20 }
18 21
19 // 数据上报推送 22 /**
23 * @description: 数据上报推送
24 * @param {*} data
25 * @author: renchao
26 */
20 export function push (data) { 27 export function push (data) {
21 return request({ 28 return request({
22 url: SERVER.SERVERAPI + '/rest/system/sysPushRecord/push', 29 url: SERVER.SERVERAPI + '/rest/system/sysPushRecord/push',
...@@ -25,7 +32,11 @@ export function push (data) { ...@@ -25,7 +32,11 @@ export function push (data) {
25 }) 32 })
26 } 33 }
27 34
28 // 数据上报推送 35 /**
36 * @description: 数据上报推送
37 * @param {*} bsm
38 * @author: renchao
39 */
29 export function detail (bsm) { 40 export function detail (bsm) {
30 return request({ 41 return request({
31 url: SERVER.SERVERAPI + '/rest/system/sysPushRecord/detail?bsm=' + bsm, 42 url: SERVER.SERVERAPI + '/rest/system/sysPushRecord/detail?bsm=' + bsm,
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:25:58 4 * @LastEditTime: 2023-05-17 10:25:58
5 */ 5 */
...@@ -31,6 +31,11 @@ export function BatchInit (data) { ...@@ -31,6 +31,11 @@ export function BatchInit (data) {
31 }) 31 })
32 } 32 }
33 33
34 /**
35 * @description: 初始化
36 * @param {*} data
37 * @author: renchao
38 */
34 export function Init (data) { 39 export function Init (data) {
35 let apiUrl = ""; 40 let apiUrl = "";
36 switch (data.get("djlx")) { 41 switch (data.get("djlx")) {
......
...@@ -6,7 +6,11 @@ ...@@ -6,7 +6,11 @@
6 import request from '@/utils/request' 6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
8 8
9 // 初始化内容 9 /**
10 * @description: 初始化
11 * @param {*} data
12 * @author: renchao
13 */
10 export function Init (data) { 14 export function Init (data) {
11 let apiUrl = ""; 15 let apiUrl = "";
12 switch (data.get("djlx")) { 16 switch (data.get("djlx")) {
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:32:29 4 * @LastEditTime: 2023-05-17 10:32:29
5 */ 5 */
6 import request from '@/utils/request' 6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
8 8
9 // 初始化内容 9 /**
10 * @description: 初始化
11 * @param {*} data
12 * @author: renchao
13 */
10 export function Init (data) { 14 export function Init (data) {
11 let apiUrl = ""; 15 let apiUrl = "";
12 switch (data.get("djlx")) { 16 switch (data.get("djlx")) {
...@@ -39,7 +43,11 @@ export function Init (data) { ...@@ -39,7 +43,11 @@ export function Init (data) {
39 }) 43 })
40 } 44 }
41 45
42 // 初始化内容 46 /**
47 * @description: 保存数据
48 * @param {*} data
49 * @author: renchao
50 */
43 export function saveData (data) { 51 export function saveData (data) {
44 return request({ 52 return request({
45 url: SERVER.SERVERAPI + '/rest/ywbl/nydsyqlr/saveData', 53 url: SERVER.SERVERAPI + '/rest/ywbl/nydsyqlr/saveData',
......
...@@ -6,7 +6,11 @@ ...@@ -6,7 +6,11 @@
6 import request from '@/utils/request' 6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
8 8
9 // 初始化内容 9 /**
10 * @description: 初始化
11 * @param {*} data
12 * @author: renchao
13 */
10 export function Init (data) { 14 export function Init (data) {
11 let apiUrl = ""; 15 let apiUrl = "";
12 switch (data.get("djlx")) { 16 switch (data.get("djlx")) {
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:32:37 4 * @LastEditTime: 2023-05-17 10:32:37
5 */ 5 */
6 import request from '@/utils/request' 6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
8 // 初始化内容 8 /**
9 * @description: 初始化
10 * @param {*} data
11 * @author: renchao
12 */
9 export function Init (data) { 13 export function Init (data) {
10 let apiUrl = ""; 14 let apiUrl = "";
11 switch (data.get("djlx")) { 15 switch (data.get("djlx")) {
...@@ -37,7 +41,11 @@ export function Init (data) { ...@@ -37,7 +41,11 @@ export function Init (data) {
37 data 41 data
38 }) 42 })
39 } 43 }
40 // 初始化内容 44 /**
45 * @description: 保存数据
46 * @param {*} data
47 * @author: renchao
48 */
41 export function saveData (data) { 49 export function saveData (data) {
42 return request({ 50 return request({
43 url: SERVER.SERVERAPI + '/rest/ywbl/ygmmdj/saveData', 51 url: SERVER.SERVERAPI + '/rest/ywbl/ygmmdj/saveData',
......
1 /* 1 /*
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:32:41 4 * @LastEditTime: 2023-05-17 10:32:41
5 */ 5 */
6 import request from '@/utils/request' 6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
8 // 初始化内容 8 /**
9 * @description: 初始化
10 * @param {*} data
11 * @author: renchao
12 */
9 export function Init (data) { 13 export function Init (data) {
10 let apiUrl = ""; 14 let apiUrl = "";
11 switch (data.get("djlx")) { 15 switch (data.get("djlx")) {
...@@ -37,7 +41,11 @@ export function Init (data) { ...@@ -37,7 +41,11 @@ export function Init (data) {
37 data 41 data
38 }) 42 })
39 } 43 }
40 // 初始化内容 44 /**
45 * @description: 保存数据
46 * @param {*} data
47 * @author: renchao
48 */
41 export function saveData (data) { 49 export function saveData (data) {
42 return request({ 50 return request({
43 url: SERVER.SERVERAPI + '/rest/ywbl/ygdydj/saveData', 51 url: SERVER.SERVERAPI + '/rest/ywbl/ygdydj/saveData',
......
...@@ -6,7 +6,11 @@ ...@@ -6,7 +6,11 @@
6 import request from '@/utils/request' 6 import request from '@/utils/request'
7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl')) 7 let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
8 8
9 // 初始化内容 9 /**
10 * @description: 初始化
11 * @param {*} data
12 * @author: renchao
13 */
10 export function Init (data) { 14 export function Init (data) {
11 return request({ 15 return request({
12 url: SERVER.SERVERAPI + "/rest/ywbl/zjgcdy/init", 16 url: SERVER.SERVERAPI + "/rest/ywbl/zjgcdy/init",
...@@ -14,7 +18,11 @@ export function Init (data) { ...@@ -14,7 +18,11 @@ export function Init (data) {
14 data 18 data
15 }) 19 })
16 } 20 }
17 // 批量初始化内容 21 /**
22 * @description: 批量初始化
23 * @param {*} data
24 * @author: renchao
25 */
18 export function bacthInit (data) { 26 export function bacthInit (data) {
19 let apiUrl = ""; 27 let apiUrl = "";
20 switch (data.get("djlx")) { 28 switch (data.get("djlx")) {
...@@ -46,7 +54,11 @@ export function bacthInit (data) { ...@@ -46,7 +54,11 @@ export function bacthInit (data) {
46 data 54 data
47 }) 55 })
48 } 56 }
49 // 受理信息保存 57 /**
58 * @description: 保存数据
59 * @param {*} data
60 * @author: renchao
61 */
50 export function saveData (data, djlx) { 62 export function saveData (data, djlx) {
51 let apiUrl = "/rest/ywbl/zjgcdy/saveData"; 63 let apiUrl = "/rest/ywbl/zjgcdy/saveData";
52 if (djlx == "400") { 64 if (djlx == "400") {
...@@ -59,7 +71,11 @@ export function saveData (data, djlx) { ...@@ -59,7 +71,11 @@ export function saveData (data, djlx) {
59 }) 71 })
60 } 72 }
61 73
62 // 受理信息保存 74 /**
75 * @description: 批量保存
76 * @param {*} data
77 * @author: renchao
78 */
63 export function saveBatchData (data, djlx) { 79 export function saveBatchData (data, djlx) {
64 return request({ 80 return request({
65 url: SERVER.SERVERAPI + "/rest/ywbl/zjgcdy/saveBatchData", 81 url: SERVER.SERVERAPI + "/rest/ywbl/zjgcdy/saveBatchData",
...@@ -67,7 +83,12 @@ export function saveBatchData (data, djlx) { ...@@ -67,7 +83,12 @@ export function saveBatchData (data, djlx) {
67 data 83 data
68 }) 84 })
69 } 85 }
70 // 上传单个文件 86
87 /**
88 * @description: 上传当个文件
89 * @param {*} data
90 * @author: renchao
91 */
71 export function sjClmxUpload (data) { 92 export function sjClmxUpload (data) {
72 return request({ 93 return request({
73 url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/upload', 94 url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/upload',
...@@ -75,7 +96,12 @@ export function sjClmxUpload (data) { ...@@ -75,7 +96,12 @@ export function sjClmxUpload (data) {
75 data 96 data
76 }) 97 })
77 } 98 }
78 // 删除上传文件 99
100 /**
101 * @description: 删除多个文件
102 * @param {*} data
103 * @author: renchao
104 */
79 export function sjClmxDelete (bsmClmx) { 105 export function sjClmxDelete (bsmClmx) {
80 return request({ 106 return request({
81 url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/delete?bsmClmx=' + bsmClmx, 107 url: SERVER.SERVERAPI + '/rest/zhcx/sjClmx/delete?bsmClmx=' + bsmClmx,
......
...@@ -54,12 +54,20 @@ export default { ...@@ -54,12 +54,20 @@ export default {
54 54
55 computed: { 55 computed: {
56 model: { 56 model: {
57 /**
58 * @description: get
59 * @author: renchao
60 */
57 get () { 61 get () {
58 return this.isGroup 62 return this.isGroup
59 ? this.store : this.value !== undefined 63 ? this.store : this.value !== undefined
60 ? this.value : this.selfModel; 64 ? this.value : this.selfModel;
61 }, 65 },
62 66 /**
67 * @description: set
68 * @param {*} val
69 * @author: renchao
70 */
63 set (val) { 71 set (val) {
64 if (this.isGroup) { 72 if (this.isGroup) {
65 this.isLimitExceeded = false; 73 this.isLimitExceeded = false;
...@@ -80,6 +88,10 @@ export default { ...@@ -80,6 +88,10 @@ export default {
80 } 88 }
81 }, 89 },
82 90
91 /**
92 * @description: isChecked
93 * @author: renchao
94 */
83 isChecked () { 95 isChecked () {
84 if ({}.toString.call(this.model) === '[object Boolean]') { 96 if ({}.toString.call(this.model) === '[object Boolean]') {
85 return this.model; 97 return this.model;
...@@ -89,7 +101,10 @@ export default { ...@@ -89,7 +101,10 @@ export default {
89 return this.model === this.trueLabel; 101 return this.model === this.trueLabel;
90 } 102 }
91 }, 103 },
92 104 /**
105 * @description: isGroup
106 * @author: renchao
107 */
93 isGroup () { 108 isGroup () {
94 let parent = this.$parent; 109 let parent = this.$parent;
95 while (parent) { 110 while (parent) {
...@@ -102,29 +117,44 @@ export default { ...@@ -102,29 +117,44 @@ export default {
102 } 117 }
103 return false; 118 return false;
104 }, 119 },
105 120 /**
121 * @description: store
122 * @author: renchao
123 */
106 store () { 124 store () {
107 return this._checkboxGroup ? this._checkboxGroup.value : this.value; 125 return this._checkboxGroup ? this._checkboxGroup.value : this.value;
108 }, 126 },
109 127
110 /* used to make the isDisabled judgment under max/min props */ 128 /**
129 * @description: isLimitDisabled
130 * @author: renchao
131 */
111 isLimitDisabled () { 132 isLimitDisabled () {
112 const { max, min } = this._checkboxGroup; 133 const { max, min } = this._checkboxGroup;
113 return !!(max || min) && 134 return !!(max || min) &&
114 (this.model.length >= max && !this.isChecked) || 135 (this.model.length >= max && !this.isChecked) ||
115 (this.model.length <= min && this.isChecked); 136 (this.model.length <= min && this.isChecked);
116 }, 137 },
117 138 /**
139 * @description: isDisabled
140 * @author: renchao
141 */
118 isDisabled () { 142 isDisabled () {
119 return this.isGroup 143 return this.isGroup
120 ? this._checkboxGroup.disabled || this.disabled || (this.elForm || {}).disabled || this.isLimitDisabled 144 ? this._checkboxGroup.disabled || this.disabled || (this.elForm || {}).disabled || this.isLimitDisabled
121 : this.disabled || (this.elForm || {}).disabled; 145 : this.disabled || (this.elForm || {}).disabled;
122 }, 146 },
123 147 /**
148 * @description: _elFormItemSize
149 * @author: renchao
150 */
124 _elFormItemSize () { 151 _elFormItemSize () {
125 return (this.elFormItem || {}).elFormItemSize; 152 return (this.elFormItem || {}).elFormItemSize;
126 }, 153 },
127 154 /**
155 * @description: checkboxSize
156 * @author: renchao
157 */
128 checkboxSize () { 158 checkboxSize () {
129 const temCheckboxSize = this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; 159 const temCheckboxSize = this.size || this._elFormItemSize || (this.$ELEMENT || {}).size;
130 return this.isGroup 160 return this.isGroup
...@@ -149,6 +179,10 @@ export default { ...@@ -149,6 +179,10 @@ export default {
149 }, 179 },
150 180
151 methods: { 181 methods: {
182 /**
183 * @description: addToStore
184 * @author: renchao
185 */
152 addToStore () { 186 addToStore () {
153 if ( 187 if (
154 Array.isArray(this.model) && 188 Array.isArray(this.model) &&
...@@ -159,6 +193,10 @@ export default { ...@@ -159,6 +193,10 @@ export default {
159 this.model = this.trueLabel || true; 193 this.model = this.trueLabel || true;
160 } 194 }
161 }, 195 },
196 /**
197 * @description: handleChange
198 * @author: renchao
199 */
162 handleChange (ev) { 200 handleChange (ev) {
163 if (this.isLimitExceeded) return; 201 if (this.isLimitExceeded) return;
164 let value; 202 let value;
...@@ -175,16 +213,26 @@ export default { ...@@ -175,16 +213,26 @@ export default {
175 }); 213 });
176 } 214 }
177 }, 215 },
178 216 /**
217 * @description: created
218 * @author: renchao
219 */
179 created () { 220 created () {
180 this.checked && this.addToStore(); 221 this.checked && this.addToStore();
181 }, 222 },
223 /**
224 * @description: mounted
225 * @author: renchao
226 */
182 mounted () { // 为indeterminate元素 添加aria-controls 属性 227 mounted () { // 为indeterminate元素 添加aria-controls 属性
183 if (this.indeterminate) { 228 if (this.indeterminate) {
184 this.$el.setAttribute('aria-controls', this.controls); 229 this.$el.setAttribute('aria-controls', this.controls);
185 } 230 }
186 }, 231 },
187 232 /**
233 * @description: watch
234 * @author: renchao
235 */
188 watch: { 236 watch: {
189 value (value) { 237 value (value) {
190 this.dispatch('ElFormItem', 'el.form.change', value); 238 this.dispatch('ElFormItem', 'el.form.change', value);
......
...@@ -92,6 +92,10 @@ export default { ...@@ -92,6 +92,10 @@ export default {
92 } 92 }
93 }, 93 },
94 methods: { 94 methods: {
95 /**
96 * @description: handleFullscreen
97 * @author: renchao
98 */
95 handleFullscreen () { 99 handleFullscreen () {
96 this.fullscreen = !this.fullscreen 100 this.fullscreen = !this.fullscreen
97 if (!this.fullscreen) { 101 if (!this.fullscreen) {
...@@ -100,11 +104,19 @@ export default { ...@@ -100,11 +104,19 @@ export default {
100 this.scrollerHeight = (window.innerHeight - 120) + 'px' 104 this.scrollerHeight = (window.innerHeight - 120) + 'px'
101 } 105 }
102 }, 106 },
107 /**
108 * @description: submitForm
109 * @author: renchao
110 */
103 submitForm () { 111 submitForm () {
104 if (this.isButton) { 112 if (this.isButton) {
105 this.$emit('submitForm'); 113 this.$emit('submitForm');
106 } 114 }
107 }, 115 },
116 /**
117 * @description: closeDialog
118 * @author: renchao
119 */
108 closeDialog () { 120 closeDialog () {
109 this.key++ 121 this.key++
110 this.$emit('input', false) 122 this.$emit('input', false)
...@@ -124,4 +136,4 @@ export default { ...@@ -124,4 +136,4 @@ export default {
124 left: 50% !important; 136 left: 50% !important;
125 transform: translate(-50%, -50%) !important; 137 transform: translate(-50%, -50%) !important;
126 } 138 }
127 </style>
...\ No newline at end of file ...\ No newline at end of file
139 </style>
......
...@@ -106,6 +106,11 @@ ...@@ -106,6 +106,11 @@
106 components: { 106 components: {
107 LbColumn, 107 LbColumn,
108 }, 108 },
109
110 /**
111 * @description: data
112 * @author: renchao
113 */
109 data () { 114 data () {
110 return { 115 return {
111 tableHeight: 'auto', 116 tableHeight: 'auto',
...@@ -114,6 +119,10 @@ ...@@ -114,6 +119,10 @@
114 selected: '' 119 selected: ''
115 } 120 }
116 }, 121 },
122 /**
123 * @description: created
124 * @author: renchao
125 */
117 created () { 126 created () {
118 this.getMergeArr(this.data, this.merge) 127 this.getMergeArr(this.data, this.merge)
119 this.getHeight() 128 this.getHeight()
...@@ -124,17 +133,29 @@ ...@@ -124,17 +133,29 @@
124 }, 133 },
125 }, 134 },
126 methods: { 135 methods: {
127 // 单选 136 /**
137 * @description: 单选
138 * @param {*} row
139 * @author: renchao
140 */
128 singleElection (row) { 141 singleElection (row) {
129 this.selected = this.data.indexOf(row); 142 this.selected = this.data.indexOf(row);
130 // this.$emit('row-click', row) 143 // this.$emit('row-click', row)
131 }, 144 },
132 145
146 /**
147 * @description: tableRowClassName
148 * @author: renchao
149 */
133 tableRowClassName ({ row, rowIndex }) { 150 tableRowClassName ({ row, rowIndex }) {
134 if (rowIndex % 2 === 1) { 151 if (rowIndex % 2 === 1) {
135 return 'interlaced'; 152 return 'interlaced';
136 } 153 }
137 }, 154 },
155 /**
156 * @description: getHeight
157 * @author: renchao
158 */
138 getHeight () { 159 getHeight () {
139 if (!this.heightNumSetting) { 160 if (!this.heightNumSetting) {
140 let _this = this 161 let _this = this
...@@ -170,6 +191,12 @@ ...@@ -170,6 +191,12 @@
170 }) 191 })
171 } 192 }
172 }, 193 },
194 /**
195 * @description: calcHeightx
196 * @param {*} value
197 * @param {*} wappered
198 * @author: renchao
199 */
173 calcHeightx (value, wappered = true) { 200 calcHeightx (value, wappered = true) {
174 //项目自定义的公共header部分的高度,可忽略 201 //项目自定义的公共header部分的高度,可忽略
175 let header = document.querySelector(".from-clues-header").offsetHeight; 202 let header = document.querySelector(".from-clues-header").offsetHeight;
...@@ -195,36 +222,89 @@ ...@@ -195,36 +222,89 @@
195 } 222 }
196 return res; 223 return res;
197 }, 224 },
225 /**
226 * @description: clearSelection
227 * @author: renchao
228 */
198 clearSelection () { 229 clearSelection () {
199 this.$refs.elTable.clearSelection() 230 this.$refs.elTable.clearSelection()
200 }, 231 },
232 /**
233 * @description: toggleRowSelection
234 * @author: renchao
235 */
201 toggleRowSelection (row, selected) { 236 toggleRowSelection (row, selected) {
202 this.$refs.elTable.toggleRowSelection(row, selected) 237 this.$refs.elTable.toggleRowSelection(row, selected)
203 }, 238 },
239 /**
240 * @description: toggleAllSelection
241 * @author: renchao
242 */
204 toggleAllSelection () { 243 toggleAllSelection () {
205 this.$refs.elTable.toggleAllSelection() 244 this.$refs.elTable.toggleAllSelection()
206 }, 245 },
246 /**
247 * @description: toggleRowExpansion
248 * @param {*} row
249 * @param {*} bsm
250 * @author: renchao
251 */
207 toggleRowExpansion (row, expanded) { 252 toggleRowExpansion (row, expanded) {
208 this.$refs.elTable.toggleRowExpansion(row, expanded) 253 this.$refs.elTable.toggleRowExpansion(row, expanded)
209 }, 254 },
255 /**
256 * @description: setCurrentRow
257 * @param {*} row
258 * @author: renchao
259 */
210 setCurrentRow (row) { 260 setCurrentRow (row) {
211 this.$refs.elTable.setCurrentRow(row) 261 this.$refs.elTable.setCurrentRow(row)
212 }, 262 },
263 /**
264 * @description: setCurrentRow
265 * @author: renchao
266 */
213 clearSort () { 267 clearSort () {
214 this.$refs.elTable.clearSort() 268 this.$refs.elTable.clearSort()
215 }, 269 },
270 /**
271 * @description: clearFilter
272 * @param {*} columnKey
273 * @author: renchao
274 */
216 clearFilter (columnKey) { 275 clearFilter (columnKey) {
217 this.$refs.elTable.clearFilter(columnKey) 276 this.$refs.elTable.clearFilter(columnKey)
218 }, 277 },
278 /**
279 * @description: doLayout
280 * @author: renchao
281 */
219 doLayout () { 282 doLayout () {
220 this.$refs.elTable.doLayout() 283 this.$refs.elTable.doLayout()
221 }, 284 },
285 /**
286 * @description: sort
287 * @param {*} prop
288 * @param {*} order
289 * @author: renchao
290 */
222 sort (prop, order) { 291 sort (prop, order) {
223 this.$refs.elTable.sort(prop, order) 292 this.$refs.elTable.sort(prop, order)
224 }, 293 },
294 /**
295 * @description: paginationCurrentChange
296 * @param {*} val
297 * @author: renchao
298 */
225 paginationCurrentChange (val) { 299 paginationCurrentChange (val) {
226 this.$emit('p-current-change', val) 300 this.$emit('p-current-change', val)
227 }, 301 },
302 /**
303 * @description: getMergeArr
304 * @param {*} tableData
305 * @param {*} merge
306 * @author: renchao
307 */
228 getMergeArr (tableData, merge) { 308 getMergeArr (tableData, merge) {
229 if (!merge) return 309 if (!merge) return
230 this.mergeLine = {} 310 this.mergeLine = {}
...@@ -247,6 +327,10 @@ ...@@ -247,6 +327,10 @@
247 }) 327 })
248 }) 328 })
249 }, 329 },
330 /**
331 * @description: mergeMethod
332 * @author: renchao
333 */
250 mergeMethod ({ row, column, rowIndex, columnIndex }) { 334 mergeMethod ({ row, column, rowIndex, columnIndex }) {
251 const index = this.merge.indexOf(column.property) 335 const index = this.merge.indexOf(column.property)
252 if (index > -1) { 336 if (index > -1) {
...@@ -260,9 +344,17 @@ ...@@ -260,9 +344,17 @@
260 }, 344 },
261 }, 345 },
262 watch: { 346 watch: {
347 /**
348 * @description: merge
349 * @author: renchao
350 */
263 merge () { 351 merge () {
264 this.getMergeArr(this.data, this.merge) 352 this.getMergeArr(this.data, this.merge)
265 }, 353 },
354 /**
355 * @description: dataLength
356 * @author: renchao
357 */
266 dataLength () { 358 dataLength () {
267 this.getMergeArr(this.data, this.merge) 359 this.getMergeArr(this.data, this.merge)
268 } 360 }
......
1 <template>
2 <div class="temp">
3 <el-row class="qlxzModule" v-for="(items, index) in countList" :key="items.id">
4 <template v-for="(childItem, childIndex) in items.list">
5 <el-col :span="2" class="btnCol" :key="childIndex + '1'" :class="childIndex > 0 ? 'childYT noTopBorder' : ''">
6 <el-button v-show="childIndex < 1" type="primary" class="changeBtn addMinus outAdd"
7 @click="handleClick(index, 'add')">+</el-button>
8 <el-button v-show="childIndex < 1" type="primary" class="changeBtn addMinus outMinus"
9 @click="handleClick(index, 'minus')">-</el-button>
10 <div :class="items.hasNotBorder ? 'itemShow whiteItem' : 'whiteItem'" v-if="items.isInside"></div>
11 </el-col>
12 <el-col :span="2" class="btnCol" :key="childIndex + '8'" :class="childIndex > 0 ? 'childYT' : ''">
13 <!-- <template v-if="childIndex>0"> -->
14 <span class="qlxz" v-show="childIndex < 1">权利性质</span><br />
15 <el-button type="primary" class="changeBtn addMinus inAdd" @click="handleInClick(index, childIndex, 'add')">+
16 </el-button>
17 <el-button type="primary" class="changeBtn addMinus inMinus"
18 @click="handleInClick(index, childIndex, 'minus')">-</el-button>
19 <!-- </template> -->
20 </el-col>
21 <el-col :span="5" :key="childIndex + '7'" :class="childIndex > 0 ? 'childYT' : ''">
22 <ul>
23 <li>批准用途</li>
24 <li>实际用途</li>
25 <li>土地使用起始时间<i class="requisite">*</i></li>
26 </ul>
27 </el-col>
28 <el-col :span="5" :key="childIndex + '6'" :class="childIndex > 0 ? 'childYT' : ''">
29 <ul>
30 <li>
31 <el-select-tree v-if="show" :default-expand-all="defaultExpandAll" :multiple="multiple"
32 :placeholder="placeholder" :disabled="disabled" :data="$store.state.tdytList" :props="treeProps"
33 :check-strictly="checkStrictly" :clearable="clearable" v-model="childItem.pzytdm"></el-select-tree>
34 </li>
35 <li>
36 <el-select-tree v-if="show" :default-expand-all="defaultExpandAll" :multiple="multiple"
37 :placeholder="placeholder" :disabled="disabled" :data="$store.state.tdytList" :props="treeProps"
38 :check-strictly="checkStrictly" :clearable="clearable" v-model="childItem.sjytdm"></el-select-tree>
39 </li>
40 <li>
41 <el-date-picker v-model="childItem.tdsyqssj" :picker-options="childItem.pickerStart" type="date"
42 value-format="yyyy-MM-dd" placeholder="选择日期" @input="startTime(index, childIndex)">
43 </el-date-picker>
44 </li>
45 </ul>
46 </el-col>
47 <el-col :span="5" :key="childIndex + '5'" :class="childIndex > 0 ? 'childYT' : ''">
48 <ul>
49 <li>地类编码</li>
50 <li>地类编码</li>
51 <li>土地使用结束时间<i class="requisite">*</i></li>
52 </ul>
53 </el-col>
54 <el-col :span="5" :key="childIndex + '4'" :class="childIndex > 0 ? 'childYT' : ''">
55 <ul>
56 <li>
57 <input type="text" style="top: -1px;" v-model="childItem.pzytdm" class="formInput" />
58 </li>
59 <li>
60 <input type="text" v-model="childItem.sjytdm" class="formInput" />
61 </li>
62 <li>
63 <el-date-picker v-model="childItem.tdsyjssj" type="date" value-format="yyyy-MM-dd"
64 :picker-options="childItem.pickerEnd" placeholder="选择日期" @input="endTime(index, childIndex)">
65 </el-date-picker>
66 </li>
67 </ul>
68 </el-col>
69 </template>
70
71 <div class="title">
72 <el-select class="formSelect" v-model="items.qlxzdm">
73 <el-option v-for="item in $store.state.qlxzList" :key="item.dm" :label="item.mc" :value="item.dm">
74 </el-option>
75 </el-select>
76 </div>
77 </el-row>
78 </div>
79 </template>
80
81 <script>
82 // import { getDdicByMC } from "@api/common";
83 export default {
84 props: {
85 // widtd: {
86 // type: String,
87 default: "70%",
88 ,
89 a () {
90 return {
91 //树型结构
92 how: true,
93 arable: true,
94 aultExpandAll: true,
95 tiple: false,
96 ceholder: "请选择",
97 abled: false,
98 ckStrictly: true,
99 eProps: {
100 lue: "dm",
101 ildren: "children",
102 bel: "mc",
103
104 ntList: [
105
106 id: Math.random(),
107 isInside: false,
108 hasNotBorder: false,
109 bsm: "", //权利性质标识码
110 lbsm: "", //宗地BSM、自然幢BSM、户BSM、多幢BSM、宗海BSM
111 lxzdm: "",
112 zhqlxzlx: "", //除宗海数据外,默认都是空;0:用海类型权利性质;2:海岛用途权利性质
113 list: [
114 {
115 pzdjbsm: "",
116 pzdjmc: "",
117 pzytdm: "",
118 pzytmc: "",
119 pzytmj: 0,
120 qlxzbsm: "",
121 sjdjbsm: "",
122 sjdjmc: "",
123 sjytdm: "",
124 sjytmc: "",
125 jytmj: 0,
126 syqx: "",
127 tdsyjssj: "",
128 tdsyqssj: "",
129 pickerStart: {},
130 pickerEnd: {},
131 tdzh: "",
132 },
133
134
135
136 Num: 0,
137
138
139 ed () { },
140 hods: {
141 外层操作
142 ndleClick (ind, type) {
143 outsideObj = {
144 Math.random(),
145 Inside: false,
146 sNotBorder: false,
147 "", //权利性质标识码
148 bsm: "", //宗地BSM、自然幢BSM、户BSM、多幢BSM、宗海BSM
149 xzdm: "",
150 zhqlxzlx: "", //除宗海数据外,默认都是空;0:用海类型权利性质;2:海岛用途权利性质
151 list: [
152 {
153 pzdjbsm: "",
154 pzdjmc: "",
155 pzytdm: "",
156 pzytmc: "",
157 pzytmj: 0,
158 qlxzbsm: "",
159 sjdjbsm: "",
160 sjdjmc: "",
161 sjytdm: "",
162 sjytmc: "",
163 sjytmj: 0,
164 syqx: "",
165 tdsyjssj: "",
166 tdsyqssj: "",
167 tdzh: "",
168
169
170 };
171 (type === "add") {
172 is.countList.push(outsideObj);
173 is.outNum++;
174 lse {
175 .countList.forEach((item, index) => {
176 f (index == ind && this.countList.length > 1) {
177 this.countList.splice(index, 1);
178 }
179 });
180 this.outNum--;
181
182 Click (index, childIndex, type) {
183 eObj = {
184 ",
185 ,
186 "",
187 "",
188 : 0,
189 m: "",
190 m: "",
191 "",
192 : "",
193 : "",
194 : 0,
195 "",
196 jssj: "",
197 sj: "",
198 : "",
199 e === "add") {
200 ountList[index].list.splice(childIndex + 1, 0, insideObj);
201
202 ountList[index].list.forEach((item, childInd) => {
203 (childIndex == childInd && this.countList[index].list.length > 1) {
204 this.countList[index].list.splice(childIndex, 1);
205 }
206 });
207
208 s.hasBorderOrNot();
209 是否显示边框
210 orderOrNot () {
211 s.countList.forEach((item, index) => {
212 (index == this.countList.length - 1) {
213 m.hasNotBorder = true;
214 {
215 sNotBorder =
216 sInside && !this.countList[index + 1].isInside ? true : false;
217 aList () {
218 this.countList;
219 时间判断
220 tTime (index, childIndex) {
221 tartTime = this.countList[index].list[childIndex].tdsyqssj;
222 endTime = this.countList[index].list[childIndex].tdsyjssj;
223 s.countList[index].list[childIndex].pickerEnd = {
224 bledDate: (time) => {
225 f (Object.keys(startTime).length > 0) {
226 return new Date(startTime).getTime() > time.getTime();
227 lse {
228 rn time.getTime() < Date.now();
229 t.keys(startTime).length > 0 && Object.keys(endTime).length > 0) {
230 ear = new Date(startTime).getFullYear();
231 ear = new Date(endTime).getFullYear();
232 ime (index, childIndex, e) {
233 onsole.log(e, 'eeeeee');
234 let startTime = this.countList[index].list[childIndex].tdsyqssj;
235 let endTime = this.countList[index].list[childIndex].tdsyjssj;
236 this.countList[index].list[childIndex].pickerStart = {
237 disabledDate: (time) => {
238 if (Object.keys(endTime).length > 0) {
239 return new Date(endTime).getTime() < time.getTime();
240 } else {
241 return time.getTime() > Date.now();
242 }
243 }
244 }
245 if (Object.keys(startTime).length > 0 && Object.keys(endTime).length > 0) {
246 let startYear = new Date(startTime).getFullYear();
247 let endYear = new Date(endTime).getFullYear();
248 }
249 },
250 },
251 };
252 </script>
253 <style lang="scss">
254 .temp {
255 width: 100%;
256
257 .qlxzModule {
258 height: auto;
259 position: relative;
260 border-bottom: 1px solid #e6e6e6;
261
262 .el-col {
263 // height: 100%;
264 border-right: 1px solid #E6E6E6;
265 position: relative;
266 text-align: right;
267 padding-right: 10px;
268
269 .qlxz {
270 line-height: 34px;
271 }
272
273 ul {
274 margin-top: 34px;
275
276 li {
277 height: 37px;
278 line-height: 37px;
279 text-decoration: none;
280 border-bottom: 1px solid #e6e6e6;
281
282 .el-select {
283 width: 100%;
284 }
285
286 .el-input {
287 width: 100%;
288 }
289
290 .el-input__inner {
291 height: 34px;
292 }
293
294 input {
295 position: relative;
296 top: -2px;
297 height: 35px;
298 width: calc(100% - 1px) !important;
299 }
300 }
301
302 li:last-child {
303 border-bottom: none;
304 }
305 }
306
307 .whiteItem {
308 background-color: #fff;
309 position: absolute;
310 width: 100%;
311 height: 2px;
312 bottom: -1px;
313 left: 0;
314 }
315
316 .itemShow {
317 bottom: 2px;
318 }
319 }
320
321 .childYT {
322 height: 114px;
323 border-top: 1px solid #E6E6E6;
324
325 ul {
326 margin-top: 0;
327
328 li {
329 .el-input__inner {
330 height: 29px;
331 }
332 }
333 }
334
335 .changeBtn {
336 margin-top: -48px;
337 }
338
339 .el-button+.el-button {
340 margin-top: 4px;
341 }
342 }
343
344 .noTopBorder {
345 border-top: 0;
346 }
347
348 .noRightBorder {
349 border-right: 0;
350 }
351
352 .el-col:nth-last-child(2) {
353 border-right: none;
354 }
355
356 .title {
357 width: 83.33333%;
358 height: 34px;
359 line-height: 34px;
360 background-color: #fff;
361 border-bottom: 1px solid #E6E6E6;
362 position: absolute;
363 right: 0;
364 top: 0;
365
366 .formSelect {
367 top: -1px;
368 width: 100%;
369
370 .el-input__inner {
371 height: 32px;
372 }
373 }
374 }
375 }
376
377 .btnCol {
378 position: relative;
379 height: 146px;
380
381 .changeBtn {
382 width: 46px;
383 height: 46px;
384 font-size: 30px;
385 padding: 4px 6px;
386 position: absolute;
387 top: 50%;
388 left: 50%;
389 margin-top: -38px;
390 margin-left: -23px;
391 }
392
393 .el-button+.el-button {
394 margin-left: -23px;
395 margin-top: 16px;
396 }
397 }
398
399 .el-row:nth-last-child(1) {
400 border-bottom: none;
401 }
402
403 /deep/.el-select-tree {
404 width: 100%;
405
406 .el-input__inner {
407 height: 30px !important;
408 }
409 }
410 }
411 </style>
1 
2 export default {
3 methods:{
4 downloadTxt(text, fileName){
5 let element = document.createElement('a')
6 element.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(text))
7 element.setAttribute('download', fileName)
8 element.style.display = 'none'
9 element.click()
10 },
11 createTextContent(jzdInfo){
12 var textContent = "";
13 for(var i = 0;i < jzdInfo.length;i++){
14 textContent += jzdInfo[i].jzdh +","+jzdInfo[i].sxh+"," +
15 jzdInfo[i].x+","+jzdInfo[i].y+"\n"
16 }
17 return textContent;
18 },
19
20 }
21 }
...\ No newline at end of file ...\ No newline at end of file
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-04 16:07:37 4 * @LastEditTime: 2023-07-04 16:07:37
5 --> 5 -->
...@@ -26,11 +26,11 @@ ...@@ -26,11 +26,11 @@
26 <el-upload class="fileUpdate" ref="upload" action="" :show-file-list="false" :multiple="true" :auto-upload="false" 26 <el-upload class="fileUpdate" ref="upload" action="" :show-file-list="false" :multiple="true" :auto-upload="false"
27 :on-change="handleChange" 27 :on-change="handleChange"
28 accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg" :before-upload="beforeUpload"> 28 accept=".JPG, .PNG, .JPEG,.jpg, .png, .jpeg" :before-upload="beforeUpload">
29 <el-button icon="el-icon-upload" type="primary" v-if="!this.$route.query.viewtype && ableOperation">上传</el-button> 29 <el-button icon="el-icon-upload" type="primary" v-if="ableOperation">上传</el-button>
30 </el-upload> 30 </el-upload>
31 <el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete" 31 <el-button type="primary" icon="el-icon-delete-solid" @click="handleDelete"
32 v-if="!this.$route.query.viewtype && thumbnailImages.length>0 && ableOperation">删除</el-button> 32 v-if="thumbnailImages.length>0 && ableOperation">删除</el-button>
33 <div v-if="!this.$route.query.viewtype" class="pl-5"> 33 <div v-if="ableOperation" class="pl-5">
34 <el-button type="primary" @click="handleOpenScan" v-if="ableOperation">{{scanTitle}}</el-button> 34 <el-button type="primary" @click="handleOpenScan" v-if="ableOperation">{{scanTitle}}</el-button>
35 <el-button type="primary" @click="handleViewScan" v-if="isScan && ableOperation">拍照</el-button> 35 <el-button type="primary" @click="handleViewScan" v-if="isScan && ableOperation">拍照</el-button>
36 </div> 36 </div>
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:41:09
5 -->
6 <template>
7 <div>
8 <lb-table :column="column" border :maxHeight="300" heightNumSetting :pagination="false" :key="key" :data="tableDataList">
9 </lb-table>
10 <addJtcy v-model="dialog" :details="details" @updateDetail="updateDetail" />
11 </div>
12 </template>
13 <script>
14 import addJtcy from './addJtcy.vue'
15 import { mapGetters } from 'vuex'
16 export default {
17 components: {
18 addJtcy
19 },
20 computed: {
21 ...mapGetters(["dictData"]),
22 },
23 props: {
24 tableData: {
25 type: Array,
26 default: function () {
27 return []
28 }
29 },
30 gyfs: {
31 type: String,
32 default: '1'
33 }
34 },
35 data () {
36 return {
37 key: 0,
38 dataIndex: 0,
39 dialog: false,
40 details: {},
41 tableDataList: [],
42 qlrCommonTable: [
43 {
44 width: '50',
45 renderHeader: (h, scope) => {
46 return <div> {
47 this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i>
48 }
49 </div>
50 },
51 render: (h, scope) => {
52 return (
53 <div>
54 {
55 this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> :
56 <i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i>
57 }
58 </div>
59 )
60 }
61 },
62 {
63 label: '身份证读卡器',
64 align: 'center',
65 render: (h, scope) => {
66 return <el-button type="text" icon="el-icon-tickets" onClick={() => { this.readClick(scope) }}>读取</el-button>
67 }
68 },
69 {
70 prop: "cyxm",
71 label: "成员姓名"
72 },
73 {
74 prop: "sfzhm",
75 label: "身份证号码"
76 },
77 {
78 prop: "dh",
79 label: "联系电话"
80 },
81 {
82 label: '修改',
83 render: (h, scope) => {
84 return (
85 <div>
86 {
87 this.$route.query.viewtype == 1 ? <el-button
88 icon="el-icon-view"
89 type="text"
90 onClick={() => { this.queryViewClick(scope.$index, scope.row) }}>查看</el-button> : <el-button
91 icon="el-icon-edit-outline"
92 type="text"
93 onClick={() => { this.editClick(scope.$index, scope.row) }}>编辑</el-button>
94 }
95 </div>
96 )
97 }
98 }
99 ],
100 column: this.qlrCommonTable
101 }
102 },
103 watch: {
104 tableData: {
105 handler: function (val, oldVal) {
106 let that = this
107 if (val.length == 0 || !val) {
108 that.tableDataList = _.cloneDeep([{
109 sqrmc: '',
110 dlrzjlx: '',
111 dlrzjh: '',
112 fr: ''
113 }])
114 } else {
115 that.tableDataList = _.cloneDeep(val)
116 }
117 },
118 immediate: true,
119 deep: true
120 },
121 gyfs: {
122 handler (newVal, oldValue) {
123 let dataList = _.cloneDeep(this.qlrCommonTable)
124 if (newVal == '1') {
125 this.column = _.cloneDeep(dataList).slice(1, dataList.length)
126 } else {
127 this.column = dataList
128 }
129 },
130 immediate: true
131 }
132 },
133 methods: {
134 updateDetail (value) {
135 this.tableDataList[this.dataIndex] = value
136 this.key++
137 this.$emit('upDateJtcyList', this.tableDataList)
138 },
139
140 // 新增
141 addClick () {
142 this.dialog = true
143 },
144
145 // 删除
146 deleClick (index, row) {
147 this.tableData.splice(index, 1)
148 },
149
150 // 身份证读取
151 readClick () { },
152
153 // 修改
154 editClick (index, row) {
155 console.log(row, 'rowrowrowrowrow');
156 this.dataIndex = index
157 this.dialog = true
158 this.details = row
159 },
160
161 queryViewClick () {
162 this.dialog = true
163 }
164 }
165 }
166 </script>
167 <style scoped lang='scss'>
168 </style>
...\ No newline at end of file ...\ No newline at end of file
...@@ -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 },
......
...@@ -224,7 +224,7 @@ ...@@ -224,7 +224,7 @@
224 /> 224 />
225 </div> 225 </div>
226 </div> 226 </div>
227 <el-row class="btn" v-if="!$route.query.viewtype"> 227 <el-row class="btn" v-if="ableOperation">
228 <el-form-item> 228 <el-form-item>
229 <el-button type="primary" @click="onSubmit">保存</el-button> 229 <el-button type="primary" @click="onSubmit">保存</el-button>
230 </el-form-item> 230 </el-form-item>
......
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
71 import { getForm } from "./flowform"; 71 import { getForm } from "./flowform";
72 import { getStepFormInfo } from "@/api/workFlow.js"; 72 import { getStepFormInfo } from "@/api/workFlow.js";
73 import NoticeBar from "@/components/NoticeBar/index"; 73 import NoticeBar from "@/components/NoticeBar/index";
74 import ProcessViewer from "./components/processViewer.vue"; 74 // import ProcessViewer from "./components/processViewer.vue";
75 75
76 import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; 76 import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue";
77 import qllxDailog from "./djbBook/components/qllxDailog"; 77 import qllxDailog from "./djbBook/components/qllxDailog";
...@@ -86,7 +86,6 @@ ...@@ -86,7 +86,6 @@
86 components: { 86 components: {
87 selectBdc, 87 selectBdc,
88 NoticeBar, 88 NoticeBar,
89 ProcessViewer,
90 ordinaryMenu, 89 ordinaryMenu,
91 qllxDailog, 90 qllxDailog,
92 }, 91 },
......
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
71 import { getForm } from "./flowform"; 71 import { getForm } from "./flowform";
72 import { getBlYbxStepFormInfo } from "@/api/workFlow.js"; 72 import { getBlYbxStepFormInfo } from "@/api/workFlow.js";
73 import NoticeBar from "@/components/NoticeBar/index"; 73 import NoticeBar from "@/components/NoticeBar/index";
74 import ProcessViewer from "./components/processViewer.vue"; 74 // import ProcessViewer from "./components/processViewer.vue";
75 // 引入左侧菜单 75 // 引入左侧菜单
76 import { leftMenubl } from "@/api/djbRepair.js"; 76 import { leftMenubl } from "@/api/djbRepair.js";
77 import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; 77 import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue";
...@@ -86,7 +86,6 @@ ...@@ -86,7 +86,6 @@
86 components: { 86 components: {
87 selectBdc, 87 selectBdc,
88 NoticeBar, 88 NoticeBar,
89 ProcessViewer,
90 ordinaryMenu, 89 ordinaryMenu,
91 qllxDailog, 90 qllxDailog,
92 }, 91 },
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-07-19 16:04:43
5 -->
1 <template> 6 <template>
2 <dialogBox title="新增法律法规" @submitForm="submitForm" saveButton="保存" :isFullscreen="false" width="50%" 7 <dialogBox title="新增法律法规" @submitForm="submitForm" saveButton="保存" :isFullscreen="false" width="50%"
3 @closeDialog="closeDialog" v-model="value"> 8 @closeDialog="closeDialog" v-model="value">
...@@ -25,72 +30,71 @@ ...@@ -25,72 +30,71 @@
25 </template> 30 </template>
26 31
27 <script> 32 <script>
28 import { addSysNotice } from "@/api/sysNotice.js" 33 import { addSysNotice } from "@/api/sysNotice.js"
29 import { upload } from "@/api/file.js" 34 import { upload } from "@/api/file.js"
30 export default { 35 export default {
31 props: { 36 props: {
32 value: { type: Boolean, default: false }, 37 value: { type: Boolean, default: false },
33 }, 38 },
34 data () { 39 data () {
35 return { 40 return {
36 ruleForm: { 41 ruleForm: {
37 noticeTitle: '', 42 noticeTitle: '',
38 noticeContent: '', 43 noticeContent: '',
39 noticeFileUrl: '', 44 noticeFileUrl: '',
40 noticeType: '2' 45 noticeType: '2'
46 },
47 rules: {
48 noticeTitle: [
49 { required: true, message: '请输入法律法规标题', trigger: 'blur' }
50 ]
51 },
52 }
53 },
54
55 methods: {
56 submitForm () {
57 let that = this;
58 that.$refs.ruleForm.validate(valid => {
59 if (valid) {
60 addSysNotice(this.ruleForm).then(res => {
61 if (res.code == 200) {
62 this.$message.success('保存成功')
63 this.$emit("input", false);
64 this.resetRuleForm();
65 this.$parent.queryClick();
66 } else {
67 this.$message.error(res.message)
68 }
69 })
70 } else {
71 // console.log('error submit!!');
72 return false;
73 }
74 });
75 },
76 //关闭窗口
77 closeDialog () {
78 this.$emit("input", false);
79 this.resetRuleForm();
41 }, 80 },
42 rules: { 81 //
43 noticeTitle: [ 82 resetRuleForm () {
44 { required: true, message: '请输入法律法规标题', trigger: 'blur' } 83 this.$refs['ruleForm'].resetFields();
45 ] 84 this.ruleForm.noticeType = '2'
85 },
86 beforeUpload (file) {
87 return true;
88 },
89 async handleChange (file) {
90 var formdata = new FormData();
91 formdata.append("file", file.raw);
92 upload(formdata).then(res => {
93 this.ruleForm.noticeFileUrl = res.message
94 })
46 }, 95 },
47 } 96 }
48 },
49
50 methods: {
51 submitForm () {
52 let that = this;
53 that.$refs.ruleForm.validate(valid => {
54 if (valid) {
55 addSysNotice(this.ruleForm).then(res => {
56 if (res.code == 200) {
57 this.$message.success('保存成功')
58 this.$emit("input", false);
59 this.resetRuleForm();
60 this.$parent.queryClick();
61 } else {
62 this.$message.error(res.message)
63 }
64 })
65 } else {
66 // console.log('error submit!!');
67 return false;
68 }
69 });
70 },
71 //关闭窗口
72 closeDialog () {
73 this.$emit("input", false);
74 this.resetRuleForm();
75 },
76 //
77 resetRuleForm () {
78 this.$refs['ruleForm'].resetFields();
79 this.ruleForm.noticeType = '2'
80 },
81 beforeUpload (file) {
82 return true;
83 },
84 async handleChange (file) {
85 var formdata = new FormData();
86 formdata.append("file", file.raw);
87 upload(formdata).then(res => {
88 this.ruleForm.noticeFileUrl = res.message
89 })
90 },
91 } 97 }
92 }
93 </script> 98 </script>
94 <style scoped lang="scss"> 99 <style scoped lang="scss">
95
96 </style> 100 </style>
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-07-19 16:04:47
5 -->
1 <template> 6 <template>
2 <div class="from-clues"> 7 <div class="from-clues">
3 <!-- 表单部分 --> 8 <!-- 表单部分 -->
...@@ -11,7 +16,7 @@ ...@@ -11,7 +16,7 @@
11 </el-col> 16 </el-col>
12 <el-col :span="19" class="btnColRight"> 17 <el-col :span="19" class="btnColRight">
13 <el-form-item> 18 <el-form-item>
14 <el-button type="primary" native-type="submit" @click="handleSearch">查询1</el-button> 19 <el-button type="primary" native-type="submit" @click="handleSearch">查询1</el-button>
15 <el-button type="primary" @click="openDialog()">新增</el-button> 20 <el-button type="primary" @click="openDialog()">新增</el-button>
16 </el-form-item> 21 </el-form-item>
17 </el-col> 22 </el-col>
...@@ -29,79 +34,79 @@ ...@@ -29,79 +34,79 @@
29 </div> 34 </div>
30 </template> 35 </template>
31 <script> 36 <script>
32 import table from "@/utils/mixin/table"; 37 import table from "@/utils/mixin/table";
33 import { datas, sendThis } from "./flfgdata"; 38 import { datas, sendThis } from "./flfgdata";
34 import { getSysPolicyList, deleteSysNotice } from "@/api/sysNotice.js" 39 import { getSysPolicyList, deleteSysNotice } from "@/api/sysNotice.js"
35 import addDialog from "./components/addDialog.vue"; 40 import addDialog from "./components/addDialog.vue";
36 export default { 41 export default {
37 name: "flfg", 42 name: "flfg",
38 components: { addDialog }, 43 components: { addDialog },
39 mixins: [table], 44 mixins: [table],
40 mounted () { 45 mounted () {
41 sendThis(this); 46 sendThis(this);
42 this.queryClick() 47 this.queryClick()
43 },
44 data () {
45 return {
46 isDialog: false,
47 viewDialog: false,
48 ruleForm: {
49 noticeTitle: ''
50 },
51 tableData: {
52 total: 0,
53 columns: datas.columns(),
54 data: [],
55 },
56 isDiglog: false
57 }
58 },
59 methods: {
60 // 列表渲染接口
61 queryClick () {
62 this.$startLoading()
63 getSysPolicyList({ ...this.ruleForm, ...this.pageData }, { 'target': '#flfgLoading' }).then(res => {
64 if (res.code === 200) {
65 this.$endLoading()
66 let { total, records } = res.result
67 this.tableData.total = total;
68 this.tableData.data = records
69 }
70 })
71 }, 48 },
72 //打开新增弹窗 49 data () {
73 openDialog () { 50 return {
74 this.isDialog = true; 51 isDialog: false,
52 viewDialog: false,
53 ruleForm: {
54 noticeTitle: ''
55 },
56 tableData: {
57 total: 0,
58 columns: datas.columns(),
59 data: [],
60 },
61 isDiglog: false
62 }
75 }, 63 },
76 downloadFile (item) { 64 methods: {
77 const href = item.noticeFileUrl 65 // 列表渲染接口
78 window.open(href, '_blank'); 66 queryClick () {
79 }, 67 this.$startLoading()
80 //删除 68 getSysPolicyList({ ...this.ruleForm, ...this.pageData }, { 'target': '#flfgLoading' }).then(res => {
81 delNotice (item) { 69 if (res.code === 200) {
82 this.$confirm('是否确定删除', '提示', { 70 this.$endLoading()
83 confirmButtonText: '确定', 71 let { total, records } = res.result
84 cancelButtonText: '取消', 72 this.tableData.total = total;
85 type: 'warning' 73 this.tableData.data = records
86 }).then(() => {
87 deleteSysNotice({ "bsmNotice": item.bsmNotice }).then(res => {
88 if (res.code == 200) {
89 this.$message.success('删除成功')
90 this.queryClick();
91 } else {
92 this.$message.error(res.message)
93 } 74 }
94 }) 75 })
95 }).catch(() => { 76 },
96 this.$message({ 77 //打开新增弹窗
97 type: 'info', 78 openDialog () {
98 message: '已取消删除' 79 this.isDialog = true;
80 },
81 downloadFile (item) {
82 const href = item.noticeFileUrl
83 window.open(href, '_blank');
84 },
85 //删除
86 delNotice (item) {
87 this.$confirm('是否确定删除', '提示', {
88 confirmButtonText: '确定',
89 cancelButtonText: '取消',
90 type: 'warning'
91 }).then(() => {
92 deleteSysNotice({ "bsmNotice": item.bsmNotice }).then(res => {
93 if (res.code == 200) {
94 this.$message.success('删除成功')
95 this.queryClick();
96 } else {
97 this.$message.error(res.message)
98 }
99 })
100 }).catch(() => {
101 this.$message({
102 type: 'info',
103 message: '已取消删除'
104 });
99 }); 105 });
100 }); 106 },
101 }, 107 },
102 }, 108 };
103 };
104 </script> 109 </script>
105 <style scoped lang="scss"> 110 <style scoped lang="scss">
106 @import "~@/styles/public.scss"; 111 @import "~@/styles/public.scss";
107 </style> 112 </style>
......
1 <!--
2 * @Description:
3 * @Autor: renchao
4 * @LastEditTime: 2023-07-19 16:04:58
5 -->
1 <template> 6 <template>
2 <div> 7 <div>
3 <div class="qtjfjmb-edit-title"> 8 <div class="qtjfjmb-edit-title">
...@@ -117,140 +122,140 @@ ...@@ -117,140 +122,140 @@
117 </template> 122 </template>
118 123
119 <script> 124 <script>
120 import { updateSysSqywmbsz, getSysSqywmbszDetailById } from '@/api/sysSqywmbsz' 125 import { updateSysSqywmbsz, getSysSqywmbszDetailById } from '@/api/sysSqywmbsz'
121 export default { 126 export default {
122 props: { 127 props: {
123 formData: { 128 formData: {
124 type: Object, 129 type: Object,
125 default: () => { } 130 default: () => { }
126 } 131 }
127 }, 132 },
128 mounted () { 133 mounted () {
129 if (this.formData.bsmMb) { 134 if (this.formData.bsmMb) {
130 this.$startLoading() 135 this.$startLoading()
131 getSysSqywmbszDetailById(this.formData.bsmMb).then(res => { 136 getSysSqywmbszDetailById(this.formData.bsmMb).then(res => {
132 this.$endLoading() 137 this.$endLoading()
133 let { result } = res 138 let { result } = res
134 this.ruleForm = result ? result : {} 139 this.ruleForm = result ? result : {}
135 }) 140 })
136 } 141 }
137 }, 142 },
138 data () { 143 data () {
139 return { 144 return {
140 n: 0, 145 n: 0,
141 ruleForm: { 146 ruleForm: {
142 qllx: '', 147 qllx: '',
143 qllxmc: '', 148 qllxmc: '',
144 bdcqzlx: '', 149 bdcqzlx: '',
145 dymbbs: '', 150 dymbbs: '',
146 qlqtzk: '', 151 qlqtzk: '',
147 firstreg: '', 152 firstreg: '',
148 },
149 options: [
150 {
151 value: '1',
152 label: '不动产权证书'
153 }, 153 },
154 { 154 options: [
155 value: '2', 155 {
156 label: '不动产登记证明' 156 value: '1',
157 } 157 label: '不动产权证书'
158 ], 158 },
159 options1: [], 159 {
160 rules: { 160 value: '2',
161 qllx: [ 161 label: '不动产登记证明'
162 { required: true, message: '请输入权利类型编码', trigger: 'blur' } 162 }
163 ], 163 ],
164 qllxmc: [ 164 options1: [],
165 { required: true, message: '请输入权利类型名称', trigger: 'blur' } 165 rules: {
166 ], 166 qllx: [
167 bdcqzlx: [ 167 { required: true, message: '请输入权利类型编码', trigger: 'blur' }
168 { required: true, message: '请选择不动产权类型', trigger: 'change' } 168 ],
169 ], 169 qllxmc: [
170 dymbbs: [ 170 { required: true, message: '请输入权利类型名称', trigger: 'blur' }
171 { required: true, message: '请输入打印模板', trigger: 'blur' } 171 ],
172 ], 172 bdcqzlx: [
173 qlqtztmb: [ 173 { required: true, message: '请选择不动产权类型', trigger: 'change' }
174 { required: true, message: '请输入权利其他状况模板', trigger: 'blur' } 174 ],
175 ], 175 dymbbs: [
176 }, 176 { required: true, message: '请输入打印模板', trigger: 'blur' }
177 titleList: [ 177 ],
178 { 178 qlqtztmb: [
179 name: '首次登记' 179 { required: true, message: '请输入权利其他状况模板', trigger: 'blur' }
180 ],
180 }, 181 },
181 { 182 titleList: [
182 name: '转移登记' 183 {
183 }, 184 name: '首次登记'
184 { 185 },
185 name: '变更登记' 186 {
186 }, 187 name: '转移登记'
187 { 188 },
188 name: '注销登记' 189 {
189 }, 190 name: '变更登记'
190 { 191 },
191 name: '更正登记' 192 {
192 }, 193 name: '注销登记'
193 { 194 },
194 name: '补证登记' 195 {
195 }, 196 name: '更正登记'
196 { 197 },
197 name: '换证登记' 198 {
198 } 199 name: '补证登记'
199 ] 200 },
200 } 201 {
201 }, 202 name: '换证登记'
202 methods: { 203 }
203 handleSelect (index) { 204 ]
204 this.n = index 205 }
205 }, 206 },
206 submitForm () { 207 methods: {
207 let that = this 208 handleSelect (index) {
208 updateSysSqywmbsz(this.ruleForm).then(res => { 209 this.n = index
209 if (res.code === 200) { 210 },
210 this.$popupCacel() 211 submitForm () {
211 that.$message({ 212 let that = this
212 message: '修改成功', 213 updateSysSqywmbsz(this.ruleForm).then(res => {
213 type: 'success' 214 if (res.code === 200) {
214 }) 215 this.$popupCacel()
215 } 216 that.$message({
216 }) 217 message: '修改成功',
218 type: 'success'
219 })
220 }
221 })
222 }
217 } 223 }
218 } 224 }
219 }
220 </script> 225 </script>
221 <style scoped lang="scss"> 226 <style scoped lang="scss">
222 @import "~@/styles/mixin.scss"; 227 @import "~@/styles/mixin.scss";
223 @import "~@/styles/dialogBoxheader.scss"; 228 @import "~@/styles/dialogBoxheader.scss";
224 229
225 .qtjfjmb-edit-title { 230 .qtjfjmb-edit-title {
226 padding-bottom: 10px; 231 padding-bottom: 10px;
227 border-bottom: 1px solid $borderColor; 232 border-bottom: 1px solid $borderColor;
228 margin-bottom: 10px; 233 margin-bottom: 10px;
229 } 234 }
230 235
231 ul { 236 ul {
232 @include flex; 237 @include flex;
233 border-radius: 5px; 238 border-radius: 5px;
234 overflow: hidden; 239 overflow: hidden;
235 margin-bottom: 20px; 240 margin-bottom: 20px;
236 241
237 .active { 242 .active {
238 background: $light-blue; 243 background: $light-blue;
239 color: #fff; 244 color: #fff;
240 } 245 }
241 246
242 li { 247 li {
243 flex: 1; 248 flex: 1;
244 line-height: 36px; 249 line-height: 36px;
245 @include flex-center; 250 @include flex-center;
246 border: 1px solid $borderColor; 251 border: 1px solid $borderColor;
247 margin-left: -1px; 252 margin-left: -1px;
248 cursor: pointer; 253 cursor: pointer;
249 transition: all 0.3s; 254 transition: all 0.3s;
250 255
251 &:hover { 256 &:hover {
252 @extend .active; 257 @extend .active;
258 }
253 } 259 }
254 } 260 }
255 }
256 </style> 261 </style>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-17 13:51:03 4 * @LastEditTime: 2023-07-17 13:51:03
5 --> 5 -->
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
38 }, 38 },
39 data () { 39 data () {
40 return { 40 return {
41 isDisabled: this.disabled,
41 key: 0, 42 key: 0,
42 dataIndex: 0, 43 dataIndex: 0,
43 dialog: false, 44 dialog: false,
...@@ -48,7 +49,7 @@ ...@@ -48,7 +49,7 @@
48 width: '50', 49 width: '50',
49 renderHeader: (h, scope) => { 50 renderHeader: (h, scope) => {
50 return <div> { 51 return <div> {
51 this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i> 52 this.isDisabled? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i>
52 } 53 }
53 </div> 54 </div>
54 }, 55 },
...@@ -56,7 +57,7 @@ ...@@ -56,7 +57,7 @@
56 return ( 57 return (
57 <div> 58 <div>
58 { 59 {
59 this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> : 60 this.isDisabled? <span>{scope.$index + 1}</span> :
60 <i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i> 61 <i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i>
61 } 62 }
62 </div> 63 </div>
...@@ -88,7 +89,7 @@ ...@@ -88,7 +89,7 @@
88 return ( 89 return (
89 <div> 90 <div>
90 { 91 {
91 this.$route.query.viewtype == 1 ? <el-button 92 this.isDisabled? <el-button
92 icon="el-icon-view" 93 icon="el-icon-view"
93 type="text" 94 type="text"
94 onClick={() => { this.queryViewClick(scope.$index, scope.row) }} disabled={this.isDisabled}>查看</el-button> : <el-button 95 onClick={() => { this.queryViewClick(scope.$index, scope.row) }} disabled={this.isDisabled}>查看</el-button> : <el-button
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-04 16:05:44 4 * @LastEditTime: 2023-07-04 16:05:44
5 --> 5 -->
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
74 return ( 74 return (
75 <div> 75 <div>
76 { 76 {
77 this.$route.query.viewtype == 1 ? '序号' : 77 this.ableOperation? '序号' :
78 <i 78 <i
79 class="el-icon-plus pointer" 79 class="el-icon-plus pointer"
80 onClick={() => { 80 onClick={() => {
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
91 return ( 91 return (
92 <div> 92 <div>
93 { 93 {
94 this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> : 94 this.ableOperation? <span>{scope.$index + 1}</span> :
95 <i 95 <i
96 class="el-icon-minus pointer" 96 class="el-icon-minus pointer"
97 97
...@@ -536,4 +536,4 @@ ...@@ -536,4 +536,4 @@
536 } 536 }
537 } 537 }
538 } 538 }
539 </style>
...\ No newline at end of file ...\ No newline at end of file
539 </style>
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
23 </div> 23 </div>
24 </div> 24 </div>
25 <el-button type="primary" native-type="submit" style="width:100%" @click="handleAdd()" 25 <el-button type="primary" native-type="submit" style="width:100%" @click="handleAdd()"
26 v-if="!this.$route.query.viewtype && ableOperation">新增</el-button> 26 v-if="ableOperation">新增</el-button>
27 </div> 27 </div>
28 <image-preview ref='imageRef' v-if="tableData.length>0" :previewImg="previewImg" :ableOperation="ableOperation" @updateList="updateList" 28 <image-preview ref='imageRef' v-if="tableData.length>0" :previewImg="previewImg" :ableOperation="ableOperation" @updateList="updateList"
29 @nextPriview="nextPriview" 29 @nextPriview="nextPriview"
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
71 }, 71 },
72 mounted() { 72 mounted() {
73 this.ableOperation=this.$parent.ableOperation 73 this.ableOperation=this.$parent.ableOperation
74 }, 74 },
75 methods: { 75 methods: {
76 // 自动预览 76 // 自动预览
77 nextPriview () { 77 nextPriview () {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:39:57 4 * @LastEditTime: 2023-05-17 10:39:57
5 --> 5 -->
...@@ -275,4 +275,4 @@ ...@@ -275,4 +275,4 @@
275 margin-bottom: -1px; 275 margin-bottom: -1px;
276 } 276 }
277 } 277 }
278 </style>
...\ No newline at end of file ...\ No newline at end of file
278 </style>
......
1 <!-- 1 <!--
2 * @Description: 功能:流程图 2 * @Description: 流程图
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-05-17 10:40:57 4 * @LastEditTime: 2023-07-19 16:04:34
5 --> 5 -->
6 <template> 6 <template>
7 <div class='flowChart'> 7 <div class='flowChart'>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
8 <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="150" 8 <lb-table :column="column" :pagination="false" :key="key" :heightNumSetting="true" :minHeight="150"
9 :data="tableDataList"> 9 :data="tableDataList">
10 </lb-table> 10 </lb-table>
11 <addQlr v-model="dialog" :details="details" :showButton="showButton" @updateDetail="handleupdateDetail" /> 11 <addQlr v-model="dialog" :details="details" :showButton="!isDisabled" @updateDetail="handleupdateDetail" />
12 </div> 12 </div>
13 </template> 13 </template>
14 <script> 14 <script>
...@@ -44,7 +44,6 @@ ...@@ -44,7 +44,6 @@
44 dataIndex: 0, 44 dataIndex: 0,
45 dialog: false, 45 dialog: false,
46 isaddupdate: false, 46 isaddupdate: false,
47 showButton: this.$route.query.viewtype ? false : true,
48 isDisabled: this.disabled, 47 isDisabled: this.disabled,
49 details: {}, 48 details: {},
50 tableDataList: [], 49 tableDataList: [],
...@@ -53,7 +52,7 @@ ...@@ -53,7 +52,7 @@
53 width: '50', 52 width: '50',
54 renderHeader: (h, scope) => { 53 renderHeader: (h, scope) => {
55 return <div> { 54 return <div> {
56 this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i> 55 this.isDisabled? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.addClick() }}></i>
57 } 56 }
58 </div> 57 </div>
59 }, 58 },
...@@ -61,7 +60,7 @@ ...@@ -61,7 +60,7 @@
61 return ( 60 return (
62 <div> 61 <div>
63 { 62 {
64 this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> : 63 this.isDisabled? <span>{scope.$index + 1}</span> :
65 <i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i> 64 <i class="el-icon-minus pointer" onClick={() => { this.deleClick(scope.$index, scope.row) }}></i>
66 } 65 }
67 </div> 66 </div>
...@@ -104,7 +103,7 @@ ...@@ -104,7 +103,7 @@
104 return ( 103 return (
105 <div> 104 <div>
106 { 105 {
107 this.$route.query.viewtype ? <el-button 106 this.isDisabled ? <el-button
108 icon="el-icon-view" 107 icon="el-icon-view"
109 type="text" 108 type="text"
110 onClick={() => { this.queryViewClick(scope.$index, scope.row) }} disabled={this.isDisabled} > 查看</el-button> : <el-button 109 onClick={() => { this.queryViewClick(scope.$index, scope.row) }} disabled={this.isDisabled} > 查看</el-button> : <el-button
...@@ -239,7 +238,7 @@ ...@@ -239,7 +238,7 @@
239 /deep/.el-table th { 238 /deep/.el-table th {
240 height: 30px !important; 239 height: 30px !important;
241 } 240 }
242 /deep/.el-table--small .el-table__cell { 241 /deep/.el-table .cell {
243 padding: 3px; 242 padding-right: 12px;
244 } 243 }
245 </style> 244 </style>
......
...@@ -83,11 +83,7 @@ ...@@ -83,11 +83,7 @@
83 }, 83 },
84 }, 84 },
85 mounted () { 85 mounted () {
86 this.propsParam.isEdit=this.$parent.isEdit 86 this.ableOperation = this.$parent.ableOperation;
87 this.propsParam = this.$attrs;
88 if (this.$route.query.viewtype) {
89 this.ableOperation = false
90 }
91 this.list(); 87 this.list();
92 }, 88 },
93 methods: { 89 methods: {
...@@ -98,7 +94,7 @@ ...@@ -98,7 +94,7 @@
98 var formdata = new FormData(); 94 var formdata = new FormData();
99 formdata.append("bsmBusiness", this.propsParam.bsmBusiness); 95 formdata.append("bsmBusiness", this.propsParam.bsmBusiness);
100 formdata.append("bestepid", this.$route.query.bestepid); 96 formdata.append("bestepid", this.$route.query.bestepid);
101 formdata.append("ableOperation", this.ableOperation) 97 // formdata.append("ableOperation", this.ableOperation)
102 getSpyjList(formdata).then((res) => { 98 getSpyjList(formdata).then((res) => {
103 this.$endLoading() 99 this.$endLoading()
104 if (res.code === 200 && res.result) { 100 if (res.code === 200 && res.result) {
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-17 13:51:09 4 * @LastEditTime: 2023-07-17 13:51:09
5 --> 5 -->
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
41 width: '50', 41 width: '50',
42 renderHeader: (h, scope) => { 42 renderHeader: (h, scope) => {
43 return <div> { 43 return <div> {
44 this.$route.query.viewtype == 1 ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.handleAdd() }}></i> 44 this.ableOperation ? '序号' : <i class="el-icon-plus pointer" onClick={() => { this.handleAdd() }}></i>
45 } 45 }
46 </div> 46 </div>
47 }, 47 },
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
49 return ( 49 return (
50 <div> 50 <div>
51 { 51 {
52 this.$route.query.viewtype == 1 ? <span>{scope.$index + 1}</span> : 52 this.ableOperation ? <span>{scope.$index + 1}</span> :
53 <i class="el-icon-minus pointer" onClick={() => { this.handleMinus(scope.$index, scope.row) }}></i> 53 <i class="el-icon-minus pointer" onClick={() => { this.handleMinus(scope.$index, scope.row) }}></i>
54 } 54 }
55 </div> 55 </div>
......
...@@ -281,7 +281,5 @@ ...@@ -281,7 +281,5 @@
281 /deep/.el-table th { 281 /deep/.el-table th {
282 height: 30px !important; 282 height: 30px !important;
283 } 283 }
284 /deep/.el-table--small .el-table__cell { 284
285 padding: 5px;
286 }
287 </style> 285 </style>
......
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
63 import { getStepFormInfo, unClaimTask } from "@/api/workFlow.js" 63 import { getStepFormInfo, unClaimTask } from "@/api/workFlow.js"
64 import { getForm } from "./flowform" 64 import { getForm } from "./flowform"
65 import NoticeBar from "@/components/NoticeBar/index" 65 import NoticeBar from "@/components/NoticeBar/index"
66 import ProcessViewer from "./components/processViewer.vue" 66 // import ProcessViewer from "./components/processViewer.vue"
67 // 引入左侧菜单 67 // 引入左侧菜单
68 import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue" 68 import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"
69 // 引入左侧菜单 69 // 引入左侧菜单
...@@ -73,7 +73,6 @@ ...@@ -73,7 +73,6 @@
73 components: { 73 components: {
74 selectBdc, 74 selectBdc,
75 NoticeBar, 75 NoticeBar,
76 ProcessViewer,
77 ordinaryMenu, 76 ordinaryMenu,
78 segmentMenu 77 segmentMenu
79 }, 78 },
......
...@@ -64,12 +64,12 @@ ...@@ -64,12 +64,12 @@
64 <el-row :gutter="10"> 64 <el-row :gutter="10">
65 <el-col :span="8"> 65 <el-col :span="8">
66 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg"> 66 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg">
67 <el-input v-model="ruleForm.cfdjList[0].cfjg" :disabled="$route.query.viewtype || isJfOperation"></el-input> 67 <el-input v-model="ruleForm.cfdjList[0].cfjg" :disabled="!ableOperation|| isJfOperation"></el-input>
68 </el-form-item> 68 </el-form-item>
69 </el-col> 69 </el-col>
70 <el-col :span="8"> 70 <el-col :span="8">
71 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh"> 71 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh">
72 <el-input v-model="ruleForm.cfdjList[0].cfwh" :disabled="$route.query.viewtype || isJfOperation"></el-input> 72 <el-input v-model="ruleForm.cfdjList[0].cfwh" :disabled="!ableOperation|| isJfOperation"></el-input>
73 </el-form-item> 73 </el-form-item>
74 </el-col> 74 </el-col>
75 <!-- 批量查封状态有多种查封类型,不予展示 --> 75 <!-- 批量查封状态有多种查封类型,不予展示 -->
...@@ -82,19 +82,19 @@ ...@@ -82,19 +82,19 @@
82 <el-row :gutter="10"> 82 <el-row :gutter="10">
83 <el-col :span="8"> 83 <el-col :span="8">
84 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封期限:" prop="cfdj.cfqx"> 84 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封期限:" prop="cfdj.cfqx">
85 <el-input v-model="ruleForm.cfdjList[0].cfqx" :disabled="$route.query.viewtype || isJfOperation"></el-input> 85 <el-input v-model="ruleForm.cfdjList[0].cfqx" :disabled="!ableOperation|| isJfOperation"></el-input>
86 </el-form-item> 86 </el-form-item>
87 </el-col> 87 </el-col>
88 <el-col :span="8"> 88 <el-col :span="8">
89 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj"> 89 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封起始时间:" prop="cfdj.cfqssj">
90 <el-date-picker v-model="ruleForm.cfdjList[0].cfqssj" class="width100" type="date" placeholder="选择日期" 90 <el-date-picker v-model="ruleForm.cfdjList[0].cfqssj" class="width100" type="date" placeholder="选择日期"
91 value-format="yyyy-MM-dd" :disabled="$route.query.viewtype || isJfOperation"></el-date-picker> 91 value-format="yyyy-MM-dd" :disabled="!ableOperation|| isJfOperation"></el-date-picker>
92 </el-form-item> 92 </el-form-item>
93 </el-col> 93 </el-col>
94 <el-col :span="8"> 94 <el-col :span="8">
95 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:" prop="cfdj.cfjssj"> 95 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封结束时间:" prop="cfdj.cfjssj">
96 <el-date-picker v-model="ruleForm.cfdjList[0].cfjssj" class="width100" 96 <el-date-picker v-model="ruleForm.cfdjList[0].cfjssj" class="width100"
97 :disabled="$route.query.viewtype || isJfOperation" type="date" placeholder="选择日期" 97 :disabled="!ableOperation|| isJfOperation" type="date" placeholder="选择日期"
98 value-format="yyyy-MM-dd"></el-date-picker> 98 value-format="yyyy-MM-dd"></el-date-picker>
99 </el-form-item> 99 </el-form-item>
100 </el-col> 100 </el-col>
...@@ -102,19 +102,19 @@ ...@@ -102,19 +102,19 @@
102 <el-row :gutter="10"> 102 <el-row :gutter="10">
103 <el-col :span="8"> 103 <el-col :span="8">
104 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj"> 104 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj">
105 <el-input v-model="ruleForm.cfdjList[0].cfwj" :disabled="$route.query.viewtype || isJfOperation"></el-input> 105 <el-input v-model="ruleForm.cfdjList[0].cfwj" :disabled="!ableOperation|| isJfOperation"></el-input>
106 </el-form-item> 106 </el-form-item>
107 </el-col> 107 </el-col>
108 <el-col :span="16"> 108 <el-col :span="16">
109 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw"> 109 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw">
110 <el-input v-model="ruleForm.cfdjList[0].cffw" :disabled="$route.query.viewtype || isJfOperation"></el-input> 110 <el-input v-model="ruleForm.cfdjList[0].cffw" :disabled="!ableOperation|| isJfOperation"></el-input>
111 </el-form-item> 111 </el-form-item>
112 </el-col> 112 </el-col>
113 </el-row> 113 </el-row>
114 <el-row :gutter="10"> 114 <el-row :gutter="10">
115 <el-col :span="24"> 115 <el-col :span="24">
116 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj"> 116 <el-form-item :class="flag ? 'marginBot0' : ''" label="附记:" prop="cfdj.fj">
117 <el-input v-model="ruleForm.cfdjList[0].fj" type="textarea" :disabled="$route.query.viewtype || isJfOperation"> 117 <el-input v-model="ruleForm.cfdjList[0].fj" type="textarea" :disabled="!ableOperation|| isJfOperation">
118 </el-input> 118 </el-input>
119 </el-form-item> 119 </el-form-item>
120 </el-col> 120 </el-col>
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
123 <el-col> 123 <el-col>
124 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy"> 124 <el-form-item :class="flag ? 'marginBot0' : ''" label="登记原因:" prop="cfdj.djyy">
125 <el-input class="textArea" type="textarea" v-model="ruleForm.cfdjList[0].djyy" 125 <el-input class="textArea" type="textarea" v-model="ruleForm.cfdjList[0].djyy"
126 :disabled="$route.query.viewtype || isJfOperation"></el-input> 126 :disabled="!ableOperation|| isJfOperation"></el-input>
127 </el-form-item> 127 </el-form-item>
128 </el-col> 128 </el-col>
129 </el-row> 129 </el-row>
...@@ -135,23 +135,23 @@ ...@@ -135,23 +135,23 @@
135 <el-row :gutter="10"> 135 <el-row :gutter="10">
136 <el-col :span="8"> 136 <el-col :span="8">
137 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封机关:" prop="cfdj.jfjg"> 137 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封机关:" prop="cfdj.jfjg">
138 <el-input v-model="ruleForm.cfdjList[0].jfjg" :disabled="$route.query.viewtype"></el-input> 138 <el-input v-model="ruleForm.cfdjList[0].jfjg" :disabled="!ableOperation"></el-input>
139 </el-form-item> 139 </el-form-item>
140 </el-col> 140 </el-col>
141 <el-col :span="8"> 141 <el-col :span="8">
142 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文件:" prop="cfdj.jfwj"> 142 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文件:" prop="cfdj.jfwj">
143 <el-input v-model="ruleForm.cfdjList[0].jfwj" :disabled="$route.query.viewtype"></el-input> 143 <el-input v-model="ruleForm.cfdjList[0].jfwj" :disabled="!ableOperation"></el-input>
144 </el-form-item> 144 </el-form-item>
145 </el-col> 145 </el-col>
146 <el-col :span="8"> 146 <el-col :span="8">
147 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文号:" prop="cfdj.jfwh"> 147 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文号:" prop="cfdj.jfwh">
148 <el-input v-model="ruleForm.cfdjList[0].jfwh" :disabled="$route.query.viewtype"></el-input> 148 <el-input v-model="ruleForm.cfdjList[0].jfwh" :disabled="!ableOperation"></el-input>
149 </el-form-item> 149 </el-form-item>
150 </el-col> 150 </el-col>
151 </el-row> 151 </el-row>
152 </div> 152 </div>
153 </div> 153 </div>
154 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> 154 <el-row class="btn" v-if="ableOperation">
155 <el-form-item :class="flag ? 'marginBot0' : ''"> 155 <el-form-item :class="flag ? 'marginBot0' : ''">
156 <el-button type="primary" @click="onSubmit">保存</el-button> 156 <el-button type="primary" @click="onSubmit">保存</el-button>
157 </el-form-item> 157 </el-form-item>
......
...@@ -152,14 +152,14 @@ ...@@ -152,14 +152,14 @@
152 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg"> 152 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封机关:" prop="cfdj.cfjg">
153 <el-input 153 <el-input
154 v-model="ruleForm.cfdj.cfjg" 154 v-model="ruleForm.cfdj.cfjg"
155 :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-input> 155 :disabled="!ableOperation || ableEdit || isJfOperation"></el-input>
156 </el-form-item> 156 </el-form-item>
157 </el-col> 157 </el-col>
158 <el-col :span="8"> 158 <el-col :span="8">
159 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh"> 159 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文号:" prop="cfdj.cfwh">
160 <el-input 160 <el-input
161 v-model="ruleForm.cfdj.cfwh" 161 v-model="ruleForm.cfdj.cfwh"
162 :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-input> 162 :disabled="!ableOperation || ableEdit || isJfOperation"></el-input>
163 </el-form-item> 163 </el-form-item>
164 </el-col> 164 </el-col>
165 <el-col :span="8"> 165 <el-col :span="8">
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
173 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封期限:" prop="cfdj.cfqx"> 173 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封期限:" prop="cfdj.cfqx">
174 <el-input 174 <el-input
175 v-model="ruleForm.cfdj.cfqx" 175 v-model="ruleForm.cfdj.cfqx"
176 :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-input> 176 :disabled="!ableOperation || ableEdit || isJfOperation"></el-input>
177 </el-form-item> 177 </el-form-item>
178 </el-col> 178 </el-col>
179 <el-col :span="8"> 179 <el-col :span="8">
...@@ -184,7 +184,7 @@ ...@@ -184,7 +184,7 @@
184 type="date" 184 type="date"
185 placeholder="选择日期" 185 placeholder="选择日期"
186 value-format="yyyy-MM-dd" 186 value-format="yyyy-MM-dd"
187 :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-date-picker> 187 :disabled="!ableOperation || ableEdit || isJfOperation"></el-date-picker>
188 </el-form-item> 188 </el-form-item>
189 </el-col> 189 </el-col>
190 <el-col :span="8"> 190 <el-col :span="8">
...@@ -192,7 +192,7 @@ ...@@ -192,7 +192,7 @@
192 <el-date-picker 192 <el-date-picker
193 v-model="ruleForm.cfdj.cfjssj" 193 v-model="ruleForm.cfdj.cfjssj"
194 class="width100" 194 class="width100"
195 :disabled="$route.query.viewtype || ableEdit || isJfOperation" 195 :disabled="!ableOperation || ableEdit || isJfOperation"
196 type="date" 196 type="date"
197 placeholder="选择日期" 197 placeholder="选择日期"
198 value-format="yyyy-MM-dd"></el-date-picker> 198 value-format="yyyy-MM-dd"></el-date-picker>
...@@ -204,14 +204,14 @@ ...@@ -204,14 +204,14 @@
204 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj"> 204 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封文件:" prop="cfdj.cfwj">
205 <el-input 205 <el-input
206 v-model="ruleForm.cfdj.cfwj" 206 v-model="ruleForm.cfdj.cfwj"
207 :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-input> 207 :disabled="!ableOperation || ableEdit || isJfOperation"></el-input>
208 </el-form-item> 208 </el-form-item>
209 </el-col> 209 </el-col>
210 <el-col :span="16"> 210 <el-col :span="16">
211 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw"> 211 <el-form-item :class="flag ? 'marginBot0' : ''" label="查封范围:" prop="cfdj.cffw">
212 <el-input 212 <el-input
213 v-model="ruleForm.cfdj.cffw" 213 v-model="ruleForm.cfdj.cffw"
214 :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-input> 214 :disabled="!ableOperation || ableEdit || isJfOperation"></el-input>
215 </el-form-item> 215 </el-form-item>
216 </el-col> 216 </el-col>
217 </el-row> 217 </el-row>
...@@ -221,7 +221,7 @@ ...@@ -221,7 +221,7 @@
221 <el-input 221 <el-input
222 v-model="ruleForm.cfdj.fj" 222 v-model="ruleForm.cfdj.fj"
223 type="textarea" 223 type="textarea"
224 :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-input> 224 :disabled="!ableOperation || ableEdit || isJfOperation"></el-input>
225 </el-form-item> 225 </el-form-item>
226 </el-col> 226 </el-col>
227 </el-row> 227 </el-row>
...@@ -232,7 +232,7 @@ ...@@ -232,7 +232,7 @@
232 class="textArea" 232 class="textArea"
233 type="textarea" 233 type="textarea"
234 v-model="ruleForm.cfdj.djyy" 234 v-model="ruleForm.cfdj.djyy"
235 :disabled="$route.query.viewtype || ableEdit || isJfOperation"></el-input> 235 :disabled="!ableOperation || ableEdit || isJfOperation"></el-input>
236 </el-form-item> 236 </el-form-item>
237 </el-col> 237 </el-col>
238 </el-row> 238 </el-row>
...@@ -246,27 +246,27 @@ ...@@ -246,27 +246,27 @@
246 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封机关:" prop="cfdj.jfjg"> 246 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封机关:" prop="cfdj.jfjg">
247 <el-input 247 <el-input
248 v-model="ruleForm.cfdj.jfjg" 248 v-model="ruleForm.cfdj.jfjg"
249 :disabled="$route.query.viewtype || ableEdit"></el-input> 249 :disabled="!ableOperation || ableEdit"></el-input>
250 </el-form-item> 250 </el-form-item>
251 </el-col> 251 </el-col>
252 <el-col :span="8"> 252 <el-col :span="8">
253 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文件:" prop="cfdj.jfwj"> 253 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文件:" prop="cfdj.jfwj">
254 <el-input 254 <el-input
255 v-model="ruleForm.cfdj.jfwj" 255 v-model="ruleForm.cfdj.jfwj"
256 :disabled="$route.query.viewtype || ableEdit"></el-input> 256 :disabled="!ableOperation || ableEdit"></el-input>
257 </el-form-item> 257 </el-form-item>
258 </el-col> 258 </el-col>
259 <el-col :span="8"> 259 <el-col :span="8">
260 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文号:" prop="cfdj.jfwh"> 260 <el-form-item :class="flag ? 'marginBot0' : ''" label="解封文号:" prop="cfdj.jfwh">
261 <el-input 261 <el-input
262 v-model="ruleForm.cfdj.jfwh" 262 v-model="ruleForm.cfdj.jfwh"
263 :disabled="$route.query.viewtype || ableEdit"></el-input> 263 :disabled="!ableOperation || ableEdit"></el-input>
264 </el-form-item> 264 </el-form-item>
265 </el-col> 265 </el-col>
266 </el-row> 266 </el-row>
267 </div> 267 </div>
268 </div> 268 </div>
269 <el-row class="btn" v-if="!$route.query.viewtype && !ableEdit"> 269 <el-row class="btn" v-if="ableOperation && !ableEdit">
270 <el-form-item :class="flag ? 'marginBot0' : ''"> 270 <el-form-item :class="flag ? 'marginBot0' : ''">
271 <el-button type="primary" @click="onSubmit">保存</el-button> 271 <el-button type="primary" @click="onSubmit">保存</el-button>
272 </el-form-item> 272 </el-form-item>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-11 10:00:43 4 * @LastEditTime: 2023-07-11 10:00:43
5 --> 5 -->
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
139 <el-form-item label="被担保主债权数额:"> 139 <el-form-item label="被担保主债权数额:">
140 <div style="display:flex"> 140 <div style="display:flex">
141 <el-input v-model="ruleForm.diyaq.bdbzzqse" :disabled="!ableOperation" style="width:500%"></el-input> 141 <el-input v-model="ruleForm.diyaq.bdbzzqse" :disabled="!ableOperation" style="width:500%"></el-input>
142 <el-select v-model="ruleForm.diyaq.jedw" :disabled="$route.query.viewtype == '1' && !ableOperation"> 142 <el-select v-model="ruleForm.diyaq.jedw" :disabled="!ableOperation">
143 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> 143 <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode">
144 </el-option> 144 </el-option>
145 </el-select> 145 </el-select>
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
170 <el-col :span="24"> 170 <el-col :span="24">
171 <el-form-item label="担保范围:"> 171 <el-form-item label="担保范围:">
172 <el-input v-model="ruleForm.diyaq.dbfw" 172 <el-input v-model="ruleForm.diyaq.dbfw"
173 :disabled="($route.query.viewtype == 1 || ruleForm.sldy.djlx == '300') && !ableOperation"></el-input> 173 :disabled="ruleForm.sldy.djlx == '300'&& !ableOperation"></el-input>
174 </el-form-item> 174 </el-form-item>
175 </el-col> 175 </el-col>
176 </el-row> 176 </el-row>
...@@ -184,7 +184,7 @@ ...@@ -184,7 +184,7 @@
184 <el-row> 184 <el-row>
185 <el-col> 185 <el-col>
186 <el-form-item label="附记:" prop="fj"> 186 <el-form-item label="附记:" prop="fj">
187 <el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="$route.query.viewtype == 1 && !ableOperation"></el-input> 187 <el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="!ableOperation"></el-input>
188 </el-form-item> 188 </el-form-item>
189 </el-col> 189 </el-col>
190 </el-row> 190 </el-row>
...@@ -196,7 +196,7 @@ ...@@ -196,7 +196,7 @@
196 <el-row :gutter="10"> 196 <el-row :gutter="10">
197 <el-col :span="14"> 197 <el-col :span="14">
198 <el-form-item label="共有方式:"> 198 <el-form-item label="共有方式:">
199 <el-radio-group :disabled="$route.query.viewtype == 1 && !ableOperation" v-model="ruleForm.sldy.gyfs"> 199 <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldy.gyfs">
200 <el-radio label="0">单独所有</el-radio> 200 <el-radio label="0">单独所有</el-radio>
201 <el-radio label="1">共同共有</el-radio> 201 <el-radio label="1">共同共有</el-radio>
202 <el-radio label="2">按份所有</el-radio> 202 <el-radio label="2">按份所有</el-radio>
...@@ -222,13 +222,13 @@ ...@@ -222,13 +222,13 @@
222 </el-col> 222 </el-col>
223 </el-row> 223 </el-row>
224 <qlrCommonTable :tableData="ruleForm.qlrList" :disabled="!ableOperation" @upDateQlrxxList="upDateQlrxxList" 224 <qlrCommonTable :tableData="ruleForm.qlrList" :disabled="!ableOperation" @upDateQlrxxList="upDateQlrxxList"
225 :viewtype="$route.query.viewtype" :gyfs="ruleForm.sldy.gyfs" /> 225 :viewtype="!ableOperation" :gyfs="ruleForm.sldy.gyfs" />
226 <div class="slxx_title title-block"> 226 <div class="slxx_title title-block">
227 抵押人信息 227 抵押人信息
228 <div class="triangle"></div> 228 <div class="triangle"></div>
229 </div> 229 </div>
230 <qlrCommonTable :tableData="ruleForm.ywrList" :disabled="!ableOperation" @upDateQlrxxList="upDateYwrxxList" 230 <qlrCommonTable :tableData="ruleForm.ywrList" :disabled="!ableOperation" @upDateQlrxxList="upDateYwrxxList"
231 :viewtype="$route.query.viewtype" /> 231 :viewtype="!ableOperation" />
232 232
233 <div class="slxx_title title-block"> 233 <div class="slxx_title title-block">
234 登记原因 234 登记原因
...@@ -237,12 +237,12 @@ ...@@ -237,12 +237,12 @@
237 <el-row :gutter="10"> 237 <el-row :gutter="10">
238 <el-col> 238 <el-col>
239 <el-form-item v-if="ruleForm.sldy.djlx == '400'" label="注销抵押原因:" prop="djyy"> 239 <el-form-item v-if="ruleForm.sldy.djlx == '400'" label="注销抵押原因:" prop="djyy">
240 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1 && !ableOperation" 240 <el-input class="textArea" type="textarea" :disabled="!ableOperation"
241 v-model="ruleForm.diyaq.zxdyyy"> 241 v-model="ruleForm.diyaq.zxdyyy">
242 </el-input> 242 </el-input>
243 </el-form-item> 243 </el-form-item>
244 <el-form-item v-else label="登记原因:" prop="djyy"> 244 <el-form-item v-else label="登记原因:" prop="djyy">
245 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1 && !ableOperation" 245 <el-input class="textArea" type="textarea" :disabled="!ableOperation"
246 v-model="ruleForm.diyaq.djyy"> 246 v-model="ruleForm.diyaq.djyy">
247 </el-input> 247 </el-input>
248 </el-form-item> 248 </el-form-item>
...@@ -250,7 +250,7 @@ ...@@ -250,7 +250,7 @@
250 </el-row> 250 </el-row>
251 251
252 </div> 252 </div>
253 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> 253 <el-row class="btn" v-if="ableOperation">
254 <el-form-item> 254 <el-form-item>
255 <el-button type="primary" @click="onSubmitClick()">保存</el-button> 255 <el-button type="primary" @click="onSubmitClick()">保存</el-button>
256 </el-form-item> 256 </el-form-item>
......
1 <!-- 1 <!--
2 * @Description: 受理信息 2 * @Description: 受理信息
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-19 14:43:59 4 * @LastEditTime: 2023-07-20 09:30:06
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -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>
......
1 <!-- 1 <!--
2 * @Description: 受理信息 2 * @Description: 受理信息
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-14 11:18:17 4 * @LastEditTime: 2023-07-20 09:30:11
5 --> 5 -->
6 <template> 6 <template>
7 <div class="slxx"> 7 <div class="slxx">
...@@ -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>
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-07-11 10:08:11 4 * @LastEditTime: 2023-07-20 09:32:18
5 --> 5 -->
6 <template> 6 <template>
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
...@@ -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>
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
7 <!-- 受理信息 --> 7 <!-- 受理信息 -->
8 <div class="slxx"> 8 <div class="slxx">
9 <el-form :model="ruleForm" :rules="rules" :class="{readonly: editDisabled }" 9 <el-form :model="ruleForm" :rules="rules" :class="{readonly: editDisabled }"
10 class="loadingtext" ref="ruleForm" :label-position="flag ? 'top' : ''" 10 class="loadingtext" ref="ruleForm" :label-position="flag ? 'top' : ''"
11 :inline="flag" label-width="120px"> 11 :inline="flag" label-width="120px">
12 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''"> 12 <div class="slxx_con" v-if="isShow" :class="flag ? 'formMarginBot0' : ''">
13 <div class="slxx_title title-block"> 13 <div class="slxx_title title-block">
...@@ -128,7 +128,7 @@ ...@@ -128,7 +128,7 @@
128 <div class="triangle"></div> 128 <div class="triangle"></div>
129 </div> 129 </div>
130 <tdytTable 130 <tdytTable
131 :ableOperation="ableOperation" 131 :ableOperation="ableOperation"
132 :tableData="ruleForm.tdytqxList" 132 :tableData="ruleForm.tdytqxList"
133 @upDateTdytxxList="upDateTdytxxList" /> 133 @upDateTdytxxList="upDateTdytxxList" />
134 <div class="slxx_title title-block"> 134 <div class="slxx_title title-block">
...@@ -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>
...@@ -226,14 +224,14 @@ ...@@ -226,14 +224,14 @@
226 components: { qlrCommonTable, tdytTable }, 224 components: { qlrCommonTable, tdytTable },
227 computed: { 225 computed: {
228 ...mapGetters(["dictData", "flag"]), 226 ...mapGetters(["dictData", "flag"]),
229 // 根据流程判断表单是否为只读 227 // 根据流程判断表单是否为只读
230 editDisabled() { 228 editDisabled () {
231 if (!this.ableOperation) { 229 if (!this.ableOperation) {
232 //只读状态 230 //只读状态
233 return true; 231 return true;
234 } 232 }
235 return false; 233 return false;
236 }, 234 },
237 }, 235 },
238 data () { 236 data () {
239 return { 237 return {
......
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
121 <el-row :gutter="10"> 121 <el-row :gutter="10">
122 <el-col> 122 <el-col>
123 <el-form-item label="附记:" prop="fj"> 123 <el-form-item label="附记:" prop="fj">
124 <el-input type="textarea" v-model="ruleForm.jsydsyq.fj" :disabled="$route.query.viewtype=='1' && !ableOperation"></el-input> 124 <el-input type="textarea" v-model="ruleForm.jsydsyq.fj" :disabled="!ableOperation"></el-input>
125 </el-form-item> 125 </el-form-item>
126 </el-col> 126 </el-col>
127 </el-row> 127 </el-row>
...@@ -143,7 +143,7 @@ ...@@ -143,7 +143,7 @@
143 <el-row :gutter="10"> 143 <el-row :gutter="10">
144 <el-col :span="14"> 144 <el-col :span="14">
145 <el-form-item label="共有方式:"> 145 <el-form-item label="共有方式:">
146 <el-radio-group :disabled="$route.query.viewtype=='1' && !ableOperation" v-model="ruleForm.sldy.gyfs"> 146 <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldy.gyfs">
147 <el-radio label="0">单独所有</el-radio> 147 <el-radio label="0">单独所有</el-radio>
148 <el-radio label="1">共同共有</el-radio> 148 <el-radio label="1">共同共有</el-radio>
149 <el-radio label="2">按份所有</el-radio> 149 <el-radio label="2">按份所有</el-radio>
...@@ -168,8 +168,7 @@ ...@@ -168,8 +168,7 @@
168 </el-form-item> 168 </el-form-item>
169 </el-col> 169 </el-col>
170 </el-row> 170 </el-row>
171 <qlrCommonTable :tableData="ruleForm.qlrList" :disabled="!ableOperation" @upDateQlrxxList='upDateQlrxxList' 171 <qlrCommonTable :tableData="ruleForm.qlrList" :disabled="!ableOperation" @upDateQlrxxList='upDateQlrxxList' :gyfs="ruleForm.sldy.gyfs" />
172 :viewtype="$route.query.viewtype=='1'" :gyfs="ruleForm.sldy.gyfs" />
173 <div class="slxx_title title-block"> 172 <div class="slxx_title title-block">
174 登记原因 173 登记原因
175 <div class="triangle"></div> 174 <div class="triangle"></div>
...@@ -177,14 +176,14 @@ ...@@ -177,14 +176,14 @@
177 <el-row :gutter="10"> 176 <el-row :gutter="10">
178 <el-col> 177 <el-col>
179 <el-form-item label="登记原因:" prop="djyy"> 178 <el-form-item label="登记原因:" prop="djyy">
180 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype=='1' && !ableOperation" 179 <el-input class="textArea" type="textarea" :disabled="!ableOperation"
181 v-model="ruleForm.jsydsyq.djyy"> 180 v-model="ruleForm.jsydsyq.djyy">
182 </el-input> 181 </el-input>
183 </el-form-item> 182 </el-form-item>
184 </el-col> 183 </el-col>
185 </el-row> 184 </el-row>
186 </div> 185 </div>
187 <el-row class="btn" v-if="!$route.query.viewtype=='1' && ableOperation"> 186 <el-row class="btn" v-if="ableOperation">
188 <el-form-item> 187 <el-form-item>
189 <el-button type="primary" @click="onSubmit">保存</el-button> 188 <el-button type="primary" @click="onSubmit">保存</el-button>
190 </el-form-item> 189 </el-form-item>
......
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
165 <el-row :gutter="10"> 165 <el-row :gutter="10">
166 <el-col> 166 <el-col>
167 <el-form-item label="附记:" prop="fj"> 167 <el-form-item label="附记:" prop="fj">
168 <el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="$route.query.viewtype && !ableOperation"></el-input> 168 <el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="!ableOperation"></el-input>
169 </el-form-item> 169 </el-form-item>
170 </el-col> 170 </el-col>
171 </el-row> 171 </el-row>
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
176 <el-row :gutter="10"> 176 <el-row :gutter="10">
177 <el-col :span="14"> 177 <el-col :span="14">
178 <el-form-item label="共有方式:"> 178 <el-form-item label="共有方式:">
179 <el-radio-group v-model="ruleForm.sldy.gyfs" :disabled="$route.query.viewtype&& !ableOperation"> 179 <el-radio-group v-model="ruleForm.sldy.gyfs" :disabled="!ableOperation">
180 <el-radio label="0">单独所有</el-radio> 180 <el-radio label="0">单独所有</el-radio>
181 <el-radio label="1">共同共有</el-radio> 181 <el-radio label="1">共同共有</el-radio>
182 <el-radio label="2">按份所有</el-radio> 182 <el-radio label="2">按份所有</el-radio>
...@@ -201,14 +201,12 @@ ...@@ -201,14 +201,12 @@
201 </el-form-item> 201 </el-form-item>
202 </el-col> 202 </el-col>
203 </el-row> 203 </el-row>
204 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!ableOperation" 204 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!ableOperation" :gyfs="ruleForm.slywxx.gyfs" />
205 :viewtype="$route.query.viewtype" :gyfs="ruleForm.slywxx.gyfs" />
206 <div class="slxx_title title-block"> 205 <div class="slxx_title title-block">
207 家庭成员 206 家庭成员
208 <div class="triangle"></div> 207 <div class="triangle"></div>
209 </div> 208 </div>
210 <JtcyTable :tableData="ruleForm.jtcyList" @upDateJtcyList="upDateJtcyList" :viewtype="$route.query.viewtype" 209 <JtcyTable :tableData="ruleForm.jtcyList" @upDateJtcyList="upDateJtcyList" :disabled="!ableOperation" :gyfs="ruleForm.slywxx.gyfs" />
211 :gyfs="ruleForm.slywxx.gyfs" />
212 <div class="slxx_title title-block"> 210 <div class="slxx_title title-block">
213 登记原因 211 登记原因
214 <div class="triangle"></div> 212 <div class="triangle"></div>
...@@ -216,14 +214,14 @@ ...@@ -216,14 +214,14 @@
216 <el-row :gutter="10"> 214 <el-row :gutter="10">
217 <el-col> 215 <el-col>
218 <el-form-item label="登记原因:" prop="djyy"> 216 <el-form-item label="登记原因:" prop="djyy">
219 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype && ableOperation" 217 <el-input class="textArea" type="textarea" :disabled="!ableOperation"
220 v-model="ruleForm.nydsyq.djyy"> 218 v-model="ruleForm.nydsyq.djyy">
221 </el-input> 219 </el-input>
222 </el-form-item> 220 </el-form-item>
223 </el-col> 221 </el-col>
224 </el-row> 222 </el-row>
225 </div> 223 </div>
226 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> 224 <el-row class="btn" v-if="ableOperation">
227 <el-form-item> 225 <el-form-item>
228 <el-button type="primary" @click="onSubmit">保存</el-button> 226 <el-button type="primary" @click="onSubmit">保存</el-button>
229 </el-form-item> 227 </el-form-item>
...@@ -327,4 +325,4 @@ ...@@ -327,4 +325,4 @@
327 <style scoped lang='scss'> 325 <style scoped lang='scss'>
328 @import "~@/styles/public.scss"; 326 @import "~@/styles/public.scss";
329 @import "~@/styles/slxx/slxx.scss"; 327 @import "~@/styles/slxx/slxx.scss";
330 </style>
...\ No newline at end of file ...\ No newline at end of file
328 </style>
......
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
165 <el-row :gutter="10"> 165 <el-row :gutter="10">
166 <el-col> 166 <el-col>
167 <el-form-item label="附记:" prop="fj"> 167 <el-form-item label="附记:" prop="fj">
168 <el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="$route.query.viewtype == 1 && !ableOperation"></el-input> 168 <el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="!ableOperation"></el-input>
169 </el-form-item> 169 </el-form-item>
170 </el-col> 170 </el-col>
171 </el-row> 171 </el-row>
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
176 <el-row :gutter="10"> 176 <el-row :gutter="10">
177 <el-col :span="14"> 177 <el-col :span="14">
178 <el-form-item label="共有方式:"> 178 <el-form-item label="共有方式:">
179 <el-radio-group :disabled="$route.query.viewtype == 1 && !ableOperation" v-model="ruleForm.sldy.gyfs"> 179 <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldy.gyfs">
180 <el-radio label="0">单独所有</el-radio> 180 <el-radio label="0">单独所有</el-radio>
181 <el-radio label="1">共同共有</el-radio> 181 <el-radio label="1">共同共有</el-radio>
182 <el-radio label="2">按份所有</el-radio> 182 <el-radio label="2">按份所有</el-radio>
...@@ -201,20 +201,17 @@ ...@@ -201,20 +201,17 @@
201 </el-form-item> 201 </el-form-item>
202 </el-col> 202 </el-col>
203 </el-row> 203 </el-row>
204 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!ableOperation" 204 <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!ableOperation" :gyfs="ruleForm.sldy.gyfs" />
205 :viewtype="$route.query.viewtype" :gyfs="ruleForm.sldy.gyfs" />
206 <div class="slxx_title title-block"> 205 <div class="slxx_title title-block">
207 义务人信息 206 义务人信息
208 <div class="triangle"></div> 207 <div class="triangle"></div>
209 </div> 208 </div>
210 <qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" :disabled="!ableOperation" 209 <qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" :disabled="!ableOperation" />
211 :viewtype="$route.query.viewtype" />
212 <div class="slxx_title title-block"> 210 <div class="slxx_title title-block">
213 家庭成员 211 家庭成员
214 <div class="triangle"></div> 212 <div class="triangle"></div>
215 </div> 213 </div>
216 <JtcyTable :tableData="ruleForm.jtcyList" :disabled="!ableOperation" @upDateJtcyList="upDateJtcyList" :viewtype="$route.query.viewtype" 214 <JtcyTable :tableData="ruleForm.jtcyList" :disabled="!ableOperation" @upDateJtcyList="upDateJtcyList" :gyfs="ruleForm.slywxx.gyfs" />
217 :gyfs="ruleForm.slywxx.gyfs" />
218 <div class="slxx_title title-block"> 215 <div class="slxx_title title-block">
219 登记原因 216 登记原因
220 <div class="triangle"></div> 217 <div class="triangle"></div>
...@@ -222,14 +219,14 @@ ...@@ -222,14 +219,14 @@
222 <el-row :gutter="10"> 219 <el-row :gutter="10">
223 <el-col> 220 <el-col>
224 <el-form-item label="登记原因:" prop="djyy"> 221 <el-form-item label="登记原因:" prop="djyy">
225 <el-input class="textArea" type="textarea" :disabled="$route.query.viewtype == 1 && !ableOperation" 222 <el-input class="textArea" type="textarea" :disabled="!ableOperation"
226 v-model="ruleForm.nydsyq.djyy"> 223 v-model="ruleForm.nydsyq.djyy">
227 </el-input> 224 </el-input>
228 </el-form-item> 225 </el-form-item>
229 </el-col> 226 </el-col>
230 </el-row> 227 </el-row>
231 </div> 228 </div>
232 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> 229 <el-row class="btn" v-if="ableOperation">
233 <el-form-item> 230 <el-form-item>
234 <el-button type="primary" @click="onSubmit">保存</el-button> 231 <el-button type="primary" @click="onSubmit">保存</el-button>
235 </el-form-item> 232 </el-form-item>
...@@ -338,4 +335,4 @@ ...@@ -338,4 +335,4 @@
338 <style scoped lang='scss'> 335 <style scoped lang='scss'>
339 @import "~@/styles/public.scss"; 336 @import "~@/styles/public.scss";
340 @import "~@/styles/slxx/slxx.scss"; 337 @import "~@/styles/slxx/slxx.scss";
341 </style>
...\ No newline at end of file ...\ No newline at end of file
338 </style>
......
...@@ -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,20 +183,19 @@ ...@@ -185,20 +183,19 @@
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>
197 </el-col> 195 </el-col>
198 </el-row> 196 </el-row>
199
200 </div> 197 </div>
201 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> 198 <el-row class="btn" v-if="ableOperation">
202 <el-form-item> 199 <el-form-item>
203 <el-button type="primary" @click="onSubmitClick()">保存</el-button> 200 <el-button type="primary" @click="onSubmitClick()">保存</el-button>
204 </el-form-item> 201 </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,20 +227,19 @@ ...@@ -229,20 +227,19 @@
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>
241 </el-col> 239 </el-col>
242 </el-row> 240 </el-row>
243
244 </div> 241 </div>
245 <el-row class="btn" v-if="!$route.query.viewtype && ableOperation"> 242 <el-row class="btn" v-if="ableOperation">
246 <el-form-item> 243 <el-form-item>
247 <el-button type="primary" @click="onSubmitClick()">保存</el-button> 244 <el-button type="primary" @click="onSubmitClick()">保存</el-button>
248 </el-form-item> 245 </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 }
......
...@@ -3,9 +3,7 @@ const path = require('path') ...@@ -3,9 +3,7 @@ const path = require('path')
3 function resolve (dir) { 3 function resolve (dir) {
4 return path.join(__dirname, dir) 4 return path.join(__dirname, dir)
5 } 5 }
6
7 const port = process.env.port || process.env.npm_config_port || 8888 // dev port 6 const port = process.env.port || process.env.npm_config_port || 8888 // dev port
8
9 // All configuration item explanations can be find in https://cli.vuejs.org/config/ 7 // All configuration item explanations can be find in https://cli.vuejs.org/config/
10 module.exports = { 8 module.exports = {
11 /** 9 /**
......