Merge branch 'dev'
Showing
94 changed files
with
2748 additions
and
1081 deletions
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-06-14 15:05:38 | 4 | * @LastEditTime: 2023-09-21 09:27:14 |
5 | */ | 5 | */ |
6 | import Vue from 'vue' | 6 | import Vue from 'vue' |
7 | import Popup from './index.vue' | 7 | import Popup from './index.vue' |
... | @@ -50,6 +50,8 @@ const Popup1 = (title, editItem, data, formData) => { | ... | @@ -50,6 +50,8 @@ const Popup1 = (title, editItem, data, formData) => { |
50 | let instance = new PopupBox({ | 50 | let instance = new PopupBox({ |
51 | data | 51 | data |
52 | }).$mount() | 52 | }).$mount() |
53 | // 设置 z-index 并递增层级计数器 | ||
54 | instance.zIndex = data.zIndexCounter++ | ||
53 | document.body.appendChild(instance.$el) | 55 | document.body.appendChild(instance.$el) |
54 | Vue.nextTick(() => { | 56 | Vue.nextTick(() => { |
55 | instance.isShow = true | 57 | instance.isShow = true | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-19 10:19:52 | 4 | * @LastEditTime: 2023-09-21 09:25:47 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <transition name="msgbox-fade"> | 7 | <transition name="msgbox-fade"> |
8 | <div class="ls-mask" v-if="myShow"> | 8 | <div class="ls-mask" ref="popup" v-if="myShow"> |
9 | <div class="ls-mask-window" :class="isMain ? 'mainCenter' : 'contentCenter'" :style="{ 'width': width }"> | 9 | <div class="ls-mask-window" :class="isMain ? 'mainCenter' : 'contentCenter'" :style="{ 'width': width }"> |
10 | <div class="ls-head"> | 10 | <div class="ls-head"> |
11 | <div class="ls-title" :style="{ 'text-align': titleStyle }"> | 11 | <div class="ls-title" :style="{ 'text-align': titleStyle }"> |
... | @@ -30,6 +30,7 @@ | ... | @@ -30,6 +30,7 @@ |
30 | name: 'index', | 30 | name: 'index', |
31 | data () { | 31 | data () { |
32 | return { | 32 | return { |
33 | zIndexCounter: 2000, | ||
33 | title: '标题', | 34 | title: '标题', |
34 | editItem: "", | 35 | editItem: "", |
35 | isMain: false, | 36 | isMain: false, | ... | ... |
... | @@ -13,12 +13,12 @@ | ... | @@ -13,12 +13,12 @@ |
13 | </template> | 13 | </template> |
14 | 14 | ||
15 | <script> | 15 | <script> |
16 | import { mapGetters } from 'vuex' | 16 | import { mapGetters } from 'vuex' |
17 | import Logo from './Logo' | 17 | import Logo from './Logo' |
18 | import SidebarItem from './SidebarItem' | 18 | import SidebarItem from './SidebarItem' |
19 | import variables from '@/styles/variables.scss' | 19 | import variables from '@/styles/variables.scss' |
20 | import { asyncRoutes } from '@/router' | 20 | import { asyncRoutes } from '@/router' |
21 | export default { | 21 | export default { |
22 | components: { SidebarItem, Logo }, | 22 | components: { SidebarItem, Logo }, |
23 | computed: { | 23 | computed: { |
24 | ...mapGetters(['permission_routes', 'sidebar']), | 24 | ...mapGetters(['permission_routes', 'sidebar']), |
... | @@ -37,5 +37,5 @@ export default { | ... | @@ -37,5 +37,5 @@ export default { |
37 | return asyncRoutes | 37 | return asyncRoutes |
38 | } | 38 | } |
39 | } | 39 | } |
40 | } | 40 | } |
41 | </script> | 41 | </script> | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-28 15:31:31 | 4 | * @LastEditTime: 2023-09-25 10:56:39 |
5 | */ | 5 | */ |
6 | import store from '@/store' | 6 | import store from '@/store' |
7 | // table 内部过滤器 由于过滤器只能在模板中使用 所以 就有了 jsx内部方法过滤器 | 7 | // table 内部过滤器 由于过滤器只能在模板中使用 所以 就有了 jsx内部方法过滤器 |
... | @@ -110,4 +110,11 @@ export default class filter { | ... | @@ -110,4 +110,11 @@ export default class filter { |
110 | 110 | ||
111 | return text; | 111 | return text; |
112 | } | 112 | } |
113 | joinItem (val) { | ||
114 | if (Array.isArray(val) && val.length > 0) { | ||
115 | return val.join() | ||
116 | } else { | ||
117 | return val | ||
118 | } | ||
119 | } | ||
113 | } | 120 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-19 15:52:44 | 4 | * @LastEditTime: 2023-09-22 09:30:34 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class='ywdialog'> | 7 | <div class='ywdialog'> |
... | @@ -35,5 +35,6 @@ | ... | @@ -35,5 +35,6 @@ |
35 | @import "~@/styles/public.scss"; | 35 | @import "~@/styles/public.scss"; |
36 | .ywdialog { | 36 | .ywdialog { |
37 | min-width: 230px; | 37 | min-width: 230px; |
38 | padding-bottom: 20px; | ||
38 | } | 39 | } |
39 | </style> | 40 | </style> |
... | \ 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-04-26 16:05:28 | 4 | * @LastEditTime: 2023-09-22 13:38:52 |
5 | --> | 5 | --> |
6 | <!-- 批量删除弹框 --> | 6 | <!-- 批量删除弹框 --> |
7 | <template> | 7 | <template> |
... | @@ -52,7 +52,6 @@ | ... | @@ -52,7 +52,6 @@ |
52 | } | 52 | } |
53 | }, | 53 | }, |
54 | methods: { | 54 | methods: { |
55 | // 批量删除确定按钮 | ||
56 | /** | 55 | /** |
57 | * @description: 批量删除确定按钮 | 56 | * @description: 批量删除确定按钮 |
58 | * @author: renchao | 57 | * @author: renchao | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-19 09:28:13 | 4 | * @LastEditTime: 2023-10-08 08:35:11 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="clxx"> | 7 | <div class="clxx"> |
... | @@ -255,12 +255,7 @@ | ... | @@ -255,12 +255,7 @@ |
255 | sfggcl: data.sfggcl, | 255 | sfggcl: data.sfggcl, |
256 | }; | 256 | }; |
257 | //是否公共材料 | 257 | //是否公共材料 |
258 | if (data.sfggcl == "0") { | 258 | obj["bsmSldy"] = this.$parent.currentSelectProps.bsmRepair; |
259 | obj["bsmSldy"] = this.$parent.currentSelectProps.bsmSldy; | ||
260 | } | ||
261 | if (this.$route.query.sqywbm == "DJBBL") { | ||
262 | obj.bsmSldy = this.$parent.bsmRepair | ||
263 | } | ||
264 | saveClml(obj).then(async (res) => { | 259 | saveClml(obj).then(async (res) => { |
265 | if (res.code == 200) { | 260 | if (res.code == 200) { |
266 | let res = await this.clmlInitList(2); | 261 | let res = await this.clmlInitList(2); | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:39:47 | 4 | * @LastEditTime: 2023-09-26 16:49:33 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <dialogBox | 7 | <dialogBox |
8 | title="权利人信息" | 8 | title="权利人信息" |
9 | width="60%" | 9 | width="75%" |
10 | isMain | 10 | isMain |
11 | v-model="myValue" | 11 | v-model="myValue" |
12 | :isFullscreen="false" | 12 | :isFullscreen="false" |
13 | @submitForm="submitForm" | 13 | @submitForm="submitForm" |
14 | @closeDialog="closeDialog" | 14 | @closeDialog="closeDialog" |
15 | :isButton="showButton" | 15 | :isButton="isShow"> |
16 | > | 16 | <el-tabs v-model="activeName" @tab-click="handleClick" class="from-clues-header"> |
17 | <el-tab-pane label="基本信息" name="1"></el-tab-pane> | ||
18 | <el-tab-pane label="企业信息" v-if="showButton" name="2"></el-tab-pane> | ||
19 | <el-tab-pane label="银行机构" v-if="showButton" name="3"></el-tab-pane> | ||
20 | </el-tabs> | ||
21 | |||
17 | <el-form | 22 | <el-form |
18 | :model="ruleForm" | 23 | :model="ruleForm" |
24 | v-if="activeName==1" | ||
19 | :rules="rules" | 25 | :rules="rules" |
20 | ref="ruleForm" | 26 | ref="ruleForm" |
21 | label-width="120px" | 27 | label-width="120px"> |
22 | > | 28 | <el-form-item label="身份证读卡器"> |
29 | <el-button type="text" icon="el-icon-tickets" :disabled="!showButton" @click="readClick">读取</el-button> | ||
30 | <el-button type="primary" v-if="isBz" @click="handleFilings">信息备案</el-button> | ||
31 | </el-form-item> | ||
23 | <el-row> | 32 | <el-row> |
24 | <el-col :span="8"> | 33 | <el-col :span="8"> |
25 | <el-form-item label="权利人类型" prop="qlrlx"> | 34 | <el-form-item label="权利人类型" prop="qlrlx"> |
... | @@ -28,14 +37,12 @@ | ... | @@ -28,14 +37,12 @@ |
28 | v-model="ruleForm.qlrlx" | 37 | v-model="ruleForm.qlrlx" |
29 | class="width100" | 38 | class="width100" |
30 | :disabled="!showButton" | 39 | :disabled="!showButton" |
31 | placeholder="请选择" | 40 | placeholder="请选择"> |
32 | > | ||
33 | <el-option | 41 | <el-option |
34 | v-for="item in dictData['A36']" | 42 | v-for="item in dictData['A36']" |
35 | :key="item.dcode" | 43 | :key="item.dcode" |
36 | :label="item.dname" | 44 | :label="item.dname" |
37 | :value="item.dcode" | 45 | :value="item.dcode"> |
38 | > | ||
39 | </el-option> | 46 | </el-option> |
40 | </el-select> | 47 | </el-select> |
41 | </el-form-item> | 48 | </el-form-item> |
... | @@ -45,8 +52,7 @@ | ... | @@ -45,8 +52,7 @@ |
45 | <el-input | 52 | <el-input |
46 | v-model="ruleForm.qlrmc" | 53 | v-model="ruleForm.qlrmc" |
47 | maxlegth="15" | 54 | maxlegth="15" |
48 | :disabled="!showButton" | 55 | :disabled="!showButton"></el-input> |
49 | ></el-input> | ||
50 | </el-form-item> | 56 | </el-form-item> |
51 | </el-col> | 57 | </el-col> |
52 | <el-col :span="8"> | 58 | <el-col :span="8"> |
... | @@ -56,14 +62,13 @@ | ... | @@ -56,14 +62,13 @@ |
56 | v-model="ruleForm.zjzl" | 62 | v-model="ruleForm.zjzl" |
57 | :disabled="!showButton" | 63 | :disabled="!showButton" |
58 | class="width100" | 64 | class="width100" |
59 | placeholder="请选择" | 65 | @change="handleZjzl" |
60 | > | 66 | placeholder="请选择"> |
61 | <el-option | 67 | <el-option |
62 | v-for="item in dictData['A30']" | 68 | v-for="item in dictData['A30']" |
63 | :key="item.dcode" | 69 | :key="item.dcode" |
64 | :label="item.dname" | 70 | :label="item.dname" |
65 | :value="item.dcode" | 71 | :value="item.dcode"> |
66 | > | ||
67 | </el-option> | 72 | </el-option> |
68 | </el-select> | 73 | </el-select> |
69 | </el-form-item> | 74 | </el-form-item> |
... | @@ -76,8 +81,7 @@ | ... | @@ -76,8 +81,7 @@ |
76 | v-model="ruleForm.zjh" | 81 | v-model="ruleForm.zjh" |
77 | :disabled="!showButton" | 82 | :disabled="!showButton" |
78 | maxlength="18" | 83 | maxlength="18" |
79 | oninput="this.value=this.value.replace(/[^\X0-9]/g,'')" | 84 | oninput="this.value=this.value.replace(/[^\X0-9]/g,'')"></el-input> |
80 | ></el-input> | ||
81 | </el-form-item> | 85 | </el-form-item> |
82 | </el-col> | 86 | </el-col> |
83 | <el-col :span="8"> | 87 | <el-col :span="8"> |
... | @@ -86,8 +90,7 @@ | ... | @@ -86,8 +90,7 @@ |
86 | v-model="ruleForm.dh" | 90 | v-model="ruleForm.dh" |
87 | :disabled="!showButton" | 91 | :disabled="!showButton" |
88 | maxlength="11" | 92 | maxlength="11" |
89 | oninput="value=value.replace(/[^\d]/g,'')" | 93 | oninput="value=value.replace(/[^\d]/g,'')"></el-input> |
90 | ></el-input> | ||
91 | </el-form-item> | 94 | </el-form-item> |
92 | </el-col> | 95 | </el-col> |
93 | 96 | ||
... | @@ -96,8 +99,7 @@ | ... | @@ -96,8 +99,7 @@ |
96 | <el-input | 99 | <el-input |
97 | v-model="ruleForm.qlbl" | 100 | v-model="ruleForm.qlbl" |
98 | maxlength="32" | 101 | maxlength="32" |
99 | :disabled="!showButton || this.ruleForm.gyfs == 1" | 102 | :disabled="!showButton || this.ruleForm.gyfs == 1"></el-input> |
100 | ></el-input> | ||
101 | </el-form-item> | 103 | </el-form-item> |
102 | </el-col> | 104 | </el-col> |
103 | </el-row> | 105 | </el-row> |
... | @@ -107,8 +109,7 @@ | ... | @@ -107,8 +109,7 @@ |
107 | <el-input | 109 | <el-input |
108 | v-model="ruleForm.frmc" | 110 | v-model="ruleForm.frmc" |
109 | maxlength="32" | 111 | maxlength="32" |
110 | :disabled="!showButton" | 112 | :disabled="!showButton"></el-input> |
111 | ></el-input> | ||
112 | </el-form-item> | 113 | </el-form-item> |
113 | </el-col> | 114 | </el-col> |
114 | <el-col :span="8"> | 115 | <el-col :span="8"> |
... | @@ -116,8 +117,7 @@ | ... | @@ -116,8 +117,7 @@ |
116 | <el-input | 117 | <el-input |
117 | v-model="ruleForm.gj" | 118 | v-model="ruleForm.gj" |
118 | maxlength="3" | 119 | maxlength="3" |
119 | :disabled="!showButton" | 120 | :disabled="!showButton"></el-input> |
120 | ></el-input> | ||
121 | </el-form-item> | 121 | </el-form-item> |
122 | </el-col> | 122 | </el-col> |
123 | <el-col :span="8"> | 123 | <el-col :span="8"> |
... | @@ -125,8 +125,7 @@ | ... | @@ -125,8 +125,7 @@ |
125 | <el-input | 125 | <el-input |
126 | v-model="ruleForm.hjszss" | 126 | v-model="ruleForm.hjszss" |
127 | maxlength="3" | 127 | maxlength="3" |
128 | :disabled="!showButton" | 128 | :disabled="!showButton"></el-input> |
129 | ></el-input> | ||
130 | </el-form-item> | 129 | </el-form-item> |
131 | </el-col> | 130 | </el-col> |
132 | </el-row> | 131 | </el-row> |
... | @@ -137,8 +136,7 @@ | ... | @@ -137,8 +136,7 @@ |
137 | <el-input | 136 | <el-input |
138 | v-model="ruleForm.dz" | 137 | v-model="ruleForm.dz" |
139 | maxlength="100" | 138 | maxlength="100" |
140 | :disabled="!showButton" | 139 | :disabled="!showButton"></el-input> |
141 | ></el-input> | ||
142 | </el-form-item> | 140 | </el-form-item> |
143 | </el-col> | 141 | </el-col> |
144 | </el-row> | 142 | </el-row> |
... | @@ -149,8 +147,7 @@ | ... | @@ -149,8 +147,7 @@ |
149 | <el-input | 147 | <el-input |
150 | v-model="ruleForm.fzjg" | 148 | v-model="ruleForm.fzjg" |
151 | maxlength="10" | 149 | maxlength="10" |
152 | :disabled="!showButton" | 150 | :disabled="!showButton"></el-input> |
153 | ></el-input> | ||
154 | </el-form-item> | 151 | </el-form-item> |
155 | </el-col> | 152 | </el-col> |
156 | <el-col :span="8"> | 153 | <el-col :span="8"> |
... | @@ -158,8 +155,7 @@ | ... | @@ -158,8 +155,7 @@ |
158 | <el-input | 155 | <el-input |
159 | v-model="ruleForm.dzyj" | 156 | v-model="ruleForm.dzyj" |
160 | :disabled="!showButton" | 157 | :disabled="!showButton" |
161 | maxlength="25" | 158 | maxlength="25"></el-input> |
162 | ></el-input> | ||
163 | </el-form-item> | 159 | </el-form-item> |
164 | </el-col> | 160 | </el-col> |
165 | <el-col :span="8"> | 161 | <el-col :span="8"> |
... | @@ -168,8 +164,7 @@ | ... | @@ -168,8 +164,7 @@ |
168 | v-model.number="ruleForm.yb" | 164 | v-model.number="ruleForm.yb" |
169 | :disabled="!showButton" | 165 | :disabled="!showButton" |
170 | maxlength="6" | 166 | maxlength="6" |
171 | oninput="value=value.replace(/[^\d]/g,'')" | 167 | oninput="value=value.replace(/[^\d]/g,'')"></el-input> |
172 | ></el-input> | ||
173 | </el-form-item> | 168 | </el-form-item> |
174 | </el-col> | 169 | </el-col> |
175 | </el-row> | 170 | </el-row> |
... | @@ -180,8 +175,7 @@ | ... | @@ -180,8 +175,7 @@ |
180 | <el-input | 175 | <el-input |
181 | v-model="ruleForm.gzdw" | 176 | v-model="ruleForm.gzdw" |
182 | maxlength="32" | 177 | maxlength="32" |
183 | :disabled="!showButton" | 178 | :disabled="!showButton"></el-input> |
184 | ></el-input> | ||
185 | </el-form-item> | 179 | </el-form-item> |
186 | </el-col> | 180 | </el-col> |
187 | <el-col :span="16"> | 181 | <el-col :span="16"> |
... | @@ -189,8 +183,7 @@ | ... | @@ -189,8 +183,7 @@ |
189 | <el-input | 183 | <el-input |
190 | v-model="ruleForm.dlrjgmc" | 184 | v-model="ruleForm.dlrjgmc" |
191 | maxlength="32" | 185 | maxlength="32" |
192 | :disabled="!showButton" | 186 | :disabled="!showButton"></el-input> |
193 | ></el-input> | ||
194 | </el-form-item> | 187 | </el-form-item> |
195 | </el-col> | 188 | </el-col> |
196 | </el-row> | 189 | </el-row> |
... | @@ -202,8 +195,7 @@ | ... | @@ -202,8 +195,7 @@ |
202 | v-model="ruleForm.dlrdhhm" | 195 | v-model="ruleForm.dlrdhhm" |
203 | :disabled="!showButton" | 196 | :disabled="!showButton" |
204 | maxlength="11" | 197 | maxlength="11" |
205 | oninput="value=value.replace(/[^\d]/g,'')" | 198 | oninput="value=value.replace(/[^\d]/g,'')"></el-input> |
206 | ></el-input> | ||
207 | </el-form-item> | 199 | </el-form-item> |
208 | </el-col> | 200 | </el-col> |
209 | <el-col :span="8"> | 201 | <el-col :span="8"> |
... | @@ -211,8 +203,7 @@ | ... | @@ -211,8 +203,7 @@ |
211 | <el-input | 203 | <el-input |
212 | v-model="ruleForm.dlrxm" | 204 | v-model="ruleForm.dlrxm" |
213 | maxlength="15" | 205 | maxlength="15" |
214 | :disabled="!showButton" | 206 | :disabled="!showButton"></el-input> |
215 | ></el-input> | ||
216 | </el-form-item> | 207 | </el-form-item> |
217 | </el-col> | 208 | </el-col> |
218 | <el-col :span="8"> | 209 | <el-col :span="8"> |
... | @@ -222,14 +213,12 @@ | ... | @@ -222,14 +213,12 @@ |
222 | v-model="ruleForm.dlrzjlx" | 213 | v-model="ruleForm.dlrzjlx" |
223 | :disabled="!showButton" | 214 | :disabled="!showButton" |
224 | class="width100" | 215 | class="width100" |
225 | placeholder="请选择" | 216 | placeholder="请选择"> |
226 | > | ||
227 | <el-option | 217 | <el-option |
228 | v-for="item in dictData['A30']" | 218 | v-for="item in dictData['A30']" |
229 | :key="item.dcode" | 219 | :key="item.dcode" |
230 | :label="item.dname" | 220 | :label="item.dname" |
231 | :value="item.dcode" | 221 | :value="item.dcode"> |
232 | > | ||
233 | </el-option> | 222 | </el-option> |
234 | </el-select> | 223 | </el-select> |
235 | </el-form-item> | 224 | </el-form-item> |
... | @@ -243,14 +232,12 @@ | ... | @@ -243,14 +232,12 @@ |
243 | v-model="ruleForm.xb" | 232 | v-model="ruleForm.xb" |
244 | :disabled="!showButton" | 233 | :disabled="!showButton" |
245 | class="width100" | 234 | class="width100" |
246 | placeholder="请选择" | 235 | placeholder="请选择"> |
247 | > | ||
248 | <el-option | 236 | <el-option |
249 | v-for="item in dictData['A43']" | 237 | v-for="item in dictData['A43']" |
250 | :key="item.dcode" | 238 | :key="item.dcode" |
251 | :label="item.dname" | 239 | :label="item.dname" |
252 | :value="item.dcode" | 240 | :value="item.dcode"> |
253 | > | ||
254 | </el-option> | 241 | </el-option> |
255 | </el-select> | 242 | </el-select> |
256 | </el-form-item> | 243 | </el-form-item> |
... | @@ -260,17 +247,101 @@ | ... | @@ -260,17 +247,101 @@ |
260 | <el-input | 247 | <el-input |
261 | v-model="ruleForm.dlrzjh" | 248 | v-model="ruleForm.dlrzjh" |
262 | :disabled="!showButton" | 249 | :disabled="!showButton" |
263 | maxlength="18" | 250 | maxlength="18"></el-input> |
264 | ></el-input> | 251 | </el-form-item> |
252 | </el-col> | ||
253 | </el-row> | ||
254 | </el-form> | ||
255 | |||
256 | <div v-if="activeName==2" class="padding10"> | ||
257 | <el-form :model="queryFormQY" label-width="80px"> | ||
258 | <el-row> | ||
259 | <el-col :span="8"> | ||
260 | <el-form-item label="姓名/名称"> | ||
261 | <el-input placeholder="姓名/名称" v-model="queryFormQY.qymc" clearable class="width100"> | ||
262 | </el-input> | ||
263 | </el-form-item> | ||
264 | </el-col> | ||
265 | <el-col :span="8"> | ||
266 | <el-form-item label="证件号"> | ||
267 | <el-input placeholder="证件号" v-model="queryFormQY.zjh" clearable class="width100"> | ||
268 | </el-input> | ||
269 | </el-form-item> | ||
270 | </el-col> | ||
271 | <el-col :span="8" class="btnColRight"> | ||
272 | <el-form-item> | ||
273 | <el-button type="primary" @click="handleSearchQY">查询</el-button> | ||
274 | </el-form-item> | ||
275 | </el-col> | ||
276 | </el-row> | ||
277 | </el-form> | ||
278 | <el-table :data="tableDataQy.data" border v-Loading="loading" :height="426.8"> | ||
279 | <el-table-column label="序号" type="index" width="50" align="center"> | ||
280 | <template slot-scope="scope"> | ||
281 | {{(pageData.currentPage - 1) * pageData.pageSize + scope.$index + 1}} | ||
282 | </template> | ||
283 | </el-table-column> | ||
284 | <el-table-column v-for="item in tableDataQy.columns" :key="item.index" :width="item.width" :prop="item.prop" :label="item.label" align="center"> | ||
285 | </el-table-column> | ||
286 | <el-table-column label="操作" width="50"> | ||
287 | <template slot-scope="scope"> | ||
288 | <el-button type="text" @click="handleSelect(scope.row)">使用</el-button> | ||
289 | </template> | ||
290 | </el-table-column> | ||
291 | </el-table> | ||
292 | <el-pagination background layout="prev, pager, next,total" :total="tableDataQy.total" | ||
293 | @current-change="handleQYCurrentChange"></el-pagination> | ||
294 | </div> | ||
295 | <div v-if="activeName==3" class="padding10"> | ||
296 | <el-form :model="queryFormYH" label-width="80px"> | ||
297 | <el-row> | ||
298 | <el-col :span="8"> | ||
299 | <el-form-item label="姓名/名称"> | ||
300 | <el-input placeholder="姓名/名称" v-model="queryFormYH.qymc" clearable class="width100"> | ||
301 | </el-input> | ||
302 | </el-form-item> | ||
303 | </el-col> | ||
304 | <el-col :span="8"> | ||
305 | <el-form-item label="证件号"> | ||
306 | <el-input placeholder="证件号" v-model="queryFormYH.zjh" clearable class="width100"> | ||
307 | </el-input> | ||
308 | </el-form-item> | ||
309 | </el-col> | ||
310 | <el-col :span="8" class="btnColRight"> | ||
311 | <el-form-item> | ||
312 | <el-button type="primary" @click="handleSearchYH">查询</el-button> | ||
265 | </el-form-item> | 313 | </el-form-item> |
266 | </el-col> | 314 | </el-col> |
267 | </el-row> | 315 | </el-row> |
268 | </el-form> | 316 | </el-form> |
317 | <el-table :data="tableDataYh.data" border v-Loading="loading" :height="426.8"> | ||
318 | <el-table-column label="序号" type="index" width="50" align="center"> | ||
319 | <template slot-scope="scope"> | ||
320 | {{(pageData.currentPage - 1) * pageData.pageSize + scope.$index + 1}} | ||
321 | </template> | ||
322 | </el-table-column> | ||
323 | <el-table-column v-for="item in tableDataYh.columns" :key="item.index" :prop="item.prop" :label="item.label" align="center"> | ||
324 | </el-table-column> | ||
325 | <el-table-column label="操作" width="50"> | ||
326 | <template slot-scope="scope"> | ||
327 | <el-button type="text" @click="handleSelect(scope.row)">使用</el-button> | ||
328 | </template> | ||
329 | </el-table-column> | ||
330 | </el-table> | ||
331 | <el-pagination background layout="prev, pager, next,total" :total="tableDataYh.total" | ||
332 | @current-change="handleYHCurrentChange"></el-pagination> | ||
333 | </div> | ||
269 | </dialogBox> | 334 | </dialogBox> |
270 | </template> | 335 | </template> |
271 | <script> | 336 | <script> |
272 | import { mapGetters } from "vuex"; | 337 | import { mapGetters } from "vuex"; |
273 | export default { | 338 | import store from '@/store/index.js' |
339 | import { replace } from "@/api/company.js" | ||
340 | import { getUuid } from "@/utils/operation.js" | ||
341 | import { getIdCardInfo } from '@/utils/operation.js' | ||
342 | import { queryQyByPage, queryYhByPage, addQy } from "@/api/xxba.js"; | ||
343 | import { dataYh, dataQy, sendThis } from "./addQlrData"; | ||
344 | export default { | ||
274 | props: { | 345 | props: { |
275 | value: { type: Boolean, default: false }, | 346 | value: { type: Boolean, default: false }, |
276 | details: { type: Object, default: {} }, | 347 | details: { type: Object, default: {} }, |
... | @@ -279,8 +350,15 @@ export default { | ... | @@ -279,8 +350,15 @@ export default { |
279 | computed: { | 350 | computed: { |
280 | ...mapGetters(["dictData"]), | 351 | ...mapGetters(["dictData"]), |
281 | }, | 352 | }, |
282 | data() { | 353 | mounted () { |
354 | sendThis(this); | ||
355 | }, | ||
356 | data () { | ||
283 | return { | 357 | return { |
358 | isShow: false, | ||
359 | isBz: false, | ||
360 | activeName: '1', | ||
361 | loading: false, | ||
284 | myValue: this.value, | 362 | myValue: this.value, |
285 | ruleForm: { | 363 | ruleForm: { |
286 | bsmBdcqz: "", | 364 | bsmBdcqz: "", |
... | @@ -320,25 +398,227 @@ export default { | ... | @@ -320,25 +398,227 @@ export default { |
320 | zjzl: [{ required: true, message: "证件种类", trigger: "change" }], | 398 | zjzl: [{ required: true, message: "证件种类", trigger: "change" }], |
321 | zjh: [{ required: true, message: "证件号", trigger: "blur" }], | 399 | zjh: [{ required: true, message: "证件号", trigger: "blur" }], |
322 | }, | 400 | }, |
323 | }; | 401 | pageData: { |
402 | currentPage: 1, | ||
403 | pageSize: 8 | ||
404 | }, | ||
405 | // 企业 | ||
406 | queryFormQY: { | ||
407 | qymc: "", | ||
408 | zjh: "" | ||
409 | }, | ||
410 | tableDataQy: { | ||
411 | total: 0, | ||
412 | columns: dataQy.columns(), | ||
413 | data: [], | ||
414 | }, | ||
415 | // 银行 | ||
416 | queryFormYH: { | ||
417 | qymc: "", | ||
418 | zjh: "" | ||
419 | }, | ||
420 | tableDataYh: { | ||
421 | total: 0, | ||
422 | columns: dataYh.columns(), | ||
423 | data: [ | ||
424 | ] | ||
425 | } | ||
426 | } | ||
324 | }, | 427 | }, |
325 | watch: { | 428 | watch: { |
326 | value(val) { | 429 | value (val) { |
327 | this.myValue = _.cloneDeep(val); | 430 | this.myValue = _.cloneDeep(val) |
431 | if (val && Object.keys(this.details).length > 0) { | ||
432 | this.activeName = '1' | ||
433 | } | ||
434 | this.isShow = this.showButton | ||
328 | }, | 435 | }, |
329 | details: { | 436 | details: { |
330 | handler: function (val, oldVal) { | 437 | handler: function (val, oldVal) { |
331 | this.ruleForm = val; | 438 | this.ruleForm = val; |
332 | }, | 439 | }, |
333 | deep: true, | 440 | deep: true |
334 | }, | 441 | } |
335 | }, | 442 | }, |
336 | methods: { | 443 | methods: { |
444 | handleZjzl (val) { | ||
445 | if (['6', '7', '8'].includes(val)) { | ||
446 | this.isBz = true | ||
447 | } else { | ||
448 | this.isBz = false | ||
449 | } | ||
450 | }, | ||
451 | /** | ||
452 | * @description: 信息备案 | ||
453 | * @author: renchao | ||
454 | */ | ||
455 | handleFilings () { | ||
456 | this.ruleForm.qymc = this.ruleForm.qlrmc | ||
457 | this.ruleForm.dwdz = this.ruleForm.dz | ||
458 | addQy(this.ruleForm).then(res => { | ||
459 | if (res.code == 200) { | ||
460 | this.$message.success('备案成功') | ||
461 | } else { | ||
462 | this.$message.error(res.message); | ||
463 | } | ||
464 | }) | ||
465 | }, | ||
466 | /** | ||
467 | * @description: handleClick | ||
468 | * @author: renchao | ||
469 | */ | ||
470 | handleClick (event, tab) { | ||
471 | if (this.activeName != 1) { | ||
472 | this.isShow = false | ||
473 | } else { | ||
474 | this.isShow = true | ||
475 | } | ||
476 | this.pageData.currentPage = 1 | ||
477 | if (this.activeName == 2) { | ||
478 | this.handleSearchQY() | ||
479 | } else { | ||
480 | this.handleSearchYH() | ||
481 | } | ||
482 | }, | ||
483 | /** | ||
484 | * @description:企业查询 | ||
485 | * @param {*} val | ||
486 | * @param {*} code | ||
487 | * @author: renchao | ||
488 | */ | ||
489 | dicStatus (val, code) { | ||
490 | let data = store.getters.dictData[code], | ||
491 | name = '暂无' | ||
492 | if (data) { | ||
493 | data.map((item) => { | ||
494 | if (item.dcode == val) { | ||
495 | name = item.dname | ||
496 | } | ||
497 | }) | ||
498 | return name | ||
499 | } | ||
500 | }, | ||
501 | /** | ||
502 | * @description: 企业信息搜索 | ||
503 | * @author: renchao | ||
504 | */ | ||
505 | handleSearchQY () { | ||
506 | let data = { ...this.queryFormQY, ...this.pageData } | ||
507 | this.tableDataQy.data = [] | ||
508 | queryQyByPage(data).then((res) => { | ||
509 | if (res.code === 200) { | ||
510 | let { total, records } = res.result; | ||
511 | this.tableDataQy.total = total; | ||
512 | this.tableDataQy.data = records; | ||
513 | this.tableDataQy.data.forEach(item => { | ||
514 | item.zjzlMc = this.dicStatus(item.zjzl, 'A30') | ||
515 | item.qlrmc = item.qymc | ||
516 | item.dz = item.dwdz | ||
517 | }) | ||
518 | } | ||
519 | }) | ||
520 | }, | ||
521 | /** | ||
522 | * @description: handleQYCurrentChange | ||
523 | * @param {*} val | ||
524 | * @author: renchao | ||
525 | */ | ||
526 | handleQYCurrentChange (val) { | ||
527 | this.pageData.currentPage = val | ||
528 | this.handleSearchQY() | ||
529 | }, | ||
530 | /** | ||
531 | * @description: handlesQYSelect | ||
532 | * @param {*} val | ||
533 | * @author: renchao | ||
534 | */ | ||
535 | handleSelect (val) { | ||
536 | let that = this | ||
537 | let bsmSldy = window.currentSelect.bsmSldy ? window.currentSelect.bsmSldy : '' | ||
538 | this.$confirm('是否同步材料信息?', '提示', { | ||
539 | confirmButtonText: '确定', | ||
540 | cancelButtonText: '取消', | ||
541 | distinguishCancelAndClose: true,//区分取消与关闭 | ||
542 | }).then(() => { | ||
543 | replace(val.bsmCompany, this.$route.query.bsmSlsq, bsmSldy).then(res => { | ||
544 | that.$emit("updateDetail", _.cloneDeep({ ...val, qlrlx: '2', id: getUuid(16) })); | ||
545 | that.$emit("input", false); | ||
546 | if (res.code == 200) { | ||
547 | that.$message({ | ||
548 | type: 'success', | ||
549 | message: '同步成功!' | ||
550 | }) | ||
551 | } else { | ||
552 | this.$message.error(res.message); | ||
553 | } | ||
554 | }) | ||
555 | }).catch(action => { | ||
556 | if (action == 'cancel') { | ||
557 | that.$emit("updateDetail", _.cloneDeep({ ...val, sqrlx: '2' })); | ||
558 | that.$emit("input", false); | ||
559 | } | ||
560 | }) | ||
561 | }, | ||
562 | /** | ||
563 | * @description: 银行信息搜索 | ||
564 | * @author: renchao | ||
565 | */ | ||
566 | handleSearchYH () { | ||
567 | let data = { ...this.queryFormYH, ...this.pageData } | ||
568 | this.tableDataYh.data = [] | ||
569 | queryYhByPage(data).then((res) => { | ||
570 | if (res.code === 200) { | ||
571 | let { total, records } = res.result; | ||
572 | this.tableDataYh.total = total; | ||
573 | this.tableDataYh.data = records; | ||
574 | this.tableDataYh.data.forEach(item => { | ||
575 | item.zjzlMc = this.dicStatus(item.zjzl, 'A30') | ||
576 | item.qlrmc = item.qymc | ||
577 | item.dz = item.dwdz | ||
578 | }) | ||
579 | } | ||
580 | }) | ||
581 | }, | ||
582 | /** | ||
583 | * @description: handleYHCurrentChange | ||
584 | * @param {*} val | ||
585 | * @author: renchao | ||
586 | */ | ||
587 | handleYHCurrentChange (val) { | ||
588 | this.pageData.currentPage = val | ||
589 | this.handleSearchQY() | ||
590 | }, | ||
591 | /** | ||
592 | * @description: 身份证打卡器 | ||
593 | * @author: renchao | ||
594 | */ | ||
595 | readClick () { | ||
596 | getIdCardInfo().then(res => { | ||
597 | if (res.data.code == 0) { | ||
598 | let data = res.data.IDCardInfo | ||
599 | this.ruleForm.qlrmc = data.name | ||
600 | this.ruleForm.zjzl = '1' | ||
601 | this.ruleForm.zjh = data.cardID | ||
602 | this.ruleForm.xb = data.sexCode | ||
603 | this.ruleForm.dz = data.address | ||
604 | this.ruleForm.fzjg = data.issueOrgan | ||
605 | this.$message({ | ||
606 | message: '读取成功!', | ||
607 | type: 'success' | ||
608 | }) | ||
609 | } else { | ||
610 | this.$message({ | ||
611 | message: res.data.message, | ||
612 | type: 'warning' | ||
613 | }) | ||
614 | } | ||
615 | }) | ||
616 | }, | ||
337 | /** | 617 | /** |
338 | * @description: closeDialog | 618 | * @description: closeDialog |
339 | * @author: renchao | 619 | * @author: renchao |
340 | */ | 620 | */ |
341 | closeDialog() { | 621 | closeDialog () { |
342 | this.$emit("input", false); | 622 | this.$emit("input", false); |
343 | this.$refs["ruleForm"].resetFields(); | 623 | this.$refs["ruleForm"].resetFields(); |
344 | }, | 624 | }, |
... | @@ -346,7 +626,7 @@ export default { | ... | @@ -346,7 +626,7 @@ export default { |
346 | * @description: submitForm | 626 | * @description: submitForm |
347 | * @author: renchao | 627 | * @author: renchao |
348 | */ | 628 | */ |
349 | submitForm() { | 629 | submitForm () { |
350 | this.$refs.ruleForm.validate((valid) => { | 630 | this.$refs.ruleForm.validate((valid) => { |
351 | if (valid) { | 631 | if (valid) { |
352 | this.$emit("input", false); | 632 | this.$emit("input", false); |
... | @@ -357,14 +637,17 @@ export default { | ... | @@ -357,14 +637,17 @@ export default { |
357 | }); | 637 | }); |
358 | }, | 638 | }, |
359 | }, | 639 | }, |
360 | }; | 640 | }; |
361 | </script> | 641 | </script> |
362 | <style scoped lang="scss"> | 642 | <style scoped lang="scss"> |
363 | @import "~@/styles/dialogBoxheader.scss"; | 643 | @import "~@/styles/dialogBoxheader.scss"; |
364 | .submit-button { | 644 | .submit-button { |
365 | text-align: center; | 645 | text-align: center; |
366 | height: 52px; | 646 | height: 52px; |
367 | padding-top: 10px; | 647 | padding-top: 10px; |
368 | background-color: #fff; | 648 | background-color: #fff; |
369 | } | 649 | } |
650 | .padding10 { | ||
651 | padding-bottom: 10px; | ||
652 | } | ||
370 | </style> | 653 | </style> | ... | ... |
1 | /* | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-09-21 15:45:27 | ||
5 | */ | ||
6 | import filter from '@/utils/filter.js' | ||
7 | let vm = null | ||
8 | |||
9 | const sendThis = (_this) => { | ||
10 | vm = _this | ||
11 | } | ||
12 | class data1 extends filter { | ||
13 | constructor() { | ||
14 | super() | ||
15 | } | ||
16 | columns () { | ||
17 | return [ | ||
18 | { | ||
19 | prop: "qlrmc", | ||
20 | label: "姓名/名称", | ||
21 | }, | ||
22 | { | ||
23 | prop: "zjzlMc", | ||
24 | label: "证件种类" | ||
25 | }, | ||
26 | { | ||
27 | prop: "zjh", | ||
28 | label: "证件号", | ||
29 | }, | ||
30 | { | ||
31 | prop: "frmc", | ||
32 | label: "法人名称", | ||
33 | }, | ||
34 | { | ||
35 | prop: "dwdz", | ||
36 | label: "地址", | ||
37 | }, | ||
38 | { | ||
39 | prop: "dh", | ||
40 | label: "联系电话", | ||
41 | } | ||
42 | ] | ||
43 | } | ||
44 | |||
45 | } | ||
46 | class data2 extends filter { | ||
47 | constructor() { | ||
48 | super() | ||
49 | |||
50 | } | ||
51 | columns () { | ||
52 | return [ | ||
53 | { | ||
54 | prop: "qlrmc", | ||
55 | label: "姓名/名称", | ||
56 | }, | ||
57 | { | ||
58 | prop: "zjzlMc", | ||
59 | label: "证件种类", | ||
60 | }, | ||
61 | { | ||
62 | prop: "zjh", | ||
63 | label: "证件号", | ||
64 | }, | ||
65 | { | ||
66 | prop: "frmc", | ||
67 | label: "法人名称", | ||
68 | }, | ||
69 | { | ||
70 | prop: "dwdz", | ||
71 | label: "地址", | ||
72 | }, | ||
73 | { | ||
74 | prop: "dh", | ||
75 | label: "联系电话", | ||
76 | }, | ||
77 | ] | ||
78 | } | ||
79 | |||
80 | } | ||
81 | let dataYh = new data1() | ||
82 | let dataQy = new data2() | ||
83 | export { | ||
84 | dataYh, | ||
85 | dataQy, | ||
86 | sendThis | ||
87 | } |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:39:47 | 4 | * @LastEditTime: 2023-09-26 15:40:49 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <dialogBox | 7 | <dialogBox |
8 | title="申请人信息" | 8 | title="申请人信息" |
9 | width="60%" | 9 | width="75%" |
10 | isMain | 10 | isMain |
11 | v-model="myValue" | 11 | v-model="myValue" |
12 | :isFullscreen="false" | 12 | :isFullscreen="false" |
13 | @submitForm="submitForm" | 13 | @submitForm="submitForm" |
14 | @closeDialog="closeDialog" | 14 | @closeDialog="closeDialog" |
15 | :isButton="showButton" | 15 | :isButton="isShow"> |
16 | > | 16 | <el-tabs v-model="activeName" @tab-click="handleClick" class="from-clues-header"> |
17 | <el-tab-pane label="基本信息" name="1"></el-tab-pane> | ||
18 | <el-tab-pane label="企业信息" v-if="showButton" name="2"></el-tab-pane> | ||
19 | <el-tab-pane label="银行机构" v-if="showButton" name="3"></el-tab-pane> | ||
20 | </el-tabs> | ||
21 | |||
17 | <el-form | 22 | <el-form |
18 | :model="ruleForm" | 23 | :model="ruleForm" |
19 | :rules="rules" | 24 | :rules="rules" |
25 | v-if="activeName==1" | ||
20 | ref="ruleForm" | 26 | ref="ruleForm" |
21 | label-width="120px" | 27 | label-width="120px"> |
22 | > | 28 | <el-form-item label="身份证读卡器"> |
29 | <el-button type="text" icon="el-icon-tickets" :disabled="!showButton" @click="readClick">读取</el-button> | ||
30 | <el-button type="primary" v-if="isBz" @click="handleFilings">信息备案</el-button> | ||
31 | </el-form-item> | ||
23 | <el-row> | 32 | <el-row> |
24 | <el-col :span="8"> | 33 | <el-col :span="8"> |
25 | <el-form-item label="义务人类型" prop="ywrlx"> | 34 | <el-form-item label="义务人类型" prop="ywrlx"> |
... | @@ -28,14 +37,12 @@ | ... | @@ -28,14 +37,12 @@ |
28 | v-model="ruleForm.ywrlx" | 37 | v-model="ruleForm.ywrlx" |
29 | class="width100" | 38 | class="width100" |
30 | :disabled="!showButton" | 39 | :disabled="!showButton" |
31 | placeholder="请选择" | 40 | placeholder="请选择"> |
32 | > | ||
33 | <el-option | 41 | <el-option |
34 | v-for="item in dictData['A36']" | 42 | v-for="item in dictData['A36']" |
35 | :key="item.dcode" | 43 | :key="item.dcode" |
36 | :label="item.dname" | 44 | :label="item.dname" |
37 | :value="item.dcode" | 45 | :value="item.dcode"> |
38 | > | ||
39 | </el-option> | 46 | </el-option> |
40 | </el-select> | 47 | </el-select> |
41 | </el-form-item> | 48 | </el-form-item> |
... | @@ -53,14 +60,12 @@ | ... | @@ -53,14 +60,12 @@ |
53 | v-model="ruleForm.zjzl" | 60 | v-model="ruleForm.zjzl" |
54 | :disabled="!showButton" | 61 | :disabled="!showButton" |
55 | class="width100" | 62 | class="width100" |
56 | placeholder="请选择" | 63 | placeholder="请选择"> |
57 | > | ||
58 | <el-option | 64 | <el-option |
59 | v-for="item in dictData['A30']" | 65 | v-for="item in dictData['A30']" |
60 | :key="item.dcode" | 66 | :key="item.dcode" |
61 | :label="item.dname" | 67 | :label="item.dname" |
62 | :value="item.dcode" | 68 | :value="item.dcode"> |
63 | > | ||
64 | </el-option> | 69 | </el-option> |
65 | </el-select> | 70 | </el-select> |
66 | </el-form-item> | 71 | </el-form-item> |
... | @@ -73,8 +78,7 @@ | ... | @@ -73,8 +78,7 @@ |
73 | v-model="ruleForm.zjh" | 78 | v-model="ruleForm.zjh" |
74 | :disabled="!showButton" | 79 | :disabled="!showButton" |
75 | maxlength="18" | 80 | maxlength="18" |
76 | oninput="this.value=this.value.replace(/[^\X0-9]/g,'')" | 81 | oninput="this.value=this.value.replace(/[^\X0-9]/g,'')"></el-input> |
77 | ></el-input> | ||
78 | </el-form-item> | 82 | </el-form-item> |
79 | </el-col> | 83 | </el-col> |
80 | <el-col :span="8"> | 84 | <el-col :span="8"> |
... | @@ -83,8 +87,7 @@ | ... | @@ -83,8 +87,7 @@ |
83 | v-model="ruleForm.dh" | 87 | v-model="ruleForm.dh" |
84 | :disabled="!showButton" | 88 | :disabled="!showButton" |
85 | maxlength="11" | 89 | maxlength="11" |
86 | oninput="value=value.replace(/[^\d]/g,'')" | 90 | oninput="value=value.replace(/[^\d]/g,'')"></el-input> |
87 | ></el-input> | ||
88 | </el-form-item> | 91 | </el-form-item> |
89 | </el-col> | 92 | </el-col> |
90 | <el-col :span="8"> | 93 | <el-col :span="8"> |
... | @@ -92,8 +95,7 @@ | ... | @@ -92,8 +95,7 @@ |
92 | <el-input | 95 | <el-input |
93 | v-model="ruleForm.qlbl" | 96 | v-model="ruleForm.qlbl" |
94 | maxlength="32" | 97 | maxlength="32" |
95 | :disabled="!showButton || this.ruleForm.gyfs == 1" | 98 | :disabled="!showButton || this.ruleForm.gyfs == 1"></el-input> |
96 | ></el-input> | ||
97 | </el-form-item> | 99 | </el-form-item> |
98 | </el-col> | 100 | </el-col> |
99 | </el-row> | 101 | </el-row> |
... | @@ -103,8 +105,7 @@ | ... | @@ -103,8 +105,7 @@ |
103 | <el-input | 105 | <el-input |
104 | v-model="ruleForm.frmc" | 106 | v-model="ruleForm.frmc" |
105 | maxlength="32" | 107 | maxlength="32" |
106 | :disabled="!showButton" | 108 | :disabled="!showButton"></el-input> |
107 | ></el-input> | ||
108 | </el-form-item> | 109 | </el-form-item> |
109 | </el-col> | 110 | </el-col> |
110 | <el-col :span="8"> | 111 | <el-col :span="8"> |
... | @@ -112,8 +113,7 @@ | ... | @@ -112,8 +113,7 @@ |
112 | <el-input | 113 | <el-input |
113 | v-model="ruleForm.gj" | 114 | v-model="ruleForm.gj" |
114 | maxlength="3" | 115 | maxlength="3" |
115 | :disabled="!showButton" | 116 | :disabled="!showButton"></el-input> |
116 | ></el-input> | ||
117 | </el-form-item> | 117 | </el-form-item> |
118 | </el-col> | 118 | </el-col> |
119 | <el-col :span="8"> | 119 | <el-col :span="8"> |
... | @@ -121,8 +121,7 @@ | ... | @@ -121,8 +121,7 @@ |
121 | <el-input | 121 | <el-input |
122 | v-model="ruleForm.hjszss" | 122 | v-model="ruleForm.hjszss" |
123 | maxlength="3" | 123 | maxlength="3" |
124 | :disabled="!showButton" | 124 | :disabled="!showButton"></el-input> |
125 | ></el-input> | ||
126 | </el-form-item> | 125 | </el-form-item> |
127 | </el-col> | 126 | </el-col> |
128 | </el-row> | 127 | </el-row> |
... | @@ -133,8 +132,7 @@ | ... | @@ -133,8 +132,7 @@ |
133 | <el-input | 132 | <el-input |
134 | v-model="ruleForm.txdz" | 133 | v-model="ruleForm.txdz" |
135 | maxlength="100" | 134 | maxlength="100" |
136 | :disabled="!showButton" | 135 | :disabled="!showButton"></el-input> |
137 | ></el-input> | ||
138 | </el-form-item> | 136 | </el-form-item> |
139 | </el-col> | 137 | </el-col> |
140 | </el-row> | 138 | </el-row> |
... | @@ -145,8 +143,7 @@ | ... | @@ -145,8 +143,7 @@ |
145 | <el-input | 143 | <el-input |
146 | v-model="ruleForm.fzjg" | 144 | v-model="ruleForm.fzjg" |
147 | maxlength="10" | 145 | maxlength="10" |
148 | :disabled="!showButton" | 146 | :disabled="!showButton"></el-input> |
149 | ></el-input> | ||
150 | </el-form-item> | 147 | </el-form-item> |
151 | </el-col> | 148 | </el-col> |
152 | <el-col :span="8"> | 149 | <el-col :span="8"> |
... | @@ -154,8 +151,7 @@ | ... | @@ -154,8 +151,7 @@ |
154 | <el-input | 151 | <el-input |
155 | v-model="ruleForm.dzyj" | 152 | v-model="ruleForm.dzyj" |
156 | :disabled="!showButton" | 153 | :disabled="!showButton" |
157 | maxlength="25" | 154 | maxlength="25"></el-input> |
158 | ></el-input> | ||
159 | </el-form-item> | 155 | </el-form-item> |
160 | </el-col> | 156 | </el-col> |
161 | <el-col :span="8"> | 157 | <el-col :span="8"> |
... | @@ -164,8 +160,7 @@ | ... | @@ -164,8 +160,7 @@ |
164 | v-model.number="ruleForm.yb" | 160 | v-model.number="ruleForm.yb" |
165 | :disabled="!showButton" | 161 | :disabled="!showButton" |
166 | maxlength="6" | 162 | maxlength="6" |
167 | oninput="value=value.replace(/[^\d]/g,'')" | 163 | oninput="value=value.replace(/[^\d]/g,'')"></el-input> |
168 | ></el-input> | ||
169 | </el-form-item> | 164 | </el-form-item> |
170 | </el-col> | 165 | </el-col> |
171 | </el-row> | 166 | </el-row> |
... | @@ -176,8 +171,7 @@ | ... | @@ -176,8 +171,7 @@ |
176 | <el-input | 171 | <el-input |
177 | v-model="ruleForm.gzdw" | 172 | v-model="ruleForm.gzdw" |
178 | maxlength="32" | 173 | maxlength="32" |
179 | :disabled="!showButton" | 174 | :disabled="!showButton"></el-input> |
180 | ></el-input> | ||
181 | </el-form-item> | 175 | </el-form-item> |
182 | </el-col> | 176 | </el-col> |
183 | <el-col :span="16"> | 177 | <el-col :span="16"> |
... | @@ -185,8 +179,7 @@ | ... | @@ -185,8 +179,7 @@ |
185 | <el-input | 179 | <el-input |
186 | v-model="ruleForm.dlrjg" | 180 | v-model="ruleForm.dlrjg" |
187 | maxlength="32" | 181 | maxlength="32" |
188 | :disabled="!showButton" | 182 | :disabled="!showButton"></el-input> |
189 | ></el-input> | ||
190 | </el-form-item> | 183 | </el-form-item> |
191 | </el-col> | 184 | </el-col> |
192 | </el-row> | 185 | </el-row> |
... | @@ -198,8 +191,7 @@ | ... | @@ -198,8 +191,7 @@ |
198 | v-model="ruleForm.dlrdh" | 191 | v-model="ruleForm.dlrdh" |
199 | :disabled="!showButton" | 192 | :disabled="!showButton" |
200 | maxlength="11" | 193 | maxlength="11" |
201 | oninput="value=value.replace(/[^\d]/g,'')" | 194 | oninput="value=value.replace(/[^\d]/g,'')"></el-input> |
202 | ></el-input> | ||
203 | </el-form-item> | 195 | </el-form-item> |
204 | </el-col> | 196 | </el-col> |
205 | <el-col :span="8"> | 197 | <el-col :span="8"> |
... | @@ -207,8 +199,7 @@ | ... | @@ -207,8 +199,7 @@ |
207 | <el-input | 199 | <el-input |
208 | v-model="ruleForm.dlrmc" | 200 | v-model="ruleForm.dlrmc" |
209 | maxlength="15" | 201 | maxlength="15" |
210 | :disabled="!showButton" | 202 | :disabled="!showButton"></el-input> |
211 | ></el-input> | ||
212 | </el-form-item> | 203 | </el-form-item> |
213 | </el-col> | 204 | </el-col> |
214 | <el-col :span="8"> | 205 | <el-col :span="8"> |
... | @@ -218,14 +209,12 @@ | ... | @@ -218,14 +209,12 @@ |
218 | v-model="ruleForm.dlrzjlx" | 209 | v-model="ruleForm.dlrzjlx" |
219 | :disabled="!showButton" | 210 | :disabled="!showButton" |
220 | class="width100" | 211 | class="width100" |
221 | placeholder="请选择" | 212 | placeholder="请选择"> |
222 | > | ||
223 | <el-option | 213 | <el-option |
224 | v-for="item in dictData['A30']" | 214 | v-for="item in dictData['A30']" |
225 | :key="item.dcode" | 215 | :key="item.dcode" |
226 | :label="item.dname" | 216 | :label="item.dname" |
227 | :value="item.dcode" | 217 | :value="item.dcode"> |
228 | > | ||
229 | </el-option> | 218 | </el-option> |
230 | </el-select> | 219 | </el-select> |
231 | </el-form-item> | 220 | </el-form-item> |
... | @@ -239,14 +228,12 @@ | ... | @@ -239,14 +228,12 @@ |
239 | v-model="ruleForm.xb" | 228 | v-model="ruleForm.xb" |
240 | :disabled="!showButton" | 229 | :disabled="!showButton" |
241 | class="width100" | 230 | class="width100" |
242 | placeholder="请选择" | 231 | placeholder="请选择"> |
243 | > | ||
244 | <el-option | 232 | <el-option |
245 | v-for="item in dictData['A43']" | 233 | v-for="item in dictData['A43']" |
246 | :key="item.dcode" | 234 | :key="item.dcode" |
247 | :label="item.dname" | 235 | :label="item.dname" |
248 | :value="item.dcode" | 236 | :value="item.dcode"> |
249 | > | ||
250 | </el-option> | 237 | </el-option> |
251 | </el-select> | 238 | </el-select> |
252 | </el-form-item> | 239 | </el-form-item> |
... | @@ -257,27 +244,118 @@ | ... | @@ -257,27 +244,118 @@ |
257 | v-model="ruleForm.dlrzjh" | 244 | v-model="ruleForm.dlrzjh" |
258 | :disabled="!showButton" | 245 | :disabled="!showButton" |
259 | maxlength="18" | 246 | maxlength="18" |
260 | oninput="this.value=this.value.replace(/[^\X0-9]/g,'')" | 247 | oninput="this.value=this.value.replace(/[^\X0-9]/g,'')"></el-input> |
261 | ></el-input> | 248 | </el-form-item> |
249 | </el-col> | ||
250 | </el-row> | ||
251 | </el-form> | ||
252 | |||
253 | <div v-if="activeName==2" class="padding10"> | ||
254 | <el-form :model="queryFormQY" label-width="80px"> | ||
255 | <el-row> | ||
256 | <el-col :span="8"> | ||
257 | <el-form-item label="姓名/名称"> | ||
258 | <el-input placeholder="姓名/名称" v-model="queryFormQY.qymc" clearable class="width100"> | ||
259 | </el-input> | ||
260 | </el-form-item> | ||
261 | </el-col> | ||
262 | <el-col :span="8"> | ||
263 | <el-form-item label="证件号"> | ||
264 | <el-input placeholder="证件号" v-model="queryFormQY.zjh" clearable class="width100"> | ||
265 | </el-input> | ||
266 | </el-form-item> | ||
267 | </el-col> | ||
268 | <el-col :span="8" class="btnColRight"> | ||
269 | <el-form-item> | ||
270 | <el-button type="primary" @click="handleSearchQY">查询</el-button> | ||
271 | </el-form-item> | ||
272 | </el-col> | ||
273 | </el-row> | ||
274 | </el-form> | ||
275 | <el-table :data="tableDataQy.data" border v-Loading="loading" :height="426.8"> | ||
276 | <el-table-column label="序号" type="index" width="50" align="center"> | ||
277 | <template slot-scope="scope"> | ||
278 | {{(pageData.currentPage - 1) * pageData.pageSize + scope.$index + 1}} | ||
279 | </template> | ||
280 | </el-table-column> | ||
281 | <el-table-column v-for="item in tableDataQy.columns" :key="item.index" :width="item.width" :prop="item.prop" :label="item.label" align="center"> | ||
282 | </el-table-column> | ||
283 | <el-table-column label="操作" width="50"> | ||
284 | <template slot-scope="scope"> | ||
285 | <el-button type="text" @click="handleSelect(scope.row)">使用</el-button> | ||
286 | </template> | ||
287 | </el-table-column> | ||
288 | </el-table> | ||
289 | <el-pagination background layout="prev, pager, next,total" :total="tableDataQy.total" | ||
290 | @current-change="handleQYCurrentChange"></el-pagination> | ||
291 | </div> | ||
292 | <div v-if="activeName==3" class="padding10"> | ||
293 | <el-form :model="queryFormYH" label-width="80px"> | ||
294 | <el-row> | ||
295 | <el-col :span="8"> | ||
296 | <el-form-item label="姓名/名称"> | ||
297 | <el-input placeholder="姓名/名称" v-model="queryFormYH.qymc" clearable class="width100"> | ||
298 | </el-input> | ||
299 | </el-form-item> | ||
300 | </el-col> | ||
301 | <el-col :span="8"> | ||
302 | <el-form-item label="证件号"> | ||
303 | <el-input placeholder="证件号" v-model="queryFormYH.zjh" clearable class="width100"> | ||
304 | </el-input> | ||
305 | </el-form-item> | ||
306 | </el-col> | ||
307 | <el-col :span="8" class="btnColRight"> | ||
308 | <el-form-item> | ||
309 | <el-button type="primary" @click="handleSearchYH">查询</el-button> | ||
262 | </el-form-item> | 310 | </el-form-item> |
263 | </el-col> | 311 | </el-col> |
264 | </el-row> | 312 | </el-row> |
265 | </el-form> | 313 | </el-form> |
314 | <el-table :data="tableDataYh.data" border v-Loading="loading" :height="426.8"> | ||
315 | <el-table-column label="序号" type="index" width="50" align="center"> | ||
316 | <template slot-scope="scope"> | ||
317 | {{(pageData.currentPage - 1) * pageData.pageSize + scope.$index + 1}} | ||
318 | </template> | ||
319 | </el-table-column> | ||
320 | <el-table-column v-for="item in tableDataYh.columns" :key="item.index" :prop="item.prop" :label="item.label" align="center"> | ||
321 | </el-table-column> | ||
322 | <el-table-column label="操作" width="50"> | ||
323 | <template slot-scope="scope"> | ||
324 | <el-button type="text" @click="handleSelect(scope.row)">使用</el-button> | ||
325 | </template> | ||
326 | </el-table-column> | ||
327 | </el-table> | ||
328 | <el-pagination background layout="prev, pager, next,total" :total="tableDataYh.total" | ||
329 | @current-change="handleYHCurrentChange"></el-pagination> | ||
330 | </div> | ||
266 | </dialogBox> | 331 | </dialogBox> |
267 | </template> | 332 | </template> |
268 | <script> | 333 | <script> |
269 | import { mapGetters } from "vuex"; | 334 | import { mapGetters } from "vuex"; |
270 | export default { | 335 | import store from '@/store/index.js' |
336 | import { replace } from "@/api/company.js" | ||
337 | import { getUuid } from "@/utils/operation.js" | ||
338 | import { getIdCardInfo } from '@/utils/operation.js' | ||
339 | import { queryQyByPage, queryYhByPage, addQy } from "@/api/xxba.js"; | ||
340 | import { dataYh, dataQy, sendThis } from "./addYwrData"; | ||
341 | export default { | ||
271 | props: { | 342 | props: { |
272 | value: { type: Boolean, default: false }, | 343 | value: { type: Boolean, default: false }, |
273 | details: { type: Object, default: {} }, | 344 | details: { type: Object, default: {} }, |
274 | showButton: { type: Boolean, default: false }, | 345 | showButton: { type: Boolean, default: false }, |
275 | }, | 346 | }, |
276 | computed: { | 347 | computed: { |
277 | ...mapGetters(["dictData"]), | 348 | ...mapGetters(["dictData"]) |
349 | }, | ||
350 | mounted () { | ||
351 | sendThis(this) | ||
278 | }, | 352 | }, |
279 | data() { | 353 | data () { |
280 | return { | 354 | return { |
355 | isShow: false, | ||
356 | isBz: false, | ||
357 | activeName: '1', | ||
358 | loading: false, | ||
281 | myValue: this.value, | 359 | myValue: this.value, |
282 | ruleForm: { | 360 | ruleForm: { |
283 | ywrlx: "", | 361 | ywrlx: "", |
... | @@ -306,25 +384,229 @@ export default { | ... | @@ -306,25 +384,229 @@ export default { |
306 | zjzl: [{ required: true, message: "证件种类", trigger: "change" }], | 384 | zjzl: [{ required: true, message: "证件种类", trigger: "change" }], |
307 | zjh: [{ required: true, message: "证件号", trigger: "blur" }], | 385 | zjh: [{ required: true, message: "证件号", trigger: "blur" }], |
308 | }, | 386 | }, |
309 | }; | 387 | pageData: { |
388 | currentPage: 1, | ||
389 | pageSize: 8 | ||
390 | }, | ||
391 | // 企业 | ||
392 | queryFormQY: { | ||
393 | qymc: "", | ||
394 | zjh: "" | ||
395 | }, | ||
396 | tableDataQy: { | ||
397 | total: 0, | ||
398 | columns: dataQy.columns(), | ||
399 | data: [], | ||
400 | }, | ||
401 | // 银行 | ||
402 | queryFormYH: { | ||
403 | qymc: "", | ||
404 | zjh: "" | ||
405 | }, | ||
406 | tableDataYh: { | ||
407 | total: 0, | ||
408 | columns: dataYh.columns(), | ||
409 | data: [ | ||
410 | ] | ||
411 | } | ||
412 | } | ||
310 | }, | 413 | }, |
311 | watch: { | 414 | watch: { |
312 | value(val) { | 415 | value (val) { |
313 | this.myValue = _.cloneDeep(val); | 416 | this.myValue = _.cloneDeep(val); |
417 | if (val && Object.keys(this.details).length > 0) { | ||
418 | this.activeName = '1' | ||
419 | } | ||
420 | this.isShow = this.showButton | ||
314 | }, | 421 | }, |
315 | details: { | 422 | details: { |
316 | handler: function (val, oldVal) { | 423 | handler: function (val, oldVal) { |
317 | this.ruleForm = val; | 424 | this.ruleForm = val; |
318 | }, | 425 | }, |
319 | deep: true, | 426 | deep: true |
320 | }, | 427 | } |
321 | }, | 428 | }, |
322 | methods: { | 429 | methods: { |
430 | handleZjzl (val) { | ||
431 | if (['6', '7', '8'].includes(val)) { | ||
432 | this.isBz = true | ||
433 | } else { | ||
434 | this.isBz = false | ||
435 | } | ||
436 | }, | ||
437 | /** | ||
438 | * @description: 信息备案 | ||
439 | * @author: renchao | ||
440 | */ | ||
441 | handleFilings () { | ||
442 | this.ruleForm.qymc = this.ruleForm.ywrlx | ||
443 | this.ruleForm.dwdz = this.ruleForm.txdz | ||
444 | addQy(this.ruleForm).then(res => { | ||
445 | if (res.code == 200) { | ||
446 | this.$message.success('备案成功') | ||
447 | } else { | ||
448 | this.$message.error(res.message); | ||
449 | } | ||
450 | }) | ||
451 | }, | ||
452 | /** | ||
453 | * @description: handleClick | ||
454 | * @author: renchao | ||
455 | */ | ||
456 | handleClick (event, tab) { | ||
457 | if (this.activeName != 1) { | ||
458 | this.isShow = false | ||
459 | } else { | ||
460 | this.isShow = true | ||
461 | } | ||
462 | this.pageData.currentPage = 1 | ||
463 | if (this.activeName == 2) { | ||
464 | this.handleSearchQY() | ||
465 | } else { | ||
466 | this.handleSearchYH() | ||
467 | } | ||
468 | }, | ||
469 | /** | ||
470 | * @description:企业查询 | ||
471 | * @param {*} val | ||
472 | * @param {*} code | ||
473 | * @author: renchao | ||
474 | */ | ||
475 | dicStatus (val, code) { | ||
476 | let data = store.getters.dictData[code], | ||
477 | name = '暂无' | ||
478 | if (data) { | ||
479 | data.map((item) => { | ||
480 | if (item.dcode == val) { | ||
481 | name = item.dname | ||
482 | } | ||
483 | }) | ||
484 | return name | ||
485 | } | ||
486 | }, | ||
487 | /** | ||
488 | * @description: 企业信息搜索 | ||
489 | * @author: renchao | ||
490 | */ | ||
491 | handleSearchQY () { | ||
492 | let data = { ...this.queryFormQY, ...this.pageData } | ||
493 | this.tableDataQy.data = [] | ||
494 | queryQyByPage(data).then((res) => { | ||
495 | if (res.code === 200) { | ||
496 | let { total, records } = res.result; | ||
497 | this.tableDataQy.total = total; | ||
498 | this.tableDataQy.data = records; | ||
499 | this.tableDataQy.data.forEach(item => { | ||
500 | item.zjzlMc = this.dicStatus(item.zjzl, 'A30') | ||
501 | item.ywrmc = item.qymc | ||
502 | item.txdz = item.dwdz | ||
503 | item.id = getUuid(16) | ||
504 | }) | ||
505 | } | ||
506 | }) | ||
507 | }, | ||
508 | /** | ||
509 | * @description: handleQYCurrentChange | ||
510 | * @param {*} val | ||
511 | * @author: renchao | ||
512 | */ | ||
513 | handleQYCurrentChange (val) { | ||
514 | this.pageData.currentPage = val | ||
515 | this.handleSearchQY() | ||
516 | }, | ||
517 | /** | ||
518 | * @description: handlesQYSelect | ||
519 | * @param {*} val | ||
520 | * @author: renchao | ||
521 | */ | ||
522 | handleSelect (val) { | ||
523 | let that = this | ||
524 | let bsmSldy = window.currentSelect.bsmSldy ? window.currentSelect.bsmSldy : '' | ||
525 | this.$confirm('是否同步材料信息?', '提示', { | ||
526 | confirmButtonText: '确定', | ||
527 | cancelButtonText: '取消', | ||
528 | distinguishCancelAndClose: true,//区分取消与关闭 | ||
529 | }).then(() => { | ||
530 | replace(val.bsmCompany, this.$route.query.bsmSlsq, bsmSldy).then(res => { | ||
531 | that.$emit("updateDetail", _.cloneDeep({ ...val, ywrlx: '2' })); | ||
532 | that.$emit("input", false); | ||
533 | if (res.code == 200) { | ||
534 | that.$message({ | ||
535 | type: 'success', | ||
536 | message: '同步成功!' | ||
537 | }) | ||
538 | } else { | ||
539 | this.$message.error(res.message) | ||
540 | } | ||
541 | }) | ||
542 | }).catch(action => { | ||
543 | if (action == 'cancel') { | ||
544 | that.$emit("updateDetail", _.cloneDeep({ ...val, sqrlx: '2' })); | ||
545 | that.$emit("input", false); | ||
546 | } | ||
547 | }) | ||
548 | }, | ||
549 | /** | ||
550 | * @description: 银行信息搜索 | ||
551 | * @author: renchao | ||
552 | */ | ||
553 | handleSearchYH () { | ||
554 | let data = { ...this.queryFormYH, ...this.pageData } | ||
555 | this.tableDataYh.data = [] | ||
556 | queryYhByPage(data).then((res) => { | ||
557 | if (res.code === 200) { | ||
558 | let { total, records } = res.result; | ||
559 | this.tableDataYh.total = total; | ||
560 | this.tableDataYh.data = records; | ||
561 | this.tableDataYh.data.forEach(item => { | ||
562 | item.zjzlMc = this.dicStatus(item.zjzl, 'A30') | ||
563 | item.ywrmc = item.qymc | ||
564 | item.txdz = item.dwdz | ||
565 | item.id = getUuid(16) | ||
566 | }) | ||
567 | } | ||
568 | }) | ||
569 | }, | ||
570 | /** | ||
571 | * @description: handleYHCurrentChange | ||
572 | * @param {*} val | ||
573 | * @author: renchao | ||
574 | */ | ||
575 | handleYHCurrentChange (val) { | ||
576 | this.pageData.currentPage = val | ||
577 | this.handleSearchQY() | ||
578 | }, | ||
579 | /** | ||
580 | * @description: 身份证打卡器 | ||
581 | * @author: renchao | ||
582 | */ | ||
583 | readClick () { | ||
584 | getIdCardInfo().then(res => { | ||
585 | if (res.data.code == 0) { | ||
586 | let data = res.data.IDCardInfo | ||
587 | this.ruleForm.ywrmc = data.name | ||
588 | this.ruleForm.zjzl = '1' | ||
589 | this.ruleForm.zjh = data.cardID | ||
590 | this.ruleForm.xb = data.sexCode | ||
591 | this.ruleForm.txdz = data.address | ||
592 | this.ruleForm.fzjg = data.issueOrgan | ||
593 | this.$message({ | ||
594 | message: '读取成功!', | ||
595 | type: 'success' | ||
596 | }) | ||
597 | } else { | ||
598 | this.$message({ | ||
599 | message: res.data.message, | ||
600 | type: 'warning' | ||
601 | }) | ||
602 | } | ||
603 | }) | ||
604 | }, | ||
323 | /** | 605 | /** |
324 | * @description: closeDialog | 606 | * @description: closeDialog |
325 | * @author: renchao | 607 | * @author: renchao |
326 | */ | 608 | */ |
327 | closeDialog() { | 609 | closeDialog () { |
328 | this.$emit("input", false); | 610 | this.$emit("input", false); |
329 | this.$refs["ruleForm"].resetFields(); | 611 | this.$refs["ruleForm"].resetFields(); |
330 | }, | 612 | }, |
... | @@ -332,7 +614,7 @@ export default { | ... | @@ -332,7 +614,7 @@ export default { |
332 | * @description: submitForm | 614 | * @description: submitForm |
333 | * @author: renchao | 615 | * @author: renchao |
334 | */ | 616 | */ |
335 | submitForm() { | 617 | submitForm () { |
336 | this.$refs.ruleForm.validate((valid) => { | 618 | this.$refs.ruleForm.validate((valid) => { |
337 | if (valid) { | 619 | if (valid) { |
338 | this.$emit("input", false); | 620 | this.$emit("input", false); |
... | @@ -340,17 +622,20 @@ export default { | ... | @@ -340,17 +622,20 @@ export default { |
340 | } else { | 622 | } else { |
341 | return false; | 623 | return false; |
342 | } | 624 | } |
343 | }); | 625 | }) |
344 | }, | 626 | } |
345 | }, | 627 | } |
346 | }; | 628 | } |
347 | </script> | 629 | </script> |
348 | <style scoped lang="scss"> | 630 | <style scoped lang="scss"> |
349 | @import "~@/styles/dialogBoxheader.scss"; | 631 | @import "~@/styles/dialogBoxheader.scss"; |
350 | .submit-button { | 632 | .submit-button { |
351 | text-align: center; | 633 | text-align: center; |
352 | height: 52px; | 634 | height: 52px; |
353 | padding-top: 10px; | 635 | padding-top: 10px; |
354 | background-color: #fff; | 636 | background-color: #fff; |
355 | } | 637 | } |
638 | .padding10 { | ||
639 | padding-bottom: 10px; | ||
640 | } | ||
356 | </style> | 641 | </style> | ... | ... |
1 | /* | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-09-22 13:42:40 | ||
5 | */ | ||
6 | import filter from '@/utils/filter.js' | ||
7 | let vm = null | ||
8 | |||
9 | const sendThis = (_this) => { | ||
10 | vm = _this | ||
11 | } | ||
12 | class data1 extends filter { | ||
13 | constructor() { | ||
14 | super() | ||
15 | } | ||
16 | columns () { | ||
17 | return [ | ||
18 | { | ||
19 | prop: "ywrmc", | ||
20 | label: "姓名/名称", | ||
21 | }, | ||
22 | { | ||
23 | prop: "zjzlMc", | ||
24 | label: "证件种类" | ||
25 | }, | ||
26 | { | ||
27 | prop: "zjh", | ||
28 | label: "证件号", | ||
29 | }, | ||
30 | { | ||
31 | prop: "frmc", | ||
32 | label: "法人名称", | ||
33 | }, | ||
34 | { | ||
35 | prop: "txdz", | ||
36 | label: "地址", | ||
37 | }, | ||
38 | { | ||
39 | prop: "dh", | ||
40 | label: "联系电话", | ||
41 | } | ||
42 | ] | ||
43 | } | ||
44 | |||
45 | } | ||
46 | class data2 extends filter { | ||
47 | constructor() { | ||
48 | super() | ||
49 | |||
50 | } | ||
51 | columns () { | ||
52 | return [ | ||
53 | { | ||
54 | prop: "ywrmc", | ||
55 | label: "姓名/名称", | ||
56 | }, | ||
57 | { | ||
58 | prop: "zjzlMc", | ||
59 | label: "证件种类", | ||
60 | }, | ||
61 | { | ||
62 | prop: "zjh", | ||
63 | label: "证件号", | ||
64 | }, | ||
65 | { | ||
66 | prop: "frmc", | ||
67 | label: "法人名称", | ||
68 | }, | ||
69 | { | ||
70 | prop: "txdz", | ||
71 | label: "地址", | ||
72 | }, | ||
73 | { | ||
74 | prop: "dh", | ||
75 | label: "联系电话", | ||
76 | }, | ||
77 | ] | ||
78 | } | ||
79 | |||
80 | } | ||
81 | let dataYh = new data1() | ||
82 | let dataQy = new data2() | ||
83 | export { | ||
84 | dataYh, | ||
85 | dataQy, | ||
86 | sendThis | ||
87 | } |
1 | <!-- | 1 | <!-- |
2 | * @Description: workFrame左侧菜单列表-普通 | 2 | * @Description: workFrame左侧菜单列表-普通 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-17 16:16:13 | 4 | * @LastEditTime: 2023-10-08 10:30:24 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
... | @@ -21,11 +21,12 @@ | ... | @@ -21,11 +21,12 @@ |
21 | <div>补录信息</div> | 21 | <div>补录信息</div> |
22 | </el-menu-item> | 22 | </el-menu-item> |
23 | </el-menu> | 23 | </el-menu> |
24 | <el-menu :default-active="activeIndex" @select="unitClick"> | 24 | <el-menu v-model="activeIndex" :default-active="activeIndex" @select="unitClick"> |
25 | <el-menu-item | 25 | <el-menu-item |
26 | v-for="(item, index) in supplementarylist" | 26 | v-for="(item, index) in supplementarylist" |
27 | :index="index.toString()" | 27 | :index="index.toString()" |
28 | :key="index"> | 28 | :key="index"> |
29 | <p class="dot" v-if="item.isSave == '0'"></p> | ||
29 | <div> | 30 | <div> |
30 | <p v-if="item.operate=='D'">{{ item.qllxmc }} <span class="tpcolor">(删除)</span></p> | 31 | <p v-if="item.operate=='D'">{{ item.qllxmc }} <span class="tpcolor">(删除)</span></p> |
31 | <p v-else>{{ item.qllxmc }} <span class="tpcolor">({{ item.operate=="U"?"编辑":"新增" }})</span></p> | 32 | <p v-else>{{ item.qllxmc }} <span class="tpcolor">({{ item.operate=="U"?"编辑":"新增" }})</span></p> |
... | @@ -69,6 +70,7 @@ | ... | @@ -69,6 +70,7 @@ |
69 | bsmSlsq: this.$route.query.bsmSlsq, | 70 | bsmSlsq: this.$route.query.bsmSlsq, |
70 | //当前流程所在环节 | 71 | //当前流程所在环节 |
71 | bestepid: this.$route.query.bestepid, | 72 | bestepid: this.$route.query.bestepid, |
73 | bsmBusiness: this.$route.query.bsmBusiness, | ||
72 | //受理申请标识码 | 74 | //受理申请标识码 |
73 | bdcdyid: this.$route.query.bdcdyid, | 75 | bdcdyid: this.$route.query.bdcdyid, |
74 | //当前流程所在环节 | 76 | //当前流程所在环节 |
... | @@ -76,7 +78,6 @@ | ... | @@ -76,7 +78,6 @@ |
76 | qllx: this.$route.query.qllx, | 78 | qllx: this.$route.query.qllx, |
77 | // 默认选中 | 79 | // 默认选中 |
78 | activeIndex: "0", | 80 | activeIndex: "0", |
79 | clickindex:"", | ||
80 | // 折叠 | 81 | // 折叠 |
81 | isShowdrawer: true, | 82 | isShowdrawer: true, |
82 | delel: true, | 83 | delel: true, |
... | @@ -101,19 +102,10 @@ | ... | @@ -101,19 +102,10 @@ |
101 | this.delel = this.$parent.isEdit | 102 | this.delel = this.$parent.isEdit |
102 | this.loadBdcdylist(); | 103 | this.loadBdcdylist(); |
103 | }, | 104 | }, |
104 | computed: { | 105 | beforeDestroy () { |
105 | // ...mapGetters(["isRefresh"]), | 106 | sessionStorage.removeItem('keyPath') |
106 | }, | ||
107 | watch: { | ||
108 | // isRefresh: { | ||
109 | // handler(newVal, oldVal) { | ||
110 | // if (newVal) this.loadBdcdylist(); | ||
111 | // }, | ||
112 | // immediate: true, | ||
113 | // }, | ||
114 | }, | 107 | }, |
115 | methods: { | 108 | methods: { |
116 | //读取申请单元信息 | ||
117 | /** | 109 | /** |
118 | * @description: 读取申请单元信息 | 110 | * @description: 读取申请单元信息 |
119 | * @author: renchao | 111 | * @author: renchao |
... | @@ -122,7 +114,8 @@ | ... | @@ -122,7 +114,8 @@ |
122 | var formdata = new FormData(); | 114 | var formdata = new FormData(); |
123 | if (this.bsmSlsq) { | 115 | if (this.bsmSlsq) { |
124 | formdata.append("bsmSlsq", this.bsmSlsq); | 116 | formdata.append("bsmSlsq", this.bsmSlsq); |
125 | formdata.append("bestepid", this.bestepid); | 117 | formdata.append("bestepid", this.bestepid ? this.bestepid : ''); |
118 | formdata.append("bsmBusiness", this.bsmBusiness ? this.bsmBusiness : ''); | ||
126 | leftMenu(formdata).then((res) => { | 119 | leftMenu(formdata).then((res) => { |
127 | if (res.code === 200 && res.result) { | 120 | if (res.code === 200 && res.result) { |
128 | this.currentSelectProps = res.result[0]; | 121 | this.currentSelectProps = res.result[0]; |
... | @@ -130,45 +123,48 @@ | ... | @@ -130,45 +123,48 @@ |
130 | } | 123 | } |
131 | }); | 124 | }); |
132 | } | 125 | } |
133 | |||
134 | |||
135 | }, | 126 | }, |
136 | // 获取右侧菜单 | ||
137 | /** | 127 | /** |
138 | * @description: 获取右侧菜单 | 128 | * @description: 获取右侧菜单 |
139 | * @param {*} row | 129 | * @param {*} row |
140 | * @author: renchao | 130 | * @author: renchao |
141 | */ | 131 | */ |
142 | getleftMenubl (row) { | 132 | getleftMenubl (row) { |
133 | let that = this | ||
143 | leftMenubl(this.bsmSlsq).then((res) => { | 134 | leftMenubl(this.bsmSlsq).then((res) => { |
144 | this.supplementarylist = res.result; | 135 | this.supplementarylist = res.result; |
145 | if (row) { | 136 | if (row) { |
146 | this.supplementarylist.forEach((item, index) => { | 137 | this.supplementarylist.forEach((item, index) => { |
147 | if (item.bsmRepair == row.bsmRepair) { | 138 | if (item.bsmRepair == row.bsmRepair) { |
148 | this.activeIndex = index.toString() | 139 | this.activeIndex = index.toString() |
149 | // 补录成功后定位到该条记录 | 140 | this.unitClick(this.activeIndex) |
150 | this.unitClick(index) | ||
151 | } | 141 | } |
152 | }) | 142 | }) |
153 | if(row=="change"){ | 143 | // if (row == "change") { |
154 | this.unitClick(this.clickindex) | 144 | // if (sessionStorage.getItem('keyPath') && sessionStorage.getItem('keyPath') >= 0) { |
155 | 145 | // that.unitClick(sessionStorage.getItem('keyPath') - 0) | |
156 | } | 146 | // that.activeIndex = sessionStorage.getItem('keyPath') |
157 | }else{ | 147 | // } else { |
148 | // that.unitClick(0) | ||
149 | // that.activeIndex = "0" | ||
150 | // } | ||
151 | // } | ||
152 | } else { | ||
158 | if (this.supplementarylist.length) { | 153 | if (this.supplementarylist.length) { |
159 | this.unitClick(0) | 154 | if (sessionStorage.getItem('keyPath') && sessionStorage.getItem('keyPath') >= 0) { |
160 | this.activeIndex = "0" | 155 | that.unitClick(sessionStorage.getItem('keyPath') - 0) |
156 | that.activeIndex = sessionStorage.getItem('keyPath') | ||
161 | } else { | 157 | } else { |
162 | this.loadBdcdylist() | 158 | that.loadBdcdylist() |
163 | // this.$emit("getCurrentSelectProps", this.currentSelectProps); | 159 | that.activeIndex = "-1"; |
160 | // that.unitClick(0) | ||
161 | // that.activeIndex = "0" | ||
164 | } | 162 | } |
165 | 163 | } else { | |
164 | // this.loadBdcdylist() | ||
166 | } | 165 | } |
167 | 166 | } | |
168 | 167 | }) | |
169 | |||
170 | |||
171 | }); | ||
172 | }, | 168 | }, |
173 | /** | 169 | /** |
174 | * @description: handleNodeClick | 170 | * @description: handleNodeClick |
... | @@ -181,26 +177,28 @@ | ... | @@ -181,26 +177,28 @@ |
181 | this.$parent.loadComponent(this.currentSelectProps, data); | 177 | this.$parent.loadComponent(this.currentSelectProps, data); |
182 | this.$parent.tabset(); | 178 | this.$parent.tabset(); |
183 | }, | 179 | }, |
184 | //申请单元点击事件 | ||
185 | /** | 180 | /** |
186 | * @description: 申请单元点击事件 | 181 | * @description: 申请单元点击事件 |
187 | * @param {*} index | 182 | * @param {*} index |
188 | * @author: renchao | 183 | * @author: renchao |
189 | */ | 184 | */ |
190 | unitClick (index) { | 185 | unitClick (index) { |
191 | this.clickindex=index | 186 | this.activeIndex = index.toString(); |
187 | sessionStorage.setItem('keyPath', this.activeIndex); | ||
192 | this.currentSelectProps = this.supplementarylist[index]; | 188 | this.currentSelectProps = this.supplementarylist[index]; |
189 | window.currentSelect = this.supplementarylist[index] | ||
193 | this.$emit("getCurrentSelectProps", this.currentSelectProps); | 190 | this.$emit("getCurrentSelectProps", this.currentSelectProps); |
194 | }, | 191 | }, |
195 | //登记簿点击事件 | ||
196 | /** | 192 | /** |
197 | * @description: 登记簿点击事件 | 193 | * @description: 登记簿点击事件 |
198 | * @author: renchao | 194 | * @author: renchao |
199 | */ | 195 | */ |
200 | djbClick () { | 196 | djbClick () { |
201 | this.loadBdcdylist(); | 197 | this.loadBdcdylist() |
198 | window.currentSelect = {} | ||
199 | this.activeIndex = "-1"; | ||
200 | sessionStorage.removeItem('keyPath') | ||
202 | }, | 201 | }, |
203 | // 删除补录记录 | ||
204 | /** | 202 | /** |
205 | * @description: 删除补录记录 | 203 | * @description: 删除补录记录 |
206 | * @param {*} row | 204 | * @param {*} row |
... | @@ -223,30 +221,27 @@ | ... | @@ -223,30 +221,27 @@ |
223 | if (!this.supplementarylist.length) { | 221 | if (!this.supplementarylist.length) { |
224 | getdjblist() | 222 | getdjblist() |
225 | } | 223 | } |
226 | 224 | }) | |
227 | }); | 225 | }) |
228 | }); | ||
229 | }) | 226 | }) |
230 | .catch(() => { | 227 | .catch(() => { |
231 | this.$message({ | 228 | this.$message({ |
232 | type: "info", | 229 | type: "info", |
233 | message: "已取消删除", | 230 | message: "已取消删除" |
234 | }); | 231 | }) |
235 | }); | 232 | }) |
236 | }, | 233 | }, |
237 | //补录信息点击事件默认展示第一条补录记录 | ||
238 | /** | 234 | /** |
239 | * @description: 补录信息点击事件默认展示第一条补录记录 | 235 | * @description: 补录信息点击事件默认展示第一条补录记录 |
240 | * @author: renchao | 236 | * @author: renchao |
241 | */ | 237 | */ |
242 | blxxClick () { | 238 | blxxClick () { |
243 | if (this.supplementarylist.length) { | 239 | if (this.supplementarylist.length) { |
244 | this.unitClick(0); | 240 | this.unitClick(0) |
241 | } | ||
242 | } | ||
243 | } | ||
245 | } | 244 | } |
246 | |||
247 | }, | ||
248 | }, | ||
249 | }; | ||
250 | </script> | 245 | </script> |
251 | <style scoped lang="scss"> | 246 | <style scoped lang="scss"> |
252 | @import "~@/styles/mixin.scss"; | 247 | @import "~@/styles/mixin.scss"; |
... | @@ -323,7 +318,7 @@ | ... | @@ -323,7 +318,7 @@ |
323 | color: red; | 318 | color: red; |
324 | line-height: 22px; | 319 | line-height: 22px; |
325 | } | 320 | } |
326 | .ywh{ | 321 | .ywh { |
327 | font-size: 12px; | 322 | font-size: 12px; |
328 | } | 323 | } |
329 | .el-icon-delete { | 324 | .el-icon-delete { |
... | @@ -333,7 +328,7 @@ | ... | @@ -333,7 +328,7 @@ |
333 | height: 27px; | 328 | height: 27px; |
334 | float: left; | 329 | float: left; |
335 | } | 330 | } |
336 | .el-icon-delete:hover{ | 331 | .el-icon-delete:hover { |
337 | color: #0079fe; | 332 | color: #0079fe; |
338 | } | 333 | } |
339 | } | 334 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-01 13:30:54 | 4 | * @LastEditTime: 2023-09-28 15:15:37 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
... | @@ -21,8 +21,9 @@ | ... | @@ -21,8 +21,9 @@ |
21 | </div> | 21 | </div> |
22 | </template> | 22 | </template> |
23 | <script> | 23 | <script> |
24 | import addQlr from "./dialog/addQlr.vue"; | ||
25 | import { mapGetters } from "vuex"; | 24 | import { mapGetters } from "vuex"; |
25 | import addQlr from "./dialog/addQlr.vue"; | ||
26 | import { getIdCardInfo } from '@/utils/operation.js' | ||
26 | export default { | 27 | export default { |
27 | components: { | 28 | components: { |
28 | addQlr, | 29 | addQlr, |
... | @@ -102,7 +103,7 @@ | ... | @@ -102,7 +103,7 @@ |
102 | icon="el-icon-tickets" | 103 | icon="el-icon-tickets" |
103 | disabled={!this.ableOperation} | 104 | disabled={!this.ableOperation} |
104 | onClick={() => { | 105 | onClick={() => { |
105 | this.readClick(scope); | 106 | this.readClick(scope.row) |
106 | }} | 107 | }} |
107 | > | 108 | > |
108 | 读取 | 109 | 读取 |
... | @@ -178,12 +179,12 @@ | ... | @@ -178,12 +179,12 @@ |
178 | this.$nextTick(() => { | 179 | this.$nextTick(() => { |
179 | if (val.length == 0 || !val) { | 180 | if (val.length == 0 || !val) { |
180 | that.tableDataList = _.cloneDeep([ | 181 | that.tableDataList = _.cloneDeep([ |
181 | { | 182 | // { |
182 | qlrmc: "", | 183 | // qlrmc: "", |
183 | dlrzjlx: "", | 184 | // dlrzjlx: "", |
184 | dlrzjh: "", | 185 | // dlrzjh: "", |
185 | fr: "", | 186 | // fr: "", |
186 | }, | 187 | // }, |
187 | ]); | 188 | ]); |
188 | } else { | 189 | } else { |
189 | that.tableDataList = _.cloneDeep(val); | 190 | that.tableDataList = _.cloneDeep(val); |
... | @@ -215,7 +216,6 @@ | ... | @@ -215,7 +216,6 @@ |
215 | }, | 216 | }, |
216 | methods: { | 217 | methods: { |
217 | /** | 218 | /** |
218 | * @handleupdateDetail: 删除 | ||
219 | * @param {*} value | 219 | * @param {*} value |
220 | * @author: renchao | 220 | * @author: renchao |
221 | */ | 221 | */ |
... | @@ -255,23 +255,32 @@ | ... | @@ -255,23 +255,32 @@ |
255 | this.tableDataList.splice(index, 1); | 255 | this.tableDataList.splice(index, 1); |
256 | this.$emit("upDateQlrxxList", this.tableDataList); | 256 | this.$emit("upDateQlrxxList", this.tableDataList); |
257 | }, | 257 | }, |
258 | |||
259 | // 身份证读取 | ||
260 | /** | 258 | /** |
261 | * @description: 身份证读取 | 259 | * @description: 身份证读取 |
262 | * @author: renchao | 260 | * @author: renchao |
263 | */ | 261 | */ |
264 | readClick () { }, | 262 | readClick (row) { |
265 | 263 | getIdCardInfo().then(res => { | |
266 | // 身份证读取按钮禁用 | 264 | if (res.data.code == 0) { |
267 | /** | 265 | let data = res.data.IDCardInfo |
268 | * @description: 身份证读取按钮禁用 | 266 | row.qlrmc = data.name |
269 | * @author: renchao | 267 | row.zjzl = '1' |
270 | */ | 268 | row.zjh = data.cardID |
271 | onreadClick () { | 269 | row.xb = data.sexCode |
272 | this.$message.error("此阶段不可编辑"); | 270 | row.dz = data.address |
271 | row.fzjg = data.issueOrgan | ||
272 | this.$message({ | ||
273 | message: '读取成功!', | ||
274 | type: 'success' | ||
275 | }) | ||
276 | } else { | ||
277 | this.$message({ | ||
278 | message: res.data.message, | ||
279 | type: 'warning' | ||
280 | }) | ||
281 | } | ||
282 | }) | ||
273 | }, | 283 | }, |
274 | // 修改 | ||
275 | /** | 284 | /** |
276 | * @description: 修改 | 285 | * @description: 修改 |
277 | * @param {*} index | 286 | * @param {*} index | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-01 13:43:42 | 4 | * @LastEditTime: 2023-09-28 15:15:21 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
... | @@ -21,8 +21,9 @@ | ... | @@ -21,8 +21,9 @@ |
21 | </div> | 21 | </div> |
22 | </template> | 22 | </template> |
23 | <script> | 23 | <script> |
24 | import addYwr from "./dialog/addYwr.vue"; | ||
25 | import { mapGetters } from "vuex"; | 24 | import { mapGetters } from "vuex"; |
25 | import addYwr from "./dialog/addYwr.vue"; | ||
26 | import { getIdCardInfo } from '@/utils/operation.js' | ||
26 | export default { | 27 | export default { |
27 | components: { | 28 | components: { |
28 | addYwr, | 29 | addYwr, |
... | @@ -102,7 +103,7 @@ | ... | @@ -102,7 +103,7 @@ |
102 | icon="el-icon-tickets" | 103 | icon="el-icon-tickets" |
103 | disabled={!this.ableOperation} | 104 | disabled={!this.ableOperation} |
104 | onClick={() => { | 105 | onClick={() => { |
105 | this.readClick(scope); | 106 | this.readClick(scope.row); |
106 | }} | 107 | }} |
107 | > | 108 | > |
108 | 读取 | 109 | 读取 |
... | @@ -178,12 +179,12 @@ | ... | @@ -178,12 +179,12 @@ |
178 | this.$nextTick(() => { | 179 | this.$nextTick(() => { |
179 | if (val.length == 0 || !val) { | 180 | if (val.length == 0 || !val) { |
180 | that.tableDataList = _.cloneDeep([ | 181 | that.tableDataList = _.cloneDeep([ |
181 | { | 182 | // { |
182 | ywrmc: "", | 183 | // ywrmc: "", |
183 | dlrzjlx: "", | 184 | // dlrzjlx: "", |
184 | dlrzjh: "", | 185 | // dlrzjh: "", |
185 | fr: "", | 186 | // fr: "", |
186 | }, | 187 | // }, |
187 | ]); | 188 | ]); |
188 | } else { | 189 | } else { |
189 | that.tableDataList = _.cloneDeep(val); | 190 | that.tableDataList = _.cloneDeep(val); |
... | @@ -247,24 +248,41 @@ | ... | @@ -247,24 +248,41 @@ |
247 | this.isaddupdate = true; | 248 | this.isaddupdate = true; |
248 | }, | 249 | }, |
249 | /** | 250 | /** |
250 | * @description: 删除 | ||
251 | * @param {*} index | 251 | * @param {*} index |
252 | * @param {*} row | 252 | * @param {*} row |
253 | * @author: renchao | ||
254 | */ | 253 | */ |
255 | deleClick (index, row) { | 254 | deleClick (index, row) { |
256 | this.tableDataList.splice(index, 1); | 255 | this.tableDataList.splice(index, 1); |
257 | this.$emit("upDateQlrxxList", this.tableDataList); | 256 | this.$emit("upDateQlrxxList", this.tableDataList); |
258 | }, | 257 | }, |
259 | 258 | ||
260 | // 身份证读取 | ||
261 | /** | 259 | /** |
262 | * @description: 身份证读取 | 260 | * @description: 身份证读取 |
263 | * @author: renchao | 261 | * @author: renchao |
264 | */ | 262 | */ |
265 | readClick () { }, | 263 | readClick (row) { |
264 | getIdCardInfo().then(res => { | ||
265 | if (res.data.code == 0) { | ||
266 | let data = res.data.IDCardInfo | ||
267 | row.ywrmc = data.name | ||
268 | row.zjzl = '1' | ||
269 | row.zjh = data.cardID | ||
270 | row.xb = data.sexCode | ||
271 | row.txdz = data.address | ||
272 | row.fzjg = data.issueOrgan | ||
273 | this.$message({ | ||
274 | message: '读取成功!', | ||
275 | type: 'success' | ||
276 | }) | ||
277 | } else { | ||
278 | this.$message({ | ||
279 | message: res.data.message, | ||
280 | type: 'warning' | ||
281 | }) | ||
282 | } | ||
283 | }) | ||
284 | }, | ||
266 | 285 | ||
267 | // 修改 | ||
268 | /** | 286 | /** |
269 | * @description: 修改 | 287 | * @description: 修改 |
270 | * @param {*} index | 288 | * @param {*} index | ... | ... |
... | @@ -20,7 +20,7 @@ export default { | ... | @@ -20,7 +20,7 @@ export default { |
20 | return false; | 20 | return false; |
21 | }, | 21 | }, |
22 | }, | 22 | }, |
23 | data() { | 23 | data () { |
24 | return { | 24 | return { |
25 | ssqlxxshow: true, | 25 | ssqlxxshow: true, |
26 | //表单是否可操作 | 26 | //表单是否可操作 |
... | @@ -78,10 +78,10 @@ export default { | ... | @@ -78,10 +78,10 @@ export default { |
78 | 78 | ||
79 | }; | 79 | }; |
80 | }, | 80 | }, |
81 | created() { | 81 | created () { |
82 | this.loadData(); | 82 | this.loadData(); |
83 | }, | 83 | }, |
84 | mounted() { | 84 | mounted () { |
85 | this.ableOperation = this.$parent.ableOperation; | 85 | this.ableOperation = this.$parent.ableOperation; |
86 | }, | 86 | }, |
87 | methods: { | 87 | methods: { |
... | @@ -90,7 +90,7 @@ export default { | ... | @@ -90,7 +90,7 @@ export default { |
90 | * @param {*} val | 90 | * @param {*} val |
91 | * @author: renchao | 91 | * @author: renchao |
92 | */ | 92 | */ |
93 | ztQlxxchange(val) { | 93 | ztQlxxchange (val) { |
94 | this.ruleForm.ztQlxx = val; | 94 | this.ruleForm.ztQlxx = val; |
95 | }, | 95 | }, |
96 | /** | 96 | /** |
... | @@ -98,13 +98,13 @@ export default { | ... | @@ -98,13 +98,13 @@ export default { |
98 | * @param {*} val | 98 | * @param {*} val |
99 | * @author: renchao | 99 | * @author: renchao |
100 | */ | 100 | */ |
101 | ssQlxxchange(val) { | 101 | ssQlxxchange (val) { |
102 | this.ruleForm.ssQlxx = val; | 102 | this.ruleForm.ssQlxx = val; |
103 | this.ruleForm.qlxx.ssywh = val.ywh; | 103 | this.ruleForm.qlxx.ssywh = val.ywh; |
104 | this.ssQlxxchangediolog(val); | 104 | this.ssQlxxchangediolog(val); |
105 | }, | 105 | }, |
106 | // 弹框事件 | 106 | // 弹框事件 |
107 | ssQlxxchangediolog(val) { | 107 | ssQlxxchangediolog (val) { |
108 | this.$confirm("是否将上手权利信息同步到表单", "提示", { | 108 | this.$confirm("是否将上手权利信息同步到表单", "提示", { |
109 | iconClass: "el-icon-question", //自定义图标样式 | 109 | iconClass: "el-icon-question", //自定义图标样式 |
110 | confirmButtonText: "确认", //确认按钮文字更换 | 110 | confirmButtonText: "确认", //确认按钮文字更换 |
... | @@ -166,7 +166,7 @@ export default { | ... | @@ -166,7 +166,7 @@ export default { |
166 | * @param {*} val | 166 | * @param {*} val |
167 | * @author: renchao | 167 | * @author: renchao |
168 | */ | 168 | */ |
169 | djlxchange(val) { | 169 | djlxchange (val) { |
170 | if (val == null || val == 100) { | 170 | if (val == null || val == 100) { |
171 | this.ssqlxxshow = false; | 171 | this.ssqlxxshow = false; |
172 | } else { | 172 | } else { |
... | @@ -177,30 +177,30 @@ export default { | ... | @@ -177,30 +177,30 @@ export default { |
177 | * @description: loadData | 177 | * @description: loadData |
178 | * @author: renchao | 178 | * @author: renchao |
179 | */ | 179 | */ |
180 | loadData() { | 180 | loadData () { |
181 | this.$startLoading(); | 181 | this.loading = true |
182 | this.propsParam.isEdit = this.$parent.isEdit; | 182 | this.propsParam.isEdit = this.$parent.isEdit; |
183 | init(this.propsParam).then((res) => { | 183 | init(this.propsParam).then((res) => { |
184 | this.loading = false | ||
184 | if (res.code == 200) { | 185 | if (res.code == 200) { |
185 | this.ruleForm = res.result; | 186 | this.ruleForm = res.result; |
186 | if(this.ruleForm.diyaq){ | 187 | if (this.ruleForm.diyaq) { |
187 | this.ruleForm.diyaq.dyfs="1" | 188 | this.ruleForm.diyaq.dyfs = "1" |
188 | } | 189 | } |
189 | if(this.ruleForm.ygdj){ | 190 | if (this.ruleForm.ygdj) { |
190 | this.ruleForm.ygdj.jedw="1" | 191 | this.ruleForm.ygdj.jedw = "1" |
191 | this.ruleForm.ygdj.mjdw="1" | 192 | this.ruleForm.ygdj.mjdw = "1" |
192 | if(this.ruleForm.ygdj.sfczjzhxz==null){ | 193 | if (this.ruleForm.ygdj.sfczjzhxz == null) { |
193 | this.ruleForm.ygdj.sfczjzhxz="1" | 194 | this.ruleForm.ygdj.sfczjzhxz = "1" |
194 | } | 195 | } |
195 | } | 196 | } |
196 | if(this.ruleForm.diyaq){ | 197 | if (this.ruleForm.diyaq) { |
197 | this.ruleForm.diyaq.mjdw="1" | 198 | this.ruleForm.diyaq.mjdw = "1" |
198 | } | 199 | } |
199 | let djlx = this.ruleForm.qlxx.djlx; | 200 | let djlx = this.ruleForm.qlxx.djlx; |
200 | if (djlx == null || djlx == 100) { | 201 | if (djlx == null || djlx == 100) { |
201 | this.ssqlxxshow = false; | 202 | this.ssqlxxshow = false; |
202 | } | 203 | } |
203 | this.$endLoading(); | ||
204 | this.isShow = true; | 204 | this.isShow = true; |
205 | //获取主体信息 | 205 | //获取主体信息 |
206 | getSsQlxx({ | 206 | getSsQlxx({ |
... | @@ -222,15 +222,16 @@ export default { | ... | @@ -222,15 +222,16 @@ export default { |
222 | } | 222 | } |
223 | }); | 223 | }); |
224 | } | 224 | } |
225 | }); | 225 | }).catch(() => { |
226 | this.loading = false | ||
227 | }) | ||
226 | }, | 228 | }, |
227 | // 更新土地用途信息 | ||
228 | /** | 229 | /** |
229 | * @description: 更新土地用途信息 | 230 | * @description: 更新土地用途信息 |
230 | * @param {*} val | 231 | * @param {*} val |
231 | * @author: renchao | 232 | * @author: renchao |
232 | */ | 233 | */ |
233 | upDateTdytxxList(val) { | 234 | upDateTdytxxList (val) { |
234 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); | 235 | this.ruleForm.tdytqxList && (this.ruleForm.tdytqxList = _.cloneDeep(val)); |
235 | this.key++; | 236 | this.key++; |
236 | }, | 237 | }, |
... | @@ -239,18 +240,17 @@ export default { | ... | @@ -239,18 +240,17 @@ export default { |
239 | * @param {*} val | 240 | * @param {*} val |
240 | * @author: renchao | 241 | * @author: renchao |
241 | */ | 242 | */ |
242 | upDateQlrxxList(val) { | 243 | upDateQlrxxList (val) { |
243 | this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); | 244 | this.ruleForm.qlrData && (this.ruleForm.qlrData = _.cloneDeep(val)); |
244 | this.czrOptions = this.ruleForm.qlrData; | 245 | this.czrOptions = this.ruleForm.qlrData; |
245 | this.key++; | 246 | this.key++; |
246 | }, | 247 | }, |
247 | // 更新义务人信息 | ||
248 | /** | 248 | /** |
249 | * @description: 更新义务人信息 | 249 | * @description: 更新义务人信息 |
250 | * @param {*} val | 250 | * @param {*} val |
251 | * @author: renchao | 251 | * @author: renchao |
252 | */ | 252 | */ |
253 | upDateYwrxxList(val) { | 253 | upDateYwrxxList (val) { |
254 | this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); | 254 | this.ruleForm.ywrData && (this.ruleForm.ywrData = _.cloneDeep(val)); |
255 | this.key++; | 255 | this.key++; |
256 | }, | 256 | }, |
... | @@ -258,7 +258,7 @@ export default { | ... | @@ -258,7 +258,7 @@ export default { |
258 | * @description: onSubmit | 258 | * @description: onSubmit |
259 | * @author: renchao | 259 | * @author: renchao |
260 | */ | 260 | */ |
261 | onSubmit() { | 261 | onSubmit () { |
262 | this.$refs.ruleForm.validate((valid) => { | 262 | this.$refs.ruleForm.validate((valid) => { |
263 | if (valid) { | 263 | if (valid) { |
264 | if (this.ruleForm.qlrData.length == 0) { | 264 | if (this.ruleForm.qlrData.length == 0) { |
... | @@ -297,7 +297,7 @@ export default { | ... | @@ -297,7 +297,7 @@ export default { |
297 | return false; | 297 | return false; |
298 | } | 298 | } |
299 | } | 299 | } |
300 | 300 | this.$store.dispatch("user/refreshPage", false); | |
301 | save(this.ruleForm).then((res) => { | 301 | save(this.ruleForm).then((res) => { |
302 | if (res.code === 200) { | 302 | if (res.code === 200) { |
303 | this.$message({ | 303 | this.$message({ | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-30 15:52:11 | 4 | * @LastEditTime: 2023-09-26 13:25:47 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -10,6 +10,7 @@ | ... | @@ -10,6 +10,7 @@ |
10 | :model="ruleForm" | 10 | :model="ruleForm" |
11 | :rules="rules" | 11 | :rules="rules" |
12 | :class="{ readonly: editDisabled }" | 12 | :class="{ readonly: editDisabled }" |
13 | v-Loading="loading" | ||
13 | ref="ruleForm" | 14 | ref="ruleForm" |
14 | :label-position="flag ? 'top' : ''" | 15 | :label-position="flag ? 'top' : ''" |
15 | :inline="flag" | 16 | :inline="flag" |
... | @@ -491,6 +492,7 @@ | ... | @@ -491,6 +492,7 @@ |
491 | 492 | ||
492 | data () { | 493 | data () { |
493 | return { | 494 | return { |
495 | loading: false, | ||
494 | mjdw: "1", | 496 | mjdw: "1", |
495 | //表单是否可操作 | 497 | //表单是否可操作 |
496 | rules: { | 498 | rules: { |
... | @@ -525,8 +527,8 @@ | ... | @@ -525,8 +527,8 @@ |
525 | ywhrules: [{ required: true, message: "业务号", trigger: "change" }], | 527 | ywhrules: [{ required: true, message: "业务号", trigger: "change" }], |
526 | } | 528 | } |
527 | } | 529 | } |
528 | }, | 530 | } |
529 | }; | 531 | } |
530 | </script> | 532 | </script> |
531 | <style scoped lang="scss"> | 533 | <style scoped lang="scss"> |
532 | @import "~@/styles/public.scss"; | 534 | @import "~@/styles/public.scss"; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-15 09:33:54 | 4 | * @LastEditTime: 2023-09-26 13:26:40 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -10,7 +10,7 @@ | ... | @@ -10,7 +10,7 @@ |
10 | :model="ruleForm" | 10 | :model="ruleForm" |
11 | :rules="rules" | 11 | :rules="rules" |
12 | :class="{ readonly: editDisabled }" | 12 | :class="{ readonly: editDisabled }" |
13 | class="loadingtext" | 13 | v-Loading="loading" |
14 | ref="ruleForm" | 14 | ref="ruleForm" |
15 | :label-position="flag ? 'top' : ''" | 15 | :label-position="flag ? 'top' : ''" |
16 | :inline="flag" | 16 | :inline="flag" |
... | @@ -433,7 +433,8 @@ | ... | @@ -433,7 +433,8 @@ |
433 | components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, | 433 | components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, |
434 | data () { | 434 | data () { |
435 | return { | 435 | return { |
436 | //传递参数\ | 436 | loading: false, |
437 | //传递参数 | ||
437 | rules: { | 438 | rules: { |
438 | ssQlxxrules: [ | 439 | ssQlxxrules: [ |
439 | { required: true, message: "上手权利信息", trigger: "blur" }, | 440 | { required: true, message: "上手权利信息", trigger: "blur" }, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-11 16:37:36 | 4 | * @LastEditTime: 2023-09-26 13:34:22 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -10,7 +10,7 @@ | ... | @@ -10,7 +10,7 @@ |
10 | :model="ruleForm" | 10 | :model="ruleForm" |
11 | :rules="rules" | 11 | :rules="rules" |
12 | :class="{ readonly: editDisabled }" | 12 | :class="{ readonly: editDisabled }" |
13 | class="loadingtext" | 13 | v-Loading="loading" |
14 | ref="ruleForm" | 14 | ref="ruleForm" |
15 | :label-position="flag ? 'top' : ''" | 15 | :label-position="flag ? 'top' : ''" |
16 | :inline="flag" | 16 | :inline="flag" |
... | @@ -441,6 +441,7 @@ | ... | @@ -441,6 +441,7 @@ |
441 | components: { qlrCommonTable, tdytTable, selectTable }, | 441 | components: { qlrCommonTable, tdytTable, selectTable }, |
442 | data () { | 442 | data () { |
443 | return { | 443 | return { |
444 | loading: false, | ||
444 | mjdw: "1", | 445 | mjdw: "1", |
445 | // 键名转换,方法默认是label和children进行树状渲染 | 446 | // 键名转换,方法默认是label和children进行树状渲染 |
446 | normalizer (node) { | 447 | normalizer (node) { |
... | @@ -572,9 +573,10 @@ | ... | @@ -572,9 +573,10 @@ |
572 | * @author: renchao | 573 | * @author: renchao |
573 | */ | 574 | */ |
574 | loadData () { | 575 | loadData () { |
575 | this.$startLoading(); | 576 | this.loading = true |
576 | this.propsParam.isEdit = this.$parent.isEdit; | 577 | this.propsParam.isEdit = this.$parent.isEdit; |
577 | init(this.propsParam).then((res) => { | 578 | init(this.propsParam).then((res) => { |
579 | this.loading = false | ||
578 | if (res.code == 200) { | 580 | if (res.code == 200) { |
579 | this.ruleForm = res.result; | 581 | this.ruleForm = res.result; |
580 | let djlx = this.ruleForm.qlxx.djlx; | 582 | let djlx = this.ruleForm.qlxx.djlx; |
... | @@ -582,7 +584,6 @@ | ... | @@ -582,7 +584,6 @@ |
582 | this.ssqlxxshow = false; | 584 | this.ssqlxxshow = false; |
583 | } | 585 | } |
584 | this.ruleForm.fdcq2.jedw = "1"; | 586 | this.ruleForm.fdcq2.jedw = "1"; |
585 | this.$endLoading(); | ||
586 | this.isShow = true; | 587 | this.isShow = true; |
587 | //获取主体信息 | 588 | //获取主体信息 |
588 | getSsQlxx({ | 589 | getSsQlxx({ |
... | @@ -595,7 +596,9 @@ | ... | @@ -595,7 +596,9 @@ |
595 | } | 596 | } |
596 | }); | 597 | }); |
597 | } | 598 | } |
598 | }); | 599 | }).catch(() => { |
600 | this.loading = false | ||
601 | }) | ||
599 | }, | 602 | }, |
600 | /** | 603 | /** |
601 | * @description: 更新土地用途信息 | 604 | * @description: 更新土地用途信息 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-22 16:27:45 | 4 | * @LastEditTime: 2023-10-08 14:47:33 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -183,15 +183,6 @@ | ... | @@ -183,15 +183,6 @@ |
183 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> | 183 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> |
184 | </el-form-item> | 184 | </el-form-item> |
185 | </el-col> | 185 | </el-col> |
186 | <!-- <el-col :span="8"> | ||
187 | <el-form-item | ||
188 | label="区县代码:" | ||
189 | prop="qlxx.qxdm" | ||
190 | :rules="rules.qxdmrules" | ||
191 | > | ||
192 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> | ||
193 | </el-form-item> | ||
194 | </el-col> --> | ||
195 | <el-col :span="8"> | 186 | <el-col :span="8"> |
196 | <el-form-item | 187 | <el-form-item |
197 | label="登记机构:" | 188 | label="登记机构:" |
... | @@ -296,6 +287,7 @@ | ... | @@ -296,6 +287,7 @@ |
296 | }, | 287 | }, |
297 | data () { | 288 | data () { |
298 | return { | 289 | return { |
290 | loading: false, | ||
299 | mjdw: "1", | 291 | mjdw: "1", |
300 | ssqlxxshow: true, | 292 | ssqlxxshow: true, |
301 | props: { | 293 | props: { |
... | @@ -396,7 +388,6 @@ | ... | @@ -396,7 +388,6 @@ |
396 | this.ruleForm.qlxx.ssywh = val.ywh; | 388 | this.ruleForm.qlxx.ssywh = val.ywh; |
397 | this.ssQlxxchangediolog(val); | 389 | this.ssQlxxchangediolog(val); |
398 | }, | 390 | }, |
399 | // 弹框事件 | ||
400 | /** | 391 | /** |
401 | * @description: 弹框事件 | 392 | * @description: 弹框事件 |
402 | * @param {*} val | 393 | * @param {*} val |
... | @@ -435,6 +426,7 @@ | ... | @@ -435,6 +426,7 @@ |
435 | 426 | ||
436 | } | 427 | } |
437 | } | 428 | } |
429 | this.ruleForm.qlxx.gyfs = this.nowlist.qlxx.gyfs | ||
438 | if (!this.ruleForm.tdytqxList.length) { | 430 | if (!this.ruleForm.tdytqxList.length) { |
439 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; | 431 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; |
440 | } | 432 | } |
... | @@ -469,7 +461,6 @@ | ... | @@ -469,7 +461,6 @@ |
469 | this.ssqlxxshow = true; | 461 | this.ssqlxxshow = true; |
470 | } | 462 | } |
471 | }, | 463 | }, |
472 | // 字典 | ||
473 | /** | 464 | /** |
474 | * @description: 字典 | 465 | * @description: 字典 |
475 | * @param {*} val | 466 | * @param {*} val |
... | @@ -483,17 +474,21 @@ | ... | @@ -483,17 +474,21 @@ |
483 | * @author: renchao | 474 | * @author: renchao |
484 | */ | 475 | */ |
485 | loadData () { | 476 | loadData () { |
486 | this.$startLoading(); | 477 | this.loading = true |
487 | this.propsParam.isEdit = this.$parent.isEdit; | 478 | this.propsParam.isEdit = this.$parent.isEdit; |
488 | init(this.propsParam).then((res) => { | 479 | init(this.propsParam).then((res) => { |
480 | this.loading = false | ||
489 | if (res.code == 200) { | 481 | if (res.code == 200) { |
490 | this.ruleForm = res.result; | 482 | this.ruleForm = res.result; |
491 | let djlx = this.ruleForm.qlxx.djlx; | 483 | let djlx = this.ruleForm.qlxx.djlx; |
492 | if (djlx == null || djlx == 100) { | 484 | if (djlx == null || djlx == 100) { |
493 | this.ssqlxxshow = false; | 485 | this.ssqlxxshow = false; |
494 | } | 486 | } |
495 | this.$endLoading(); | 487 | if (this.ruleForm.tdytqxList.length > 0) { |
496 | 488 | this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm; | |
489 | } else { | ||
490 | this.tdxz = null; | ||
491 | } | ||
497 | this.isShow = true; | 492 | this.isShow = true; |
498 | //获取主体信息 | 493 | //获取主体信息 |
499 | getSsQlxx({ | 494 | getSsQlxx({ |
... | @@ -506,7 +501,9 @@ | ... | @@ -506,7 +501,9 @@ |
506 | } | 501 | } |
507 | }); | 502 | }); |
508 | } | 503 | } |
509 | }); | 504 | }).catch(() => { |
505 | this.loading = false | ||
506 | }) | ||
510 | }, | 507 | }, |
511 | /** | 508 | /** |
512 | * @description: 更新土地用途信息 | 509 | * @description: 更新土地用途信息 |
... | @@ -603,4 +600,7 @@ | ... | @@ -603,4 +600,7 @@ |
603 | <style scoped lang="scss"> | 600 | <style scoped lang="scss"> |
604 | @import "~@/styles/public.scss"; | 601 | @import "~@/styles/public.scss"; |
605 | @import "~@/styles/slxx/slxx.scss"; | 602 | @import "~@/styles/slxx/slxx.scss"; |
603 | /deep/.el-form-item__error { | ||
604 | display: none; | ||
605 | } | ||
606 | </style> | 606 | </style> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-22 16:27:45 | 4 | * @LastEditTime: 2023-09-26 13:27:29 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -10,7 +10,7 @@ | ... | @@ -10,7 +10,7 @@ |
10 | :model="ruleForm" | 10 | :model="ruleForm" |
11 | :rules="rules" | 11 | :rules="rules" |
12 | :class="{ readonly: editDisabled }" | 12 | :class="{ readonly: editDisabled }" |
13 | class="loadingtext" | 13 | v-Loading="loading" |
14 | ref="ruleForm" | 14 | ref="ruleForm" |
15 | :label-position="flag ? 'top' : ''" | 15 | :label-position="flag ? 'top' : ''" |
16 | :show-message="false" | 16 | :show-message="false" |
... | @@ -388,6 +388,7 @@ | ... | @@ -388,6 +388,7 @@ |
388 | }, | 388 | }, |
389 | data () { | 389 | data () { |
390 | return { | 390 | return { |
391 | loading: false, | ||
391 | mjdw: "1", | 392 | mjdw: "1", |
392 | ssqlxxshow: true, | 393 | ssqlxxshow: true, |
393 | props: { | 394 | props: { |
... | @@ -577,16 +578,17 @@ | ... | @@ -577,16 +578,17 @@ |
577 | * @author: renchao | 578 | * @author: renchao |
578 | */ | 579 | */ |
579 | loadData () { | 580 | loadData () { |
580 | this.$startLoading(); | 581 | this.loading = true |
581 | this.propsParam.isEdit = this.$parent.isEdit; | 582 | this.propsParam.isEdit = this.$parent.isEdit; |
582 | init(this.propsParam).then((res) => { | 583 | init(this.propsParam).then((res) => { |
584 | this.loading = false | ||
583 | if (res.code == 200) { | 585 | if (res.code == 200) { |
584 | this.ruleForm = res.result; | 586 | this.ruleForm = res.result; |
585 | let djlx = this.ruleForm.qlxx.djlx; | 587 | let djlx = this.ruleForm.qlxx.djlx; |
586 | if (djlx == null || djlx == 100) { | 588 | if (djlx == null || djlx == 100) { |
587 | this.ssqlxxshow = false; | 589 | this.ssqlxxshow = false; |
588 | } | 590 | } |
589 | this.$endLoading(); | 591 | |
590 | if (this.ruleForm.tdytqxList.length > 0) { | 592 | if (this.ruleForm.tdytqxList.length > 0) { |
591 | this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm; | 593 | this.tdxz = this.ruleForm.tdytqxList[0].qlxzbm; |
592 | } else { | 594 | } else { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-11 16:38:51 | 4 | * @LastEditTime: 2023-10-08 09:46:31 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -11,7 +11,7 @@ | ... | @@ -11,7 +11,7 @@ |
11 | :rules="rules" | 11 | :rules="rules" |
12 | ref="ruleForm" | 12 | ref="ruleForm" |
13 | :class="{ readonly: editDisabled }" | 13 | :class="{ readonly: editDisabled }" |
14 | class="loadingtext" | 14 | v-Loading="loading" |
15 | :show-message="false" | 15 | :show-message="false" |
16 | :label-position="flag ? 'top' : ''" | 16 | :label-position="flag ? 'top' : ''" |
17 | :inline="flag" | 17 | :inline="flag" |
... | @@ -89,13 +89,13 @@ | ... | @@ -89,13 +89,13 @@ |
89 | </el-select> | 89 | </el-select> |
90 | </el-form-item> | 90 | </el-form-item> |
91 | </el-col> | 91 | </el-col> |
92 | </el-row> | ||
93 | <el-row :gutter="10"> | ||
94 | <el-col :span="8"> | 92 | <el-col :span="8"> |
95 | <el-form-item label="不动产单元号:"> | 93 | <el-form-item label="不动产单元号:"> |
96 | <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> | 94 | <el-input disabled v-model="ruleForm.qlxx.bdcdyh"></el-input> |
97 | </el-form-item> | 95 | </el-form-item> |
98 | </el-col> | 96 | </el-col> |
97 | </el-row> | ||
98 | <el-row :gutter="10"> | ||
99 | <el-col :span="8"> | 99 | <el-col :span="8"> |
100 | <el-form-item | 100 | <el-form-item |
101 | label="业务号:" | 101 | label="业务号:" |
... | @@ -126,15 +126,6 @@ | ... | @@ -126,15 +126,6 @@ |
126 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> | 126 | <el-input v-model="ruleForm.qlxx.djjg"></el-input> |
127 | </el-form-item> | 127 | </el-form-item> |
128 | </el-col> | 128 | </el-col> |
129 | <!-- <el-col :span="8"> | ||
130 | <el-form-item | ||
131 | label="区县代码:" | ||
132 | prop="qlxx.qxdm" | ||
133 | :rules="rules.qxdmrules" | ||
134 | > | ||
135 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> | ||
136 | </el-form-item> | ||
137 | </el-col> --> | ||
138 | <el-col :span="8"> | 129 | <el-col :span="8"> |
139 | <el-form-item | 130 | <el-form-item |
140 | label="不动产权证号:" | 131 | label="不动产权证号:" |
... | @@ -161,8 +152,6 @@ | ... | @@ -161,8 +152,6 @@ |
161 | <el-input v-model="ruleForm.tdsyq.djyy"></el-input> | 152 | <el-input v-model="ruleForm.tdsyq.djyy"></el-input> |
162 | </el-form-item> | 153 | </el-form-item> |
163 | </el-col> | 154 | </el-col> |
164 | </el-row> | ||
165 | <el-row :gutter="10"> | ||
166 | <el-col :span="8"> | 155 | <el-col :span="8"> |
167 | <el-form-item label="农用地面积:"> | 156 | <el-form-item label="农用地面积:"> |
168 | <div class="flex"> | 157 | <div class="flex"> |
... | @@ -207,6 +196,8 @@ | ... | @@ -207,6 +196,8 @@ |
207 | </div> | 196 | </div> |
208 | </el-form-item> | 197 | </el-form-item> |
209 | </el-col> | 198 | </el-col> |
199 | </el-row> | ||
200 | <el-row :gutter="10"> | ||
210 | <el-col :span="8"> | 201 | <el-col :span="8"> |
211 | <el-form-item label="林地面积:"> | 202 | <el-form-item label="林地面积:"> |
212 | <div class="flex"> | 203 | <div class="flex"> |
... | @@ -229,8 +220,6 @@ | ... | @@ -229,8 +220,6 @@ |
229 | </div> | 220 | </div> |
230 | </el-form-item> | 221 | </el-form-item> |
231 | </el-col> | 222 | </el-col> |
232 | </el-row> | ||
233 | <el-row :gutter="10"> | ||
234 | <el-col :span="8"> | 223 | <el-col :span="8"> |
235 | <el-form-item label="草地面积:"> | 224 | <el-form-item label="草地面积:"> |
236 | <div class="flex"> | 225 | <div class="flex"> |
... | @@ -275,6 +264,8 @@ | ... | @@ -275,6 +264,8 @@ |
275 | </div> | 264 | </div> |
276 | </el-form-item> | 265 | </el-form-item> |
277 | </el-col> | 266 | </el-col> |
267 | </el-row> | ||
268 | <el-row :gutter="10"> | ||
278 | <el-col :span="8"> | 269 | <el-col :span="8"> |
279 | <el-form-item label="建筑使用面积:"> | 270 | <el-form-item label="建筑使用面积:"> |
280 | <div class="flex"> | 271 | <div class="flex"> |
... | @@ -297,8 +288,6 @@ | ... | @@ -297,8 +288,6 @@ |
297 | </div> | 288 | </div> |
298 | </el-form-item> | 289 | </el-form-item> |
299 | </el-col> | 290 | </el-col> |
300 | </el-row> | ||
301 | <el-row :gutter="10"> | ||
302 | <el-col :span="8"> | 291 | <el-col :span="8"> |
303 | <el-form-item label="未利用地面积:"> | 292 | <el-form-item label="未利用地面积:"> |
304 | <div class="flex"> | 293 | <div class="flex"> |
... | @@ -409,6 +398,7 @@ | ... | @@ -409,6 +398,7 @@ |
409 | }, | 398 | }, |
410 | data () { | 399 | data () { |
411 | return { | 400 | return { |
401 | loading: false, | ||
412 | ssqlxxshow: true, | 402 | ssqlxxshow: true, |
413 | props: { | 403 | props: { |
414 | label: "bdcqzh", | 404 | label: "bdcqzh", |
... | @@ -505,7 +495,6 @@ | ... | @@ -505,7 +495,6 @@ |
505 | this.ruleForm.qlxx.ssywh = val.ywh; | 495 | this.ruleForm.qlxx.ssywh = val.ywh; |
506 | this.ssQlxxchangediolog(val); | 496 | this.ssQlxxchangediolog(val); |
507 | }, | 497 | }, |
508 | // 弹框事件 | ||
509 | /** | 498 | /** |
510 | * @description: 弹框事件 | 499 | * @description: 弹框事件 |
511 | * @param {*} val | 500 | * @param {*} val |
... | @@ -545,6 +534,7 @@ | ... | @@ -545,6 +534,7 @@ |
545 | 534 | ||
546 | } | 535 | } |
547 | } | 536 | } |
537 | this.ruleForm.qlxx.gyfs = this.nowlist.qlxx.gyfs | ||
548 | if (!this.ruleForm.tdytqxList.length) { | 538 | if (!this.ruleForm.tdytqxList.length) { |
549 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; | 539 | this.ruleForm.tdytqxList = this.nowlist.tdytqxList; |
550 | } | 540 | } |
... | @@ -595,16 +585,16 @@ | ... | @@ -595,16 +585,16 @@ |
595 | * @author: renchao | 585 | * @author: renchao |
596 | */ | 586 | */ |
597 | loadData () { | 587 | loadData () { |
598 | this.$startLoading(); | 588 | this.loading = true |
599 | this.propsParam.isEdit = this.$parent.isEdit; | 589 | this.propsParam.isEdit = this.$parent.isEdit; |
600 | init(this.propsParam).then((res) => { | 590 | init(this.propsParam).then((res) => { |
591 | this.loading = false | ||
601 | if (res.code == 200) { | 592 | if (res.code == 200) { |
602 | this.ruleForm = res.result; | 593 | this.ruleForm = res.result; |
603 | let djlx = this.ruleForm.qlxx.djlx; | 594 | let djlx = this.ruleForm.qlxx.djlx; |
604 | if (djlx == null || djlx == 100) { | 595 | if (djlx == null || djlx == 100) { |
605 | this.ssqlxxshow = false; | 596 | this.ssqlxxshow = false; |
606 | } | 597 | } |
607 | this.$endLoading(); | ||
608 | this.isShow = true; | 598 | this.isShow = true; |
609 | //获取主体信息 | 599 | //获取主体信息 |
610 | getSsQlxx({ | 600 | getSsQlxx({ | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-25 09:50:48 | 4 | * @LastEditTime: 2023-09-26 13:31:57 |
5 | :show-message="false" | 5 | :show-message="false" |
6 | --> | 6 | --> |
7 | <template> | 7 | <template> |
... | @@ -11,7 +11,7 @@ | ... | @@ -11,7 +11,7 @@ |
11 | :model="ruleForm" | 11 | :model="ruleForm" |
12 | :rules="rules" | 12 | :rules="rules" |
13 | :class="{ readonly: editDisabled }" | 13 | :class="{ readonly: editDisabled }" |
14 | class="loadingtext" | 14 | v-Loading="loading" |
15 | ref="ruleForm" | 15 | ref="ruleForm" |
16 | :label-position="flag ? 'top' : ''" | 16 | :label-position="flag ? 'top' : ''" |
17 | :show-message="false" | 17 | :show-message="false" |
... | @@ -491,7 +491,8 @@ | ... | @@ -491,7 +491,8 @@ |
491 | components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, | 491 | components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, |
492 | data () { | 492 | data () { |
493 | return { | 493 | return { |
494 | //传递参数\ | 494 | loading: false, |
495 | //传递参数 | ||
495 | rules: { | 496 | rules: { |
496 | ztQlxxrules: [ | 497 | ztQlxxrules: [ |
497 | { required: true, message: "抵押不动产信息", trigger: "blur" }, | 498 | { required: true, message: "抵押不动产信息", trigger: "blur" }, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-22 16:28:03 | 4 | * @LastEditTime: 2023-09-26 13:31:31 |
5 | :show-message="false" | 5 | :show-message="false" |
6 | --> | 6 | --> |
7 | <template> | 7 | <template> |
... | @@ -11,7 +11,7 @@ | ... | @@ -11,7 +11,7 @@ |
11 | :model="ruleForm" | 11 | :model="ruleForm" |
12 | :rules="rules" | 12 | :rules="rules" |
13 | :class="{ readonly: editDisabled }" | 13 | :class="{ readonly: editDisabled }" |
14 | class="loadingtext" | 14 | v-Loading="loading" |
15 | ref="ruleForm" | 15 | ref="ruleForm" |
16 | :label-position="flag ? 'top' : ''" | 16 | :label-position="flag ? 'top' : ''" |
17 | :show-message="false" | 17 | :show-message="false" |
... | @@ -412,7 +412,8 @@ | ... | @@ -412,7 +412,8 @@ |
412 | components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, | 412 | components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, |
413 | data () { | 413 | data () { |
414 | return { | 414 | return { |
415 | //传递参数\ | 415 | loading: false, |
416 | //传递参数 | ||
416 | rules: { | 417 | rules: { |
417 | ztQlxxrules: [ | 418 | ztQlxxrules: [ |
418 | { required: true, message: "抵押不动产信息", trigger: "blur" }, | 419 | { required: true, message: "抵押不动产信息", trigger: "blur" }, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-22 16:28:07 | 4 | * @LastEditTime: 2023-10-08 09:35:26 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -10,7 +10,7 @@ | ... | @@ -10,7 +10,7 @@ |
10 | :model="ruleForm" | 10 | :model="ruleForm" |
11 | :rules="rules" | 11 | :rules="rules" |
12 | :class="{ readonly: editDisabled }" | 12 | :class="{ readonly: editDisabled }" |
13 | class="loadingtext" | 13 | v-Loading="loading" |
14 | ref="ruleForm" | 14 | ref="ruleForm" |
15 | :label-position="flag ? 'top' : ''" | 15 | :label-position="flag ? 'top' : ''" |
16 | :inline="flag" | 16 | :inline="flag" |
... | @@ -172,16 +172,6 @@ | ... | @@ -172,16 +172,6 @@ |
172 | </el-row> | 172 | </el-row> |
173 | <el-row :gutter="10"> | 173 | <el-row :gutter="10"> |
174 | <!-- <el-col :span="8"> | 174 | <!-- <el-col :span="8"> |
175 | <el-form-item label="权利类型:"> | ||
176 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> | ||
177 | </el-form-item> | ||
178 | </el-col> --> | ||
179 | <!-- <el-col :span="8"> | ||
180 | <el-form-item label="登记原因:"> | ||
181 | <el-input disabled v-model="ruleForm.qlxx.qllxmc"></el-input> | ||
182 | </el-form-item> | ||
183 | </el-col> --> | ||
184 | <el-col :span="8"> | ||
185 | <el-form-item | 175 | <el-form-item |
186 | label="登记类型:" | 176 | label="登记类型:" |
187 | prop="qlxx.djlx" | 177 | prop="qlxx.djlx" |
... | @@ -195,24 +185,6 @@ | ... | @@ -195,24 +185,6 @@ |
195 | </el-option> | 185 | </el-option> |
196 | </el-select> | 186 | </el-select> |
197 | </el-form-item> | 187 | </el-form-item> |
198 | </el-col> | ||
199 | <!-- <el-col :span="8"> | ||
200 | <el-form-item label="不动产坐落:"> | ||
201 | <el-input v-model="ruleForm.qlxx.zl"></el-input> | ||
202 | </el-form-item> | ||
203 | </el-col> --> | ||
204 | <!-- <el-col :span="8"> | ||
205 | <el-form-item | ||
206 | label="不动产权证号:" | ||
207 | prop="qlxx.bdcqzh" | ||
208 | :rules="rules.bdcqzhrules"> | ||
209 | <el-input v-model="ruleForm.qlxx.bdcqzh"></el-input> | ||
210 | </el-form-item> | ||
211 | </el-col> --> | ||
212 | <!-- <el-col :span="8"> | ||
213 | <el-form-item label="区县代码:" prop="qlxx.qxdm" :rules="rules.qxdmrules"> | ||
214 | <el-input v-model="ruleForm.qlxx.qxdm"></el-input> | ||
215 | </el-form-item> | ||
216 | </el-col> --> | 188 | </el-col> --> |
217 | <el-col :span="8"> | 189 | <el-col :span="8"> |
218 | <el-form-item | 190 | <el-form-item |
... | @@ -365,6 +337,7 @@ | ... | @@ -365,6 +337,7 @@ |
365 | components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, | 337 | components: { qlrCommonTable, ywrCommonTable, tdytTable, selectTable }, |
366 | data () { | 338 | data () { |
367 | return { | 339 | return { |
340 | loading: false, | ||
368 | ssqlxxshow: true, | 341 | ssqlxxshow: true, |
369 | //表单是否可操作 | 342 | //表单是否可操作 |
370 | propsParam: this.$attrs, | 343 | propsParam: this.$attrs, |
... | @@ -384,10 +357,6 @@ | ... | @@ -384,10 +357,6 @@ |
384 | ztQlxxrules: [ | 357 | ztQlxxrules: [ |
385 | { required: true, message: "抵押不动产信息", trigger: "blur" }, | 358 | { required: true, message: "抵押不动产信息", trigger: "blur" }, |
386 | ], | 359 | ], |
387 | // bdcqzhrules: [ | ||
388 | // { required: true, message: "不动产证号 ", trigger: "blur" }, | ||
389 | // ], | ||
390 | // qxdmrules: [{ required: true, message: "区县代码", trigger: "blur" }], | ||
391 | djjgrules: [{ required: true, message: "登记机构", trigger: "change" }], | 360 | djjgrules: [{ required: true, message: "登记机构", trigger: "change" }], |
392 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], | 361 | dbrrules: [{ required: true, message: "登簿人", trigger: "blur" }], |
393 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], | 362 | djsjrules: [{ required: true, message: "登记时间", trigger: "blur" }], | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-15 09:30:33 | 4 | * @LastEditTime: 2023-09-21 09:39:21 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <el-dialog | 7 | <el-dialog |
... | @@ -12,14 +12,6 @@ | ... | @@ -12,14 +12,6 @@ |
12 | custom-class="insetDialog" | 12 | custom-class="insetDialog" |
13 | append-to-body | 13 | append-to-body |
14 | width="31%"> | 14 | width="31%"> |
15 | <!-- <el-radio-group v-model="radio"> | ||
16 | <el-radio-button | ||
17 | v-for="(value, key) in qllxlistdata" | ||
18 | :key="key" | ||
19 | :label="value" | ||
20 | ></el-radio-button> | ||
21 | |||
22 | </el-radio-group> --> | ||
23 | <el-button class="gettypebutton" v-for="(value, key) in qllxlistdata" | 15 | <el-button class="gettypebutton" v-for="(value, key) in qllxlistdata" |
24 | :key="key" | 16 | :key="key" |
25 | :label="value" @click="clicksss(key)" plain>{{value}}</el-button> | 17 | :label="value" @click="clicksss(key)" plain>{{value}}</el-button> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 审批意见 | 2 | * @Description: 审批意见 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:41:24 | 4 | * @LastEditTime: 2023-09-28 11:27:03 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="spyj loadingtext"> | 7 | <div class="spyj loadingtext"> |
... | @@ -14,8 +14,7 @@ | ... | @@ -14,8 +14,7 @@ |
14 | <el-form | 14 | <el-form |
15 | :model="tableData[index]" | 15 | :model="tableData[index]" |
16 | label-width="120px" | 16 | label-width="120px" |
17 | ref="ruleFormRef'" | 17 | ref="ruleFormRef'"> |
18 | > | ||
19 | <div class="spyj_form"> | 18 | <div class="spyj_form"> |
20 | <div class="item_left"> | 19 | <div class="item_left"> |
21 | <div class="right">{{ item.jdmc }}意见</div> | 20 | <div class="right">{{ item.jdmc }}意见</div> |
... | @@ -30,14 +29,11 @@ | ... | @@ -30,14 +29,11 @@ |
30 | :rows="4" | 29 | :rows="4" |
31 | class="opinion" | 30 | class="opinion" |
32 | placeholder="请输入审批意见" | 31 | placeholder="请输入审批意见" |
33 | v-model="item.shyj" | 32 | v-model="item.shyj"></el-input> |
34 | ></el-input> | ||
35 | <el-button | 33 | <el-button |
36 | class="opinion_btn" | 34 | class="opinion_btn" |
37 | @click="commonOpinion(index)" | 35 | @click="commonOpinion(index)" |
38 | v-if="ableOperation" | 36 | v-if="ableOperation">常用意见</el-button> |
39 | >常用意见</el-button | ||
40 | > | ||
41 | </el-form-item> | 37 | </el-form-item> |
42 | </el-col> | 38 | </el-col> |
43 | </el-row> | 39 | </el-row> |
... | @@ -47,8 +43,7 @@ | ... | @@ -47,8 +43,7 @@ |
47 | <el-input | 43 | <el-input |
48 | maxlength="20" | 44 | maxlength="20" |
49 | :disabled="!ableOperation" | 45 | :disabled="!ableOperation" |
50 | v-model="item.shryxm" | 46 | v-model="item.shryxm"></el-input> |
51 | ></el-input> | ||
52 | </el-form-item> | 47 | </el-form-item> |
53 | </el-col> | 48 | </el-col> |
54 | <el-col :span="8"> | 49 | <el-col :span="8"> |
... | @@ -59,8 +54,7 @@ | ... | @@ -59,8 +54,7 @@ |
59 | type="date" | 54 | type="date" |
60 | placeholder="选择日期" | 55 | placeholder="选择日期" |
61 | value-format="yyyy-MM-dd HH:mm:ss" | 56 | value-format="yyyy-MM-dd HH:mm:ss" |
62 | format="yyyy-MM-dd" | 57 | format="yyyy-MM-dd"> |
63 | > | ||
64 | </el-date-picker> | 58 | </el-date-picker> |
65 | </el-form-item> | 59 | </el-form-item> |
66 | </el-col> | 60 | </el-col> |
... | @@ -77,13 +71,13 @@ | ... | @@ -77,13 +71,13 @@ |
77 | </div> | 71 | </div> |
78 | </template> | 72 | </template> |
79 | <script> | 73 | <script> |
80 | import { addidea, getShList } from "@/api/djbRepair.js"; | 74 | import { addidea, getShList } from "@/api/djbRepair.js"; |
81 | import { mapGetters } from "vuex"; | 75 | import { mapGetters } from "vuex"; |
82 | export default { | 76 | export default { |
83 | computed: { | 77 | computed: { |
84 | ...mapGetters(["userData", "yjsqOptions"]), | 78 | ...mapGetters(["userData", "yjsqOptions"]), |
85 | }, | 79 | }, |
86 | data() { | 80 | data () { |
87 | return { | 81 | return { |
88 | isNoData: false, | 82 | isNoData: false, |
89 | currentindex: 0, | 83 | currentindex: 0, |
... | @@ -91,17 +85,17 @@ export default { | ... | @@ -91,17 +85,17 @@ export default { |
91 | tableData: [{ jdmc: "初审" }, { jdmc: "复审" }, { jdmc: "核定" }], | 85 | tableData: [{ jdmc: "初审" }, { jdmc: "复审" }, { jdmc: "核定" }], |
92 | falg: false, | 86 | falg: false, |
93 | falg1: false, | 87 | falg1: false, |
94 | monitor:true | 88 | monitor: true |
95 | }; | 89 | }; |
96 | }, | 90 | }, |
97 | 91 | ||
98 | watch: { | 92 | watch: { |
99 | yjsqOptions: { | 93 | yjsqOptions: { |
100 | handler(val) { | 94 | handler (val) { |
101 | if(this.monitor){ | 95 | if (this.monitor) { |
102 | this.add(""); | 96 | this.add(""); |
103 | this.monitor=false | 97 | this.monitor = false |
104 | }else{ | 98 | } else { |
105 | this.add(val.opinion); | 99 | this.add(val.opinion); |
106 | } | 100 | } |
107 | }, | 101 | }, |
... | @@ -109,8 +103,8 @@ export default { | ... | @@ -109,8 +103,8 @@ export default { |
109 | immediate: true, | 103 | immediate: true, |
110 | }, | 104 | }, |
111 | }, | 105 | }, |
112 | created() {}, | 106 | created () { }, |
113 | mounted() { | 107 | mounted () { |
114 | this.ableOperation = this.$parent.ableOperation; | 108 | this.ableOperation = this.$parent.ableOperation; |
115 | this.getShList(); | 109 | this.getShList(); |
116 | }, | 110 | }, |
... | @@ -120,7 +114,7 @@ export default { | ... | @@ -120,7 +114,7 @@ export default { |
120 | * @param {*} obj | 114 | * @param {*} obj |
121 | * @author: renchao | 115 | * @author: renchao |
122 | */ | 116 | */ |
123 | getShList() { | 117 | getShList () { |
124 | this.$startLoading(); | 118 | this.$startLoading(); |
125 | var formdata = { | 119 | var formdata = { |
126 | bsmRepair: this.$parent.bsmRepair, | 120 | bsmRepair: this.$parent.bsmRepair, |
... | @@ -139,12 +133,12 @@ export default { | ... | @@ -139,12 +133,12 @@ export default { |
139 | * @param {*} obj | 133 | * @param {*} obj |
140 | * @author: renchao | 134 | * @author: renchao |
141 | */ | 135 | */ |
142 | judgment(obj) {}, | 136 | judgment (obj) { }, |
143 | /** | 137 | /** |
144 | * @description: onSubmit | 138 | * @description: onSubmit |
145 | * @author: renchao | 139 | * @author: renchao |
146 | */ | 140 | */ |
147 | onSubmit() { | 141 | onSubmit () { |
148 | if ( | 142 | if ( |
149 | this.tableData[2].shyj == null || | 143 | this.tableData[2].shyj == null || |
150 | this.tableData[2].shryxm == null || | 144 | this.tableData[2].shryxm == null || |
... | @@ -157,12 +151,12 @@ export default { | ... | @@ -157,12 +151,12 @@ export default { |
157 | this.$message.error("请完善核定意见信息填写"); | 151 | this.$message.error("请完善核定意见信息填写"); |
158 | } else { | 152 | } else { |
159 | this.falg = true; | 153 | this.falg = true; |
160 | if (this.tableData[0].shyj != null && this.tableData[0].shyj != ""|| | 154 | if (this.tableData[0].shyj != null && this.tableData[0].shyj != "" || |
161 | this.tableData[0].shryxm != null && this.tableData[0].shryxm != ""|| | 155 | this.tableData[0].shryxm != null && this.tableData[0].shryxm != "" || |
162 | this.tableData[0].shkssj != null && this.tableData[0].shkssj != "") { | 156 | this.tableData[0].shkssj != null && this.tableData[0].shkssj != "") { |
163 | if ( | 157 | if ( |
164 | this.tableData[0].shyj == null || | 158 | this.tableData[0].shyj == null || |
165 | this.tableData[0].shyj == ""|| | 159 | this.tableData[0].shyj == "" || |
166 | this.tableData[0].shryxm == null || | 160 | this.tableData[0].shryxm == null || |
167 | this.tableData[0].shryxm == "" || | 161 | this.tableData[0].shryxm == "" || |
168 | this.tableData[0].shkssj == null || | 162 | this.tableData[0].shkssj == null || |
... | @@ -176,12 +170,12 @@ export default { | ... | @@ -176,12 +170,12 @@ export default { |
176 | } else { | 170 | } else { |
177 | this.falg = true; | 171 | this.falg = true; |
178 | } | 172 | } |
179 | if (this.tableData[1].shyj != null && this.tableData[1].shyj != ""|| | 173 | if (this.tableData[1].shyj != null && this.tableData[1].shyj != "" || |
180 | this.tableData[1].shryxm != null && this.tableData[1].shryxm != ""|| | 174 | this.tableData[1].shryxm != null && this.tableData[1].shryxm != "" || |
181 | this.tableData[1].shkssj != null && this.tableData[1].shkssj != "") { | 175 | this.tableData[1].shkssj != null && this.tableData[1].shkssj != "") { |
182 | if ( | 176 | if ( |
183 | this.tableData[1].shyj == null || | 177 | this.tableData[1].shyj == null || |
184 | this.tableData[1].shyj == ""|| | 178 | this.tableData[1].shyj == "" || |
185 | this.tableData[1].shryxm == null || | 179 | this.tableData[1].shryxm == null || |
186 | this.tableData[1].shryxm == "" || | 180 | this.tableData[1].shryxm == "" || |
187 | this.tableData[1].shkssj == null || | 181 | this.tableData[1].shkssj == null || |
... | @@ -219,7 +213,7 @@ export default { | ... | @@ -219,7 +213,7 @@ export default { |
219 | * @param {*} index | 213 | * @param {*} index |
220 | * @author: renchao | 214 | * @author: renchao |
221 | */ | 215 | */ |
222 | commonOpinion(index) { | 216 | commonOpinion (index) { |
223 | this.currentindex = index; | 217 | this.currentindex = index; |
224 | this.$popupDialog( | 218 | this.$popupDialog( |
225 | "常用意见", | 219 | "常用意见", |
... | @@ -234,22 +228,21 @@ export default { | ... | @@ -234,22 +228,21 @@ export default { |
234 | * @param {*} val | 228 | * @param {*} val |
235 | * @author: renchao | 229 | * @author: renchao |
236 | */ | 230 | */ |
237 | add(val) { | 231 | add (val) { |
238 | if (val != "") { | 232 | if (val != "") { |
239 | this.$set(this.tableData[this.currentindex], "shyj", val); | 233 | this.$set(this.tableData[this.currentindex], "shyj", val); |
240 | } | 234 | } |
241 | }, | 235 | }, |
242 | }, | 236 | }, |
243 | }; | 237 | }; |
244 | </script> | 238 | </script> |
245 | <style scoped lang="scss"> | 239 | <style scoped lang="scss"> |
246 | @import "~@/styles/mixin.scss"; | 240 | @import "~@/styles/mixin.scss"; |
247 | 241 | ||
248 | .spyj { | 242 | .spyj { |
249 | width: 100%; | 243 | width: 100%; |
250 | height: 100%; | 244 | height: 100%; |
251 | background-color: #f5f5f5; | 245 | background-color: #f5f5f5; |
252 | padding: 5px; | ||
253 | .box { | 246 | .box { |
254 | overflow-x: auto; | 247 | overflow-x: auto; |
255 | width: 100%; | 248 | width: 100%; |
... | @@ -355,5 +348,5 @@ export default { | ... | @@ -355,5 +348,5 @@ export default { |
355 | .el-date-editor.el-input { | 348 | .el-date-editor.el-input { |
356 | width: 100%; | 349 | width: 100%; |
357 | } | 350 | } |
358 | } | 351 | } |
359 | </style> | 352 | </style> | ... | ... |
1 | /* | 1 | /* |
2 | * @Description:workFramezu.vue组件的方法 头部按钮弹框方法 | 2 | * @Description:workFramezu.vue组件的方法 头部按钮弹框方法 |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2023-09-18 11:06:44 | 4 | * @LastEditTime: 2023-09-26 14:25:23 |
5 | */ | 5 | */ |
6 | import { getPrintTemplateByCode } from "@/api/print"; | 6 | import { getPrintTemplateByCode } from "@/api/print"; |
7 | import { getQllxByBdcdyid } from "@/api/djbDetail.js"; | 7 | import { getQllxByBdcdyid } from "@/api/djbDetail.js"; |
... | @@ -23,6 +23,8 @@ export default { | ... | @@ -23,6 +23,8 @@ export default { |
23 | //是否开启材料分屏 | 23 | //是否开启材料分屏 |
24 | splitScreen: false, | 24 | splitScreen: false, |
25 | //设置表单组件是否刷选值 | 25 | //设置表单组件是否刷选值 |
26 | bsmSlsq: this.$route.query.bsmSlsq, | ||
27 | bestepid: this.$route.query.bestepid, | ||
26 | fresh: 10, | 28 | fresh: 10, |
27 | //左侧菜单数据集合 | 29 | //左侧菜单数据集合 |
28 | unitData: [], | 30 | unitData: [], |
... | @@ -49,9 +51,8 @@ export default { | ... | @@ -49,9 +51,8 @@ export default { |
49 | */ | 51 | */ |
50 | flowInitParam () { | 52 | flowInitParam () { |
51 | var formdata = new FormData(); | 53 | var formdata = new FormData(); |
52 | 54 | formdata.append("bsmSlsq", this.bsmSlsq) | |
53 | formdata.append("bsmSlsq", this.bsmSlsq); | 55 | formdata.append("bestepid", this.bestepid ? this.bestepid : '') |
54 | formdata.append("bestepid", this.bestepid); | ||
55 | if (this.type) { | 56 | if (this.type) { |
56 | formdata.append("type", "READ_ONLY"); | 57 | formdata.append("type", "READ_ONLY"); |
57 | } | 58 | } |
... | @@ -73,7 +74,6 @@ export default { | ... | @@ -73,7 +74,6 @@ export default { |
73 | } | 74 | } |
74 | }) | 75 | }) |
75 | }, | 76 | }, |
76 | //流程环节操作按钮 | ||
77 | /** | 77 | /** |
78 | * @description: 流程环节操作按钮 | 78 | * @description: 流程环节操作按钮 |
79 | * @param {*} item | 79 | * @param {*} item |
... | @@ -91,7 +91,7 @@ export default { | ... | @@ -91,7 +91,7 @@ export default { |
91 | }) | 91 | }) |
92 | break; | 92 | break; |
93 | case "B1": | 93 | case "B1": |
94 | getWorkFlowImage(this.bsmSlsq, this.$route.query.bestepid).then(res => { | 94 | getWorkFlowImage(this.bsmSlsq, this.bestepid ? this.bestepid : '').then(res => { |
95 | let { result } = res | 95 | let { result } = res |
96 | this.$popupDialog("流程图", "workflow/components/processViewer", { | 96 | this.$popupDialog("流程图", "workflow/components/processViewer", { |
97 | xml: result.xml, | 97 | xml: result.xml, |
... | @@ -178,13 +178,13 @@ export default { | ... | @@ -178,13 +178,13 @@ export default { |
178 | case "back": //退回按钮 | 178 | case "back": //退回按钮 |
179 | this.$popupDialog("退回", "workflow/components/th", { | 179 | this.$popupDialog("退回", "workflow/components/th", { |
180 | bsmSlsq: this.bsmSlsq, | 180 | bsmSlsq: this.bsmSlsq, |
181 | bestepid: this.bestepid | 181 | bestepid: this.bestepid ? this.bestepid : '' |
182 | }, '800px', true) | 182 | }, '800px', true) |
183 | break; | 183 | break; |
184 | case "transfer": //转件按钮 | 184 | case "transfer": //转件按钮 |
185 | getNextLinkInfo({ | 185 | getNextLinkInfo({ |
186 | bsmSlsq: this.bsmSlsq, | 186 | bsmSlsq: this.bsmSlsq, |
187 | bestepid: this.bestepid, | 187 | bestepid: this.bestepid ? this.bestepid : '' |
188 | }).then((res) => { | 188 | }).then((res) => { |
189 | if (res.code === 200) { | 189 | if (res.code === 200) { |
190 | if (res.result) { | 190 | if (res.result) { |
... | @@ -198,18 +198,18 @@ export default { | ... | @@ -198,18 +198,18 @@ export default { |
198 | case "stop": //终止按钮 | 198 | case "stop": //终止按钮 |
199 | this.$popupDialog("终止", "workflow/components/stop", { | 199 | this.$popupDialog("终止", "workflow/components/stop", { |
200 | bsmSlsq: this.bsmSlsq, | 200 | bsmSlsq: this.bsmSlsq, |
201 | bestepid: this.bestepid, | 201 | bestepid: this.bestepid ? this.bestepid : '' |
202 | }, '600px', true) | 202 | }, '600px', true) |
203 | break; | 203 | break; |
204 | case "signout": | 204 | case "signout": |
205 | window.close(); | 205 | window.close(); |
206 | //取消认领 | 206 | //取消认领 |
207 | unClaimTask(this.bsmSlsq, this.bestepid) | 207 | unClaimTask(this.bsmSlsq, this.bestepid ? this.bestepid : '') |
208 | break; | 208 | break; |
209 | case "B9": | 209 | case "B9": |
210 | var formdata = new FormData(); | 210 | var formdata = new FormData(); |
211 | formdata.append("bsmSlsq", this.bsmSlsq); | 211 | formdata.append("bsmSlsq", this.bsmSlsq); |
212 | formdata.append("bestepid", this.bestepid); | 212 | formdata.append("bestepid", this.bestepid ? this.bestepid : ''); |
213 | this.$confirm("请确认是否登簿", "提示", { | 213 | this.$confirm("请确认是否登簿", "提示", { |
214 | iconClass: "el-icon-question", //自定义图标样式 | 214 | iconClass: "el-icon-question", //自定义图标样式 |
215 | confirmButtonText: "确认", //确认按钮文字更换 | 215 | confirmButtonText: "确认", //确认按钮文字更换 |
... | @@ -271,7 +271,6 @@ export default { | ... | @@ -271,7 +271,6 @@ export default { |
271 | }); | 271 | }); |
272 | }); | 272 | }); |
273 | }, | 273 | }, |
274 | //发送下一个环节 | ||
275 | /** | 274 | /** |
276 | * @description: 发送下一个环节 | 275 | * @description: 发送下一个环节 |
277 | * @param {*} obj | 276 | * @param {*} obj |
... | @@ -285,7 +284,6 @@ export default { | ... | @@ -285,7 +284,6 @@ export default { |
285 | tshowidea: this.showidea | 284 | tshowidea: this.showidea |
286 | }, '600px', true) | 285 | }, '600px', true) |
287 | }, | 286 | }, |
288 | //转出最后一个流程 | ||
289 | /** | 287 | /** |
290 | * @description: 转出最后一个流程 | 288 | * @description: 转出最后一个流程 |
291 | * @author: renchao | 289 | * @author: renchao |
... | @@ -299,8 +297,6 @@ export default { | ... | @@ -299,8 +297,6 @@ export default { |
299 | 297 | ||
300 | }, '600px', true) | 298 | }, '600px', true) |
301 | }, | 299 | }, |
302 | |||
303 | //批量操作 | ||
304 | /** | 300 | /** |
305 | * @description: 批量操作 | 301 | * @description: 批量操作 |
306 | * @author: renchao | 302 | * @author: renchao |
... | @@ -332,10 +328,8 @@ export default { | ... | @@ -332,10 +328,8 @@ export default { |
332 | } | 328 | } |
333 | }) | 329 | }) |
334 | }, | 330 | }, |
335 | // 上传 | ||
336 | /** | 331 | /** |
337 | * @description: 上传 | 332 | * @description: 上传 |
338 | * @param {*} file | ||
339 | * @author: renchao | 333 | * @author: renchao |
340 | */ | 334 | */ |
341 | beforeUpload (file) { | 335 | beforeUpload (file) { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-15 09:27:14 | 4 | * @LastEditTime: 2023-09-21 14:57:51 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="container"> | 7 | <div class="container"> |
... | @@ -73,8 +73,6 @@ | ... | @@ -73,8 +73,6 @@ |
73 | import { getForm } from "./flowform"; | 73 | import { getForm } from "./flowform"; |
74 | import { getStepFormInfo } from "@/api/workFlow.js"; | 74 | import { getStepFormInfo } from "@/api/workFlow.js"; |
75 | import NoticeBar from "@/components/NoticeBar/index"; | 75 | import NoticeBar from "@/components/NoticeBar/index"; |
76 | // import ProcessViewer from "./components/processViewer.vue"; | ||
77 | |||
78 | import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; | 76 | import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; |
79 | import qllxDailog from "./djbBook/components/qllxDailog"; | 77 | import qllxDailog from "./djbBook/components/qllxDailog"; |
80 | import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; | 78 | import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; |
... | @@ -128,9 +126,6 @@ | ... | @@ -128,9 +126,6 @@ |
128 | ableOperation: false, | 126 | ableOperation: false, |
129 | }; | 127 | }; |
130 | }, | 128 | }, |
131 | mounted () { | ||
132 | // this.getleftMenubl() | ||
133 | }, | ||
134 | methods: { | 129 | methods: { |
135 | /** | 130 | /** |
136 | * @description: stepForm | 131 | * @description: stepForm |
... | @@ -155,10 +150,10 @@ | ... | @@ -155,10 +150,10 @@ |
155 | that.clxxForm = getForm(item.value, that.$route.query.sqywbm); | 150 | that.clxxForm = getForm(item.value, that.$route.query.sqywbm); |
156 | that.clxxTab = item; | 151 | that.clxxTab = item; |
157 | } | 152 | } |
158 | }); | 153 | }) |
159 | } | 154 | } |
160 | }); | 155 | }) |
161 | }); | 156 | }) |
162 | } | 157 | } |
163 | }, | 158 | }, |
164 | /** | 159 | /** |
... | @@ -226,7 +221,6 @@ | ... | @@ -226,7 +221,6 @@ |
226 | if (p) { | 221 | if (p) { |
227 | this.ableOperation = this.tabList[a.index].ableOperation; | 222 | this.ableOperation = this.tabList[a.index].ableOperation; |
228 | } | 223 | } |
229 | |||
230 | }, | 224 | }, |
231 | /** | 225 | /** |
232 | * @description: 右侧表单选项卡事件 | 226 | * @description: 右侧表单选项卡事件 |
... | @@ -285,13 +279,13 @@ | ... | @@ -285,13 +279,13 @@ |
285 | } else { | 279 | } else { |
286 | this.$alert(res.message, "提示", { | 280 | this.$alert(res.message, "提示", { |
287 | confirmButtonText: "确定", | 281 | confirmButtonText: "确定", |
288 | type: "warning", | 282 | type: "warning" |
289 | }); | 283 | }) |
290 | } | 284 | } |
291 | }) | 285 | }) |
292 | .catch((res) => { | 286 | .catch((res) => { |
293 | console.log("错", res); | 287 | console.log("错", res) |
294 | }); | 288 | }) |
295 | } | 289 | } |
296 | } | 290 | } |
297 | } | 291 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-24 15:31:00 | 4 | * @LastEditTime: 2023-09-26 15:30:36 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="container"> | 7 | <div class="container"> |
... | @@ -12,8 +12,7 @@ | ... | @@ -12,8 +12,7 @@ |
12 | <li | 12 | <li |
13 | @click="operation(item)" | 13 | @click="operation(item)" |
14 | v-for="(item, index) in leftButtonList" | 14 | v-for="(item, index) in leftButtonList" |
15 | :key="index" | 15 | :key="index"> |
16 | > | ||
17 | <svg-icon class="icon" :icon-class="item.icon" /> | 16 | <svg-icon class="icon" :icon-class="item.icon" /> |
18 | <span class="iconName">{{ item.name }}</span> | 17 | <span class="iconName">{{ item.name }}</span> |
19 | </li> | 18 | </li> |
... | @@ -22,8 +21,7 @@ | ... | @@ -22,8 +21,7 @@ |
22 | <li | 21 | <li |
23 | @click="operation(item)" | 22 | @click="operation(item)" |
24 | v-for="(item, index) in rightButtonList" | 23 | v-for="(item, index) in rightButtonList" |
25 | :key="index" | 24 | :key="index"> |
26 | > | ||
27 | <svg-icon class="icon" :icon-class="item.icon" /> | 25 | <svg-icon class="icon" :icon-class="item.icon" /> |
28 | <span class="iconName">{{ item.name }}</span> | 26 | <span class="iconName">{{ item.name }}</span> |
29 | </li> | 27 | </li> |
... | @@ -48,21 +46,18 @@ | ... | @@ -48,21 +46,18 @@ |
48 | <el-tabs | 46 | <el-tabs |
49 | v-model="tabName" | 47 | v-model="tabName" |
50 | :before-leave="beforeLeave" | 48 | :before-leave="beforeLeave" |
51 | @tab-click="handleClick" | 49 | @tab-click="handleClick"> |
52 | > | ||
53 | <el-tab-pane | 50 | <el-tab-pane |
54 | :label="item.name" | 51 | :label="item.name" |
55 | :name="item.value" | 52 | :name="item.value" |
56 | v-for="item in tabList" | 53 | v-for="item in tabList" |
57 | :key="item.value" | 54 | :key="item.value"> |
58 | > | ||
59 | </el-tab-pane> | 55 | </el-tab-pane> |
60 | </el-tabs> | 56 | </el-tabs> |
61 | <component | 57 | <component |
62 | :key="fresh" | 58 | :key="fresh" |
63 | :is="componentTag" | 59 | :is="componentTag" |
64 | v-bind="currentSelectProps" | 60 | v-bind="currentSelectProps" /> |
65 | /> | ||
66 | </div> | 61 | </div> |
67 | </div> | 62 | </div> |
68 | </div> | 63 | </div> |
... | @@ -71,26 +66,26 @@ | ... | @@ -71,26 +66,26 @@ |
71 | </div> | 66 | </div> |
72 | </template> | 67 | </template> |
73 | <style scoped lang="scss"> | 68 | <style scoped lang="scss"> |
74 | @import "~@/styles/mixin.scss"; | 69 | @import "~@/styles/mixin.scss"; |
75 | @import "./workFrame.scss"; | 70 | @import "./workFrame.scss"; |
76 | </style> | 71 | </style> |
77 | <script> | 72 | <script> |
78 | import WorkFlow from "./mixin/index"; | 73 | import WorkFlow from "./mixin/index"; |
79 | import { getForm } from "./flowform"; | 74 | import { getForm } from "./flowform"; |
80 | import { getBlYbxStepFormInfo } from "@/api/workFlow.js"; | 75 | import { getBlYbxStepFormInfo } from "@/api/workFlow.js"; |
81 | import NoticeBar from "@/components/NoticeBar/index"; | 76 | import NoticeBar from "@/components/NoticeBar/index"; |
82 | // import ProcessViewer from "./components/processViewer.vue"; | 77 | // import ProcessViewer from "./components/processViewer.vue"; |
83 | // 引入左侧菜单 | 78 | // 引入左侧菜单 |
84 | import { leftMenubl } from "@/api/djbRepair.js"; | 79 | import { leftMenubl } from "@/api/djbRepair.js"; |
85 | import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; | 80 | import ordinaryMenu from "./components/leftmenu/ordinaryMenu.vue"; |
86 | import qllxDailog from "./djbBook/components/qllxDailog"; | 81 | import qllxDailog from "./djbBook/components/qllxDailog"; |
87 | import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; | 82 | import selectBdc from "@/views/ywbl/ywsq/selectBdc.vue"; |
88 | import { loadTreeData, getNode } from "./components/leftmenu/djbFrameData.js"; | 83 | import { loadTreeData, getNode } from "./components/leftmenu/djbFrameData.js"; |
89 | // 登记簿数据信息 | 84 | // 登记簿数据信息 |
90 | import { addRepairRecord } from "@/api/djbRepair.js"; | 85 | import { addRepairRecord } from "@/api/djbRepair.js"; |
91 | 86 | ||
92 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; | 87 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; |
93 | export default { | 88 | export default { |
94 | components: { | 89 | components: { |
95 | selectBdc, | 90 | selectBdc, |
96 | NoticeBar, | 91 | NoticeBar, |
... | @@ -98,7 +93,7 @@ export default { | ... | @@ -98,7 +93,7 @@ export default { |
98 | qllxDailog, | 93 | qllxDailog, |
99 | }, | 94 | }, |
100 | mixins: [WorkFlow], | 95 | mixins: [WorkFlow], |
101 | data() { | 96 | data () { |
102 | return { | 97 | return { |
103 | bsmSlsq: this.$route.query.bsmSlsq, | 98 | bsmSlsq: this.$route.query.bsmSlsq, |
104 | bestepid: this.$route.query.bestepid, | 99 | bestepid: this.$route.query.bestepid, |
... | @@ -128,7 +123,7 @@ export default { | ... | @@ -128,7 +123,7 @@ export default { |
128 | ableOperation: false, | 123 | ableOperation: false, |
129 | }; | 124 | }; |
130 | }, | 125 | }, |
131 | mounted() { | 126 | mounted () { |
132 | // this.getleftMenubl() | 127 | // this.getleftMenubl() |
133 | }, | 128 | }, |
134 | 129 | ||
... | @@ -138,7 +133,7 @@ export default { | ... | @@ -138,7 +133,7 @@ export default { |
138 | * @param {*} qllx | 133 | * @param {*} qllx |
139 | * @author: renchao | 134 | * @author: renchao |
140 | */ | 135 | */ |
141 | stepForm(qllx) { | 136 | stepForm (qllx) { |
142 | this.oneSelectProps.qllx = qllx; | 137 | this.oneSelectProps.qllx = qllx; |
143 | if (this.$refs.Menu.supplementarylist.length) { | 138 | if (this.$refs.Menu.supplementarylist.length) { |
144 | this.oneSelectProps.type = this.type; | 139 | this.oneSelectProps.type = this.type; |
... | @@ -152,13 +147,12 @@ export default { | ... | @@ -152,13 +147,12 @@ export default { |
152 | }); | 147 | }); |
153 | } | 148 | } |
154 | }, | 149 | }, |
155 | // 获取右侧选项卡 | ||
156 | /** | 150 | /** |
157 | * @description: 获取右侧选项卡 | 151 | * @description: 获取右侧选项卡 |
158 | * @param {*} val | 152 | * @param {*} val |
159 | * @author: renchao | 153 | * @author: renchao |
160 | */ | 154 | */ |
161 | getCurrentSelectProps(val) { | 155 | getCurrentSelectProps (val) { |
162 | this.bsmRepair = val.bsmRepair; | 156 | this.bsmRepair = val.bsmRepair; |
163 | if (val.bdcdyid) { | 157 | if (val.bdcdyid) { |
164 | this.oneSelectProps = val; | 158 | this.oneSelectProps = val; |
... | @@ -179,7 +173,7 @@ export default { | ... | @@ -179,7 +173,7 @@ export default { |
179 | * @description: 获取渲染登记簿列表 | 173 | * @description: 获取渲染登记簿列表 |
180 | * @author: renchao | 174 | * @author: renchao |
181 | */ | 175 | */ |
182 | getdjblist() { | 176 | getdjblist () { |
183 | getBdcqljqtsx({ | 177 | getBdcqljqtsx({ |
184 | bdcdyid: this.currentSelectProps.bdcdyid, | 178 | bdcdyid: this.currentSelectProps.bdcdyid, |
185 | bdcdyh: this.currentSelectProps.bdcdyh, | 179 | bdcdyh: this.currentSelectProps.bdcdyh, |
... | @@ -213,7 +207,7 @@ export default { | ... | @@ -213,7 +207,7 @@ export default { |
213 | * @param {*} handleClick | 207 | * @param {*} handleClick |
214 | * @author: renchao | 208 | * @author: renchao |
215 | */ | 209 | */ |
216 | handleClick(a) { | 210 | handleClick (a) { |
217 | let p = Object.keys(this.tabList[0]).filter( | 211 | let p = Object.keys(this.tabList[0]).filter( |
218 | (item) => item == "ableOperation" | 212 | (item) => item == "ableOperation" |
219 | ); | 213 | ); |
... | @@ -227,7 +221,7 @@ export default { | ... | @@ -227,7 +221,7 @@ export default { |
227 | * @param {*} activeName | 221 | * @param {*} activeName |
228 | * @author: renchao | 222 | * @author: renchao |
229 | */ | 223 | */ |
230 | beforeLeave(activeName) { | 224 | beforeLeave (activeName) { |
231 | if (activeName && activeName != 0) this.getFromRouter(activeName); | 225 | if (activeName && activeName != 0) this.getFromRouter(activeName); |
232 | }, | 226 | }, |
233 | //切换选项卡内容组件 | 227 | //切换选项卡内容组件 |
... | @@ -236,14 +230,14 @@ export default { | ... | @@ -236,14 +230,14 @@ export default { |
236 | * @param {*} tabname | 230 | * @param {*} tabname |
237 | * @author: renchao | 231 | * @author: renchao |
238 | */ | 232 | */ |
239 | getFromRouter(tabname) { | 233 | getFromRouter (tabname) { |
240 | this.componentTag = getForm(tabname); | 234 | this.componentTag = getForm(tabname); |
241 | }, | 235 | }, |
242 | /** | 236 | /** |
243 | * @description: closefp | 237 | * @description: closefp |
244 | * @author: renchao | 238 | * @author: renchao |
245 | */ | 239 | */ |
246 | closefp() { | 240 | closefp () { |
247 | this.splitScreen = this.splitScreen ? false : true; | 241 | this.splitScreen = this.splitScreen ? false : true; |
248 | this.$store.dispatch("app/set1tScreen", this.splitScreen); | 242 | this.$store.dispatch("app/set1tScreen", this.splitScreen); |
249 | this.getFromRouter(this.tabList[0].value); | 243 | this.getFromRouter(this.tabList[0].value); |
... | @@ -256,7 +250,7 @@ export default { | ... | @@ -256,7 +250,7 @@ export default { |
256 | * @param {*} del | 250 | * @param {*} del |
257 | * @author: renchao | 251 | * @author: renchao |
258 | */ | 252 | */ |
259 | addRepairRecord(row, del) { | 253 | addRepairRecord (row, del) { |
260 | let from = { | 254 | let from = { |
261 | bsmQlxx: "", | 255 | bsmQlxx: "", |
262 | bsmSlsq: this.bsmSlsq, | 256 | bsmSlsq: this.bsmSlsq, |
... | @@ -296,6 +290,6 @@ export default { | ... | @@ -296,6 +290,6 @@ export default { |
296 | }); | 290 | }); |
297 | }, | 291 | }, |
298 | }, | 292 | }, |
299 | }; | 293 | }; |
300 | </script> | 294 | </script> |
301 | <style scoped lang="scss"></style> | 295 | <style scoped lang="scss"></style> | ... | ... |
1 | <template> | 1 | <template> |
2 | <div class="all"> | 2 | <div class="all"> |
3 | <div class="tbalede"> | 3 | <div class="tbalede"> |
4 | <div class="title"> | 4 | <div class="title"> |
5 | {{ title }} | 5 | {{ title }} |
... | @@ -44,7 +44,7 @@ | ... | @@ -44,7 +44,7 @@ |
44 | {{ getQsztName(row[item.prop]) }} | 44 | {{ getQsztName(row[item.prop]) }} |
45 | </span> | 45 | </span> |
46 | 46 | ||
47 | <el-tooltip v-if="['djyy','fj'].includes(item.prop)" > | 47 | <el-tooltip v-if="['djyy','fj'].includes(item.prop)"> |
48 | <span> | 48 | <span> |
49 | {{ row[item.prop] }} | 49 | {{ row[item.prop] }} |
50 | </span> | 50 | </span> |
... | @@ -63,7 +63,7 @@ | ... | @@ -63,7 +63,7 @@ |
63 | </tr> | 63 | </tr> |
64 | </table> | 64 | </table> |
65 | </div> | 65 | </div> |
66 | </div> | 66 | </div> |
67 | </template> | 67 | </template> |
68 | 68 | ||
69 | <script> | 69 | <script> |
... | @@ -199,9 +199,9 @@ | ... | @@ -199,9 +199,9 @@ |
199 | height: 100%; | 199 | height: 100%; |
200 | margin: auto; | 200 | margin: auto; |
201 | background-color: rgb(255, 255, 255); | 201 | background-color: rgb(255, 255, 255); |
202 | overflow: hidden | 202 | overflow: hidden; |
203 | } | 203 | } |
204 | .tbalede { | 204 | .tbalede { |
205 | width: 794px; | 205 | width: 794px; |
206 | height: 1123px; | 206 | height: 1123px; |
207 | margin: auto; | 207 | margin: auto; |
... | @@ -215,49 +215,48 @@ overflow: hidden | ... | @@ -215,49 +215,48 @@ overflow: hidden |
215 | position: relative; | 215 | position: relative; |
216 | margin: 0 3px; | 216 | margin: 0 3px; |
217 | } | 217 | } |
218 | } | 218 | } |
219 | .top { | 219 | .top { |
220 | width: 80%; | 220 | width: 80%; |
221 | height: 100px; | 221 | height: 100px; |
222 | margin: auto; | 222 | margin: auto; |
223 | display: flex; | 223 | display: flex; |
224 | position: relative; | 224 | position: relative; |
225 | } | 225 | } |
226 | p { | 226 | p { |
227 | position: absolute; | 227 | position: absolute; |
228 | bottom: 10px; | 228 | bottom: 10px; |
229 | right: 10px; | 229 | right: 10px; |
230 | } | 230 | } |
231 | table { | 231 | table { |
232 | width: 80%; | 232 | width: 80%; |
233 | border: 1px solid black; | 233 | border: 1px solid black; |
234 | margin: 0 auto; | 234 | margin: 0 auto; |
235 | border-collapse: collapse; | 235 | border-collapse: collapse; |
236 | } | 236 | } |
237 | .head { | 237 | .head { |
238 | font-size: 20px; | 238 | font-size: 20px; |
239 | width: 100%; | 239 | width: 100%; |
240 | height: 40px; | 240 | height: 40px; |
241 | margin: auto; | 241 | margin: auto; |
242 | } | 242 | } |
243 | .dyh { | 243 | .dyh { |
244 | padding: 10px; | 244 | padding: 10px; |
245 | font-size: 12px; | 245 | font-size: 12px; |
246 | text-align: left; | 246 | text-align: left; |
247 | } | 247 | } |
248 | |||
249 | 248 | ||
250 | .content { | 249 | .content { |
251 | height: 40px; | 250 | height: 40px; |
252 | } | 251 | } |
253 | .slash-wrap { | 252 | .slash-wrap { |
254 | position: relative; | 253 | position: relative; |
255 | box-sizing: border-box; | 254 | box-sizing: border-box; |
256 | width: 150px; | 255 | width: 150px; |
257 | height: 40px; | 256 | height: 40px; |
258 | } | 257 | } |
259 | /* 斜线 */ | 258 | /* 斜线 */ |
260 | .slash1 { | 259 | .slash1 { |
261 | position: absolute; | 260 | position: absolute; |
262 | display: block; | 261 | display: block; |
263 | top: 0; | 262 | top: 0; |
... | @@ -267,27 +266,25 @@ table { | ... | @@ -267,27 +266,25 @@ table { |
267 | background-color: #949393; | 266 | background-color: #949393; |
268 | transform: rotate(17.93010235415598deg); | 267 | transform: rotate(17.93010235415598deg); |
269 | transform-origin: top left; | 268 | transform-origin: top left; |
270 | } | 269 | } |
271 | /* 左下角文字 */ | 270 | /* 左下角文字 */ |
272 | .left { | 271 | .left { |
273 | position: absolute; | 272 | position: absolute; |
274 | left: 30px; | 273 | left: 30px; |
275 | bottom: 5px; | 274 | bottom: 5px; |
276 | } | 275 | } |
277 | 276 | ||
278 | /* 右上角文字 */ | 277 | /* 右上角文字 */ |
279 | .mid { | 278 | .mid { |
280 | position: absolute; | 279 | position: absolute; |
281 | /* 右上角 right:0; top: 0; */ | 280 | /* 右上角 right:0; top: 0; */ |
282 | right: 29px; | 281 | right: 29px; |
283 | top: 4px; | 282 | top: 4px; |
284 | } | 283 | } |
285 | .xxTable { | 284 | .xxTable { |
286 | width: 100%; | 285 | width: 100%; |
287 | border-collapse: collapse; | 286 | border-collapse: collapse; |
288 | 287 | ||
289 | |||
290 | |||
291 | tr td { | 288 | tr td { |
292 | border: 2px solid rgb(227, 226, 226); | 289 | border: 2px solid rgb(227, 226, 226); |
293 | text-align: center; | 290 | text-align: center; |
... | @@ -299,25 +296,22 @@ table { | ... | @@ -299,25 +296,22 @@ table { |
299 | // justify-content: center; | 296 | // justify-content: center; |
300 | min-width: 80px; | 297 | min-width: 80px; |
301 | z-index: 1; | 298 | z-index: 1; |
302 | .ooo{ | 299 | .ooo { |
303 | width: 190px!important; | 300 | width: 190px !important; |
304 | |||
305 | } | 301 | } |
306 | } | 302 | } |
307 | td:first-child{ | 303 | td:first-child { |
308 | flex: inherit !important; | 304 | flex: inherit !important; |
309 | // width: 200px !important; | 305 | // min-width: 180px !important; |
310 | min-width: 180px !important; | ||
311 | } | 306 | } |
312 | |||
313 | } | 307 | } |
314 | .ellipsis-line { | 308 | .ellipsis-line { |
315 | display: inline-block; | 309 | display: inline-block; |
316 | width: 300px; | 310 | width: 300px; |
317 | height: 100px!important; | 311 | height: 100px !important; |
318 | line-height: 20px!important; | 312 | line-height: 20px !important; |
319 | word-break: break-all; | 313 | word-break: break-all; |
320 | text-overflow: ellipsis; | 314 | text-overflow: ellipsis; |
321 | overflow: hidden; | 315 | overflow: hidden; |
322 | } | 316 | } |
323 | </style> | 317 | </style> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-25 17:16:32 | 4 | * @LastEditTime: 2023-09-22 09:56:51 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="all"> | 7 | <div class="all"> |
... | @@ -156,54 +156,53 @@ | ... | @@ -156,54 +156,53 @@ |
156 | height: 100%; | 156 | height: 100%; |
157 | margin: auto; | 157 | margin: auto; |
158 | background-color: rgb(255, 255, 255); | 158 | background-color: rgb(255, 255, 255); |
159 | } | 159 | } |
160 | .tbalede { | 160 | .tbalede { |
161 | width: 794px; | 161 | width: 794px; |
162 | height: 1123px; | 162 | height: 1123px; |
163 | margin: auto; | 163 | margin: auto; |
164 | } | 164 | } |
165 | .top { | 165 | .top { |
166 | width: 80%; | 166 | width: 80%; |
167 | height: 100px; | 167 | height: 100px; |
168 | margin: auto; | 168 | margin: auto; |
169 | display: flex; | 169 | display: flex; |
170 | position: relative; | 170 | position: relative; |
171 | } | 171 | } |
172 | p { | 172 | p { |
173 | position: absolute; | 173 | position: absolute; |
174 | bottom: 10px; | 174 | bottom: 10px; |
175 | right: 10px; | 175 | right: 10px; |
176 | } | 176 | } |
177 | table { | 177 | table { |
178 | width: 80%; | 178 | width: 80%; |
179 | border: 1px solid black; | 179 | border: 1px solid black; |
180 | margin: 0 auto; | 180 | margin: 0 auto; |
181 | border-collapse: collapse; | 181 | border-collapse: collapse; |
182 | } | 182 | } |
183 | .head { | 183 | .head { |
184 | font-size: 20px; | 184 | font-size: 20px; |
185 | width: 100%; | 185 | width: 100%; |
186 | height: 40px; | 186 | height: 40px; |
187 | margin: auto; | 187 | margin: auto; |
188 | } | 188 | } |
189 | .dyh { | 189 | .dyh { |
190 | padding: 10px; | 190 | padding: 10px; |
191 | font-size: 12px; | 191 | font-size: 12px; |
192 | text-align: left; | 192 | text-align: left; |
193 | } | 193 | } |
194 | |||
195 | 194 | ||
196 | .content { | 195 | .content { |
197 | height: 40px; | 196 | height: 40px; |
198 | } | 197 | } |
199 | .slash-wrap { | 198 | .slash-wrap { |
200 | position: relative; | 199 | position: relative; |
201 | box-sizing: border-box; | 200 | box-sizing: border-box; |
202 | width: 150px; | 201 | width: 150px; |
203 | height: 40px; | 202 | height: 40px; |
204 | } | 203 | } |
205 | /* 斜线 */ | 204 | /* 斜线 */ |
206 | .slash1 { | 205 | .slash1 { |
207 | position: absolute; | 206 | position: absolute; |
208 | display: block; | 207 | display: block; |
209 | top: 0; | 208 | top: 0; |
... | @@ -213,46 +212,44 @@ table { | ... | @@ -213,46 +212,44 @@ table { |
213 | background-color: #949393; | 212 | background-color: #949393; |
214 | transform: rotate(17.93010235415598deg); | 213 | transform: rotate(17.93010235415598deg); |
215 | transform-origin: top left; | 214 | transform-origin: top left; |
216 | } | 215 | } |
217 | /* 左下角文字 */ | 216 | /* 左下角文字 */ |
218 | .left { | 217 | .left { |
219 | position: absolute; | 218 | position: absolute; |
220 | left: 30px; | 219 | left: 30px; |
221 | bottom: 5px; | 220 | bottom: 5px; |
222 | } | 221 | } |
223 | 222 | ||
224 | /* 右上角文字 */ | 223 | /* 右上角文字 */ |
225 | .mid { | 224 | .mid { |
226 | position: absolute; | 225 | position: absolute; |
227 | /* 右上角 right:0; top: 0; */ | 226 | /* 右上角 right:0; top: 0; */ |
228 | right: 29px; | 227 | right: 29px; |
229 | top: 4px; | 228 | top: 4px; |
230 | } | 229 | } |
231 | .xxTable { | 230 | .xxTable { |
232 | width: 100%; | 231 | width: 100%; |
233 | border-collapse: collapse; | 232 | border-collapse: collapse; |
234 | table-layout:fixed; | 233 | table-layout: fixed; |
235 | |||
236 | 234 | ||
237 | td { | 235 | td { |
238 | border: 1px solid rgb(0, 0, 0); | 236 | border: 1px solid rgb(0, 0, 0); |
239 | text-align: center; | 237 | text-align: center; |
240 | height: 40px; | 238 | height: 40px; |
241 | width: 80px!important; | 239 | width: 80px !important; |
242 | word-wrap:break-word | 240 | word-wrap: break-word; |
243 | } | 241 | } |
244 | td:first-child{ | 242 | td:first-child { |
245 | min-width: 180px !important; | 243 | // min-width: 180px !important; |
246 | } | 244 | } |
247 | |||
248 | } | 245 | } |
249 | .ellipsis-line { | 246 | .ellipsis-line { |
250 | display: inline-block; | 247 | display: inline-block; |
251 | width: 300px; | 248 | width: 300px; |
252 | height: 100px!important; | 249 | height: 100px !important; |
253 | line-height: 20px!important; | 250 | line-height: 20px !important; |
254 | word-break: break-all; | 251 | word-break: break-all; |
255 | text-overflow: ellipsis; | 252 | text-overflow: ellipsis; |
256 | overflow: hidden; | 253 | overflow: hidden; |
257 | } | 254 | } |
258 | </style> | 255 | </style> | ... | ... |
... | @@ -60,7 +60,8 @@ | ... | @@ -60,7 +60,8 @@ |
60 | top: 0px; | 60 | top: 0px; |
61 | z-index: 3; | 61 | z-index: 3; |
62 | margin-top: -2px; | 62 | margin-top: -2px; |
63 | &:after{ | 63 | |
64 | &:after { | ||
64 | content: ""; | 65 | content: ""; |
65 | display: inline-block; | 66 | display: inline-block; |
66 | width: 100%; | 67 | width: 100%; |
... | @@ -77,7 +78,8 @@ | ... | @@ -77,7 +78,8 @@ |
77 | position: sticky; | 78 | position: sticky; |
78 | top: 40px; | 79 | top: 40px; |
79 | z-index: 3; | 80 | z-index: 3; |
80 | &:after{ | 81 | |
82 | &:after { | ||
81 | content: ""; | 83 | content: ""; |
82 | display: inline-block; | 84 | display: inline-block; |
83 | width: 100%; | 85 | width: 100%; |
... | @@ -102,7 +104,9 @@ | ... | @@ -102,7 +104,9 @@ |
102 | left: 0; | 104 | left: 0; |
103 | z-index: 2; | 105 | z-index: 2; |
104 | margin-left: -2px; | 106 | margin-left: -2px; |
105 | &:before{ | 107 | width: 200px; |
108 | |||
109 | &:before { | ||
106 | content: ""; | 110 | content: ""; |
107 | display: inline-block; | 111 | display: inline-block; |
108 | width: 2px; | 112 | width: 2px; |
... | @@ -113,7 +117,8 @@ | ... | @@ -113,7 +117,8 @@ |
113 | left: -2px; | 117 | left: -2px; |
114 | z-index: 3; | 118 | z-index: 3; |
115 | } | 119 | } |
116 | &:after{ | 120 | |
121 | &:after { | ||
117 | content: ""; | 122 | content: ""; |
118 | display: inline-block; | 123 | display: inline-block; |
119 | width: 2px; | 124 | width: 2px; |
... | @@ -228,11 +233,12 @@ | ... | @@ -228,11 +233,12 @@ |
228 | min-width: 340px; | 233 | min-width: 340px; |
229 | z-index: 1; | 234 | z-index: 1; |
230 | } | 235 | } |
231 | td:first-child{ | 236 | |
237 | td:first-child { | ||
232 | flex: inherit !important; | 238 | flex: inherit !important; |
233 | // width: 200px !important; | 239 | // min-width: 180px !important; |
234 | min-width: 180px !important; | ||
235 | } | 240 | } |
241 | |||
236 | >tr:nth-child(odd) td { | 242 | >tr:nth-child(odd) td { |
237 | background: #f2f2f2; | 243 | background: #f2f2f2; |
238 | } | 244 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-18 15:07:44 | 4 | * @LastEditTime: 2023-09-22 09:49:24 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -40,14 +40,14 @@ | ... | @@ -40,14 +40,14 @@ |
40 | * @description: loadData | 40 | * @description: loadData |
41 | * @author: renchao | 41 | * @author: renchao |
42 | */ | 42 | */ |
43 | loadData () { | 43 | loadData (checkList = []) { |
44 | if (this.$parent.addRepairRecord) { | 44 | if (this.$parent.addRepairRecord) { |
45 | this.columns.unshift({ prop: "cz", label: "操作" }); | 45 | this.columns.unshift({ prop: "cz", label: "操作" }); |
46 | } | 46 | } |
47 | getCfdjList({ | 47 | getCfdjList({ |
48 | bdcdyid: this.propsParam.bdcdyid, | 48 | bdcdyid: this.propsParam.bdcdyid, |
49 | qllx: this.propsParam.qllx, | 49 | qllx: this.propsParam.qllx, |
50 | qszt: this.checkList, | 50 | qszt: checkList |
51 | }).then((res) => { | 51 | }).then((res) => { |
52 | if (res.code === 200) { | 52 | if (res.code === 200) { |
53 | this.tableData = res.result; | 53 | this.tableData = res.result; | ... | ... |
... | @@ -27,8 +27,7 @@ | ... | @@ -27,8 +27,7 @@ |
27 | {{ index?"变化后": "变化前"}} | 27 | {{ index?"变化后": "变化前"}} |
28 | </div> | 28 | </div> |
29 | <div | 29 | <div |
30 | v-if="item.prop == 'cz' && row.sjlx != '系统数据'" | 30 | v-if="item.prop == 'cz' && row.sjlx != '系统数据'"></div> |
31 | ></div> | ||
32 | <span v-if="item.prop == 'qszt'" :class="item.co"> | 31 | <span v-if="item.prop == 'qszt'" :class="item.co"> |
33 | {{ getQsztName(row[item.prop]) }} | 32 | {{ getQsztName(row[item.prop]) }} |
34 | </span> | 33 | </span> |
... | @@ -42,17 +41,17 @@ | ... | @@ -42,17 +41,17 @@ |
42 | </template> | 41 | </template> |
43 | 42 | ||
44 | <script> | 43 | <script> |
45 | import { datas } from "./qlxxFormData.js"; | 44 | import { datas } from "./qlxxFormData.js"; |
46 | import { getSjlx } from "@/utils/dictionary.js"; | 45 | import { getSjlx } from "@/utils/dictionary.js"; |
47 | import { getDjbQlxxDiff } from "@/api/djbDetail.js"; | 46 | import { getDjbQlxxDiff } from "@/api/djbDetail.js"; |
48 | export default { | 47 | export default { |
49 | props: { | 48 | props: { |
50 | formData: { | 49 | formData: { |
51 | type: Object, | 50 | type: Object, |
52 | default: {}, | 51 | default: {}, |
53 | }, | 52 | }, |
54 | }, | 53 | }, |
55 | data() { | 54 | data () { |
56 | return { | 55 | return { |
57 | radio: 1, | 56 | radio: 1, |
58 | title: "变化情况对比", | 57 | title: "变化情况对比", |
... | @@ -63,11 +62,11 @@ export default { | ... | @@ -63,11 +62,11 @@ export default { |
63 | emptycolNum: 1, | 62 | emptycolNum: 1, |
64 | //列名称对象 | 63 | //列名称对象 |
65 | columns: [], | 64 | columns: [], |
66 | columnsall:[], | 65 | columnsall: [], |
67 | columnsum:[] | 66 | columnsum: [] |
68 | }; | 67 | }; |
69 | }, | 68 | }, |
70 | created() { | 69 | created () { |
71 | switch (this.formData.dqqllx) { | 70 | switch (this.formData.dqqllx) { |
72 | case "JSYDSYQ": | 71 | case "JSYDSYQ": |
73 | this.columns = datas.columns().JSYDSYQ; | 72 | this.columns = datas.columns().JSYDSYQ; |
... | @@ -97,16 +96,16 @@ export default { | ... | @@ -97,16 +96,16 @@ export default { |
97 | this.getdata(); | 96 | this.getdata(); |
98 | }, | 97 | }, |
99 | methods: { | 98 | methods: { |
100 | getArrDifference: function(arr1, arr2){ | 99 | getArrDifference: function (arr1, arr2) { |
101 | return arr1.concat(arr2).filter(function(value, i, arr){ | 100 | return arr1.concat(arr2).filter(function (value, i, arr) { |
102 | return arr.indexOf(value) === arr.lastIndexOf(value); | 101 | return arr.indexOf(value) === arr.lastIndexOf(value); |
103 | }) | 102 | }) |
104 | }, | 103 | }, |
105 | /** | 104 | /** |
106 | * @description: checkChange | 105 | * @description: checkChange |
107 | * @author: renchao | 106 | * @author: renchao |
108 | */ | 107 | */ |
109 | getdata() { | 108 | getdata () { |
110 | getDjbQlxxDiff(this.formData.bsmQlxx).then((res) => { | 109 | getDjbQlxxDiff(this.formData.bsmQlxx).then((res) => { |
111 | if (res.code === 200) { | 110 | if (res.code === 200) { |
112 | this.tableData.push(res.result.ssQlxx) | 111 | this.tableData.push(res.result.ssQlxx) |
... | @@ -116,12 +115,12 @@ export default { | ... | @@ -116,12 +115,12 @@ export default { |
116 | item.sjlx = getSjlx(item.sjlx); | 115 | item.sjlx = getSjlx(item.sjlx); |
117 | }); | 116 | }); |
118 | for (let key in this.tableData[0]) { | 117 | for (let key in this.tableData[0]) { |
119 | this.columnsum=this.columns.filter((item,index) => { | 118 | this.columnsum = this.columns.filter((item, index) => { |
120 | if(this.tableData[1][key]!==this.tableData[0][key]&&this.columns[index].prop==key){ | 119 | if (this.tableData[1][key] !== this.tableData[0][key] && this.columns[index].prop == key) { |
121 | this.columns[index].bt="bgc" | 120 | this.columns[index].bt = "bgc" |
122 | this.columns[index].co="red" | 121 | this.columns[index].co = "red" |
123 | } | 122 | } |
124 | return this.columns[index].bt=="bgc" | 123 | return this.columns[index].bt == "bgc" |
125 | }) | 124 | }) |
126 | } | 125 | } |
127 | this.columns.unshift({ | 126 | this.columns.unshift({ |
... | @@ -132,7 +131,7 @@ export default { | ... | @@ -132,7 +131,7 @@ export default { |
132 | prop: "bhqk", | 131 | prop: "bhqk", |
133 | label: "" | 132 | label: "" |
134 | }) | 133 | }) |
135 | this.columnsall= this.columns | 134 | this.columnsall = this.columns |
136 | 135 | ||
137 | 136 | ||
138 | 137 | ||
... | @@ -144,7 +143,7 @@ export default { | ... | @@ -144,7 +143,7 @@ export default { |
144 | * @param {*} code | 143 | * @param {*} code |
145 | * @author: renchao | 144 | * @author: renchao |
146 | */, | 145 | */, |
147 | getQsztName(code) { | 146 | getQsztName (code) { |
148 | let name = ""; | 147 | let name = ""; |
149 | for (let item of this.qsztList) { | 148 | for (let item of this.qsztList) { |
150 | if (item.value == code) { | 149 | if (item.value == code) { |
... | @@ -155,37 +154,33 @@ export default { | ... | @@ -155,37 +154,33 @@ export default { |
155 | return name; | 154 | return name; |
156 | }, | 155 | }, |
157 | 156 | ||
158 | checkChange() { | 157 | checkChange () { |
159 | if(this.radio==2){ | 158 | if (this.radio == 2) { |
160 | this.columnsall=this.columnsum | 159 | this.columnsall = this.columnsum |
161 | 160 | ||
162 | }else{ | 161 | } else { |
163 | this.columnsall=this.columns | 162 | this.columnsall = this.columns |
164 | 163 | ||
165 | } | 164 | } |
166 | }, | 165 | }, |
167 | }, | 166 | }, |
168 | }; | 167 | }; |
169 | </script> | 168 | </script> |
170 | 169 | ||
171 | <style lang="scss" scoped> | 170 | <style lang="scss" scoped> |
172 | @import "./qlxxCommon.scss"; | 171 | @import "./qlxxCommon.scss"; |
173 | .bgc{ | 172 | .bgc { |
174 | 173 | td { | |
175 | td{ | ||
176 | // background-color: rgb(182, 203, 207) !important; | 174 | // background-color: rgb(182, 203, 207) !important; |
177 | |||
178 | } | 175 | } |
179 | } | 176 | } |
180 | .xxTable tr td{ | 177 | .xxTable tr td { |
181 | 178 | min-width: 520px !important; | |
182 | min-width: 520px!important; | 179 | } |
183 | 180 | .red { | |
184 | } | ||
185 | .red{ | ||
186 | color: red; | 181 | color: red; |
187 | } | 182 | } |
188 | .setbut{ | 183 | .setbut { |
189 | font-size: 18px; | 184 | font-size: 18px; |
190 | font-weight: 700; | 185 | font-weight: 700; |
191 | } | 186 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-19 09:12:32 | 4 | * @LastEditTime: 2023-09-22 09:47:08 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="tableBox"> | 7 | <div class="tableBox"> |
... | @@ -71,10 +71,10 @@ | ... | @@ -71,10 +71,10 @@ |
71 | <span v-if="item.prop == 'qszt'"> | 71 | <span v-if="item.prop == 'qszt'"> |
72 | {{ getQsztName(row[item.prop]) }} | 72 | {{ getQsztName(row[item.prop]) }} |
73 | </span> | 73 | </span> |
74 | <el-link v-if="item.prop == 'ywh'" | 74 | <el-link v-if="['zxywh', 'ywh'].includes(item.prop)" |
75 | @click="handleSelectYwh(tableData, row[item.prop])" | 75 | @click="handleSelectYwh(tableData, row[item.prop])" |
76 | type="primary">{{ row[item.prop] }}</el-link> | 76 | type="primary">{{ row[item.prop] }}</el-link> |
77 | <span v-if="!['qszt','ywh' ].includes(item.prop)">{{ row[item.prop] }}</span> | 77 | <span v-if="!['qszt','ywh', 'zxywh' ].includes(item.prop)">{{ row[item.prop] }}</span> |
78 | </p> | 78 | </p> |
79 | 79 | ||
80 | <el-tooltip | 80 | <el-tooltip |
... | @@ -172,7 +172,7 @@ | ... | @@ -172,7 +172,7 @@ |
172 | this.tableData = []; | 172 | this.tableData = []; |
173 | this.emptycolNum = datas.columns().emptycolNum; | 173 | this.emptycolNum = datas.columns().emptycolNum; |
174 | } else { | 174 | } else { |
175 | this.$parent.loadData(); | 175 | this.$parent.loadData(this.checkList); |
176 | } | 176 | } |
177 | }, | 177 | }, |
178 | /** | 178 | /** |
... | @@ -229,13 +229,16 @@ | ... | @@ -229,13 +229,16 @@ |
229 | if (sjlx == '系统数据') { | 229 | if (sjlx == '系统数据') { |
230 | getXtParamsByYwh(ywh).then(res => { | 230 | getXtParamsByYwh(ywh).then(res => { |
231 | let data = res.result | 231 | let data = res.result |
232 | const { href } = Router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bestepid=' + data.bestepid + '&bsmBusiness=' + data.bsmBusiness + '&type=jdcx') | 232 | const { href } = Router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bsmBusiness=' + data.bsmBusiness) |
233 | window.open(href, `urlname${data.bsmSlsq}`) | 233 | window.open(href, `urlname${data.bsmSlsq}`) |
234 | }) | 234 | }) |
235 | } else { | 235 | } else { |
236 | getBlParamsByYwh(ywh, bsmQlxx).then(res => { | 236 | getBlParamsByYwh(ywh, bsmQlxx).then(res => { |
237 | let data = res.result | 237 | let data = res.result |
238 | ywPopupDialog("材料信息", "registerBook/components/clxx/index", data, "60%", true, false) | 238 | this.$popup('材料信息', 'registerBook/components/clxx/index', { |
239 | width: '60%', | ||
240 | formData: data | ||
241 | }) | ||
239 | }) | 242 | }) |
240 | } | 243 | } |
241 | } | 244 | } | ... | ... |
... | @@ -9,8 +9,7 @@ | ... | @@ -9,8 +9,7 @@ |
9 | class="tbalede" | 9 | class="tbalede" |
10 | v-for="(el, indexx) in datass" | 10 | v-for="(el, indexx) in datass" |
11 | :key="indexx" | 11 | :key="indexx" |
12 | style="page-break-after: always" | 12 | style="page-break-after: always"> |
13 | > | ||
14 | <div class="title">{{ title }}</div> | 13 | <div class="title">{{ title }}</div> |
15 | <div class="num">共{{ datass.length }}页,第{{ indexx + 1 }}页</div> | 14 | <div class="num">共{{ datass.length }}页,第{{ indexx + 1 }}页</div> |
16 | <table class="xxTable"> | 15 | <table class="xxTable"> |
... | @@ -25,8 +24,7 @@ | ... | @@ -25,8 +24,7 @@ |
25 | <td | 24 | <td |
26 | v-show="el.emptycolNum" | 25 | v-show="el.emptycolNum" |
27 | v-for="count in emptycolNum" | 26 | v-for="count in emptycolNum" |
28 | :key="count" | 27 | :key="count"></td> |
29 | ></td> | ||
30 | </tr> | 28 | </tr> |
31 | </table> | 29 | </table> |
32 | </div> | 30 | </div> |
... | @@ -34,12 +32,12 @@ | ... | @@ -34,12 +32,12 @@ |
34 | </template> | 32 | </template> |
35 | 33 | ||
36 | <script> | 34 | <script> |
37 | import { datas } from "./qlxxFormData.js"; | 35 | import { datas } from "./qlxxFormData.js"; |
38 | import { getSjlx } from "@/utils/dictionary.js"; | 36 | import { getSjlx } from "@/utils/dictionary.js"; |
39 | import { getFieldListByQlxx } from "@/api/SysDjbFieldDO.js"; | 37 | import { getFieldListByQlxx } from "@/api/SysDjbFieldDO.js"; |
40 | 38 | ||
41 | export default { | 39 | export default { |
42 | data() { | 40 | data () { |
43 | return { | 41 | return { |
44 | title: this.$parent.title, | 42 | title: this.$parent.title, |
45 | //列表数据 | 43 | //列表数据 |
... | @@ -60,17 +58,17 @@ export default { | ... | @@ -60,17 +58,17 @@ export default { |
60 | default: false, | 58 | default: false, |
61 | }, | 59 | }, |
62 | }, | 60 | }, |
63 | created() {}, | 61 | created () { }, |
64 | watch: { | 62 | watch: { |
65 | tableData: { | 63 | tableData: { |
66 | handler(newValue, oldValue) { | 64 | handler (newValue, oldValue) { |
67 | this.tableData = newValue; | 65 | this.tableData = newValue; |
68 | }, | 66 | }, |
69 | }, | 67 | }, |
70 | render: { | 68 | render: { |
71 | handler(newValue, oldValue) { | 69 | handler (newValue, oldValue) { |
72 | console.log("newValue",newValue); | 70 | console.log("newValue", newValue); |
73 | console.log("columns",this.columns); | 71 | console.log("columns", this.columns); |
74 | if (newValue) { | 72 | if (newValue) { |
75 | this.loadData(); | 73 | this.loadData(); |
76 | } | 74 | } |
... | @@ -84,13 +82,13 @@ export default { | ... | @@ -84,13 +82,13 @@ export default { |
84 | * @description: loadData | 82 | * @description: loadData |
85 | * @author: miaofang | 83 | * @author: miaofang |
86 | */ | 84 | */ |
87 | loadData() { | 85 | loadData () { |
88 | getFieldListByQlxx({ | 86 | getFieldListByQlxx({ |
89 | qllx: this.tableData[0].qllx, | 87 | qllx: this.tableData[0].qllx, |
90 | }).then((res) => { | 88 | }).then((res) => { |
91 | if (res.code === 200) { | 89 | if (res.code === 200) { |
92 | this.columns = res.result; | 90 | this.columns = res.result; |
93 | console.log("columnssssssssssss",this.columns); | 91 | console.log("columnssssssssssss", this.columns); |
94 | } | 92 | } |
95 | }); | 93 | }); |
96 | if (this.tableData.length && this.datass.length == 0) { | 94 | if (this.tableData.length && this.datass.length == 0) { |
... | @@ -107,11 +105,11 @@ export default { | ... | @@ -107,11 +105,11 @@ export default { |
107 | } | 105 | } |
108 | }, | 106 | }, |
109 | }, | 107 | }, |
110 | }; | 108 | }; |
111 | </script> | 109 | </script> |
112 | 110 | ||
113 | <style lang="scss" scoped> | 111 | <style lang="scss" scoped> |
114 | .tbalede { | 112 | .tbalede { |
115 | width: 100%; | 113 | width: 100%; |
116 | margin: auto; | 114 | margin: auto; |
117 | position: relative; | 115 | position: relative; |
... | @@ -147,13 +145,7 @@ export default { | ... | @@ -147,13 +145,7 @@ export default { |
147 | td { | 145 | td { |
148 | width: 20px !important; | 146 | width: 20px !important; |
149 | word-break: break-all; | 147 | word-break: break-all; |
150 | // /* 方法一:使用 word-break */ | ||
151 | // word-break: break-all; | ||
152 | // // /* 方法二:使用 white-space */ | ||
153 | // // white-space: pre-wrap; | ||
154 | // // /* 方法三:使用 overflow-wrap */ | ||
155 | // // overflow-wrap: break-word; | ||
156 | } | 148 | } |
157 | } | 149 | } |
158 | } | 150 | } |
159 | </style> | 151 | </style> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-18 15:04:32 | 4 | * @LastEditTime: 2023-09-22 09:50:12 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -40,14 +40,14 @@ | ... | @@ -40,14 +40,14 @@ |
40 | * @description: loadData | 40 | * @description: loadData |
41 | * @author: renchao | 41 | * @author: renchao |
42 | */ | 42 | */ |
43 | loadData () { | 43 | loadData (checkList = []) { |
44 | if (this.$parent.addRepairRecord) { | 44 | if (this.$parent.addRepairRecord) { |
45 | this.columns.unshift({ prop: "cz", label: "操作" }); | 45 | this.columns.unshift({ prop: "cz", label: "操作" }); |
46 | } | 46 | } |
47 | getDiyaqList({ | 47 | getDiyaqList({ |
48 | bdcdyid: this.propsParam.bdcdyid, | 48 | bdcdyid: this.propsParam.bdcdyid, |
49 | qllx: this.propsParam.qllx, | 49 | qllx: this.propsParam.qllx, |
50 | qszt: this.checkList, | 50 | qszt: checkList |
51 | }).then((res) => { | 51 | }).then((res) => { |
52 | if (res.code === 200) { | 52 | if (res.code === 200) { |
53 | this.tableData = res.result; | 53 | this.tableData = res.result; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2023-09-18 15:04:54 | 4 | * @LastEditTime: 2023-09-22 09:50:28 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -36,14 +36,14 @@ | ... | @@ -36,14 +36,14 @@ |
36 | this.loadData(); | 36 | this.loadData(); |
37 | }, | 37 | }, |
38 | methods: { | 38 | methods: { |
39 | loadData () { | 39 | loadData (checkList = []) { |
40 | if (this.$parent.addRepairRecord) { | 40 | if (this.$parent.addRepairRecord) { |
41 | this.columns.unshift({ prop: "cz", label: "操作" }); | 41 | this.columns.unshift({ prop: "cz", label: "操作" }); |
42 | } | 42 | } |
43 | getDiyiqList({ | 43 | getDiyiqList({ |
44 | bdcdyid: this.propsParam.bdcdyid, | 44 | bdcdyid: this.propsParam.bdcdyid, |
45 | qllx: this.propsParam.qllx, | 45 | qllx: this.propsParam.qllx, |
46 | qszt: this.checkList, | 46 | qszt: checkList |
47 | }).then((res) => { | 47 | }).then((res) => { |
48 | if (res.code === 200) { | 48 | if (res.code === 200) { |
49 | this.tableData = res.result; | 49 | this.tableData = res.result; | ... | ... |
... | @@ -121,6 +121,7 @@ export default { | ... | @@ -121,6 +121,7 @@ export default { |
121 | } else { | 121 | } else { |
122 | this.sfqdata.push(loadsfqData(res.result, val.bdcdyh, val.bdcdyid)); | 122 | this.sfqdata.push(loadsfqData(res.result, val.bdcdyh, val.bdcdyid)); |
123 | this.activeName = this.sfqdata.length - 1; | 123 | this.activeName = this.sfqdata.length - 1; |
124 | this.isActive="" | ||
124 | // this.$nextTick(() => { | 125 | // this.$nextTick(() => { |
125 | // this.setstyle(this.sfqdata.length - 1, 0, this.iskey); | 126 | // this.setstyle(this.sfqdata.length - 1, 0, this.iskey); |
126 | // }) | 127 | // }) |
... | @@ -217,7 +218,6 @@ export default { | ... | @@ -217,7 +218,6 @@ export default { |
217 | * @author: renchao | 218 | * @author: renchao |
218 | */ | 219 | */ |
219 | loadComponent(form) { | 220 | loadComponent(form) { |
220 | console.log(form, "form"); | ||
221 | this.componentTag = (r) => | 221 | this.componentTag = (r) => |
222 | require.ensure([], () => r(require("@/views/registerBook/" + form))); | 222 | require.ensure([], () => r(require("@/views/registerBook/" + form))); |
223 | }, | 223 | }, | ... | ... |
... | @@ -121,37 +121,6 @@ | ... | @@ -121,37 +121,6 @@ |
121 | ywh: "", | 121 | ywh: "", |
122 | ywly: "", | 122 | ywly: "", |
123 | }; | 123 | }; |
124 | }, | ||
125 | mounted () { | ||
126 | this.getdata(); | ||
127 | }, | ||
128 | methods: { | ||
129 | // 截取字符的方法 | ||
130 | /** | ||
131 | * @description: 截取字符的方法 | ||
132 | * @param {*} obj | ||
133 | * @author: renchao | ||
134 | */ | ||
135 | getCaption (obj) { | ||
136 | let index = obj.lastIndexOf("="); | ||
137 | obj = obj.substring(index + 1, obj.length); | ||
138 | return obj; | ||
139 | }, | ||
140 | // 通过不动产业务号获取参数 | ||
141 | /** | ||
142 | * @description: 通过不动产业务号获取参数 | ||
143 | * @author: renchao | ||
144 | */ | ||
145 | getdata () { | ||
146 | this.queryForm = { | ||
147 | bdcdyh: this.getCaption(window.location.href), | ||
148 | currentPage: 1, | ||
149 | djlx: "", | ||
150 | pageSize: 10, | ||
151 | qllx: "", | ||
152 | ywh: "", | ||
153 | ywly: "", | ||
154 | }; | ||
155 | if (this.queryForm) { | 124 | if (this.queryForm) { |
156 | this.$startLoading(); | 125 | this.$startLoading(); |
157 | searchTaskToDo({ | 126 | searchTaskToDo({ |
... | @@ -167,6 +136,27 @@ | ... | @@ -167,6 +136,27 @@ |
167 | } | 136 | } |
168 | }, | 137 | }, |
169 | 138 | ||
139 | // 获取不动产信息 | ||
140 | /** | ||
141 | * @description: 获取不动产信息 | ||
142 | * @param {*} a | ||
143 | * @param {*} b | ||
144 | * @author: renchao | ||
145 | */ | ||
146 | loadBdcdylist (a, b) { | ||
147 | var formdata = new FormData(); | ||
148 | formdata.append("bsmSlsq", a); | ||
149 | formdata.append("bestepid", b); | ||
150 | leftMenu(formdata).then((res) => { | ||
151 | if (res.code === 200) { | ||
152 | if (res.result) { | ||
153 | this.currentSelectProps = res.result[0]; | ||
154 | this.loadData(this.currentSelectProps.bdcdyh); | ||
155 | } | ||
156 | } | ||
157 | }); | ||
158 | }, | ||
159 | |||
170 | /** | 160 | /** |
171 | * @description: getBdcdyh | 161 | * @description: getBdcdyh |
172 | * @author: miaofang | 162 | * @author: miaofang |
... | @@ -233,6 +223,8 @@ | ... | @@ -233,6 +223,8 @@ |
233 | // this.loadComponent(this.defaultNode.form); | 223 | // this.loadComponent(this.defaultNode.form); |
234 | 224 | ||
235 | // this.setstyle(0, 0, this.iskey); | 225 | // this.setstyle(0, 0, this.iskey); |
226 | |||
227 | // this.setstyle(0, 0, this.iskey); | ||
236 | }); | 228 | }); |
237 | } | 229 | } |
238 | }); | 230 | }); |
... | @@ -249,36 +241,18 @@ | ... | @@ -249,36 +241,18 @@ |
249 | handleNodeClick (data) { | 241 | handleNodeClick (data) { |
250 | this.loadComponent(data.form); | 242 | this.loadComponent(data.form); |
251 | }, | 243 | }, |
252 | 244 | }, | |
253 | /** | 245 | /* |
254 | * @description: setstyle | 246 | 点击登记簿菜单 |
255 | * @param {*} data | ||
256 | * @author: renchao | ||
257 | * 设置样式和点击定位到当前功能 | ||
258 | */ | 247 | */ |
259 | // setstyle (newindex, index, key) { | ||
260 | // if (key != undefined || this.keyy == index) { | ||
261 | // if (key != undefined) { | ||
262 | // this.keyy = key | ||
263 | // } | ||
264 | // this.loadComponent(this.$refs.sfq[newindex].$children[this.keyy].$attrs.re.form); | ||
265 | // let dpme = this.$refs.sfq[newindex].$children[this.keyy].$el | ||
266 | // dpme.style.backgroundColor = "#f5f5f5"; | ||
267 | // dpme.style.color = "#0079fe"; | ||
268 | // dpme.style.borderRight = "4px solid #0079fe"; | ||
269 | // } else { | ||
270 | // let dpme = this.$refs.sfq[newindex].$children[this.keyy].$el | ||
271 | // dpme.style.backgroundColor = "#ffffff"; | ||
272 | // dpme.style.color = "black"; | ||
273 | // dpme.style.border = "none"; | ||
274 | // } | ||
275 | // }, | ||
276 | /** | 248 | /** |
277 | * @description: tap | 249 | * @description: 点击登记簿菜单 |
278 | * @param {*} data | 250 | * @param {*} data |
279 | * @author: renchao | 251 | * @author: renchao |
280 | * 新增列表功能 | ||
281 | */ | 252 | */ |
253 | handleNodeClick (data) { | ||
254 | this.loadComponent(data.form); | ||
255 | }, | ||
282 | tap (data, index) { | 256 | tap (data, index) { |
283 | this.loadComponent(data.form); | 257 | this.loadComponent(data.form); |
284 | }, | 258 | }, |
... | @@ -300,10 +274,8 @@ | ... | @@ -300,10 +274,8 @@ |
300 | loadComponent (form) { | 274 | loadComponent (form) { |
301 | this.componentTag = (r) => | 275 | this.componentTag = (r) => |
302 | require.ensure([], () => r(require("@/views/registerBook/" + form))); | 276 | require.ensure([], () => r(require("@/views/registerBook/" + form))); |
303 | }, | ||
304 | }, | ||
305 | } | ||
306 | } | 277 | } |
278 | }; | ||
307 | </script> | 279 | </script> |
308 | <style scoped lang="scss"> | 280 | <style scoped lang="scss"> |
309 | /deep/.rollTable { | 281 | /deep/.rollTable { |
... | @@ -343,6 +315,8 @@ | ... | @@ -343,6 +315,8 @@ |
343 | height: 45px; | 315 | height: 45px; |
344 | } | 316 | } |
345 | 317 | ||
318 | |||
319 | |||
346 | /deep/.el-tree-node { | 320 | /deep/.el-tree-node { |
347 | white-space: pre-wrap; | 321 | white-space: pre-wrap; |
348 | } | 322 | } |
... | @@ -376,33 +350,44 @@ | ... | @@ -376,33 +350,44 @@ |
376 | /deep/.el-collapse-item__content { | 350 | /deep/.el-collapse-item__content { |
377 | padding-bottom: 5px; | 351 | padding-bottom: 5px; |
378 | } | 352 | } |
379 | /deep/.sfqcontent { | 353 | /deep/.unselected { |
380 | white-space: wrap; | 354 | // white-space: wrap; |
381 | border: none; | 355 | border: none; |
382 | padding: 0; | ||
383 | margin: 0; | ||
384 | cursor: pointer; | 356 | cursor: pointer; |
385 | width: 100%; | 357 | width: 250px; |
386 | height: 100px; | 358 | height: 45px; |
387 | word-break: break-word; | 359 | border: 1px solid rgb(228, 228, 228); |
388 | display: inline; | 360 | border-right: 4px solid #f5f5f5; |
361 | margin: auto; | ||
362 | text-align: center; | ||
363 | align-items: center; | ||
389 | span { | 364 | span { |
390 | font-size: 13px; | 365 | width: 100%; |
391 | display: block; | 366 | display: inline-block; |
392 | line-height: 15px; | 367 | justify-content: center; |
393 | margin-left: 70px; | 368 | align-items: center; |
394 | } | 369 | } |
395 | height: 45px; | 370 | height: 45px; |
396 | border: 1px solid rgb(228, 228, 228); | 371 | border: 1px solid rgb(228, 228, 228); |
397 | border-right: 4px solid #f5f5f5; | 372 | border-right: 4px solid #f5f5f5; |
398 | } | 373 | } |
399 | .sfqcontent:hover { | 374 | |
400 | background-color: #f5f5f5; | 375 | .select { |
401 | color: black; | 376 | border: none; |
402 | } | 377 | cursor: pointer; |
403 | .sfqcontent:focus { | 378 | width: 250px; |
379 | height: 45px; | ||
404 | background-color: #f5f5f5; | 380 | background-color: #f5f5f5; |
405 | color: #0079fe; | 381 | color: #0079fe; |
406 | border-right: 4px solid #0079fe; | 382 | border-right: 4px solid #0079fe; |
383 | margin: auto; | ||
384 | text-align: center; | ||
385 | align-items: center; | ||
386 | span { | ||
387 | width: 100%; | ||
388 | display: inline-block; | ||
389 | justify-content: center; | ||
390 | align-items: center; | ||
391 | } | ||
407 | } | 392 | } |
408 | </style> | 393 | </style> | ... | ... |
... | @@ -35,7 +35,7 @@ | ... | @@ -35,7 +35,7 @@ |
35 | </p> | 35 | </p> |
36 | </div> | 36 | </div> |
37 | </div> | 37 | </div> |
38 | </div> | 38 | </div> |
39 | 39 | ||
40 | </template> | 40 | </template> |
41 | 41 | ||
... | @@ -78,18 +78,15 @@ | ... | @@ -78,18 +78,15 @@ |
78 | width: 100%; | 78 | width: 100%; |
79 | height: 100%; | 79 | height: 100%; |
80 | position: relative; | 80 | position: relative; |
81 | .print{ | 81 | .print { |
82 | // background-color: #0079fe; | 82 | // background-color: #0079fe; |
83 | z-index: 10; | 83 | z-index: 10; |
84 | position: absolute; | 84 | position: absolute; |
85 | left: 11px; | 85 | left: 11px; |
86 | top: 5px; | 86 | top: 5px; |
87 | |||
88 | |||
89 | } | 87 | } |
90 | |||
91 | } | 88 | } |
92 | .fm{ | 89 | .fm { |
93 | width: 100%; | 90 | width: 100%; |
94 | height: 100%; | 91 | height: 100%; |
95 | background: #fff; | 92 | background: #fff; | ... | ... |
src/views/registerBook/dzlist.vue
0 → 100644
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-09-18 13:39:51 | ||
5 | --> | ||
6 | <template> | ||
7 | <div class="content"> | ||
8 | 自然幢列表(待开发) | ||
9 | </div> | ||
10 | </template> | ||
11 | <script> | ||
12 | import { getBdcqljqtsx } from "@/api/djbDetail.js"; | ||
13 | import { loadTreeData, loadsfqData, getNode } from "./djbFrameData.js"; | ||
14 | export default { | ||
15 | data() { | ||
16 | return { | ||
17 | } | ||
18 | }, | ||
19 | |||
20 | mounted() { | ||
21 | |||
22 | }, | ||
23 | methods: { | ||
24 | |||
25 | }, | ||
26 | }; | ||
27 | </script> | ||
28 | <style scoped lang="scss"> | ||
29 | |||
30 | </style> |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2023-09-18 14:48:07 | 4 | * @LastEditTime: 2023-09-21 11:05:33 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -72,7 +72,7 @@ | ... | @@ -72,7 +72,7 @@ |
72 | <span v-if="item.prop == 'qszt'"> | 72 | <span v-if="item.prop == 'qszt'"> |
73 | {{ getQsztName(row[item.prop]) }} | 73 | {{ getQsztName(row[item.prop]) }} |
74 | </span> | 74 | </span> |
75 | <el-link v-if="item.prop == 'ywh'" | 75 | <el-link v-if=" ['zxywh', 'ywh'].includes(item.prop)" |
76 | @click="handleSelectYwh(tableData, row[item.prop])" | 76 | @click="handleSelectYwh(tableData, row[item.prop])" |
77 | type="primary">{{ row[item.prop] }}</el-link> | 77 | type="primary">{{ row[item.prop] }}</el-link> |
78 | <el-tooltip | 78 | <el-tooltip |
... | @@ -88,6 +88,7 @@ | ... | @@ -88,6 +88,7 @@ |
88 | 88 | ||
89 | <span | 89 | <span |
90 | v-if=" | 90 | v-if=" |
91 | item.prop !== 'zxywh' && | ||
91 | item.prop !== 'ywh' && | 92 | item.prop !== 'ywh' && |
92 | item.prop !== 'qszt' && | 93 | item.prop !== 'qszt' && |
93 | item.prop !== 'djyy' && | 94 | item.prop !== 'djyy' && |
... | @@ -291,14 +292,16 @@ | ... | @@ -291,14 +292,16 @@ |
291 | if (sjlx == '系统数据') { | 292 | if (sjlx == '系统数据') { |
292 | getXtParamsByYwh(ywh).then(res => { | 293 | getXtParamsByYwh(ywh).then(res => { |
293 | let data = res.result | 294 | let data = res.result |
294 | const { href } = Router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bestepid=' + data.bestepid + '&bsmBusiness=' + data.bsmBusiness + '&type=jdcx') | 295 | const { href } = Router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bsmBusiness=' + data.bsmBusiness + '&type=jdcx') |
295 | window.open(href, `urlname${data.bsmSlsq}`) | 296 | window.open(href, `urlname${data.bsmSlsq}`) |
296 | }) | 297 | }) |
297 | } else { | 298 | } else { |
298 | getBlParamsByYwh(ywh, bsmQlxx).then(res => { | 299 | getBlParamsByYwh(ywh, bsmQlxx).then(res => { |
299 | let data = res.result | 300 | let data = res.result |
300 | const { href } = Router.resolve('/workFrameView?bsmSlsq=' + data.bsmSlsq + '&bestepid=' + data.bestepid + '&bsmBusiness=' + data.bsmBusiness + '&type=jdcx') | 301 | this.$popup('材料信息', 'registerBook/components/clxx/index', { |
301 | window.open(href, `urlname${data.bsmSlsq}`) | 302 | width: '60%', |
303 | formData: data | ||
304 | }) | ||
302 | }) | 305 | }) |
303 | } | 306 | } |
304 | } | 307 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2023-09-18 15:01:13 | 4 | * @LastEditTime: 2023-09-22 09:49:44 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -39,14 +39,14 @@ | ... | @@ -39,14 +39,14 @@ |
39 | * @description: loadData | 39 | * @description: loadData |
40 | * @author: miaofang | 40 | * @author: miaofang |
41 | */ | 41 | */ |
42 | loadData () { | 42 | loadData (checkList = []) { |
43 | if (this.$parent.addRepairRecord) { | 43 | if (this.$parent.addRepairRecord) { |
44 | this.columns.unshift({ prop: "cz", label: "操作" }); | 44 | this.columns.unshift({ prop: "cz", label: "操作" }); |
45 | } | 45 | } |
46 | getFdcq2List({ | 46 | getFdcq2List({ |
47 | bdcdyid: this.propsParam.bdcdyid, | 47 | bdcdyid: this.propsParam.bdcdyid, |
48 | qllx: this.propsParam.qllx, | 48 | qllx: this.propsParam.qllx, |
49 | qszt: this.checkList, | 49 | qszt: checkList |
50 | }).then((res) => { | 50 | }).then((res) => { |
51 | if (res.code === 200) { | 51 | if (res.code === 200) { |
52 | this.tableData = res.result; | 52 | this.tableData = res.result; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2023-09-18 13:43:36 | 4 | * @LastEditTime: 2023-09-22 09:49:31 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -40,11 +40,11 @@ | ... | @@ -40,11 +40,11 @@ |
40 | this.loadData(); | 40 | this.loadData(); |
41 | }, | 41 | }, |
42 | methods: { | 42 | methods: { |
43 | loadData () { | 43 | loadData (checkList = []) { |
44 | getJsydsyqList({ | 44 | getJsydsyqList({ |
45 | bdcdyid: this.propsParam.bdcdyid, | 45 | bdcdyid: this.propsParam.bdcdyid, |
46 | qllx: this.propsParam.qllx, | 46 | qllx: this.propsParam.qllx, |
47 | qszt: this.checkList, | 47 | qszt: checkList |
48 | }).then((res) => { | 48 | }).then((res) => { |
49 | if (res.code === 200) { | 49 | if (res.code === 200) { |
50 | this.tableData = res.result; | 50 | this.tableData = res.result; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2023-09-18 13:44:04 | 4 | * @LastEditTime: 2023-09-22 09:53:54 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -40,7 +40,7 @@ | ... | @@ -40,7 +40,7 @@ |
40 | this.loadData(); | 40 | this.loadData(); |
41 | }, | 41 | }, |
42 | methods: { | 42 | methods: { |
43 | loadData () { | 43 | loadData (checkList = []) { |
44 | if (this.$parent.addRepairRecord) { | 44 | if (this.$parent.addRepairRecord) { |
45 | this.columns.unshift({ | 45 | this.columns.unshift({ |
46 | prop: "cz", | 46 | prop: "cz", |
... | @@ -50,7 +50,7 @@ | ... | @@ -50,7 +50,7 @@ |
50 | getLqList({ | 50 | getLqList({ |
51 | bdcdyid: this.propsParam.bdcdyid, | 51 | bdcdyid: this.propsParam.bdcdyid, |
52 | qllx: this.propsParam.qllx, | 52 | qllx: this.propsParam.qllx, |
53 | qszt: this.checkList, | 53 | qszt: checkList |
54 | }).then((res) => { | 54 | }).then((res) => { |
55 | if (res.code === 200) { | 55 | if (res.code === 200) { |
56 | this.tableData = res.result; | 56 | this.tableData = res.result; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2023-09-18 13:44:35 | 4 | * @LastEditTime: 2023-09-22 09:53:31 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
46 | this.loadData(); | 46 | this.loadData(); |
47 | }, | 47 | }, |
48 | methods: { | 48 | methods: { |
49 | loadData () { | 49 | loadData (checkList = []) { |
50 | if (this.$parent.addRepairRecord) { | 50 | if (this.$parent.addRepairRecord) { |
51 | this.columns.unshift({ | 51 | this.columns.unshift({ |
52 | prop: "cz", | 52 | prop: "cz", |
... | @@ -56,7 +56,7 @@ | ... | @@ -56,7 +56,7 @@ |
56 | getNydsyqList({ | 56 | getNydsyqList({ |
57 | bdcdyid: this.propsParam.bdcdyid, | 57 | bdcdyid: this.propsParam.bdcdyid, |
58 | qllx: this.propsParam.qllx, | 58 | qllx: this.propsParam.qllx, |
59 | qszt: this.checkList, | 59 | qszt: checkList |
60 | }).then((res) => { | 60 | }).then((res) => { |
61 | if (res.code === 200) { | 61 | if (res.code === 200) { |
62 | this.tableData = res.result; | 62 | this.tableData = res.result; |
... | @@ -68,13 +68,13 @@ | ... | @@ -68,13 +68,13 @@ |
68 | this.emptycolNum = | 68 | this.emptycolNum = |
69 | datas.columns().emptycolNum - this.tableData.length; | 69 | datas.columns().emptycolNum - this.tableData.length; |
70 | } else { | 70 | } else { |
71 | this.emptycolNum = 0; | 71 | this.emptycolNum = 0 |
72 | } | 72 | } |
73 | } | 73 | } |
74 | }); | 74 | }) |
75 | } | ||
75 | } | 76 | } |
76 | } | 77 | } |
77 | }; | ||
78 | </script> | 78 | </script> |
79 | 79 | ||
80 | <style lang="scss" scoped> | 80 | <style lang="scss" scoped> | ... | ... |
... | @@ -60,7 +60,8 @@ | ... | @@ -60,7 +60,8 @@ |
60 | top: 0px; | 60 | top: 0px; |
61 | z-index: 3; | 61 | z-index: 3; |
62 | margin-top: -2px; | 62 | margin-top: -2px; |
63 | &:after{ | 63 | |
64 | &:after { | ||
64 | content: ""; | 65 | content: ""; |
65 | display: inline-block; | 66 | display: inline-block; |
66 | width: 100%; | 67 | width: 100%; |
... | @@ -77,7 +78,8 @@ | ... | @@ -77,7 +78,8 @@ |
77 | position: sticky; | 78 | position: sticky; |
78 | top: 40px; | 79 | top: 40px; |
79 | z-index: 3; | 80 | z-index: 3; |
80 | &:after{ | 81 | |
82 | &:after { | ||
81 | content: ""; | 83 | content: ""; |
82 | display: inline-block; | 84 | display: inline-block; |
83 | width: 100%; | 85 | width: 100%; |
... | @@ -102,7 +104,8 @@ | ... | @@ -102,7 +104,8 @@ |
102 | left: 0; | 104 | left: 0; |
103 | z-index: 2; | 105 | z-index: 2; |
104 | margin-left: -2px; | 106 | margin-left: -2px; |
105 | &:before{ | 107 | |
108 | &:before { | ||
106 | content: ""; | 109 | content: ""; |
107 | display: inline-block; | 110 | display: inline-block; |
108 | width: 2px; | 111 | width: 2px; |
... | @@ -113,7 +116,8 @@ | ... | @@ -113,7 +116,8 @@ |
113 | left: -2px; | 116 | left: -2px; |
114 | z-index: 3; | 117 | z-index: 3; |
115 | } | 118 | } |
116 | &:after{ | 119 | |
120 | &:after { | ||
117 | content: ""; | 121 | content: ""; |
118 | display: inline-block; | 122 | display: inline-block; |
119 | width: 2px; | 123 | width: 2px; |
... | @@ -228,11 +232,12 @@ | ... | @@ -228,11 +232,12 @@ |
228 | min-width: 340px; | 232 | min-width: 340px; |
229 | z-index: 1; | 233 | z-index: 1; |
230 | } | 234 | } |
231 | td:first-child{ | 235 | |
236 | td:first-child { | ||
232 | flex: inherit !important; | 237 | flex: inherit !important; |
233 | // width: 200px !important; | 238 | // min-width: 180px !important; |
234 | min-width: 180px !important; | ||
235 | } | 239 | } |
240 | |||
236 | >tr:nth-child(odd) td { | 241 | >tr:nth-child(odd) td { |
237 | background: #f2f2f2; | 242 | background: #f2f2f2; |
238 | } | 243 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2023-09-18 13:45:03 | 4 | * @LastEditTime: 2023-09-22 09:53:19 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -36,7 +36,7 @@ | ... | @@ -36,7 +36,7 @@ |
36 | this.loadData(); | 36 | this.loadData(); |
37 | }, | 37 | }, |
38 | methods: { | 38 | methods: { |
39 | loadData () { | 39 | loadData (checkList = []) { |
40 | if (this.$parent.addRepairRecord) { | 40 | if (this.$parent.addRepairRecord) { |
41 | this.columns.unshift({ | 41 | this.columns.unshift({ |
42 | prop: "cz", | 42 | prop: "cz", |
... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
46 | getLqList({ | 46 | getLqList({ |
47 | bdcdyid: this.propsParam.bdcdyid, | 47 | bdcdyid: this.propsParam.bdcdyid, |
48 | qllx: this.propsParam.qllx, | 48 | qllx: this.propsParam.qllx, |
49 | qszt: this.checkList, | 49 | qszt: checkList |
50 | }).then((res) => { | 50 | }).then((res) => { |
51 | if (res.code === 200) { | 51 | if (res.code === 200) { |
52 | this.tableData = res.result; | 52 | this.tableData = res.result; | ... | ... |
... | @@ -44,7 +44,7 @@ | ... | @@ -44,7 +44,7 @@ |
44 | * @description: loadData | 44 | * @description: loadData |
45 | * @author: miaofang | 45 | * @author: miaofang |
46 | */ | 46 | */ |
47 | loadData () { | 47 | loadData (checkList = []) { |
48 | if (this.$parent.addRepairRecord) { | 48 | if (this.$parent.addRepairRecord) { |
49 | this.columns.unshift({ | 49 | this.columns.unshift({ |
50 | prop: "cz", | 50 | prop: "cz", |
... | @@ -54,7 +54,7 @@ | ... | @@ -54,7 +54,7 @@ |
54 | getTdsyqList({ | 54 | getTdsyqList({ |
55 | bdcdyid: this.propsParam.bdcdyid, | 55 | bdcdyid: this.propsParam.bdcdyid, |
56 | qllx: this.propsParam.qllx, | 56 | qllx: this.propsParam.qllx, |
57 | qszt: this.checkList, | 57 | qszt: checkList |
58 | }).then((res) => { | 58 | }).then((res) => { |
59 | if (res.code === 200) { | 59 | if (res.code === 200) { |
60 | this.tableData = res.result; | 60 | this.tableData = res.result; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2023-09-18 13:40:33 | 4 | * @LastEditTime: 2023-09-22 09:52:50 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -36,7 +36,7 @@ | ... | @@ -36,7 +36,7 @@ |
36 | this.loadData(); | 36 | this.loadData(); |
37 | }, | 37 | }, |
38 | methods: { | 38 | methods: { |
39 | loadData () { | 39 | loadData (checkList = []) { |
40 | // 判断是否在登记簿补录调的子页面 | 40 | // 判断是否在登记簿补录调的子页面 |
41 | if (this.$parent.addRepairRecord) { | 41 | if (this.$parent.addRepairRecord) { |
42 | this.columns.unshift({ | 42 | this.columns.unshift({ |
... | @@ -47,7 +47,7 @@ | ... | @@ -47,7 +47,7 @@ |
47 | getYgdjList({ | 47 | getYgdjList({ |
48 | bdcdyid: this.propsParam.bdcdyid, | 48 | bdcdyid: this.propsParam.bdcdyid, |
49 | qllx: this.propsParam.qllx, | 49 | qllx: this.propsParam.qllx, |
50 | qszt: this.checkList, | 50 | qszt: checkList |
51 | }).then((res) => { | 51 | }).then((res) => { |
52 | if (res.code === 200) { | 52 | if (res.code === 200) { |
53 | this.tableData = res.result; | 53 | this.tableData = res.result; |
... | @@ -60,7 +60,7 @@ | ... | @@ -60,7 +60,7 @@ |
60 | this.emptycolNum = | 60 | this.emptycolNum = |
61 | datas.columns().emptycolNum - this.tableData.length; | 61 | datas.columns().emptycolNum - this.tableData.length; |
62 | } else { | 62 | } else { |
63 | this.emptycolNum = 0; | 63 | this.emptycolNum = 0 |
64 | } | 64 | } |
65 | } | 65 | } |
66 | }) | 66 | }) | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: miaofang | 3 | * @Autor: miaofang |
4 | * @LastEditTime: 2023-09-18 15:06:35 | 4 | * @LastEditTime: 2023-09-22 09:52:37 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="djxxTable"> | 7 | <div class="djxxTable"> |
... | @@ -36,7 +36,7 @@ | ... | @@ -36,7 +36,7 @@ |
36 | this.loadData(); | 36 | this.loadData(); |
37 | }, | 37 | }, |
38 | methods: { | 38 | methods: { |
39 | loadData () { | 39 | loadData (checkList = []) { |
40 | if (this.$parent.addRepairRecord) { | 40 | if (this.$parent.addRepairRecord) { |
41 | this.columns.unshift({ | 41 | this.columns.unshift({ |
42 | prop: "cz", | 42 | prop: "cz", |
... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
46 | getYydjList({ | 46 | getYydjList({ |
47 | bdcdyid: this.propsParam.bdcdyid, | 47 | bdcdyid: this.propsParam.bdcdyid, |
48 | qllx: this.propsParam.qllx, | 48 | qllx: this.propsParam.qllx, |
49 | qszt: this.checkList, | 49 | qszt: checkList |
50 | }).then((res) => { | 50 | }).then((res) => { |
51 | if (res.code === 200) { | 51 | if (res.code === 200) { |
52 | this.tableData = res.result; | 52 | this.tableData = res.result; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-20 16:07:43 | 4 | * @LastEditTime: 2023-09-26 16:47:20 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <dialogBox | 7 | <dialogBox |
... | @@ -512,11 +512,10 @@ | ... | @@ -512,11 +512,10 @@ |
512 | let { total, records } = res.result; | 512 | let { total, records } = res.result; |
513 | this.tableDataQy.total = total; | 513 | this.tableDataQy.total = total; |
514 | this.tableDataQy.data = records; | 514 | this.tableDataQy.data = records; |
515 | this.tableDataQy.data.forEach(item => { | 515 | this.tableDataQy.data.forEach((item, index) => { |
516 | item.zjzlMc = this.dicStatus(item.zjzl, 'A30') | 516 | item.zjzlMc = this.dicStatus(item.zjzl, 'A30') |
517 | item.sqrmc = item.qymc | 517 | item.sqrmc = item.qymc |
518 | item.txdz = item.dwdz | 518 | item.txdz = item.dwdz |
519 | item.id = getUuid(16) | ||
520 | }) | 519 | }) |
521 | } | 520 | } |
522 | }) | 521 | }) |
... | @@ -541,9 +540,10 @@ | ... | @@ -541,9 +540,10 @@ |
541 | this.$confirm('是否同步材料信息?', '提示', { | 540 | this.$confirm('是否同步材料信息?', '提示', { |
542 | confirmButtonText: '确定', | 541 | confirmButtonText: '确定', |
543 | cancelButtonText: '取消', | 542 | cancelButtonText: '取消', |
543 | distinguishCancelAndClose: true,//区分取消与关闭 | ||
544 | }).then(() => { | 544 | }).then(() => { |
545 | replace(val.bsmCompany, this.$route.query.bsmSlsq, bsmSldy).then(res => { | 545 | replace(val.bsmCompany, this.$route.query.bsmSlsq, bsmSldy).then(res => { |
546 | that.$emit("updateDetail", _.cloneDeep(val)); | 546 | that.$emit("updateDetail", _.cloneDeep({ ...val, sqrlx: '2', id: getUuid(16) })); |
547 | that.$emit("input", false); | 547 | that.$emit("input", false); |
548 | if (res.code == 200) { | 548 | if (res.code == 200) { |
549 | that.$message({ | 549 | that.$message({ |
... | @@ -551,14 +551,14 @@ | ... | @@ -551,14 +551,14 @@ |
551 | message: '同步成功!' | 551 | message: '同步成功!' |
552 | }) | 552 | }) |
553 | } else { | 553 | } else { |
554 | this.$message.error(res.message); | 554 | that.$message.error(res.message); |
555 | } | 555 | } |
556 | }) | 556 | }) |
557 | }).catch(() => { | 557 | }).catch(action => { |
558 | this.$message({ | 558 | if (action == 'cancel') { |
559 | type: 'info', | 559 | that.$emit("updateDetail", _.cloneDeep({ ...val, sqrlx: '2' })); |
560 | message: '已取消' | 560 | that.$emit("input", false); |
561 | }) | 561 | } |
562 | }) | 562 | }) |
563 | }, | 563 | }, |
564 | /** | 564 | /** |
... | @@ -573,11 +573,10 @@ | ... | @@ -573,11 +573,10 @@ |
573 | let { total, records } = res.result; | 573 | let { total, records } = res.result; |
574 | this.tableDataYh.total = total; | 574 | this.tableDataYh.total = total; |
575 | this.tableDataYh.data = records; | 575 | this.tableDataYh.data = records; |
576 | this.tableDataYh.data.forEach(item => { | 576 | this.tableDataYh.data.forEach((item, index) => { |
577 | item.zjzlMc = this.dicStatus(item.zjzl, 'A30') | 577 | item.zjzlMc = this.dicStatus(item.zjzl, 'A30') |
578 | item.sqrmc = item.qymc | 578 | item.sqrmc = item.qymc |
579 | item.txdz = item.dwdz | 579 | item.txdz = item.dwdz |
580 | item.id = getUuid(16) | ||
581 | }) | 580 | }) |
582 | } | 581 | } |
583 | }) | 582 | }) | ... | ... |
... | @@ -11,7 +11,7 @@ | ... | @@ -11,7 +11,7 @@ |
11 | import { mapGetters } from 'vuex' | 11 | import { mapGetters } from 'vuex' |
12 | import { getSzRecordList } from "@/api/bdcqz.js"; | 12 | import { getSzRecordList } from "@/api/bdcqz.js"; |
13 | import table from "@/utils/mixin/table"; | 13 | import table from "@/utils/mixin/table"; |
14 | import { datas } from "../../javascript/szxxdata"; | 14 | import { szxxdatas } from "../../javascript/szxxdata"; |
15 | export default { | 15 | export default { |
16 | components: { | 16 | components: { |
17 | 17 | ||
... | @@ -34,7 +34,7 @@ | ... | @@ -34,7 +34,7 @@ |
34 | details: {}, | 34 | details: {}, |
35 | tableData: { | 35 | tableData: { |
36 | total: 0, | 36 | total: 0, |
37 | columns: datas.columns(), | 37 | columns: szxxdatas.columns(), |
38 | data: [], | 38 | data: [], |
39 | }, | 39 | }, |
40 | } | 40 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-19 14:04:13 | 4 | * @LastEditTime: 2023-09-22 10:09:05 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;"> | 7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;"> |
... | @@ -224,18 +224,18 @@ | ... | @@ -224,18 +224,18 @@ |
224 | arr.push(currentLine); | 224 | arr.push(currentLine); |
225 | if (i > 0) { | 225 | if (i > 0) { |
226 | arr.forEach((line, index) => { | 226 | arr.forEach((line, index) => { |
227 | context.fillText(line, 129, 490 + (26 * (i - 1)) + 4 * num + (index * 14)); // 调整行高 | 227 | context.fillText(line, 129, 485 + (24 * (i - 1)) + 4 * num + (index * 14)); // 调整行高 |
228 | }) | 228 | }) |
229 | } else { | 229 | } else { |
230 | arr.forEach((line, index) => { | 230 | arr.forEach((line, index) => { |
231 | context.fillText(line, 129, 500 + (26 * (i - 1)) + (index * 14)); // 调整行高 | 231 | context.fillText(line, 129, 495 + (26 * (i - 1)) + (index * 14)); // 调整行高 |
232 | }) | 232 | }) |
233 | } | 233 | } |
234 | } else { | 234 | } else { |
235 | if (i > 0) { | 235 | if (i > 0) { |
236 | context.fillText(lines[i] ? lines[i] : '', 129, 500 + 4 * num + (24 * (i - 1))); | 236 | context.fillText(lines[i] ? lines[i] : '', 129, 495 + 4 * num + (24 * (i - 1))); |
237 | } else { | 237 | } else { |
238 | context.fillText(lines[i] ? lines[i] : '', 129, 505 + (24 * (i - 1))); | 238 | context.fillText(lines[i] ? lines[i] : '', 129, 500 + (24 * (i - 1))); |
239 | } | 239 | } |
240 | } | 240 | } |
241 | } | 241 | } | ... | ... |
1 | <!-- | ||
2 | * @Description: | ||
3 | * @Autor: miaofang | ||
4 | * @LastEditTime: 2023-09-19 14:04:13 | ||
5 | --> | ||
6 | <template> | ||
7 | <div | ||
8 | class="from-clues loadingtext" | ||
9 | v-Loading="loading" | ||
10 | element-loading-text="拼命加载中..." | ||
11 | style="height: 720px; text-align: center" | ||
12 | > | ||
13 | <!-- 表单部分 --> | ||
14 | <el-tabs v-model="activeName" @tab-click="handleClick"> | ||
15 | <el-tab-pane label="证书预览" name="zsyl"> | ||
16 | <el-empty | ||
17 | description="暂无数据" | ||
18 | v-if="headTabBdcqz.length == 0 && noData" | ||
19 | ></el-empty> | ||
20 | <div class="zsys"> | ||
21 | <canvas | ||
22 | ref="zs" | ||
23 | width="1000" | ||
24 | v-show="this.bdcqz.bdcqzlx == 1" | ||
25 | height="700" | ||
26 | ></canvas> | ||
27 | <canvas | ||
28 | ref="zm" | ||
29 | width="1180" | ||
30 | v-show="this.bdcqz.bdcqzlx == 2" | ||
31 | height="780" | ||
32 | ></canvas> | ||
33 | </div> | ||
34 | </el-tab-pane> | ||
35 | <el-tab-pane label="证书详情" name="lcjl"> | ||
36 | <div class="slxx_title title-block"> | ||
37 | 证书详情信息 | ||
38 | <div class="triangle"></div> | ||
39 | </div> | ||
40 | <el-form :rules="rules" ref="ruleForm" label-width="120px"> | ||
41 | <el-row> | ||
42 | <el-col :span="8"> | ||
43 | <el-form-item label="权利人" prop="cyxm"> | ||
44 | <el-input disabled v-model="bdcqz.qlr" maxlegth="15"></el-input> | ||
45 | </el-form-item> | ||
46 | </el-col> | ||
47 | <el-col :span="8"> | ||
48 | <el-form-item label="义务人" prop="jtgxdm"> | ||
49 | <el-input disabled v-model="bdcqz.qlr" maxlegth="15"></el-input> | ||
50 | </el-form-item> | ||
51 | </el-col> | ||
52 | <el-col :span="8"> | ||
53 | <el-form-item label="坐落" prop="cbfdm"> | ||
54 | <el-input disabled v-model="bdcqz.zl" maxlegth="15"></el-input> | ||
55 | </el-form-item> | ||
56 | </el-col> | ||
57 | |||
58 | </el-row> | ||
59 | <el-row> | ||
60 | <el-col :span="8"> | ||
61 | <el-form-item label="不动产单元号" prop="cyxm"> | ||
62 | <el-input disabled v-model="bdcqz.bdcdyh" maxlegth="15"></el-input> | ||
63 | </el-form-item> | ||
64 | </el-col> | ||
65 | <el-col :span="8"> | ||
66 | <el-form-item label="印刷序列号" prop="jtgxdm"> | ||
67 | <el-input disabled v-model="bdcqz.ysxlh" maxlegth="15"></el-input> | ||
68 | </el-form-item> | ||
69 | </el-col> | ||
70 | <el-col :span="8"> | ||
71 | <el-form-item label="不动产权证号" prop="cbfdm"> | ||
72 | <el-input disabled v-model="bdcqz.bdcqzh" maxlegth="15"></el-input> | ||
73 | </el-form-item> | ||
74 | </el-col> | ||
75 | |||
76 | </el-row> | ||
77 | </el-form> | ||
78 | <div class="slxx_title title-block"> | ||
79 | 缮证记录信息 | ||
80 | <div class="triangle"></div> | ||
81 | </div> | ||
82 | <div class="from-clues-content"> | ||
83 | <lb-table | ||
84 | class="sz" | ||
85 | :column="szxxtableData.columns" | ||
86 | heightNumSetting | ||
87 | :pagination="false" | ||
88 | :key="key" | ||
89 | :data="szxxtableData.data" | ||
90 | > | ||
91 | </lb-table> | ||
92 | </div> | ||
93 | <div class="slxx_title title-block"> | ||
94 | 发证记录信息 | ||
95 | <div class="triangle"></div> | ||
96 | </div> | ||
97 | <lb-table | ||
98 | border | ||
99 | :column="tableDatas.columns" | ||
100 | :heightNum="100" | ||
101 | :data="tableDatas.data" | ||
102 | :pagination="false" | ||
103 | > | ||
104 | </lb-table> | ||
105 | </el-tab-pane> | ||
106 | <el-tab-pane label="电子证照" name="third"> 等一个照片 </el-tab-pane> | ||
107 | </el-tabs> | ||
108 | </div> | ||
109 | </template> | ||
110 | |||
111 | <script> | ||
112 | // import { zsyldatas } from "../../javascript/zsyl.js"; | ||
113 | import { getSlsqBdcqzList } from "@/api/bdcqz.js"; | ||
114 | import { getCertificateList } from "@/api/bdcqz.js"; | ||
115 | import { getSzRecordList } from "@/api/bdcqz.js"; | ||
116 | import { szxxdatas } from "../../javascript/szxxdatapart"; | ||
117 | import { datas } from "../../javascript/fzxxdatapart"; | ||
118 | export default { | ||
119 | name: "zsyl", | ||
120 | props: { | ||
121 | formData: { | ||
122 | type: Object, | ||
123 | default: {}, | ||
124 | }, | ||
125 | }, | ||
126 | data() { | ||
127 | return { | ||
128 | key: 0, | ||
129 | noData: false, | ||
130 | imgSrc: require("@/image/bdcqz/bdcqzs2.jpg"), | ||
131 | bdczmSrc: require("@/image/bdcqz/bdczm.jpg"), | ||
132 | loading: false, | ||
133 | //印刷序列号集合 | ||
134 | ysxlh: [], | ||
135 | //列名称对象 | ||
136 | columns: [], | ||
137 | //选择的不动产权证文件 | ||
138 | bdcqz: "", | ||
139 | //证书打开类型 是否需要展示打印按钮 | ||
140 | isToPrint: false, | ||
141 | //tab切换栏数组 | ||
142 | tabslist: [], | ||
143 | headTabBdcqz: [], | ||
144 | //tab选择绑定值 | ||
145 | activeName: "zsyl", | ||
146 | //证书图片预览 | ||
147 | previewImage: "", | ||
148 | ruleForm: { | ||
149 | bsmBdcqz: "", | ||
150 | szmc: "不动产权证书", | ||
151 | bsmBdcqz: "", | ||
152 | szzh: "", | ||
153 | ysxlh: "", | ||
154 | }, | ||
155 | formdata: {}, | ||
156 | szxxtableData: { | ||
157 | total: 0, | ||
158 | columns: szxxdatas.columns(), | ||
159 | data: [], | ||
160 | }, | ||
161 | tableDatas: { | ||
162 | total: 0, | ||
163 | columns: datas.columns().fzgrid, | ||
164 | data: [], | ||
165 | }, | ||
166 | }; | ||
167 | }, | ||
168 | mounted() { | ||
169 | this.queryClick(); | ||
170 | this.query(); | ||
171 | if (this.formData.bdcqz) { | ||
172 | //从缮证进入 | ||
173 | this.bdcqz = this.formData.bdcqz; | ||
174 | } else { | ||
175 | //从按钮进入 | ||
176 | this.getHeadTabBdcqz(); | ||
177 | } | ||
178 | }, | ||
179 | methods: { | ||
180 | /** | ||
181 | * @description: queryClick | ||
182 | * @author: miaofang | ||
183 | */ | ||
184 | queryClick() { | ||
185 | this.formdata.bsmSlsq = this.formData.bsmSlsq; | ||
186 | getCertificateList(this.formdata).then((res) => { | ||
187 | if (res.code === 200) { | ||
188 | this.tableDatas.data = res.result ? res.result : []; | ||
189 | console.log("this.tableDatas",this.tableDatas); | ||
190 | } | ||
191 | }); | ||
192 | }, | ||
193 | /** | ||
194 | * @description: query | ||
195 | * @author: miaofang | ||
196 | */ | ||
197 | query() { | ||
198 | getSzRecordList({ bsmBdcqz: this.formData.bsmBdcqz }).then((res) => { | ||
199 | if (res.code == 200) { | ||
200 | this.szxxtableData.data = res.result; | ||
201 | this.key++; | ||
202 | } | ||
203 | }); | ||
204 | }, | ||
205 | /** | ||
206 | * @description: 获取证书内容 | ||
207 | * @param {*} code | ||
208 | * @author: miaofang | ||
209 | */ | ||
210 | getRowValue(code) { | ||
211 | var value = this.bdcqz[code]; | ||
212 | return value; | ||
213 | }, | ||
214 | /** | ||
215 | * @description: 获取受理申请下全部不动产权证 | ||
216 | * @author: miaofang | ||
217 | */ | ||
218 | getHeadTabBdcqz() { | ||
219 | console.log("formData", this.formData); | ||
220 | this.loading = true; | ||
221 | getSlsqBdcqzList({ bsmSlsq: this.formData.bsmSlsq }).then((res) => { | ||
222 | if (res.code == 200) { | ||
223 | this.noData = true; | ||
224 | if (res.result && res.result.length > 0) { | ||
225 | console.log("res.resultttttttttttttttttttt", res.result); | ||
226 | this.bdcqz = res.result[0]; | ||
227 | this.headTabBdcqz = res.result; | ||
228 | if (this.bdcqz.bdcqzlx == 1) { | ||
229 | this.drawTextOnImage(); | ||
230 | } else { | ||
231 | this.drawTextzmImage(); | ||
232 | } | ||
233 | } | ||
234 | } | ||
235 | this.loading = false; | ||
236 | }); | ||
237 | }, | ||
238 | /** | ||
239 | * @description: tab表头切换方法 | ||
240 | * @param {*} e | ||
241 | * @author: miaofang | ||
242 | */ | ||
243 | handleClick(tab, event) { | ||
244 | console.log(tab, event); | ||
245 | this.bdcqz = this.headTabBdcqz[0]; | ||
246 | if (this.bdcqz.bdcqzlx == 1) { | ||
247 | this.drawTextOnImage(); | ||
248 | } else { | ||
249 | this.drawTextzmImage(); | ||
250 | } | ||
251 | }, | ||
252 | /** | ||
253 | * @description: 不动产证书 | ||
254 | * @author: miaofang | ||
255 | */ | ||
256 | drawTextOnImage() { | ||
257 | function getByteLen(val) { | ||
258 | var len = 0; | ||
259 | if (!val) return len; | ||
260 | for (var i = 0; i < val.length; i++) { | ||
261 | var length = val.charCodeAt(i); | ||
262 | if (length >= 0 && length <= 128) { | ||
263 | len += 1; | ||
264 | } else { | ||
265 | len += 2; | ||
266 | } | ||
267 | } | ||
268 | return len; | ||
269 | } | ||
270 | const canvas = this.$refs.zs; | ||
271 | const context = canvas.getContext("2d"); | ||
272 | const image = new Image(); | ||
273 | image.onload = () => { | ||
274 | context.drawImage(image, 0, 0); | ||
275 | context.font = "18px 楷体"; | ||
276 | context.fillStyle = "#000000"; | ||
277 | context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : "", 60, 56); | ||
278 | context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : "", 113, 56); | ||
279 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : "", 180, 56); | ||
280 | context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : "", 370, 56); | ||
281 | context.fillText(this.bdcqz.qlr ? this.bdcqz.qlr : "", 129, 97); | ||
282 | context.fillText(this.bdcqz.gyqk ? this.bdcqz.gyqk : "", 129, 136); | ||
283 | |||
284 | this.bdcdyh = | ||
285 | this.bdcqz.bdcdyh.slice(0, 6) + | ||
286 | " " + | ||
287 | this.bdcqz.bdcdyh.slice(6, 12) + | ||
288 | " " + | ||
289 | this.bdcqz.bdcdyh.slice(12, 19) + | ||
290 | " " + | ||
291 | this.bdcqz.bdcdyh.slice(19, this.bdcqz.bdcdyh.length); | ||
292 | context.fillText(this.bdcdyh ? this.bdcdyh : "", 129, 223); | ||
293 | |||
294 | context.fillText(this.bdcqz.qllx ? this.bdcqz.qllx : "", 129, 263); | ||
295 | context.fillText(this.bdcqz.qlxz ? this.bdcqz.qlxz : "", 129, 303); | ||
296 | context.fillText(this.bdcqz.yt ? this.bdcqz.yt : "", 129, 346); | ||
297 | // context.fillText(this.bdcqz.mj ? this.bdcqz.mj : '', 129, 386); | ||
298 | let lines6 = this.bdcqz.mj ? this.bdcqz.mj.split(" ") : []; | ||
299 | if (getByteLen(this.bdcqz.mj) > 41) { | ||
300 | lines6.forEach((line, index) => { | ||
301 | const y = 378 + index * 27; // 每行文本的垂直位置 | ||
302 | let currentLine = ""; | ||
303 | let arr = []; | ||
304 | for (let word of line) { | ||
305 | const testLine = currentLine + word; | ||
306 | const lineWidth = context.measureText(testLine).width; | ||
307 | if (lineWidth <= 330) { | ||
308 | currentLine = testLine; | ||
309 | } else { | ||
310 | arr.push(currentLine); | ||
311 | currentLine = word; | ||
312 | } | ||
313 | } | ||
314 | arr.push(currentLine); | ||
315 | arr.forEach((line, index) => { | ||
316 | context.fillText(line, 129, y + index * 20); // 调整行高 | ||
317 | }); | ||
318 | }); | ||
319 | } else { | ||
320 | lines6.forEach((line, index) => { | ||
321 | const y = 386 + index * 27; // 每行文本的垂直位置 | ||
322 | let currentLine = ""; | ||
323 | let arr = []; | ||
324 | for (let word of line) { | ||
325 | const testLine = currentLine + word; | ||
326 | const lineWidth = context.measureText(testLine).width; | ||
327 | if (lineWidth <= 330) { | ||
328 | currentLine = testLine; | ||
329 | } else { | ||
330 | arr.push(currentLine); | ||
331 | currentLine = word; | ||
332 | } | ||
333 | } | ||
334 | arr.push(currentLine); | ||
335 | arr.forEach((line, index) => { | ||
336 | context.fillText(line, 129, y + index * 20); // 调整行高 | ||
337 | }); | ||
338 | }); | ||
339 | } | ||
340 | // 权利其他状态 | ||
341 | let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split("\n") : []; | ||
342 | for (let i = 0; i < lines.length; i++) { | ||
343 | let num = Math.ceil(getByteLen(lines[i]) / 38); | ||
344 | if (getByteLen(lines[i]) > 38) { | ||
345 | let currentLine = ""; | ||
346 | let arr = []; | ||
347 | for (let word of lines[i]) { | ||
348 | const testLine = currentLine + word; | ||
349 | const lineWidth = context.measureText(testLine).width; | ||
350 | if (lineWidth <= 323) { | ||
351 | currentLine = testLine; | ||
352 | } else { | ||
353 | arr.push(currentLine); | ||
354 | currentLine = word; | ||
355 | } | ||
356 | } | ||
357 | arr.push(currentLine); | ||
358 | if (i > 0) { | ||
359 | arr.forEach((line, index) => { | ||
360 | context.fillText( | ||
361 | line, | ||
362 | 129, | ||
363 | 490 + 26 * (i - 1) + 4 * num + index * 14 | ||
364 | ); // 调整行高 | ||
365 | }); | ||
366 | } else { | ||
367 | arr.forEach((line, index) => { | ||
368 | context.fillText(line, 129, 500 + 26 * (i - 1) + index * 14); // 调整行高 | ||
369 | }); | ||
370 | } | ||
371 | } else { | ||
372 | if (i > 0) { | ||
373 | context.fillText( | ||
374 | lines[i] ? lines[i] : "", | ||
375 | 129, | ||
376 | 500 + 4 * num + 24 * (i - 1) | ||
377 | ); | ||
378 | } else { | ||
379 | context.fillText( | ||
380 | lines[i] ? lines[i] : "", | ||
381 | 129, | ||
382 | 505 + 24 * (i - 1) | ||
383 | ); | ||
384 | } | ||
385 | } | ||
386 | } | ||
387 | |||
388 | let lines1 = this.bdcqz.fj ? this.bdcqz.fj.split("\n") : []; | ||
389 | lines1.forEach((line, index) => { | ||
390 | const y = 100 + index * 30; // 每行文本的垂直位置 | ||
391 | let currentLine = ""; | ||
392 | let arr = []; | ||
393 | for (let word of line) { | ||
394 | const testLine = currentLine + word; | ||
395 | const lineWidth = context.measureText(testLine).width; | ||
396 | if (lineWidth <= 395) { | ||
397 | currentLine = testLine; | ||
398 | } else { | ||
399 | arr.push(currentLine); | ||
400 | currentLine = word; | ||
401 | } | ||
402 | } | ||
403 | arr.push(currentLine); | ||
404 | arr.forEach((line, index) => { | ||
405 | context.fillText(line, 580, y + index * 30); // 调整行高 | ||
406 | }); | ||
407 | }); | ||
408 | let lines3 = this.bdcqz.syqx ? this.bdcqz.syqx.split(" ") : []; | ||
409 | if (getByteLen(this.bdcqz.syqx) > 41) { | ||
410 | lines3.forEach((line, index) => { | ||
411 | const y = 423 + index * 27; // 每行文本的垂直位置 | ||
412 | let currentLine = ""; | ||
413 | let arr = []; | ||
414 | for (let word of line) { | ||
415 | const testLine = currentLine + word; | ||
416 | const lineWidth = context.measureText(testLine).width; | ||
417 | if (lineWidth <= 330) { | ||
418 | currentLine = testLine; | ||
419 | } else { | ||
420 | arr.push(currentLine); | ||
421 | currentLine = word; | ||
422 | } | ||
423 | } | ||
424 | arr.push(currentLine); | ||
425 | arr.forEach((line, index) => { | ||
426 | context.fillText(line, 129, y + index * 20); // 调整行高 | ||
427 | }); | ||
428 | }); | ||
429 | } else { | ||
430 | lines3.forEach((line, index) => { | ||
431 | const y = 430 + index * 27; // 每行文本的垂直位置 | ||
432 | let currentLine = ""; | ||
433 | let arr = []; | ||
434 | for (let word of line) { | ||
435 | const testLine = currentLine + word; | ||
436 | const lineWidth = context.measureText(testLine).width; | ||
437 | if (lineWidth <= 315) { | ||
438 | currentLine = testLine; | ||
439 | } else { | ||
440 | arr.push(currentLine); | ||
441 | currentLine = word; | ||
442 | } | ||
443 | } | ||
444 | arr.push(currentLine); | ||
445 | arr.forEach((line, index) => { | ||
446 | context.fillText(line, 129, y + index * 20); // 调整行高 | ||
447 | }); | ||
448 | }); | ||
449 | } | ||
450 | |||
451 | let lines2 = this.bdcqz.zl ? this.bdcqz.zl.split(" ") : []; | ||
452 | if (getByteLen(this.bdcqz.zl) > 41) { | ||
453 | lines2.forEach((line, index) => { | ||
454 | const y = 170 + index * 20; // 每行文本的垂直位置 | ||
455 | let currentLine = ""; | ||
456 | let arr = []; | ||
457 | for (let word of line) { | ||
458 | const testLine = currentLine + word; | ||
459 | const lineWidth = context.measureText(testLine).width; | ||
460 | if (lineWidth <= 336) { | ||
461 | currentLine = testLine; | ||
462 | } else { | ||
463 | arr.push(currentLine); | ||
464 | currentLine = word; | ||
465 | } | ||
466 | } | ||
467 | arr.push(currentLine); | ||
468 | arr.forEach((line, index) => { | ||
469 | context.fillText(line, 129, y + index * 20); // 调整行高 | ||
470 | }); | ||
471 | }); | ||
472 | } else { | ||
473 | lines2.forEach((line, index) => { | ||
474 | const y = 180 + index * 20; // 每行文本的垂直位置 | ||
475 | let currentLine = ""; | ||
476 | let arr = []; | ||
477 | for (let word of line) { | ||
478 | const testLine = currentLine + word; | ||
479 | const lineWidth = context.measureText(testLine).width; | ||
480 | if (lineWidth <= 336) { | ||
481 | currentLine = testLine; | ||
482 | } else { | ||
483 | arr.push(currentLine); | ||
484 | currentLine = word; | ||
485 | } | ||
486 | } | ||
487 | arr.push(currentLine); | ||
488 | arr.forEach((line, index) => { | ||
489 | context.fillText(line, 129, y + index * 20); // 调整行高 | ||
490 | }); | ||
491 | }); | ||
492 | } | ||
493 | }; | ||
494 | image.src = this.imgSrc; | ||
495 | }, | ||
496 | /** | ||
497 | * @description: 不动产证明 | ||
498 | * @author: miaofang | ||
499 | */ | ||
500 | drawTextzmImage() { | ||
501 | function getByteLen(val) { | ||
502 | var len = 0; | ||
503 | if (!val) return len; | ||
504 | for (var i = 0; i < val.length; i++) { | ||
505 | var length = val.charCodeAt(i); | ||
506 | if (length >= 0 && length <= 128) { | ||
507 | len += 1; | ||
508 | } else { | ||
509 | len += 2; | ||
510 | } | ||
511 | } | ||
512 | return len; | ||
513 | } | ||
514 | |||
515 | const canvas = this.$refs.zm; | ||
516 | const context = canvas.getContext("2d"); | ||
517 | const image = new Image(); | ||
518 | image.onload = () => { | ||
519 | context.drawImage(image, 0, 0); | ||
520 | context.font = "18px 楷体"; | ||
521 | context.fillStyle = "#000000"; | ||
522 | // ysxlh | ||
523 | context.fillText(this.bdcqz.ysxlh ? this.bdcqz.ysxlh : "", 280, 712); | ||
524 | // djsj | ||
525 | if (this.bdcqz.djsj) { | ||
526 | let djsjList = this.bdcqz.djsj.split(" ")[0].split("/"); | ||
527 | context.fillText(djsjList[0] ? djsjList[0] : "", 327, 580); | ||
528 | context.fillText(djsjList[1] ? djsjList[1] : "", 393, 580); | ||
529 | context.fillText(djsjList[2] ? djsjList[2] : "", 443, 580); | ||
530 | } | ||
531 | context.fillText(this.bdcqz.sjjc ? this.bdcqz.sjjc : "", 620, 125); | ||
532 | context.fillText(this.bdcqz.djnd ? this.bdcqz.djnd : "", 665, 125); | ||
533 | context.fillText(this.bdcqz.sxqc ? this.bdcqz.sxqc : "", 750, 125); | ||
534 | context.fillText(this.bdcqz.sxh ? this.bdcqz.sxh : "", 960, 123); | ||
535 | context.fillText( | ||
536 | this.bdcqz.zmqlhsx ? this.bdcqz.zmqlhsx : "", | ||
537 | 775, | ||
538 | 180 | ||
539 | ); | ||
540 | context.fillText(this.bdcqz.qlr ? this.bdcqz.qlr : "", 775, 228); | ||
541 | // 义务人 | ||
542 | context.fillText(this.bdcqz.ywr ? this.bdcqz.ywr : "", 775, 275); | ||
543 | // context.fillText(this.bdcqz.zl ? this.bdcqz.zl : '', 775, 325); | ||
544 | |||
545 | let lines2 = this.bdcqz.zl ? this.bdcqz.zl.split(" ") : []; | ||
546 | if (getByteLen(this.bdcqz.zl) > 41) { | ||
547 | lines2.forEach((line, index) => { | ||
548 | const y = 315 + index * 20; // 每行文本的垂直位置 | ||
549 | let currentLine = ""; | ||
550 | let arr = []; | ||
551 | for (let word of line) { | ||
552 | const testLine = currentLine + word; | ||
553 | const lineWidth = context.measureText(testLine).width; | ||
554 | if (lineWidth <= 295) { | ||
555 | currentLine = testLine; | ||
556 | } else { | ||
557 | arr.push(currentLine); | ||
558 | currentLine = word; | ||
559 | } | ||
560 | } | ||
561 | arr.push(currentLine); | ||
562 | arr.forEach((line, index) => { | ||
563 | context.fillText(line, 775, y + index * 20); // 调整行高 | ||
564 | }); | ||
565 | }); | ||
566 | } else { | ||
567 | lines2.forEach((line, index) => { | ||
568 | const y = 325 + index * 20; // 每行文本的垂直位置 | ||
569 | let currentLine = ""; | ||
570 | let arr = []; | ||
571 | for (let word of line) { | ||
572 | const testLine = currentLine + word; | ||
573 | const lineWidth = context.measureText(testLine).width; | ||
574 | if (lineWidth <= 295) { | ||
575 | currentLine = testLine; | ||
576 | } else { | ||
577 | arr.push(currentLine); | ||
578 | currentLine = word; | ||
579 | } | ||
580 | } | ||
581 | arr.push(currentLine); | ||
582 | arr.forEach((line, index) => { | ||
583 | context.fillText(line, 775, y + index * 20); // 调整行高 | ||
584 | }); | ||
585 | }); | ||
586 | } | ||
587 | |||
588 | // bdcdyh | ||
589 | this.bdcdyh = | ||
590 | this.bdcqz.bdcdyh.slice(0, 6) + | ||
591 | " " + | ||
592 | this.bdcqz.bdcdyh.slice(6, 12) + | ||
593 | " " + | ||
594 | this.bdcqz.bdcdyh.slice(12, 19) + | ||
595 | " " + | ||
596 | this.bdcqz.bdcdyh.slice(19, this.bdcqz.bdcdyh.length); | ||
597 | context.fillText(this.bdcdyh ? this.bdcdyh : "", 775, 373); | ||
598 | // qlqtzk | ||
599 | const maxWidth = 295; // 最大宽度限制 | ||
600 | let lines = this.bdcqz.qlqtzk ? this.bdcqz.qlqtzk.split("\n") : []; | ||
601 | for (let i = 0; i < lines.length; i++) { | ||
602 | let num = Math.ceil(getByteLen(lines[i]) / 37); | ||
603 | if (getByteLen(lines[i]) > 37) { | ||
604 | let currentLine = ""; | ||
605 | let arr = []; | ||
606 | for (let word of lines[i]) { | ||
607 | const testLine = currentLine + word; | ||
608 | const lineWidth = context.measureText(testLine).width; | ||
609 | if (lineWidth <= maxWidth) { | ||
610 | currentLine = testLine; | ||
611 | } else { | ||
612 | arr.push(currentLine); | ||
613 | currentLine = word; | ||
614 | } | ||
615 | } | ||
616 | arr.push(currentLine); | ||
617 | if (i > 0) { | ||
618 | arr.forEach((line, index) => { | ||
619 | context.fillText( | ||
620 | line, | ||
621 | 770, | ||
622 | 428 + 25 * (i - 1) + 5 * num + index * 15 | ||
623 | ); // 调整行高 | ||
624 | }); | ||
625 | } else { | ||
626 | arr.forEach((line, index) => { | ||
627 | context.fillText(line, 770, 435 + 25 * (i - 1) + index * 14); // 调整行高 | ||
628 | }); | ||
629 | } | ||
630 | } else { | ||
631 | if (i > 0) { | ||
632 | context.fillText( | ||
633 | lines[i] ? lines[i] : "", | ||
634 | 770, | ||
635 | 440 + 5 * num + 24 * (i - 1) | ||
636 | ); | ||
637 | } else { | ||
638 | context.fillText( | ||
639 | lines[i] ? lines[i] : "", | ||
640 | 770, | ||
641 | 440 + 24 * (i - 1) | ||
642 | ); | ||
643 | } | ||
644 | } | ||
645 | } | ||
646 | // fj | ||
647 | let lines1 = this.bdcqz.fj ? this.bdcqz.fj.split("\n") : []; | ||
648 | for (let i = 0; i < lines1.length; i++) { | ||
649 | let num = Math.ceil(getByteLen(lines1[i]) / 37); | ||
650 | if (getByteLen(lines1[i]) > 37) { | ||
651 | let currentLine = ""; | ||
652 | let arr = []; | ||
653 | for (let word of lines1[i]) { | ||
654 | const testLine = currentLine + word; | ||
655 | const lineWidth = context.measureText(testLine).width; | ||
656 | if (lineWidth <= maxWidth) { | ||
657 | currentLine = testLine; | ||
658 | } else { | ||
659 | arr.push(currentLine); | ||
660 | currentLine = word; | ||
661 | } | ||
662 | } | ||
663 | arr.push(currentLine); | ||
664 | if (i > 0) { | ||
665 | arr.forEach((line, index) => { | ||
666 | context.fillText( | ||
667 | line, | ||
668 | 770, | ||
669 | 610 + 25 * (i - 1) + 5 * num + index * 15 | ||
670 | ); // 调整行高 | ||
671 | }); | ||
672 | } else { | ||
673 | arr.forEach((line, index) => { | ||
674 | context.fillText(line, 770, 610 + 25 * (i - 1) + index * 15); // 调整行高 | ||
675 | }); | ||
676 | } | ||
677 | } else { | ||
678 | if (i > 0) { | ||
679 | context.fillText( | ||
680 | lines1[i] ? lines1[i] : "", | ||
681 | 770, | ||
682 | 610 + 5 * num + 23 * (i - 1) | ||
683 | ); | ||
684 | } else { | ||
685 | context.fillText( | ||
686 | lines1[i] ? lines1[i] : "", | ||
687 | 770, | ||
688 | 610 + 23 * (i - 1) | ||
689 | ); | ||
690 | } | ||
691 | } | ||
692 | } | ||
693 | }; | ||
694 | |||
695 | image.src = this.bdczmSrc; | ||
696 | }, | ||
697 | }, | ||
698 | computed: { | ||
699 | hdiffHeight() { | ||
700 | return 0; | ||
701 | // return this.headTabBdcqz.length > 1 ? 54 : 0 | ||
702 | }, | ||
703 | }, | ||
704 | }; | ||
705 | </script> | ||
706 | <style scoped lang="scss"> | ||
707 | @import "~@/styles/mixin.scss"; | ||
708 | |||
709 | .imgClass { | ||
710 | display: inline-block; | ||
711 | height: auto; | ||
712 | max-width: 100%; | ||
713 | } | ||
714 | |||
715 | .middle_padding { | ||
716 | padding-bottom: 10px; | ||
717 | } | ||
718 | |||
719 | .zsyl-button { | ||
720 | text-align: center; | ||
721 | margin-top: 20px; | ||
722 | |||
723 | .operation_button { | ||
724 | width: 100px; | ||
725 | border: 1px solid rgb(0, 121, 254); | ||
726 | } | ||
727 | |||
728 | .dy-button { | ||
729 | color: white; | ||
730 | background-color: rgb(0, 121, 254); | ||
731 | } | ||
732 | } | ||
733 | |||
734 | .table-column { | ||
735 | border-spacing: 1px; | ||
736 | width: 100%; | ||
737 | |||
738 | tr td { | ||
739 | border: 1px solid #ccc; | ||
740 | text-align: center; | ||
741 | height: 40px; | ||
742 | padding: 4px; | ||
743 | font-size: 13px; | ||
744 | background: rgb(251, 249, 229); | ||
745 | } | ||
746 | } | ||
747 | |||
748 | .zsyl-title { | ||
749 | background: #fafbe5; | ||
750 | text-align: center; | ||
751 | padding: 5px 0px; | ||
752 | font-size: 20px; | ||
753 | } | ||
754 | |||
755 | .no-data { | ||
756 | font-size: 18px; | ||
757 | display: flex; | ||
758 | text-align: center; | ||
759 | justify-content: center; | ||
760 | } | ||
761 | .el-tab-pane { | ||
762 | width: 1190px; | ||
763 | height: 670px; | ||
764 | overflow-y: auto; | ||
765 | } | ||
766 | .zsys { | ||
767 | width: 1180px; | ||
768 | height: 670px; | ||
769 | } | ||
770 | /deep/.el-table { | ||
771 | height: 100px !important; | ||
772 | } | ||
773 | /deep/.sz { | ||
774 | height: 340px !important; | ||
775 | } | ||
776 | .el-form{ | ||
777 | margin-top: 20px; | ||
778 | } | ||
779 | </style> |
1 | <!-- | 1 | <!-- |
2 | * @Description: workFrame左侧菜单列表-普通 | 2 | * @Description: workFrame左侧菜单列表-普通 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-20 15:46:25 | 4 | * @LastEditTime: 2023-09-22 10:12:37 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
... | @@ -49,8 +49,8 @@ | ... | @@ -49,8 +49,8 @@ |
49 | return { | 49 | return { |
50 | //受理申请标识码 | 50 | //受理申请标识码 |
51 | bsmSlsq: this.$route.query.bsmSlsq, | 51 | bsmSlsq: this.$route.query.bsmSlsq, |
52 | //当前流程所在环节 | ||
53 | bestepid: this.$route.query.bestepid, | 52 | bestepid: this.$route.query.bestepid, |
53 | bsmBusiness: this.$route.query.bsmBusiness, | ||
54 | // 默认选中 | 54 | // 默认选中 |
55 | activeIndex: '0', | 55 | activeIndex: '0', |
56 | // 折叠 | 56 | // 折叠 |
... | @@ -89,14 +89,10 @@ | ... | @@ -89,14 +89,10 @@ |
89 | loadBdcdylist (status = false) { | 89 | loadBdcdylist (status = false) { |
90 | let that = this | 90 | let that = this |
91 | var formdata = new FormData(); | 91 | var formdata = new FormData(); |
92 | formdata.append("bsmSlsq", this.bsmSlsq); | 92 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); |
93 | if (this.$route.query.bestepid) { | 93 | formdata.append("bestepid", this.bestepid ? this.bestepid : ''); |
94 | formdata.append("bestepid", this.bestepid); | 94 | formdata.append("bsmBusiness", this.bsmBusiness ? this.bsmBusiness : ''); |
95 | } | 95 | if (this.type) { |
96 | if (this.$route.query.bsmBusiness) { | ||
97 | formdata.append("bsmBusiness", this.$route.query.bsmBusiness); | ||
98 | } | ||
99 | if (this.$route.query.type == 'jdcx') { | ||
100 | jdcxLeftMenu(formdata).then((res) => { | 96 | jdcxLeftMenu(formdata).then((res) => { |
101 | if (res.code === 200 && res.result) { | 97 | if (res.code === 200 && res.result) { |
102 | that.unitData = res.result; | 98 | that.unitData = res.result; |
... | @@ -186,10 +182,6 @@ | ... | @@ -186,10 +182,6 @@ |
186 | deleteSlbdcdy(formdata).then((res) => { | 182 | deleteSlbdcdy(formdata).then((res) => { |
187 | if (res.code == 200) { | 183 | if (res.code == 200) { |
188 | this.$message.success("删除成功"); | 184 | this.$message.success("删除成功"); |
189 | /** | ||
190 | * @description: 更新列表 | ||
191 | * @author: miaofang | ||
192 | */ | ||
193 | this.loadBdcdylist() | 185 | this.loadBdcdylist() |
194 | // this.$parent.updateDialog(); | 186 | // this.$parent.updateDialog(); |
195 | } else { | 187 | } else { |
... | @@ -223,7 +215,7 @@ | ... | @@ -223,7 +215,7 @@ |
223 | this.$popupDialog("批量删除", "workflow/components/batchDel", { | 215 | this.$popupDialog("批量删除", "workflow/components/batchDel", { |
224 | bsmSlsq: this.bsmSlsq, | 216 | bsmSlsq: this.bsmSlsq, |
225 | dataList: this.unitData, | 217 | dataList: this.unitData, |
226 | }, '50%', true) | 218 | }, '55%', true) |
227 | }, | 219 | }, |
228 | /** | 220 | /** |
229 | * @description: 申请单元点击事件 | 221 | * @description: 申请单元点击事件 | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: workFrame左侧菜单列表-分割 | 2 | * @Description: workFrame左侧菜单列表-分割 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-20 15:33:05 | 4 | * @LastEditTime: 2023-09-21 14:44:34 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> | 7 | <div class="leftmenu" :class="{ 'animation-map-drawer': isShowdrawer }"> |
... | @@ -61,6 +61,9 @@ | ... | @@ -61,6 +61,9 @@ |
61 | export default { | 61 | export default { |
62 | data () { | 62 | data () { |
63 | return { | 63 | return { |
64 | bsmSlsq: this.$route.query.bsmSlsq, | ||
65 | bsmBusiness: this.$route.query.bsmBusiness, | ||
66 | bestepid: this.$route.query.bestepid, | ||
64 | // 变更前单元默认选中 | 67 | // 变更前单元默认选中 |
65 | activeIndex: '0', | 68 | activeIndex: '0', |
66 | // 变更后单元默认选中 | 69 | // 变更后单元默认选中 |
... | @@ -102,11 +105,10 @@ | ... | @@ -102,11 +105,10 @@ |
102 | let that = this | 105 | let that = this |
103 | var formdata = new FormData(); | 106 | var formdata = new FormData(); |
104 | // 受理申请标识码 | 107 | // 受理申请标识码 |
105 | formdata.append("bsmSlsq", this.paramData.bsmSlsq); | 108 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); |
106 | // 当前流程所在环节 | 109 | formdata.append("bsmBusiness", this.bsmBusiness ? this.bsmBusiness : ''); |
107 | formdata.append("bestepid", this.paramData.bestepid); | 110 | formdata.append("bestepid", this.bestepid ? this.bestepid : ''); |
108 | formdata.append("bsmBusiness", this.paramData.bsmBusiness); | 111 | if (this.type) { |
109 | if (this.$route.query.type == 'jdcx') { | ||
110 | jdcxLeftMenu(formdata).then((res) => { | 112 | jdcxLeftMenu(formdata).then((res) => { |
111 | if (res.code === 200 && res.result) { | 113 | if (res.code === 200 && res.result) { |
112 | this.aroundUnitData = res.result.filter(item => item.bglx == '1') | 114 | this.aroundUnitData = res.result.filter(item => item.bglx == '1') |
... | @@ -208,6 +210,7 @@ | ... | @@ -208,6 +210,7 @@ |
208 | * @author: renchao | 210 | * @author: renchao |
209 | */ | 211 | */ |
210 | batchUnitClick () { | 212 | batchUnitClick () { |
213 | window.currentSelect = {} | ||
211 | this.currentSelectProps.batchOperation = true; | 214 | this.currentSelectProps.batchOperation = true; |
212 | // this.activeIndex = "-1"; | 215 | // this.activeIndex = "-1"; |
213 | this.$parent.stepForm(0); | 216 | this.$parent.stepForm(0); | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-01 13:35:05 | 4 | * @LastEditTime: 2023-09-26 16:40:49 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
... | @@ -165,20 +165,37 @@ | ... | @@ -165,20 +165,37 @@ |
165 | * @author: renchao | 165 | * @author: renchao |
166 | */ | 166 | */ |
167 | handleupdateDetail (value) { | 167 | handleupdateDetail (value) { |
168 | let that = this | ||
168 | let arr = this.tableData.map(item => item.zjh) | 169 | let arr = this.tableData.map(item => item.zjh) |
170 | // if (this.isaddupdate) { | ||
171 | // if (!arr.includes(value.zjh)) { | ||
172 | // this.tableDataList[this.tableDataList.length] = _.cloneDeep(value); | ||
173 | // this.$emit('upDateQlrxxList', this.tableDataList) | ||
174 | // } else { | ||
175 | // setTimeout(() => { | ||
176 | // that.$message.error('证件号不能重复') | ||
177 | // }, 1500) | ||
178 | // } | ||
179 | // } else { | ||
180 | // if (!arr.includes(value.zjh) || this.tableData[this.dataIndex].zjh == value.zjh) { | ||
181 | // this.tableDataList[this.dataIndex] = _.cloneDeep(value); | ||
182 | // this.$emit('upDateQlrxxList', this.tableDataList) | ||
183 | // } else { | ||
184 | // setTimeout(() => { | ||
185 | // that.$message.error('证件号不能重复') | ||
186 | // }, 1500) | ||
187 | // } | ||
188 | // } | ||
189 | |||
169 | if (this.isaddupdate) { | 190 | if (this.isaddupdate) { |
170 | if (!arr.includes(value.zjh)) { | 191 | if (!_.isEqual(value, this.tableData)) { |
171 | this.tableDataList[this.tableDataList.length] = _.cloneDeep(value); | 192 | this.tableDataList[this.tableDataList.length] = _.cloneDeep(value); |
172 | this.$emit('upDateQlrxxList', this.tableDataList) | 193 | this.$emit("upDateQlrxxList", this.tableDataList); |
173 | } else { | ||
174 | this.$message.error('证件号不能重复'); | ||
175 | } | 194 | } |
176 | } else { | 195 | } else { |
177 | if (!arr.includes(value.zjh) || this.tableData[this.dataIndex].zjh == value.zjh) { | 196 | if (!_.isEqual(value, this.tableData)) { |
178 | this.tableDataList[this.dataIndex] = _.cloneDeep(value); | 197 | this.tableDataList[this.dataIndex] = _.cloneDeep(value); |
179 | this.$emit('upDateQlrxxList', this.tableDataList) | 198 | this.$emit("upDateQlrxxList", this.tableDataList); |
180 | } else { | ||
181 | this.$message.error('证件号不能重复'); | ||
182 | } | 199 | } |
183 | } | 200 | } |
184 | this.key++ | 201 | this.key++ | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 审批意见 | 2 | * @Description: 审批意见 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-25 09:16:01 | 4 | * @LastEditTime: 2023-10-08 14:48:32 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="spyj loadingtext"> | 7 | <div class="spyj loadingtext"> |
... | @@ -14,8 +14,7 @@ | ... | @@ -14,8 +14,7 @@ |
14 | <el-form | 14 | <el-form |
15 | :model="tableData[index]" | 15 | :model="tableData[index]" |
16 | label-width="120px" | 16 | label-width="120px" |
17 | ref="ruleForm'" | 17 | ref="ruleForm'"> |
18 | > | ||
19 | <div class="spyj_form"> | 18 | <div class="spyj_form"> |
20 | <div class="item_left"> | 19 | <div class="item_left"> |
21 | <div class="right">{{ item.jdmc }}意见</div> | 20 | <div class="right">{{ item.jdmc }}意见</div> |
... | @@ -25,22 +24,18 @@ | ... | @@ -25,22 +24,18 @@ |
25 | <el-col :span="24"> | 24 | <el-col :span="24"> |
26 | <el-form-item | 25 | <el-form-item |
27 | label-width="0" | 26 | label-width="0" |
28 | class="opinion_item" | 27 | class="opinion_item"> |
29 | > | ||
30 | <el-input | 28 | <el-input |
31 | :disabled="!viewEdit || item.show" | 29 | :disabled="!viewEdit || item.show" |
32 | type="textarea" | 30 | type="textarea" |
33 | :rows="4" | 31 | :rows="4" |
34 | class="opinion" | 32 | class="opinion" |
35 | placeholder="请输入审批意见" | 33 | placeholder="请输入审批意见" |
36 | v-model="item.shyj" | 34 | v-model="item.shyj"></el-input> |
37 | ></el-input> | ||
38 | <el-button | 35 | <el-button |
39 | class="opinion_btn" | 36 | class="opinion_btn" |
40 | @click="commonOpinion(index)" | 37 | @click="commonOpinion(index)" |
41 | :disabled="!viewEdit|| item.show" | 38 | :disabled="!viewEdit|| item.show">常用意见</el-button> |
42 | >常用意见</el-button | ||
43 | > | ||
44 | </el-form-item> | 39 | </el-form-item> |
45 | </el-col> | 40 | </el-col> |
46 | </el-row> | 41 | </el-row> |
... | @@ -61,23 +56,21 @@ | ... | @@ -61,23 +56,21 @@ |
61 | </el-form> | 56 | </el-form> |
62 | </div> | 57 | </div> |
63 | <div class="submit_button" v-if="viewEdit"> | 58 | <div class="submit_button" v-if="viewEdit"> |
64 | <el-button type="primary" :disabled="shows" @click="onSubmit()" | 59 | <el-button type="primary" :disabled="shows" @click="onSubmit()">保存</el-button> |
65 | >保存</el-button | ||
66 | > | ||
67 | </div> | 60 | </div> |
68 | </div> | 61 | </div> |
69 | <!-- <el-empty v-if="isNoData" description="暂无数据"></el-empty> --> | 62 | <!-- <el-empty v-if="isNoData" description="暂无数据"></el-empty> --> |
70 | </div> | 63 | </div> |
71 | </template> | 64 | </template> |
72 | <script> | 65 | <script> |
73 | import { saveSpyjBySlsq, getSpyjList } from "@/api/opinion.js"; | 66 | import { saveSpyjBySlsq, getSpyjList } from "@/api/opinion.js"; |
74 | import { mapGetters } from "vuex"; | 67 | import { mapGetters } from "vuex"; |
75 | import { getNewDatesh } from "@/utils/util"; | 68 | import { getNewDatesh } from "@/utils/util"; |
76 | export default { | 69 | export default { |
77 | computed: { | 70 | computed: { |
78 | ...mapGetters(["dqhj", "yjsqOptions", "userInfo"]), | 71 | ...mapGetters(["dqhj", "yjsqOptions", "userInfo"]), |
79 | }, | 72 | }, |
80 | data() { | 73 | data () { |
81 | return { | 74 | return { |
82 | currentindex: 0, | 75 | currentindex: 0, |
83 | refresh: 10, | 76 | refresh: 10, |
... | @@ -92,33 +85,32 @@ export default { | ... | @@ -92,33 +85,32 @@ export default { |
92 | 85 | ||
93 | watch: { | 86 | watch: { |
94 | yjsqOptions: { | 87 | yjsqOptions: { |
95 | handler(val) { | 88 | handler (val) { |
96 | this.add(val.opinion); | 89 | this.add(val.opinion); |
97 | }, | 90 | }, |
98 | deep: true, | 91 | deep: true, |
99 | immediate: true, | 92 | immediate: true, |
100 | }, | 93 | }, |
101 | dqhj: { | 94 | dqhj: { |
102 | handler(val) { | 95 | handler (val) { |
103 | this.propsParam = this.$attrs; | 96 | this.propsParam = this.$attrs; |
104 | this.dataset() | 97 | this.dataset() |
105 | if(this.$parent.dqhj){ | ||
106 | this.getShList(); | 98 | this.getShList(); |
107 | } | 99 | |
108 | }, | 100 | }, |
109 | deep: true, | 101 | deep: true, |
110 | immediate: true, | 102 | immediate: true, |
111 | }, | 103 | }, |
112 | 104 | ||
113 | }, | 105 | }, |
114 | created() {}, | 106 | created () { }, |
115 | methods: { | 107 | methods: { |
116 | /** | 108 | /** |
117 | * @description: dataset | 109 | * @description: dataset |
118 | * @param {*} 数据处理 | 110 | * @param {*} 数据处理 |
119 | * @author: renchao | 111 | * @author: renchao |
120 | */ | 112 | */ |
121 | dataset(){ | 113 | dataset () { |
122 | this.viewEdit = this.$parent.currentSelectTab.ableOperation; | 114 | this.viewEdit = this.$parent.currentSelectTab.ableOperation; |
123 | // switch (this.$parent.dqhj) { | 115 | // switch (this.$parent.dqhj) { |
124 | // case "cs": | 116 | // case "cs": |
... | @@ -140,7 +132,7 @@ export default { | ... | @@ -140,7 +132,7 @@ export default { |
140 | * @param {*} obj | 132 | * @param {*} obj |
141 | * @author: renchao | 133 | * @author: renchao |
142 | */ | 134 | */ |
143 | getShList() { | 135 | getShList () { |
144 | this.$startLoading(); | 136 | this.$startLoading(); |
145 | var formdata = new FormData(); | 137 | var formdata = new FormData(); |
146 | formdata.append("bsmBusiness", this.propsParam.bsmBusiness); | 138 | formdata.append("bsmBusiness", this.propsParam.bsmBusiness); |
... | @@ -195,16 +187,16 @@ export default { | ... | @@ -195,16 +187,16 @@ export default { |
195 | * @description: onSubmit | 187 | * @description: onSubmit |
196 | * @author: renchao | 188 | * @author: renchao |
197 | */ | 189 | */ |
198 | onSubmit() { | 190 | onSubmit () { |
199 | 191 | ||
200 | this.tableData.forEach((item, index) => { | 192 | this.tableData.forEach((item, index) => { |
201 | item["bsmBusiness"] = this.propsParam.bsmBusiness; | 193 | item["bsmBusiness"] = this.propsParam.bsmBusiness; |
202 | item["czjg"] = "1"; | 194 | item["czjg"] = "1"; |
203 | }); | 195 | }); |
204 | var index = this.tableData.findIndex( | 196 | var index = this.tableData.findIndex( |
205 | (item) => item.shyj ==null||item.shyj =="" | 197 | (item) => item.shyj == null || item.shyj == "" |
206 | ); | 198 | ); |
207 | if(index==-1){ | 199 | if (index == -1) { |
208 | this.shows = true; | 200 | this.shows = true; |
209 | saveSpyjBySlsq(this.tableData).then((res) => { | 201 | saveSpyjBySlsq(this.tableData).then((res) => { |
210 | if (res.code === 200) { | 202 | if (res.code === 200) { |
... | @@ -215,7 +207,7 @@ export default { | ... | @@ -215,7 +207,7 @@ export default { |
215 | this.$message.error(res.message); | 207 | this.$message.error(res.message); |
216 | } | 208 | } |
217 | }); | 209 | }); |
218 | }else{ | 210 | } else { |
219 | this.$message.error("意见不能为空"); | 211 | this.$message.error("意见不能为空"); |
220 | } | 212 | } |
221 | 213 | ||
... | @@ -226,7 +218,7 @@ export default { | ... | @@ -226,7 +218,7 @@ export default { |
226 | * @param {*} index | 218 | * @param {*} index |
227 | * @author: renchao | 219 | * @author: renchao |
228 | */ | 220 | */ |
229 | commonOpinion(index) { | 221 | commonOpinion (index) { |
230 | this.currentindex = index; | 222 | this.currentindex = index; |
231 | this.$popupDialog( | 223 | this.$popupDialog( |
232 | "常用意见", | 224 | "常用意见", |
... | @@ -241,22 +233,21 @@ export default { | ... | @@ -241,22 +233,21 @@ export default { |
241 | * @param {*} val | 233 | * @param {*} val |
242 | * @author: renchao | 234 | * @author: renchao |
243 | */ | 235 | */ |
244 | add(val) { | 236 | add (val) { |
245 | if (val != ""&&this.tableData.length>0) { | 237 | if (val != "" && this.tableData.length > 0) { |
246 | this.$set(this.tableData[this.currentindex], "shyj", val); | 238 | this.$set(this.tableData[this.currentindex], "shyj", val); |
247 | } | 239 | } |
248 | }, | 240 | }, |
249 | }, | 241 | }, |
250 | }; | 242 | }; |
251 | </script> | 243 | </script> |
252 | <style scoped lang="scss"> | 244 | <style scoped lang="scss"> |
253 | @import "~@/styles/mixin.scss"; | 245 | @import "~@/styles/mixin.scss"; |
254 | 246 | ||
255 | .spyj { | 247 | .spyj { |
256 | width: 100%; | 248 | width: 100%; |
257 | height: 100%; | 249 | height: 100%; |
258 | background-color: #f5f5f5; | 250 | background-color: #f5f5f5; |
259 | padding: 5px; | ||
260 | .box { | 251 | .box { |
261 | overflow-x: auto; | 252 | overflow-x: auto; |
262 | width: 100%; | 253 | width: 100%; |
... | @@ -361,5 +352,5 @@ export default { | ... | @@ -361,5 +352,5 @@ export default { |
361 | .el-date-editor.el-input { | 352 | .el-date-editor.el-input { |
362 | width: 100%; | 353 | width: 100%; |
363 | } | 354 | } |
364 | } | 355 | } |
365 | </style> | 356 | </style> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:41:45 | 4 | * @LastEditTime: 2023-09-27 08:51:13 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -15,8 +15,10 @@ | ... | @@ -15,8 +15,10 @@ |
15 | placeholder="请输入终止原因" | 15 | placeholder="请输入终止原因" |
16 | type="textarea" | 16 | type="textarea" |
17 | :rows="4"></el-input> | 17 | :rows="4"></el-input> |
18 | <el-button style="float: right" @click="cancelBack">取消</el-button> | 18 | <div style="overflow:hidden;text-align:center;margin-top:10px"> |
19 | <el-button type="primary" @click="onSubmit" style="float: right">退件</el-button> | 19 | <el-button @click="cancelBack">取消</el-button> |
20 | <el-button type="primary" @click="onSubmit">退件</el-button> | ||
21 | </div> | ||
20 | </div> | 22 | </div> |
21 | </template> | 23 | </template> |
22 | 24 | ||
... | @@ -63,7 +65,7 @@ | ... | @@ -63,7 +65,7 @@ |
63 | * @description: closeDialog | 65 | * @description: closeDialog |
64 | * @author: renchao | 66 | * @author: renchao |
65 | */ | 67 | */ |
66 | cancelBack() { | 68 | cancelBack () { |
67 | popupCacel(); | 69 | popupCacel(); |
68 | }, | 70 | }, |
69 | }, | 71 | }, | ... | ... |
... | @@ -104,7 +104,6 @@ export default { | ... | @@ -104,7 +104,6 @@ export default { |
104 | watch: { | 104 | watch: { |
105 | workFresh: { | 105 | workFresh: { |
106 | handler(newVal, oldVal) { | 106 | handler(newVal, oldVal) { |
107 | console.log(newVal, "newVal"); | ||
108 | if (newVal) this.list(); | 107 | if (newVal) this.list(); |
109 | }, | 108 | }, |
110 | }, | 109 | }, |
... | @@ -146,7 +145,7 @@ export default { | ... | @@ -146,7 +145,7 @@ export default { |
146 | "证书证明预览", | 145 | "证书证明预览", |
147 | "workflow/components/dialog/zsyl", | 146 | "workflow/components/dialog/zsyl", |
148 | { bdcqz: item, bsmSlsq: this.$route.query.bsmSlsq }, | 147 | { bdcqz: item, bsmSlsq: this.$route.query.bsmSlsq }, |
149 | "76%", | 148 | '1230px', |
150 | true | 149 | true |
151 | ); | 150 | ); |
152 | } else { | 151 | } else { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-01 13:33:27 | 4 | * @LastEditTime: 2023-09-26 15:45:06 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div> | 7 | <div> |
... | @@ -124,12 +124,6 @@ | ... | @@ -124,12 +124,6 @@ |
124 | let that = this | 124 | let that = this |
125 | this.$nextTick(() => { | 125 | this.$nextTick(() => { |
126 | if (val.length == 0 || !val) { | 126 | if (val.length == 0 || !val) { |
127 | // that.tableDataList = _.cloneDeep([{ | ||
128 | // sqrmc: '', | ||
129 | // dlrzjlx: '', | ||
130 | // dlrzjh: '', | ||
131 | // fr: '' | ||
132 | // }]) | ||
133 | } else { | 127 | } else { |
134 | that.tableDataList = _.cloneDeep(val) | 128 | that.tableDataList = _.cloneDeep(val) |
135 | } | 129 | } |
... | @@ -209,6 +203,7 @@ | ... | @@ -209,6 +203,7 @@ |
209 | * @author: renchao | 203 | * @author: renchao |
210 | */ | 204 | */ |
211 | deleClick (index, row) { | 205 | deleClick (index, row) { |
206 | debugger | ||
212 | this.tableDataList.splice(index, 1) | 207 | this.tableDataList.splice(index, 1) |
213 | this.$emit('upDateQlrxxList', this.tableDataList) | 208 | this.$emit('upDateQlrxxList', this.tableDataList) |
214 | }, | 209 | }, | ... | ... |
1 | /* | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-08-29 12:55:07 | ||
5 | */ | ||
6 | import filter from '@/utils/filter.js' | ||
7 | let vm = null | ||
8 | |||
9 | const sendThis = (_this) => { | ||
10 | vm = _this | ||
11 | } | ||
12 | class data extends filter { | ||
13 | constructor() { | ||
14 | super() | ||
15 | } | ||
16 | columns () { | ||
17 | return { | ||
18 | //发证列表 | ||
19 | fzgrid: [ | ||
20 | { | ||
21 | label: '序号', | ||
22 | type: 'index', | ||
23 | width: '50' | ||
24 | }, | ||
25 | { | ||
26 | prop: "fzrmc", | ||
27 | label: "发证人" | ||
28 | }, | ||
29 | { | ||
30 | prop: "bdcqzlx", | ||
31 | label: "不动产权证类型", | ||
32 | width: '130', | ||
33 | render: (h, scope) => { | ||
34 | return ( | ||
35 | <div> | ||
36 | <span v-show={scope.row.bdcqzlx == '1'}>不动产权证书</span> | ||
37 | <span v-show={scope.row.bdcqzlx == '2'}>不动产登记证明</span> | ||
38 | </div> | ||
39 | ) | ||
40 | } | ||
41 | }, | ||
42 | { | ||
43 | label: "权利类型", | ||
44 | width: '100', | ||
45 | render: (h, scope) => { | ||
46 | return ( | ||
47 | <el-tooltip effect="dark" content={scope.row.qllx} placement="top" popper-class="tooltip-width "> | ||
48 | <span class="ellipsis-table"> {scope.row.qllx}</span> | ||
49 | </el-tooltip> | ||
50 | ) | ||
51 | } | ||
52 | }, | ||
53 | { | ||
54 | label: "面积(㎡)", | ||
55 | width: '100', | ||
56 | render: (h, scope) => { | ||
57 | return ( | ||
58 | <el-tooltip effect="dark" content={scope.row.mj} placement="top" popper-class="tooltip-width "> | ||
59 | <span class="ellipsis-table"> {scope.row.mj}</span> | ||
60 | </el-tooltip> | ||
61 | ) | ||
62 | } | ||
63 | }, | ||
64 | { | ||
65 | prop: "fzsj", | ||
66 | label: "发证时间", | ||
67 | width: '140', | ||
68 | }, | ||
69 | { | ||
70 | prop: "lzrxm", | ||
71 | label: "领证人姓名" | ||
72 | }, | ||
73 | ], | ||
74 | } | ||
75 | } | ||
76 | } | ||
77 | let datas = new data() | ||
78 | export { | ||
79 | datas, | ||
80 | sendThis | ||
81 | } |
... | @@ -16,6 +16,7 @@ class data extends filter { | ... | @@ -16,6 +16,7 @@ class data extends filter { |
16 | columns () { | 16 | columns () { |
17 | return [ | 17 | return [ |
18 | { | 18 | { |
19 | width:"50px", | ||
19 | label: '序号', | 20 | label: '序号', |
20 | type: 'index', | 21 | type: 'index', |
21 | render: (h, scope) => { | 22 | render: (h, scope) => { |
... | @@ -59,8 +60,8 @@ class data extends filter { | ... | @@ -59,8 +60,8 @@ class data extends filter { |
59 | ] | 60 | ] |
60 | } | 61 | } |
61 | } | 62 | } |
62 | let datas = new data() | 63 | let szxxdatas = new data() |
63 | export { | 64 | export { |
64 | datas, | 65 | szxxdatas, |
65 | sendThis | 66 | sendThis |
66 | } | 67 | } | ... | ... |
1 | /* | ||
2 | * @Description: | ||
3 | * @Autor: renchao | ||
4 | * @LastEditTime: 2023-05-17 10:39:03 | ||
5 | */ | ||
6 | import filter from '@/utils/filter.js' | ||
7 | let vm = null | ||
8 | |||
9 | const sendThis = (_this) => { | ||
10 | vm = _this | ||
11 | } | ||
12 | class data extends filter { | ||
13 | constructor() { | ||
14 | super() | ||
15 | } | ||
16 | columns () { | ||
17 | return [ | ||
18 | { | ||
19 | width:"50px", | ||
20 | label: '序号', | ||
21 | type: 'index', | ||
22 | render: (h, scope) => { | ||
23 | return ( | ||
24 | <div> | ||
25 | {scope.$index + 1} | ||
26 | </div> | ||
27 | ) | ||
28 | } | ||
29 | }, | ||
30 | { | ||
31 | prop: "szry", | ||
32 | label: "缮证人员", | ||
33 | }, | ||
34 | { | ||
35 | prop: "szsj", | ||
36 | label: "缮证时间", | ||
37 | }, | ||
38 | { | ||
39 | label: "是否作废", | ||
40 | render: (h, scope) => { | ||
41 | if (scope.row.sfzf == '0') { | ||
42 | return <div>否</div> | ||
43 | } else { | ||
44 | return <div>已作废</div> | ||
45 | } | ||
46 | } | ||
47 | }, | ||
48 | { | ||
49 | prop: "bz", | ||
50 | label: "备注信息", | ||
51 | }, | ||
52 | ] | ||
53 | } | ||
54 | } | ||
55 | let szxxdatas = new data() | ||
56 | export { | ||
57 | szxxdatas, | ||
58 | sendThis | ||
59 | } |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-20 16:56:46 | 4 | * @LastEditTime: 2023-09-25 08:59:56 |
5 | */ | 5 | */ |
6 | import { getPrintTemplateByCode } from "@/api/print"; | 6 | import { getPrintTemplateByCode } from "@/api/print"; |
7 | import { uploadUndo } from "@/api/clxx"; | 7 | import { uploadUndo } from "@/api/clxx"; |
... | @@ -52,7 +52,7 @@ export default { | ... | @@ -52,7 +52,7 @@ export default { |
52 | flowInitParam () { | 52 | flowInitParam () { |
53 | var formdata = new FormData(); | 53 | var formdata = new FormData(); |
54 | formdata.append("bsmSlsq", this.bsmSlsq); | 54 | formdata.append("bsmSlsq", this.bsmSlsq); |
55 | formdata.append("bestepid", this.bestepid); | 55 | formdata.append("bestepid", this.bestepid ? this.bestepid : ''); |
56 | if (this.type) { | 56 | if (this.type) { |
57 | formdata.append("type", "READ_ONLY"); | 57 | formdata.append("type", "READ_ONLY"); |
58 | } | 58 | } |
... | @@ -85,7 +85,7 @@ export default { | ... | @@ -85,7 +85,7 @@ export default { |
85 | }) | 85 | }) |
86 | break; | 86 | break; |
87 | case "B1": | 87 | case "B1": |
88 | getWorkFlowImage(this.bsmSlsq, this.$route.query.bestepid).then(res => { | 88 | getWorkFlowImage(this.bsmSlsq, this.bestepid ? this.bestepid : '').then(res => { |
89 | let { result } = res | 89 | let { result } = res |
90 | this.$popupDialog("流程图", "workflow/components/processViewer", { | 90 | this.$popupDialog("流程图", "workflow/components/processViewer", { |
91 | xml: result.xml, | 91 | xml: result.xml, |
... | @@ -126,7 +126,7 @@ export default { | ... | @@ -126,7 +126,7 @@ export default { |
126 | this.$popupDialog("证书证明预览", "workflow/components/dialog/zsyl", { | 126 | this.$popupDialog("证书证明预览", "workflow/components/dialog/zsyl", { |
127 | bsmSlsq: this.bsmSlsq, | 127 | bsmSlsq: this.bsmSlsq, |
128 | entryType: '1' | 128 | entryType: '1' |
129 | }, '1210px', true) | 129 | }, '1230px', true) |
130 | break; | 130 | break; |
131 | case "B6": | 131 | case "B6": |
132 | //根据编号获取对应信息 | 132 | //根据编号获取对应信息 |
... | @@ -163,8 +163,8 @@ export default { | ... | @@ -163,8 +163,8 @@ export default { |
163 | bsm: res.result[0], | 163 | bsm: res.result[0], |
164 | onlyShow: false, | 164 | onlyShow: false, |
165 | unitData: window.unitData, | 165 | unitData: window.unitData, |
166 | bsmSlsq:this.bsmSlsq, | 166 | bsmSlsq: this.bsmSlsq, |
167 | showSave:true, | 167 | showSave: true, |
168 | djlx: window.djlx | 168 | djlx: window.djlx |
169 | }, '90%', true) | 169 | }, '90%', true) |
170 | } else { | 170 | } else { |
... | @@ -177,8 +177,8 @@ export default { | ... | @@ -177,8 +177,8 @@ export default { |
177 | window.djlx && this.$popupDialog('楼盘表', 'lpb/zjgcdy', { | 177 | window.djlx && this.$popupDialog('楼盘表', 'lpb/zjgcdy', { |
178 | onlyShow: false, | 178 | onlyShow: false, |
179 | unitData: window.unitData, | 179 | unitData: window.unitData, |
180 | bsmSlsq:this.bsmSlsq, | 180 | bsmSlsq: this.bsmSlsq, |
181 | showSave:true, | 181 | showSave: true, |
182 | djlx: window.djlx | 182 | djlx: window.djlx |
183 | }, '90%', true) | 183 | }, '90%', true) |
184 | break; | 184 | break; |
... | @@ -192,13 +192,13 @@ export default { | ... | @@ -192,13 +192,13 @@ export default { |
192 | case "back": //退回按钮 | 192 | case "back": //退回按钮 |
193 | this.$popupDialog("退回", "workflow/components/th", { | 193 | this.$popupDialog("退回", "workflow/components/th", { |
194 | bsmSlsq: this.bsmSlsq, | 194 | bsmSlsq: this.bsmSlsq, |
195 | bestepid: this.bestepid | 195 | bestepid: this.bestepid ? this.bestepid : '' |
196 | }, '800px', true) | 196 | }, '800px', true) |
197 | break; | 197 | break; |
198 | case "transfer": //转件按钮 | 198 | case "transfer": //转件按钮 |
199 | getNextLinkInfo({ | 199 | getNextLinkInfo({ |
200 | bsmSlsq: this.bsmSlsq, | 200 | bsmSlsq: this.bsmSlsq, |
201 | bestepid: this.bestepid, | 201 | bestepid: this.bestepid ? this.bestepid : '' |
202 | }).then((res) => { | 202 | }).then((res) => { |
203 | if (res.code === 200) { | 203 | if (res.code === 200) { |
204 | if (res.result) { | 204 | if (res.result) { |
... | @@ -212,18 +212,18 @@ export default { | ... | @@ -212,18 +212,18 @@ export default { |
212 | case "stop": //终止按钮 | 212 | case "stop": //终止按钮 |
213 | this.$popupDialog("终止", "workflow/components/stop", { | 213 | this.$popupDialog("终止", "workflow/components/stop", { |
214 | bsmSlsq: this.bsmSlsq, | 214 | bsmSlsq: this.bsmSlsq, |
215 | bestepid: this.bestepid, | 215 | bestepid: this.bestepid ? this.bestepid : '' |
216 | }, '600px', true) | 216 | }, '600px', true) |
217 | break; | 217 | break; |
218 | case "signout": | 218 | case "signout": |
219 | window.close(); | 219 | window.close(); |
220 | //取消认领 | 220 | //取消认领 |
221 | unClaimTask(this.bsmSlsq, this.bestepid) | 221 | unClaimTask(this.bsmSlsq, this.bestepid ? this.bestepid : '') |
222 | break; | 222 | break; |
223 | case "B9": | 223 | case "B9": |
224 | var formdata = new FormData(); | 224 | var formdata = new FormData(); |
225 | formdata.append("bsmSlsq", this.bsmSlsq); | 225 | formdata.append("bsmSlsq", this.bsmSlsq); |
226 | formdata.append("bestepid", this.bestepid); | 226 | formdata.append("bestepid", this.bestepid ? this.bestepid : ''); |
227 | this.$confirm("请确认是否登簿", "提示", { | 227 | this.$confirm("请确认是否登簿", "提示", { |
228 | iconClass: "el-icon-info", //自定义图标样式 | 228 | iconClass: "el-icon-info", //自定义图标样式 |
229 | confirmButtonText: "确认", //确认按钮文字更换 | 229 | confirmButtonText: "确认", //确认按钮文字更换 |
... | @@ -265,7 +265,7 @@ export default { | ... | @@ -265,7 +265,7 @@ export default { |
265 | this.$confirm("确定要删除吗, 是否继续?", "提示", { | 265 | this.$confirm("确定要删除吗, 是否继续?", "提示", { |
266 | confirmButtonText: "确定", | 266 | confirmButtonText: "确定", |
267 | cancelButtonText: "取消", | 267 | cancelButtonText: "取消", |
268 | type: "warning", | 268 | type: "warning" |
269 | }) | 269 | }) |
270 | .then(() => { | 270 | .then(() => { |
271 | deleteFlow(formdata).then((res) => { | 271 | deleteFlow(formdata).then((res) => { |
... | @@ -279,14 +279,14 @@ export default { | ... | @@ -279,14 +279,14 @@ export default { |
279 | } else { | 279 | } else { |
280 | this.$message.error(res.message); | 280 | this.$message.error(res.message); |
281 | } | 281 | } |
282 | }); | 282 | }) |
283 | }) | 283 | }) |
284 | .catch(() => { | 284 | .catch(() => { |
285 | this.$message({ | 285 | this.$message({ |
286 | type: "info", | 286 | type: "info", |
287 | message: "已取消删除", | 287 | message: "已取消删除" |
288 | }); | 288 | }) |
289 | }); | 289 | }) |
290 | }, | 290 | }, |
291 | /** | 291 | /** |
292 | * @description: 发送下一个环节 | 292 | * @description: 发送下一个环节 |
... | @@ -337,7 +337,7 @@ export default { | ... | @@ -337,7 +337,7 @@ export default { |
337 | formdata.append("bsmSlsq", this.bsmSlsq); | 337 | formdata.append("bsmSlsq", this.bsmSlsq); |
338 | uploadUndo(formdata).then(res => { | 338 | uploadUndo(formdata).then(res => { |
339 | if (res.code == 200) { | 339 | if (res.code == 200) { |
340 | this.$message.success("导入成功"); | 340 | this.$message.success("导入成功") |
341 | } else { | 341 | } else { |
342 | this.$message.error(res.message) | 342 | this.$message.error(res.message) |
343 | } | 343 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-12 10:52:24 | 4 | * @LastEditTime: 2023-09-21 14:16:39 |
5 | */ | 5 | */ |
6 | import { getForm } from "../flowform"; | 6 | import { getForm } from "../flowform"; |
7 | import { getHomeNoticeList } from "@/api/home.js" | 7 | import { getHomeNoticeList } from "@/api/home.js" |
... | @@ -55,7 +55,7 @@ export default { | ... | @@ -55,7 +55,7 @@ export default { |
55 | break; | 55 | break; |
56 | } | 56 | } |
57 | } | 57 | } |
58 | this.componentTag = getForm(tabname, this.$route.query.sqywbm); | 58 | this.componentTag = getForm(tabname); |
59 | } | 59 | } |
60 | } | 60 | } |
61 | } | 61 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-18 14:52:46 | 4 | * @LastEditTime: 2023-10-08 14:48:23 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="container"> | 7 | <div class="container"> |
... | @@ -178,7 +178,7 @@ | ... | @@ -178,7 +178,7 @@ |
178 | // 获取打印回执数据 | 178 | // 获取打印回执数据 |
179 | var formdata = new FormData(); | 179 | var formdata = new FormData(); |
180 | formdata.append("bsmSldy", this.currentSelectProps.bsmSldy); | 180 | formdata.append("bsmSldy", this.currentSelectProps.bsmSldy); |
181 | formdata.append("bsmSlsq", this.paramData.bsmSlsq); | 181 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); |
182 | formdata.append("djlx", this.currentSelectProps.djlx); | 182 | formdata.append("djlx", this.currentSelectProps.djlx); |
183 | BatchInit(formdata).then((res) => { | 183 | BatchInit(formdata).then((res) => { |
184 | if (res.code === 200 && res.result) { | 184 | if (res.code === 200 && res.result) { |
... | @@ -231,7 +231,7 @@ | ... | @@ -231,7 +231,7 @@ |
231 | //判断是窗口关闭还是刷新 | 231 | //判断是窗口关闭还是刷新 |
232 | if (this._gap_time <= 10) { | 232 | if (this._gap_time <= 10) { |
233 | //取消认领 | 233 | //取消认领 |
234 | unClaimTask(this.paramData.bsmSlsq, this.paramData.bestepid) | 234 | unClaimTask(this.$route.query.bsmSlsq, this.bestepid ? this.bestepid : '') |
235 | } | 235 | } |
236 | }, | 236 | }, |
237 | /** | 237 | /** | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-20 17:30:41 | 4 | * @LastEditTime: 2023-09-21 13:11:04 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="container"> | 7 | <div class="container"> |
... | @@ -18,7 +18,7 @@ | ... | @@ -18,7 +18,7 @@ |
18 | <ul> | 18 | <ul> |
19 | <li @click="operation(item)" v-for="(item, index) in rightButtonList" :key="index"> | 19 | <li @click="operation(item)" v-for="(item, index) in rightButtonList" :key="index"> |
20 | <svg-icon class="icon" :icon-class="item.icon" /> | 20 | <svg-icon class="icon" :icon-class="item.icon" /> |
21 | <span class="iconName">{{ item.name }} {{ item.value }}</span> | 21 | <span class="iconName">{{ item.name }}</span> |
22 | </li> | 22 | </li> |
23 | </ul> | 23 | </ul> |
24 | <NoticeBar class="NoticeBar" :noticeList="noticeList" v-if="noticeList.length > 0" /> | 24 | <NoticeBar class="NoticeBar" :noticeList="noticeList" v-if="noticeList.length > 0" /> |
... | @@ -71,8 +71,6 @@ | ... | @@ -71,8 +71,6 @@ |
71 | return { | 71 | return { |
72 | //受理申请标识码 | 72 | //受理申请标识码 |
73 | bsmSlsq: this.$route.query.bsmSlsq, | 73 | bsmSlsq: this.$route.query.bsmSlsq, |
74 | //当前流程所在环节 | ||
75 | bestepid: this.$route.query.bestepid, | ||
76 | // 流程图 | 74 | // 流程图 |
77 | imgSrc: "", | 75 | imgSrc: "", |
78 | // 折叠 | 76 | // 折叠 | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:42:40 | 4 | * @LastEditTime: 2023-09-25 09:31:27 |
5 | */ | 5 | */ |
6 | export default { | 6 | export default { |
7 | data () { | 7 | data () { |
... | @@ -12,7 +12,6 @@ export default { | ... | @@ -12,7 +12,6 @@ export default { |
12 | } | 12 | } |
13 | }, | 13 | }, |
14 | methods: { | 14 | methods: { |
15 | // 点击高级查询弹出查询弹框 | ||
16 | /** | 15 | /** |
17 | * @description: 点击高级查询弹出查询弹框 | 16 | * @description: 点击高级查询弹出查询弹框 |
18 | * @author: renchao | 17 | * @author: renchao |
... | @@ -21,7 +20,6 @@ export default { | ... | @@ -21,7 +20,6 @@ export default { |
21 | this.isSearch = true | 20 | this.isSearch = true |
22 | 21 | ||
23 | }, | 22 | }, |
24 | // 查询事件 | ||
25 | /** | 23 | /** |
26 | * @description: 查询事件 | 24 | * @description: 查询事件 |
27 | * @param {*} bs | 25 | * @param {*} bs |
... | @@ -36,7 +34,6 @@ export default { | ... | @@ -36,7 +34,6 @@ export default { |
36 | } | 34 | } |
37 | }) | 35 | }) |
38 | }, | 36 | }, |
39 | // 清空单个表单 | ||
40 | /** | 37 | /** |
41 | * @description: 清空单个表单 | 38 | * @description: 清空单个表单 |
42 | * @param {*} el | 39 | * @param {*} el |
... | @@ -62,7 +59,6 @@ export default { | ... | @@ -62,7 +59,6 @@ export default { |
62 | } | 59 | } |
63 | this.searchForm[el] = '' | 60 | this.searchForm[el] = '' |
64 | }, | 61 | }, |
65 | // 删除单个查询条件 | ||
66 | /** | 62 | /** |
67 | * @description: 删除单个查询条件 | 63 | * @description: 删除单个查询条件 |
68 | * @param {*} item | 64 | * @param {*} item |
... | @@ -92,7 +88,8 @@ export default { | ... | @@ -92,7 +88,8 @@ export default { |
92 | iterationData () { | 88 | iterationData () { |
93 | let obj = { | 89 | let obj = { |
94 | ywlymc: '业务来源', qllxmc: '权利类型', djlxmc: '登记类型', ywh: '业务号', sqywmc: '申请业务名称', | 90 | ywlymc: '业务来源', qllxmc: '权利类型', djlxmc: '登记类型', ywh: '业务号', sqywmc: '申请业务名称', |
95 | qlrmc: '权利人', ywrmc: '义务人', slsj: '受理时间' | 91 | bdcdyh: '不动产单元号', |
92 | sqrmc: '申请人', sqrzjhm: '申请人证件号', zl: '坐落' | ||
96 | } | 93 | } |
97 | this.searchList = Object.entries({ ...this.searchForm, ...this.otherForm }).map((item) => { | 94 | this.searchList = Object.entries({ ...this.searchForm, ...this.otherForm }).map((item) => { |
98 | const [name, value] = item | 95 | const [name, value] = item |
... | @@ -109,7 +106,6 @@ export default { | ... | @@ -109,7 +106,6 @@ export default { |
109 | this.iterationData() | 106 | this.iterationData() |
110 | this.queryClick() | 107 | this.queryClick() |
111 | }, | 108 | }, |
112 | // 清空查询条件 | ||
113 | /** | 109 | /** |
114 | * @description: 清空查询条件 | 110 | * @description: 清空查询条件 |
115 | * @author: renchao | 111 | * @author: renchao |
... | @@ -120,7 +116,11 @@ export default { | ... | @@ -120,7 +116,11 @@ export default { |
120 | ywly: "", | 116 | ywly: "", |
121 | qllx: "", | 117 | qllx: "", |
122 | djlx: "", | 118 | djlx: "", |
123 | ywh: "" | 119 | ywh: "", |
120 | bdcdyh: "", | ||
121 | sqrmc: "", | ||
122 | sqrzjhm: "", | ||
123 | zl: "" | ||
124 | } | 124 | } |
125 | this.otherForm = {} | 125 | this.otherForm = {} |
126 | this.searchList = [] | 126 | this.searchList = [] | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-15 16:30:47 | 4 | * @LastEditTime: 2023-09-25 10:33:39 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -221,14 +221,18 @@ | ... | @@ -221,14 +221,18 @@ |
221 | }; | 221 | }; |
222 | }, | 222 | }, |
223 | methods: { | 223 | methods: { |
224 | // 列表渲染接口 | ||
225 | /** | 224 | /** |
226 | * @description: 列表渲染接口 | 225 | * @description: 列表渲染接口 |
227 | * @author: renchao | 226 | * @author: renchao |
228 | */ | 227 | */ |
229 | queryClick () { | 228 | queryClick () { |
230 | this.$startLoading(); | 229 | this.$startLoading(); |
231 | this.searchForm.ywh = this.queryForm.ywh; | 230 | const { ywh, bdcdyh, sqrmc, sqrzjhm, zl } = this.queryForm; |
231 | this.searchForm.ywh = ywh; | ||
232 | this.searchForm.bdcdyh = bdcdyh; | ||
233 | this.searchForm.sqrmc = sqrmc; | ||
234 | this.searchForm.sqrzjhm = sqrzjhm; | ||
235 | this.searchForm.zl = zl; | ||
232 | this.iterationData(); | 236 | this.iterationData(); |
233 | searchTaskToDo({ | 237 | searchTaskToDo({ |
234 | ...this.queryForm, | 238 | ...this.queryForm, |
... | @@ -303,32 +307,20 @@ | ... | @@ -303,32 +307,20 @@ |
303 | //有任务权限 | 307 | //有任务权限 |
304 | if (item.sjlx == "3") { | 308 | if (item.sjlx == "3") { |
305 | const { href } = this.$router.resolve( | 309 | const { href } = this.$router.resolve( |
306 | "/djbworkFrame?bsmSlsq=" + | 310 | "/djbworkFrame?bsmSlsq=" + item.bsmSlsq + |
307 | item.bsmSlsq + | 311 | "&bestepid=" + item.bestepid + |
308 | "&bestepid=" + | 312 | "&zbhj=" + item.zbhj |
309 | item.bestepid + | ||
310 | "&bsmBusiness=" + | ||
311 | "&sqywbm=" + | ||
312 | item.djywbm + | ||
313 | "&zbhj=" + | ||
314 | item.zbhj | ||
315 | ); | 313 | ); |
316 | window.open(href, `djbworkFrame${item.bsmSlsq}`); | 314 | window.open(href, `djbworkFrame${item.bsmSlsq}`); |
317 | } else { | 315 | } else { |
318 | const { href } = this.$router.resolve( | 316 | const { href } = this.$router.resolve( |
319 | "/workFrame?bsmSlsq=" + | 317 | "/workFrame?bsmSlsq=" + item.bsmSlsq + |
320 | item.bsmSlsq + | 318 | "&bestepid=" + item.bestepid + |
321 | "&bestepid=" + | 319 | "&zbhj=" + item.zbhj |
322 | item.bestepid + | 320 | ) |
323 | "&bsmBusiness=" + | 321 | window.open(href, `workFrame${item.bsmSlsq}`) |
324 | "&sqywbm=" + | ||
325 | item.djywbm + | ||
326 | "&zbhj=" + | ||
327 | item.zbhj | ||
328 | ); | ||
329 | window.open(href, `workFrame${item.bsmSlsq}`); | ||
330 | } | 322 | } |
331 | localStorage.setItem("ywbl", JSON.stringify(item)); | 323 | localStorage.setItem("ywbl", JSON.stringify(item)) |
332 | 324 | ||
333 | //从待办箱进入的调取任务领取接口 | 325 | //从待办箱进入的调取任务领取接口 |
334 | claimTask(item.bsmSlsq, item.bestepid); | 326 | claimTask(item.bsmSlsq, item.bestepid); |
... | @@ -341,10 +333,10 @@ | ... | @@ -341,10 +333,10 @@ |
341 | } else { | 333 | } else { |
342 | this.$message.error("用户任务权限判断失败,请联系管理员"); | 334 | this.$message.error("用户任务权限判断失败,请联系管理员"); |
343 | } | 335 | } |
344 | }); | 336 | }) |
345 | }, | 337 | } |
346 | }, | 338 | } |
347 | }; | 339 | } |
348 | </script> | 340 | </script> |
349 | <style scoped lang="scss"> | 341 | <style scoped lang="scss"> |
350 | @import "~@/styles/public.scss"; | 342 | @import "~@/styles/public.scss"; | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-20 17:17:22 | 4 | * @LastEditTime: 2023-09-25 10:58:15 |
5 | */ | 5 | */ |
6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
7 | let vm = null | 7 | let vm = null |
... | @@ -62,7 +62,9 @@ class data extends filter { | ... | @@ -62,7 +62,9 @@ class data extends filter { |
62 | align: 'center', | 62 | align: 'center', |
63 | minWidth: '100', | 63 | minWidth: '100', |
64 | render: (h, scope) => { | 64 | render: (h, scope) => { |
65 | return <el-link type="primary" onClick={() => { vm.ywhClick(scope.row) }}>{scope.row.ywh}</el-link> | 65 | return ( |
66 | <el-link type="primary" onClick={() => { vm.ywhClick(scope.row) }}>{this.joinItem(scope.row.ywh)}</el-link> | ||
67 | ) | ||
66 | } | 68 | } |
67 | }, | 69 | }, |
68 | { | 70 | { |
... | @@ -81,8 +83,8 @@ class data extends filter { | ... | @@ -81,8 +83,8 @@ class data extends filter { |
81 | render: (h, scope) => { | 83 | render: (h, scope) => { |
82 | return ( | 84 | return ( |
83 | <div> | 85 | <div> |
84 | <el-tooltip effect="dark" content={scope.row.qlrmc} placement="top" popper-class="tooltip-width "> | 86 | <el-tooltip effect="dark" content={this.joinItem(scope.row.qlrmc)} placement="top" popper-class="tooltip-width "> |
85 | <span class="ellipsis-table"> {scope.row.qlrmc}</span> | 87 | <span class="ellipsis-table"> {this.joinItem(scope.row.qlrmc)}</span> |
86 | </el-tooltip> | 88 | </el-tooltip> |
87 | </div> | 89 | </div> |
88 | ) | 90 | ) |
... | @@ -94,8 +96,8 @@ class data extends filter { | ... | @@ -94,8 +96,8 @@ class data extends filter { |
94 | render: (h, scope) => { | 96 | render: (h, scope) => { |
95 | return ( | 97 | return ( |
96 | <div> | 98 | <div> |
97 | <el-tooltip effect="dark" content={scope.row.ywrmc} placement="top" popper-class="tooltip-width "> | 99 | <el-tooltip effect="dark" content={this.joinItem(scope.row.ywrmc)} placement="top" popper-class="tooltip-width "> |
98 | <span class="ellipsis-table"> {scope.row.ywrmc}</span> | 100 | <span class="ellipsis-table"> {this.joinItem(scope.row.ywrmc)}</span> |
99 | </el-tooltip> | 101 | </el-tooltip> |
100 | </div> | 102 | </div> |
101 | ) | 103 | ) | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 房屋多幢受理信息 | 2 | * @Description: 房屋多幢受理信息 |
3 | * @Autor: ssq | 3 | * @Autor: ssq |
4 | * @LastEditTime: 2023-09-20 13:39:05 | 4 | * @LastEditTime: 2023-09-25 15:11:12 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -428,6 +428,18 @@ | ... | @@ -428,6 +428,18 @@ |
428 | onSubmit () { | 428 | onSubmit () { |
429 | let that = this; | 429 | let that = this; |
430 | let arr = this.ruleForm.tdytqxList.filter((item) => !item.yt); | 430 | let arr = this.ruleForm.tdytqxList.filter((item) => !item.yt); |
431 | |||
432 | let jzmjArr = this.ruleForm.fdcqxm.filter((item) => { | ||
433 | return item.jzmj && item.jzmj !== ''; | ||
434 | }); | ||
435 | if (jzmjArr.length < this.ruleForm.fdcqxm.length) { | ||
436 | this.$message({ | ||
437 | showClose: true, | ||
438 | message: "请检查房屋多幢明细建筑面积", | ||
439 | type: "error", | ||
440 | }); | ||
441 | return false; | ||
442 | } | ||
431 | if (arr.length > 0) { | 443 | if (arr.length > 0) { |
432 | this.$message({ | 444 | this.$message({ |
433 | showClose: true, | 445 | showClose: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-20 14:27:17 | 4 | * @LastEditTime: 2023-09-26 15:16:04 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -446,6 +446,7 @@ | ... | @@ -446,6 +446,7 @@ |
446 | * @description: saveData | 446 | * @description: saveData |
447 | * @author: renchao | 447 | * @author: renchao |
448 | */ | 448 | */ |
449 | this.$store.dispatch("user/refreshPage", false); | ||
449 | saveData(this.ruleForm).then((res) => { | 450 | saveData(this.ruleForm).then((res) => { |
450 | if (res.code === 200) { | 451 | if (res.code === 200) { |
451 | this.$message({ | 452 | this.$message({ | ... | ... |
... | @@ -96,7 +96,7 @@ | ... | @@ -96,7 +96,7 @@ |
96 | <el-row :gutter="10" v-if="ruleForm.qlxx"> | 96 | <el-row :gutter="10" v-if="ruleForm.qlxx"> |
97 | <el-col :span="8"> | 97 | <el-col :span="8"> |
98 | <el-form-item label="房屋用途:"> | 98 | <el-form-item label="房屋用途:"> |
99 | <el-select v-model="ruleForm.ygdj.ghyt"> | 99 | <el-select v-model="ruleForm.ygdj.ghyt" :disabled="!viewEdit"> |
100 | <el-option | 100 | <el-option |
101 | v-for="item in dictData['A17']" | 101 | v-for="item in dictData['A17']" |
102 | :key="item.dcode" | 102 | :key="item.dcode" |
... | @@ -182,6 +182,7 @@ | ... | @@ -182,6 +182,7 @@ |
182 | <el-col :span="24"> | 182 | <el-col :span="24"> |
183 | <el-form-item label="附记:"> | 183 | <el-form-item label="附记:"> |
184 | <el-input | 184 | <el-input |
185 | :disabled="!viewEdit" | ||
185 | v-model="ruleForm.ygdj.fj" | 186 | v-model="ruleForm.ygdj.fj" |
186 | type="textarea" | 187 | type="textarea" |
187 | maxlength="500" | 188 | maxlength="500" | ... | ... |
... | @@ -121,19 +121,25 @@ | ... | @@ -121,19 +121,25 @@ |
121 | </div> | 121 | </div> |
122 | <el-row :gutter="10"> | 122 | <el-row :gutter="10"> |
123 | <el-col :span="8"> | 123 | <el-col :span="8"> |
124 | <el-form-item label="原不动产证号:"> | 124 | <el-form-item label="原不动产证号:" |
125 | prop="sldy.ybdcqzsh" | ||
126 | :rules="rules.ybdcqzshrules"> | ||
125 | <el-input disabled v-model="ruleForm.sldy.ybdcqzsh"></el-input> | 127 | <el-input disabled v-model="ruleForm.sldy.ybdcqzsh"></el-input> |
126 | </el-form-item> | 128 | </el-form-item> |
127 | </el-col> | 129 | </el-col> |
128 | <el-col :span="8"> | 130 | <el-col :span="8"> |
129 | <el-form-item label="预告登记种类:"> | 131 | <el-form-item label="预告登记种类:" |
132 | prop="ygdj.ygdjzlmc" | ||
133 | :rules="rules.ygdjzlmcrules"> | ||
130 | <el-input disabled v-model="ruleForm.ygdj.ygdjzlmc"></el-input> | 134 | <el-input disabled v-model="ruleForm.ygdj.ygdjzlmc"></el-input> |
131 | </el-form-item> | 135 | </el-form-item> |
132 | </el-col> | 136 | </el-col> |
133 | <el-col :span="8"> | 137 | <el-col :span="8"> |
134 | <el-form-item | 138 | <el-form-item |
135 | label="是否禁止或者限制转让的约定:" | 139 | label="是否禁止或者限制转让的约定:" |
136 | label-width="200px"> | 140 | label-width="200px" |
141 | prop="ygdj.sfczjzhxz" | ||
142 | :rules="rules.sfczjzhxzrules"> | ||
137 | <el-radio-group | 143 | <el-radio-group |
138 | v-model="ruleForm.ygdj.sfczjzhxz" | 144 | v-model="ruleForm.ygdj.sfczjzhxz" |
139 | :disabled="!viewEdit"> | 145 | :disabled="!viewEdit"> |
... | @@ -145,7 +151,9 @@ | ... | @@ -145,7 +151,9 @@ |
145 | </el-row> | 151 | </el-row> |
146 | <el-row :gutter="10"> | 152 | <el-row :gutter="10"> |
147 | <el-col :span="8"> | 153 | <el-col :span="8"> |
148 | <el-form-item label="被担保主债权数额:"> | 154 | <el-form-item label="被担保主债权数额:" |
155 | prop="ygdj.qdjg" | ||
156 | :rules="rules.qdjgrules"> | ||
149 | <div class="flex"> | 157 | <div class="flex"> |
150 | <el-input | 158 | <el-input |
151 | v-model="ruleForm.ygdj.qdjg" | 159 | v-model="ruleForm.ygdj.qdjg" |
... | @@ -164,7 +172,9 @@ | ... | @@ -164,7 +172,9 @@ |
164 | </el-form-item> | 172 | </el-form-item> |
165 | </el-col> | 173 | </el-col> |
166 | <el-col :span="8"> | 174 | <el-col :span="8"> |
167 | <el-form-item label="债务履行起始时间:"> | 175 | <el-form-item label="债务履行起始时间:" |
176 | prop="ygdj.zwlxqssj" | ||
177 | :rules="rules.zwlxqssjrules"> | ||
168 | <el-date-picker | 178 | <el-date-picker |
169 | v-model="ruleForm.ygdj.zwlxqssj" | 179 | v-model="ruleForm.ygdj.zwlxqssj" |
170 | :disabled="!viewEdit" | 180 | :disabled="!viewEdit" |
... | @@ -172,7 +182,9 @@ | ... | @@ -172,7 +182,9 @@ |
172 | </el-form-item> | 182 | </el-form-item> |
173 | </el-col> | 183 | </el-col> |
174 | <el-col :span="8"> | 184 | <el-col :span="8"> |
175 | <el-form-item label="债务履行结束时间:"> | 185 | <el-form-item label="债务履行结束时间:" |
186 | prop="ygdj.zwlxjssj" | ||
187 | :rules="rules.zwlxjssjrules"> | ||
176 | <el-date-picker | 188 | <el-date-picker |
177 | v-model="ruleForm.ygdj.zwlxjssj" | 189 | v-model="ruleForm.ygdj.zwlxjssj" |
178 | :disabled="!viewEdit" | 190 | :disabled="!viewEdit" |
... | @@ -182,10 +194,12 @@ | ... | @@ -182,10 +194,12 @@ |
182 | </el-row> | 194 | </el-row> |
183 | <el-row :gutter="10"> | 195 | <el-row :gutter="10"> |
184 | <el-col :span="24"> | 196 | <el-col :span="24"> |
185 | <el-form-item label="担保范围:"> | 197 | <el-form-item label="担保范围:" |
198 | prop="ygdj.dbfw" | ||
199 | :rules="rules.dbfwrules"> | ||
186 | <el-input | 200 | <el-input |
187 | v-model="ruleForm.ygdj.dbfw" | 201 | v-model="ruleForm.ygdj.dbfw" |
188 | :disabled="ruleForm.sldy.djlx == '300' && !viewEdit"></el-input> | 202 | :disabled="!viewEdit"></el-input> |
189 | </el-form-item> | 203 | </el-form-item> |
190 | </el-col> | 204 | </el-col> |
191 | </el-row> | 205 | </el-row> |
... | @@ -359,7 +373,21 @@ | ... | @@ -359,7 +373,21 @@ |
359 | ruleForm: {}, | 373 | ruleForm: {}, |
360 | //传递参数 | 374 | //传递参数 |
361 | propsParam: this.$attrs, | 375 | propsParam: this.$attrs, |
362 | rules: {} | 376 | rules: { |
377 | ybdcqzshrules: [ | ||
378 | { required: true, message: "原不动产证号", trigger: "blur" }, | ||
379 | ], | ||
380 | ygdjzlmcrules: [ | ||
381 | { required: true, message: "预告登记种类", trigger: "blur" }, | ||
382 | ], | ||
383 | sfczjzhxzrules: [ | ||
384 | { required: true, message: "是否禁止或者限制转让的约定:", trigger: "blur" }, | ||
385 | ], | ||
386 | qdjgrules: [{ required: true, message: "被担保主债权数额", trigger: "blur" }], | ||
387 | zwlxqssjrules: [{ required: true, message: "债务履行起始时间", trigger: "blur" }], | ||
388 | zwlxjssjrules: [{ required: true, message: "债务履行结束时间", trigger: "blur" }], | ||
389 | dbfwrules: [{ required: true, message: "担保范围", trigger: "blur" }], | ||
390 | } | ||
363 | } | 391 | } |
364 | }, | 392 | }, |
365 | methods: { | 393 | methods: { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-19 10:04:58 | 4 | * @LastEditTime: 2023-09-25 11:08:07 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -197,34 +197,46 @@ | ... | @@ -197,34 +197,46 @@ |
197 | qllx: "", | 197 | qllx: "", |
198 | djlx: "", | 198 | djlx: "", |
199 | ywh: "", | 199 | ywh: "", |
200 | bdcdyh: "", | ||
201 | sqrmc: "", | ||
202 | sqrzjhm: "", | ||
203 | zl: "" | ||
200 | }, | 204 | }, |
201 | searchForm: { | 205 | searchForm: { |
202 | ywlymc: "", | 206 | ywlymc: "", |
203 | qllxmc: "", | 207 | qllxmc: "", |
204 | djlxmc: "", | 208 | djlxmc: "", |
205 | ywh: "", | 209 | ywh: "", |
210 | bdcdyh: "", | ||
211 | sqrmc: "", | ||
212 | sqrzjhm: "", | ||
213 | zl: "" | ||
206 | }, | 214 | }, |
207 | tableData: { | 215 | tableData: { |
208 | total: 0, | 216 | total: 0, |
209 | columns: datas.columns(), | 217 | columns: datas.columns(), |
210 | data: [], | 218 | data: [] |
211 | }, | 219 | } |
212 | }; | 220 | } |
213 | }, | 221 | }, |
214 | activated () { | 222 | activated () { |
215 | this.queryClick(); | 223 | this.queryClick(); |
216 | window["getBpageList"] = () => { | 224 | window["getBpageList"] = () => { |
217 | this.queryClick(); | 225 | this.queryClick() |
218 | }; | 226 | } |
219 | }, | 227 | }, |
220 | methods: { | 228 | methods: { |
221 | /** | 229 | /** |
222 | * @description: 列表渲染接口 | 230 | * @description: 列表渲染接口 |
223 | * @author: renchao | ||
224 | */ | 231 | */ |
225 | queryClick () { | 232 | queryClick () { |
226 | this.$startLoading(); | 233 | this.$startLoading(); |
227 | this.searchForm.ywh = this.queryForm.ywh; | 234 | const { ywh, bdcdyh, sqrmc, sqrzjhm, zl } = this.queryForm; |
235 | this.searchForm.ywh = ywh; | ||
236 | this.searchForm.bdcdyh = bdcdyh; | ||
237 | this.searchForm.sqrmc = sqrmc; | ||
238 | this.searchForm.sqrzjhm = sqrzjhm; | ||
239 | this.searchForm.zl = zl; | ||
228 | this.iterationData(); | 240 | this.iterationData(); |
229 | searchTaskDone({ | 241 | searchTaskDone({ |
230 | ...this.queryForm, | 242 | ...this.queryForm, |
... | @@ -264,22 +276,17 @@ | ... | @@ -264,22 +276,17 @@ |
264 | if (item.sjlx == "3") { | 276 | if (item.sjlx == "3") { |
265 | item.djywbm = "DJBBL"; | 277 | item.djywbm = "DJBBL"; |
266 | const { href } = this.$router.resolve( | 278 | const { href } = this.$router.resolve( |
267 | "/djbworkFrameview?bsmSlsq=" + | 279 | "/djbworkFrameview?bsmSlsq=" + item.bsmSlsq + |
268 | item.bsmSlsq + | 280 | "&bestepid=" + item.bestepid + |
269 | "&bestepid=" + | 281 | "&sqywbm=" + item.djywbm |
270 | item.bestepid + | ||
271 | "&sqywbm=" + | ||
272 | item.djywbm | ||
273 | ); | 282 | ); |
274 | window.open(href, `djbworkFrameview${item.bsmSlsq}`); | 283 | window.open(href, `djbworkFrameview${item.bsmSlsq}`); |
275 | } else { | 284 | } else { |
276 | const { href } = this.$router.resolve( | 285 | const { href } = this.$router.resolve( |
277 | "/workFrameView?bsmSlsq=" + | 286 | "/workFrameView?bsmSlsq=" + item.bsmSlsq + |
278 | item.bsmSlsq + | 287 | "&bestepid=" + item.bestepid |
279 | "&bestepid=" + | ||
280 | item.bestepid | ||
281 | ); | 288 | ); |
282 | window.open(href, `workFrameView${item.bsmSlsq}`); | 289 | window.open(href, `workFrameView${item.bsmSlsq}`) |
283 | } | 290 | } |
284 | } | 291 | } |
285 | } | 292 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-18 11:07:59 | 4 | * @LastEditTime: 2023-09-25 10:59:16 |
5 | */ | 5 | */ |
6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
7 | let vm = null | 7 | let vm = null |
... | @@ -56,7 +56,7 @@ class data extends filter { | ... | @@ -56,7 +56,7 @@ class data extends filter { |
56 | label: "业务号", | 56 | label: "业务号", |
57 | width: '100', | 57 | width: '100', |
58 | render: (h, scope) => { | 58 | render: (h, scope) => { |
59 | return <el-link type="primary" onClick={() => { vm.ywhClick(scope.row) }}>{scope.row.ywh}</el-link> | 59 | return <el-link type="primary" onClick={() => { vm.ywhClick(scope.row) }}>{this.joinItem(scope.row.ywh)}</el-link> |
60 | } | 60 | } |
61 | }, | 61 | }, |
62 | { | 62 | { |
... | @@ -70,8 +70,8 @@ class data extends filter { | ... | @@ -70,8 +70,8 @@ class data extends filter { |
70 | render: (h, scope) => { | 70 | render: (h, scope) => { |
71 | return ( | 71 | return ( |
72 | <div> | 72 | <div> |
73 | <el-tooltip effect="dark" content={scope.row.qlrmc} placement="top" popper-class="tooltip-width "> | 73 | <el-tooltip effect="dark" content={this.joinItem(scope.row.qlrmc)} placement="top" popper-class="tooltip-width "> |
74 | <span class="ellipsis-table"> {scope.row.qlrmc}</span> | 74 | <span class="ellipsis-table"> {this.joinItem(scope.row.qlrmc)}</span> |
75 | </el-tooltip> | 75 | </el-tooltip> |
76 | </div> | 76 | </div> |
77 | ) | 77 | ) |
... | @@ -83,8 +83,8 @@ class data extends filter { | ... | @@ -83,8 +83,8 @@ class data extends filter { |
83 | render: (h, scope) => { | 83 | render: (h, scope) => { |
84 | return ( | 84 | return ( |
85 | <div> | 85 | <div> |
86 | <el-tooltip effect="dark" content={scope.row.ywrmc} placement="top" popper-class="tooltip-width"> | 86 | <el-tooltip effect="dark" content={this.joinItem(scope.row.ywrmc)} placement="top" popper-class="tooltip-width"> |
87 | <span class="ellipsis-table"> {scope.row.ywrmc}</span> | 87 | <span class="ellipsis-table"> {this.joinItem(scope.row.ywrmc)}</span> |
88 | </el-tooltip> | 88 | </el-tooltip> |
89 | </div> | 89 | </div> |
90 | ) | 90 | ) | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-16 14:59:46 | 4 | * @LastEditTime: 2023-09-21 10:18:57 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -252,9 +252,9 @@ | ... | @@ -252,9 +252,9 @@ |
252 | this.$popup("登记簿详情", "registerBook/djbFrame", { | 252 | this.$popup("登记簿详情", "registerBook/djbFrame", { |
253 | formData: param | 253 | formData: param |
254 | }) | 254 | }) |
255 | }, | 255 | } |
256 | }, | 256 | } |
257 | }; | 257 | } |
258 | </script> | 258 | </script> |
259 | <style scoped lang="scss"> | 259 | <style scoped lang="scss"> |
260 | @import "~@/styles/mixin.scss"; | 260 | @import "~@/styles/mixin.scss"; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-23 14:54:00 | 4 | * @LastEditTime: 2023-09-21 09:37:44 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 抵押权利信息查询 --> | 7 | <!-- 抵押权利信息查询 --> |
... | @@ -223,9 +223,9 @@ | ... | @@ -223,9 +223,9 @@ |
223 | this.$popup("登记簿详情", "registerBook/djbFrame", { | 223 | this.$popup("登记簿详情", "registerBook/djbFrame", { |
224 | formData: param | 224 | formData: param |
225 | }) | 225 | }) |
226 | }, | 226 | } |
227 | }, | 227 | } |
228 | }; | 228 | } |
229 | </script> | 229 | </script> |
230 | <style scoped lang="scss"> | 230 | <style scoped lang="scss"> |
231 | @import "~@/styles/mixin.scss"; | 231 | @import "~@/styles/mixin.scss"; | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-21 09:05:06 | 4 | * @LastEditTime: 2023-09-25 14:49:14 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -90,7 +90,7 @@ | ... | @@ -90,7 +90,7 @@ |
90 | </el-col> | 90 | </el-col> |
91 | <el-col :span="10" class="btnColRight"> | 91 | <el-col :span="10" class="btnColRight"> |
92 | <el-form-item> | 92 | <el-form-item> |
93 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | 93 | <!-- <el-button type="primary" @click="resetForm(true)">重置</el-button> --> |
94 | <el-button type="primary" @click="handleSearch">查询</el-button> | 94 | <el-button type="primary" @click="handleSearch">查询</el-button> |
95 | </el-form-item> | 95 | </el-form-item> |
96 | </el-col> | 96 | </el-col> |
... | @@ -99,7 +99,7 @@ | ... | @@ -99,7 +99,7 @@ |
99 | </el-form> | 99 | </el-form> |
100 | </div> | 100 | </div> |
101 | <div class="from-clues-content loadingtext"> | 101 | <div class="from-clues-content loadingtext"> |
102 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="300" | 102 | <lb-table ref="table" @row-click="handleRowClick" :page-size="pageData.pageSize" :calcHeight="262" |
103 | :current-page.sync="pageData.currentPage" :total="dztableData.total" @size-change="handleSizeChange" @select="select" | 103 | :current-page.sync="pageData.currentPage" :total="dztableData.total" @size-change="handleSizeChange" @select="select" |
104 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="dztableData.columns" | 104 | @p-current-change="handleCurrentChange" @selection-change="handleSelectionChange" :column="dztableData.columns" |
105 | :data="dztableData.data"> | 105 | :data="dztableData.data"> |
... | @@ -371,7 +371,18 @@ | ... | @@ -371,7 +371,18 @@ |
371 | this.$popup("登记簿详情", "registerBook/djbFrame", { | 371 | this.$popup("登记簿详情", "registerBook/djbFrame", { |
372 | formData: param | 372 | formData: param |
373 | }) | 373 | }) |
374 | } | 374 | }, |
375 | dzlist (row) { | ||
376 | var param = { | ||
377 | bdcdyid: row.bdcdyid, | ||
378 | qllx: row.qllx, | ||
379 | bdcdyh: row.bdcdyh, | ||
380 | bsmQlxx: row.bsmQlxx, | ||
381 | }; | ||
382 | this.$popup("自然幢列表", "registerBook/dzlist", { | ||
383 | formData: param | ||
384 | }) | ||
385 | }, | ||
375 | } | 386 | } |
376 | } | 387 | } |
377 | </script> | 388 | </script> | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-05 09:45:31 | 4 | * @LastEditTime: 2023-09-26 13:44:11 |
5 | */ | 5 | */ |
6 | import Router from '@/router' | 6 | import Router from '@/router' |
7 | export default { | 7 | export default { |
8 | methods: { | 8 | methods: { |
9 | //点击行选中或取消复选框 | ||
10 | /** | 9 | /** |
11 | * @description: 点击行选中或取消复选框 | 10 | * @description: 点击行选中或取消复选框 |
12 | * @param {*} row | ||
13 | * @param {*} column | ||
14 | * @param {*} event | ||
15 | * @author: renchao | 11 | * @author: renchao |
16 | */ | 12 | */ |
17 | handleRowClick (row, column, event) { | 13 | handleRowClick (row, column, event) { |
... | @@ -19,23 +15,16 @@ export default { | ... | @@ -19,23 +15,16 @@ export default { |
19 | }, | 15 | }, |
20 | /** | 16 | /** |
21 | * @description: jump | 17 | * @description: jump |
22 | * @param {*} data | ||
23 | * @param {*} type | ||
24 | * @author: renchao | ||
25 | */ | 18 | */ |
26 | jump (data, type) { | 19 | jump (data, type) { |
27 | const { href } = Router.resolve( | 20 | const { href } = Router.resolve( |
28 | "/djbworkFrame?bsmSlsq=" + | 21 | "/djbworkFrame?bsmSlsq=" + data.bsmSlsq + |
29 | data.bsmSlsq + | 22 | "&bestepid=" + data.bestepid + '&sqywbm=' + type |
30 | "&bestepid=" + | ||
31 | data.bestepid + '&bsmBusiness=' + '&sqywbm=' + type | ||
32 | ); | 23 | ); |
33 | window.open(href, "_blank"); | 24 | window.open(href, "_blank"); |
34 | this.$popupCacel() | ||
35 | }, | 25 | }, |
36 | /** | 26 | /** |
37 | * @description: queryClick | 27 | * @description: queryClick |
38 | * @author: renchao | ||
39 | */ | 28 | */ |
40 | queryClick () { | 29 | queryClick () { |
41 | this.pageData.currentPage = 1 | 30 | this.pageData.currentPage = 1 | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-18 11:30:35 | 4 | * @LastEditTime: 2023-09-21 14:59:02 |
5 | */ | 5 | */ |
6 | import Router from '@/router' | 6 | import Router from '@/router' |
7 | export default { | 7 | export default { |
... | @@ -19,17 +19,13 @@ export default { | ... | @@ -19,17 +19,13 @@ export default { |
19 | }, | 19 | }, |
20 | /** | 20 | /** |
21 | * @description: jump | 21 | * @description: jump |
22 | * @param {*} data | ||
23 | * @param {*} type | ||
24 | * @author: renchao | 22 | * @author: renchao |
25 | */ | 23 | */ |
26 | jump (data, type) { | 24 | jump (data, type) { |
27 | const { href } = Router.resolve( | 25 | const { href } = Router.resolve( |
28 | "/workFrame?bsmSlsq=" + | 26 | "/workFrame?bsmSlsq=" + data.bsmSlsq + |
29 | data.bsmSlsq + | 27 | "&bestepid=" + data.bestepid + "&zbhj=受理" |
30 | "&bestepid=" + | 28 | ) |
31 | data.bestepid + '&bsmBusiness=' + '&sqywbm=' + type + "&zbhj=受理" | ||
32 | ); | ||
33 | window.open(href, "_blank") | 29 | window.open(href, "_blank") |
34 | this.$popupCacel() | 30 | this.$popupCacel() |
35 | }, | 31 | }, | ... | ... |
... | @@ -38,7 +38,6 @@ | ... | @@ -38,7 +38,6 @@ |
38 | </el-col> | 38 | </el-col> |
39 | <el-col :span="3" class="btnColRight"> | 39 | <el-col :span="3" class="btnColRight"> |
40 | <el-form-item> | 40 | <el-form-item> |
41 | <!-- <el-button type="primary" @click="resetForm(true)">重置</el-button> --> | ||
42 | <el-button type="primary" @click="handleSearch">查询</el-button> | 41 | <el-button type="primary" @click="handleSearch">查询</el-button> |
43 | </el-form-item> | 42 | </el-form-item> |
44 | </el-col> | 43 | </el-col> |
... | @@ -67,7 +66,7 @@ | ... | @@ -67,7 +66,7 @@ |
67 | import { datas, sendThis } from "../javascript/selecBdcql.js"; | 66 | import { datas, sendThis } from "../javascript/selecBdcql.js"; |
68 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; | 67 | import { defaultParameters } from "../javascript/publicDefaultPar.js"; |
69 | import { selectQlxx } from "@/api/ywsq.js"; | 68 | import { selectQlxx } from "@/api/ywsq.js"; |
70 | import { startBusinessFlow,startTogetherFlow } from "@/api/workFlow.js"; | 69 | import { startBusinessFlow, startTogetherFlow } from "@/api/workFlow.js"; |
71 | import { getQllxByBsmSqyw } from "@/api/sysSqdjyw.js"; | 70 | import { getQllxByBsmSqyw } from "@/api/sysSqdjyw.js"; |
72 | export default { | 71 | export default { |
73 | mixins: [table, jump], | 72 | mixins: [table, jump], |
... | @@ -127,7 +126,7 @@ | ... | @@ -127,7 +126,7 @@ |
127 | return; | 126 | return; |
128 | } | 127 | } |
129 | this.loading = true; | 128 | this.loading = true; |
130 | if(this.sqywInfo.sqfl=='1'){ | 129 | if (this.sqywInfo.sqfl == '1') { |
131 | startBusinessFlow({ | 130 | startBusinessFlow({ |
132 | bsmSqyw: this.sqywInfo.bsmSqyw, | 131 | bsmSqyw: this.sqywInfo.bsmSqyw, |
133 | bdcdysz: this.bdcdysz, | 132 | bdcdysz: this.bdcdysz, |
... | @@ -155,7 +154,7 @@ | ... | @@ -155,7 +154,7 @@ |
155 | }).catch(() => { | 154 | }).catch(() => { |
156 | this.loading = false | 155 | this.loading = false |
157 | }) | 156 | }) |
158 | }else{ | 157 | } else { |
159 | startTogetherFlow({ | 158 | startTogetherFlow({ |
160 | bsmSqyw: this.sqywInfo.bsmSqyw, | 159 | bsmSqyw: this.sqywInfo.bsmSqyw, |
161 | bdcdysz: this.bdcdysz, | 160 | bdcdysz: this.bdcdysz, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-02 10:03:15 | 4 | * @LastEditTime: 2023-09-26 13:42:02 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
8 | <!-- 表单部分 --> | 8 | <!-- 表单部分 --> |
9 | <div class="from-clues-header"> | 9 | <div class="from-clues-header"> |
10 | <el-form :model="queryForm" ref="queryForm" @submit.native.prevent label-width="70px"> | 10 | <el-form :model="queryForm" ref="queryForm" @submit.native.prevent label-width="100px"> |
11 | <el-row> | 11 | <el-row> |
12 | <el-col :span="10"> | 12 | <el-col :span="8"> |
13 | <el-form-item label="不动产单元号" label-width="105px"> | 13 | <el-form-item label="不动产单元号"> |
14 | <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width100"> | 14 | <el-input placeholder="请输入不动产单元号" maxlength="28" v-model="queryForm.bdcdyh" clearable class="width100"> |
15 | </el-input> | 15 | </el-input> |
16 | </el-form-item> | 16 | </el-form-item> |
17 | </el-col> | 17 | </el-col> |
18 | <el-col :span="10"> | 18 | <el-col :span="8"> |
19 | <el-form-item label="不动产权证号" label-width="105px"> | 19 | <el-form-item label="不动产权证号"> |
20 | <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width100"> | 20 | <el-input placeholder="请输入不动产权证号" v-model="queryForm.bdcqzh" clearable class="width100"> |
21 | </el-input> | 21 | </el-input> |
22 | </el-form-item> | 22 | </el-form-item> |
23 | </el-col> | 23 | </el-col> |
24 | <el-col :span="5"> | 24 | <el-col :span="8"> |
25 | <el-form-item label="业务号"> | 25 | <el-form-item label="业务号"> |
26 | <el-input placeholder="请输入业务号" v-model="queryForm.ywh" clearable class="width100"> | 26 | <el-input placeholder="请输入业务号" v-model="queryForm.ywh" clearable class="width100"> |
27 | </el-input> | 27 | </el-input> |
28 | </el-form-item> | 28 | </el-form-item> |
29 | </el-col> | 29 | </el-col> |
30 | <el-col :span="6"> | 30 | <el-col :span="8"> |
31 | <el-form-item label="坐落"> | 31 | <el-form-item label="坐落"> |
32 | <el-input placeholder="" v-model.trim="queryForm.zl" clearable class="width200px"> | 32 | <el-input placeholder="" v-model.trim="queryForm.zl" clearable class="width100"> |
33 | </el-input> | 33 | </el-input> |
34 | </el-form-item> | 34 | </el-form-item> |
35 | </el-col> | 35 | </el-col> |
36 | <el-col :span="4" class="btnColRight"> | 36 | <el-col :span="16" class="btnColRight"> |
37 | <el-form-item> | 37 | <el-form-item> |
38 | <!-- <el-button type="primary" @click="resetForm(true)">重置</el-button> --> | ||
39 | <el-button type="primary" @click="handleSearch">查询</el-button> | 38 | <el-button type="primary" @click="handleSearch">查询</el-button> |
39 | <el-button type="primary" @click="resetForm(true)">重置</el-button> | ||
40 | </el-form-item> | 40 | </el-form-item> |
41 | </el-col> | 41 | </el-col> |
42 | </el-row> | 42 | </el-row> |
... | @@ -120,16 +120,6 @@ | ... | @@ -120,16 +120,6 @@ |
120 | } | 120 | } |
121 | }); | 121 | }); |
122 | }, | 122 | }, |
123 | // 高级查询 | ||
124 | moreQueryClick () { }, | ||
125 | // openDialog (scroll) { | ||
126 | // this.$popupDialog('登记簿详情', 'registerBook/djbFrame', scroll, '85%'); | ||
127 | // }, | ||
128 | // handleLpbClick (item) { | ||
129 | // this.$popupDialog('楼盘表', 'lpb/index', { | ||
130 | // bsm: '' | ||
131 | // }, '85%') | ||
132 | // }, | ||
133 | /** | 123 | /** |
134 | * @description: ywhClick | 124 | * @description: ywhClick |
135 | * @param {*} item) | 125 | * @param {*} item) |
... | @@ -249,10 +239,8 @@ | ... | @@ -249,10 +239,8 @@ |
249 | bdcdyh: row.bdcdyh, | 239 | bdcdyh: row.bdcdyh, |
250 | bsmQlxx: row.bsmQlxx, | 240 | bsmQlxx: row.bsmQlxx, |
251 | }; | 241 | }; |
252 | this.$popup("登记簿详情", "registerBook/djbFrame", { | 242 | ywPopupDialog("登记簿详情", "registerBook/djbFrame", param, '80%', true) |
253 | formData: param | 243 | } |
254 | }) | ||
255 | }, | ||
256 | } | 244 | } |
257 | } | 245 | } |
258 | </script> | 246 | </script> | ... | ... |
... | @@ -244,7 +244,7 @@ class data extends filter { | ... | @@ -244,7 +244,7 @@ class data extends filter { |
244 | render: (h, scope) => { | 244 | render: (h, scope) => { |
245 | return ( | 245 | return ( |
246 | <div> | 246 | <div> |
247 | <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openBook(scope.row) }}>自然幢</el-button> | 247 | <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.dzlist(scope.row) }}>自然幢</el-button> |
248 | </div> | 248 | </div> |
249 | ) | 249 | ) |
250 | } | 250 | } | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-14 16:59:38 | 4 | * @LastEditTime: 2023-09-21 16:18:47 |
5 | */ | 5 | */ |
6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
7 | let vm = null | 7 | let vm = null |
... | @@ -39,17 +39,6 @@ class data extends filter { | ... | @@ -39,17 +39,6 @@ class data extends filter { |
39 | <div> | 39 | <div> |
40 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a> | 40 | <a style='color:#3498db;' v-show={scope.row.djblzt == 1}>{this.yWstatus(scope.row)}</a> |
41 | <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span> | 41 | <span v-show={scope.row.djblzt != 1}>{this.yWstatus(scope.row)}</span> |
42 | {/* <a style='color:#3498db;' v-show={scope.row.djblzt == 1} >正在办理</a> | ||
43 | <span v-show={scope.row.zjgcdyzt == 1}>,在建工程抵押</span> | ||
44 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
45 | <span v-show={scope.row.ycfzt == 1}>,已预查封</span> | ||
46 | <span v-show={scope.row.cfzt == 1}>,已查封</span> | ||
47 | <span v-show={scope.row.diyizt == 1}>,已地役</span> | ||
48 | <span v-show={scope.row.yyzt == 1}>,异议中</span> | ||
49 | <span v-show={scope.row.xzzt == 1}>,已限制</span> | ||
50 | <span v-show={scope.row.ygmmzt == 1}>,已预告买卖</span> | ||
51 | <span v-show={scope.row.ygdyzt == 1}>,已预告抵押</span> | ||
52 | <span v-show={scope.row.dyzt == 1}>,已抵押</span> */} | ||
53 | </div> | 42 | </div> |
54 | ) | 43 | ) |
55 | } | 44 | } |
... | @@ -72,7 +61,7 @@ class data extends filter { | ... | @@ -72,7 +61,7 @@ class data extends filter { |
72 | label: "权利性质", | 61 | label: "权利性质", |
73 | }, | 62 | }, |
74 | { | 63 | { |
75 | prop: "mj", | 64 | prop: "zdmj", |
76 | label: "面积(㎡)", | 65 | label: "面积(㎡)", |
77 | }, | 66 | }, |
78 | { | 67 | { |
... | @@ -80,7 +69,7 @@ class data extends filter { | ... | @@ -80,7 +69,7 @@ class data extends filter { |
80 | label: "权利设定方式", | 69 | label: "权利设定方式", |
81 | }, | 70 | }, |
82 | { | 71 | { |
83 | prop: "ytmc", | 72 | prop: "showTdyt", |
84 | label: "土地用途", | 73 | label: "土地用途", |
85 | }, | 74 | }, |
86 | { | 75 | { | ... | ... |
1 | /* | 1 | /* |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-04 09:52:38 | 4 | * @LastEditTime: 2023-09-26 09:01:55 |
5 | */ | 5 | */ |
6 | import filter from '@/utils/filter.js' | 6 | import filter from '@/utils/filter.js' |
7 | let vm = null | 7 | let vm = null |
... | @@ -35,6 +35,7 @@ class data extends filter { | ... | @@ -35,6 +35,7 @@ class data extends filter { |
35 | { | 35 | { |
36 | prop: "status", | 36 | prop: "status", |
37 | label: "状态", | 37 | label: "状态", |
38 | minWidth: '130', | ||
38 | render: (h, scope) => { | 39 | render: (h, scope) => { |
39 | return ( | 40 | return ( |
40 | <div> | 41 | <div> |
... | @@ -88,9 +89,15 @@ class data extends filter { | ... | @@ -88,9 +89,15 @@ class data extends filter { |
88 | label: "债务履行期限", | 89 | label: "债务履行期限", |
89 | }, | 90 | }, |
90 | { | 91 | { |
91 | prop: "zl", | ||
92 | label: "坐落", | 92 | label: "坐落", |
93 | minWidth: '130' | 93 | minWidth: '150', |
94 | render: (h, scope) => { | ||
95 | return ( | ||
96 | <el-tooltip effect="dark" content={scope.row.zl} placement="top" popper-class="tooltip-width "> | ||
97 | <span class="ellipsis-table"> {scope.row.zl}</span> | ||
98 | </el-tooltip> | ||
99 | ) | ||
100 | } | ||
94 | }, | 101 | }, |
95 | { | 102 | { |
96 | label: '操作', | 103 | label: '操作', |
... | @@ -98,7 +105,7 @@ class data extends filter { | ... | @@ -98,7 +105,7 @@ class data extends filter { |
98 | render: (h, scope) => { | 105 | render: (h, scope) => { |
99 | return ( | 106 | return ( |
100 | <div> | 107 | <div> |
101 | <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openDialog(scope.row) }}>登记薄</el-button> | 108 | <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openBook(scope.row) }}>登记薄</el-button> |
102 | </div> | 109 | </div> |
103 | ) | 110 | ) |
104 | } | 111 | } | ... | ... |
... | @@ -39,6 +39,7 @@ | ... | @@ -39,6 +39,7 @@ |
39 | */ | 39 | */ |
40 | 40 | ||
41 | loadView (view) { | 41 | loadView (view) { |
42 | console.log(view, 'viewviewview'); | ||
42 | return (r) => | 43 | return (r) => |
43 | require.ensure([], () => r(require(`./components/${view}.vue`))); | 44 | require.ensure([], () => r(require(`./components/${view}.vue`))); |
44 | }, | 45 | }, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-18 11:25:30 | 4 | * @LastEditTime: 2023-09-21 10:39:16 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -184,7 +184,6 @@ | ... | @@ -184,7 +184,6 @@ |
184 | * @author: renchao | 184 | * @author: renchao |
185 | */ | 185 | */ |
186 | handleLpbClick (item) { | 186 | handleLpbClick (item) { |
187 | console.log("item", item); | ||
188 | this.$popup('楼盘表', 'lpb/index', { | 187 | this.$popup('楼盘表', 'lpb/index', { |
189 | width: '85%', | 188 | width: '85%', |
190 | formData: { | 189 | formData: { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-19 10:04:04 | 4 | * @LastEditTime: 2023-09-21 10:35:34 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -150,8 +150,8 @@ | ... | @@ -150,8 +150,8 @@ |
150 | const { href } = this.$router.resolve( | 150 | const { href } = this.$router.resolve( |
151 | "/djbworkFrameview?bsmSlsq=" + | 151 | "/djbworkFrameview?bsmSlsq=" + |
152 | item.bsmSlsq + | 152 | item.bsmSlsq + |
153 | "&bestepid=" + | 153 | "&bsmBusiness=" + |
154 | item.bestepid + | 154 | item.bsmBusiness + |
155 | "&sqywbm=" + | 155 | "&sqywbm=" + |
156 | item.djywbm | 156 | item.djywbm |
157 | ); | 157 | ); |
... | @@ -160,10 +160,10 @@ | ... | @@ -160,10 +160,10 @@ |
160 | const { href } = this.$router.resolve( | 160 | const { href } = this.$router.resolve( |
161 | "/workFrameView?bsmSlsq=" + | 161 | "/workFrameView?bsmSlsq=" + |
162 | item.bsmSlsq + | 162 | item.bsmSlsq + |
163 | "&bestepid=" + | 163 | "&bsmBusiness=" + |
164 | item.bestepid | 164 | item.bsmBusiness |
165 | ); | 165 | ); |
166 | window.open(href, `workFrameView${item.bsmSlsq}`); | 166 | window.open(href, `workFrameView${item.bsmSlsq}`) |
167 | } | 167 | } |
168 | } | 168 | } |
169 | } | 169 | } | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-09-18 14:53:09 | 4 | * @LastEditTime: 2023-09-21 10:41:10 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues"> | 7 | <div class="from-clues"> |
... | @@ -104,11 +104,10 @@ | ... | @@ -104,11 +104,10 @@ |
104 | */ | 104 | */ |
105 | openDialog (item) { | 105 | openDialog (item) { |
106 | bdcqzPreview(item).then(res => { | 106 | bdcqzPreview(item).then(res => { |
107 | this.$popupDialog("证书证明预览", "workflow/components/dialog/zsyl", { | 107 | this.$popupDialog("证书证明预览", "workflow/components/dialog/zsylxq", { |
108 | bsmSlsq: item.bsmSlsq, | 108 | bsmSlsq: item.bsmSlsq, |
109 | bsmBdcqz: item.bsmBdcqz | 109 | bsmBdcqz: item.bsmBdcqz |
110 | }, '1210px', true) | 110 | }, '1230px', true) |
111 | this.$endLoading() | ||
112 | }) | 111 | }) |
113 | }, | 112 | }, |
114 | /** | 113 | /** |
... | @@ -117,8 +116,26 @@ | ... | @@ -117,8 +116,26 @@ |
117 | * @author: renchao | 116 | * @author: renchao |
118 | */ | 117 | */ |
119 | openYwDialog (item) { | 118 | openYwDialog (item) { |
120 | const { href } = this.$router.resolve('/workFrameView?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + item.bsmBusiness + '&viewtype=3' + '&type=jdcx') | 119 | if (item.sjlx == "3") { |
121 | window.open(href, `urlname${item.bsmSlsq}`) | 120 | item.djywbm = "DJBBL"; |
121 | const { href } = this.$router.resolve( | ||
122 | "/djbworkFrameview?bsmSlsq=" + | ||
123 | item.bsmSlsq + | ||
124 | "&bsmBusiness=" + | ||
125 | item.bsmBusiness + | ||
126 | "&sqywbm=" + | ||
127 | item.djywbm | ||
128 | ); | ||
129 | window.open(href, `djbworkFrameview${item.bsmSlsq}`); | ||
130 | } else { | ||
131 | const { href } = this.$router.resolve( | ||
132 | "/workFrameView?bsmSlsq=" + | ||
133 | item.bsmSlsq + | ||
134 | "&bsmBusiness=" + | ||
135 | item.bsmBusiness | ||
136 | ); | ||
137 | window.open(href, `workFrameView${item.bsmSlsq}`) | ||
138 | } | ||
122 | } | 139 | } |
123 | } | 140 | } |
124 | } | 141 | } | ... | ... |
-
Please register or sign in to post a comment