style:受理信息
Showing
2 changed files
with
12 additions
and
80 deletions
... | @@ -97,7 +97,7 @@ loadingDirective.install = Vue => { | ... | @@ -97,7 +97,7 @@ loadingDirective.install = Vue => { |
97 | const mask = new Mask({ | 97 | const mask = new Mask({ |
98 | el: document.createElement('div'), | 98 | el: document.createElement('div'), |
99 | data: { | 99 | data: { |
100 | text: vm && vm[textExr] || textExr, | 100 | text: vm && vm[textExr] || textExr || '正在加载中...', |
101 | spinner: vm && vm[spinnerExr] || spinnerExr, | 101 | spinner: vm && vm[spinnerExr] || spinnerExr, |
102 | background: vm && vm[backgroundExr] || backgroundExr, | 102 | background: vm && vm[backgroundExr] || backgroundExr, |
103 | customClass: vm && vm[customClassExr] || customClassExr, | 103 | customClass: vm && vm[customClassExr] || customClassExr, | ... | ... |
1 | <template> | 1 | <template> |
2 | <!-- 受理信息 --> | 2 | <!-- 受理信息 --> |
3 | <div class="slxx"> | 3 | <div class="slxx"> |
4 | <el-form :model="ruleForm" :rules="rules" class="loadingtext" ref="ruleForm" :label-position="flag ? 'top' : ''" :inline="flag" | 4 | <el-form :model="ruleForm" :rules="rules" v-Loading="loading" ref="ruleForm" :label-position="flag ? 'top' : ''" |
5 | label-width="120px"> | 5 | :inline="flag" label-width="120px"> |
6 | <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> | 6 | <div class="slxx_con" :class="flag ? 'formMarginBot0' : ''"> |
7 | <div class="slxx_title title-block"> | 7 | <div class="slxx_title title-block"> |
8 | 受理信息 | 8 | 受理信息 |
... | @@ -184,17 +184,20 @@ import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; | ... | @@ -184,17 +184,20 @@ import qlrCommonTable from "@/views/workflow/components/qlrCommonTable"; |
184 | import { Init, saveData } from "@/api/workflow/ygdyFlow.js"; | 184 | import { Init, saveData } from "@/api/workflow/ygdyFlow.js"; |
185 | import { mapGetters } from "vuex"; | 185 | import { mapGetters } from "vuex"; |
186 | export default { | 186 | export default { |
187 | mounted () { | 187 | created () { |
188 | this.propsParam = this.$attrs; | 188 | this.propsParam = this.$attrs; |
189 | var formdata = new FormData(); | 189 | var formdata = new FormData(); |
190 | this.$startLoading(); | 190 | let that = this |
191 | this.loading = true | ||
191 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 192 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
192 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); | 193 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); |
193 | formdata.append("djlx", this.propsParam.djlx); | 194 | formdata.append("djlx", this.propsParam.djlx); |
194 | Init(formdata).then((res) => { | 195 | Init(formdata).then((res) => { |
195 | if (res.code === 200 && res.result) { | 196 | if (res.code === 200 && res.result) { |
196 | this.$endLoading(); | 197 | that.ruleForm = res.result; |
197 | this.ruleForm = res.result; | 198 | setTimeout(() => { |
199 | that.loading = false | ||
200 | }, 300) | ||
198 | } | 201 | } |
199 | }); | 202 | }); |
200 | }, | 203 | }, |
... | @@ -204,6 +207,7 @@ export default { | ... | @@ -204,6 +207,7 @@ export default { |
204 | }, | 207 | }, |
205 | data () { | 208 | data () { |
206 | return { | 209 | return { |
210 | loading: false, | ||
207 | disabled: true, | 211 | disabled: true, |
208 | tdytOption: [], | 212 | tdytOption: [], |
209 | czrOptions: [], | 213 | czrOptions: [], |
... | @@ -222,7 +226,6 @@ export default { | ... | @@ -222,7 +226,6 @@ export default { |
222 | upDateYwrxxList (val) { | 226 | upDateYwrxxList (val) { |
223 | this.ruleForm.ywrList = _.cloneDeep(val); | 227 | this.ruleForm.ywrList = _.cloneDeep(val); |
224 | }, | 228 | }, |
225 | |||
226 | onSubmit () { | 229 | onSubmit () { |
227 | saveData(this.ruleForm).then((res) => { | 230 | saveData(this.ruleForm).then((res) => { |
228 | if (res.code === 200) { | 231 | if (res.code === 200) { |
... | @@ -245,76 +248,5 @@ export default { | ... | @@ -245,76 +248,5 @@ export default { |
245 | </script> | 248 | </script> |
246 | <style scoped lang='scss'> | 249 | <style scoped lang='scss'> |
247 | @import "~@/styles/public.scss"; | 250 | @import "~@/styles/public.scss"; |
248 | 251 | @import "~@/styles/slxx/slxx.scss"; | |
249 | /deep/.el-form { | ||
250 | display: flex; | ||
251 | flex-direction: column; | ||
252 | height: calc(100vh - 130px); | ||
253 | } | ||
254 | |||
255 | /deep/.el-form-item__label { | ||
256 | padding: 0; | ||
257 | } | ||
258 | |||
259 | /deep/.el-radio { | ||
260 | margin-right: 10px; | ||
261 | } | ||
262 | |||
263 | /deep/.el-select { | ||
264 | width: 100%; | ||
265 | } | ||
266 | |||
267 | /deep/.el-form-item { | ||
268 | margin-bottom: 8px; | ||
269 | } | ||
270 | |||
271 | .marginBot0 { | ||
272 | margin-bottom: 0 !important; | ||
273 | } | ||
274 | |||
275 | .slxx { | ||
276 | box-sizing: border-box; | ||
277 | } | ||
278 | |||
279 | .slxx_con { | ||
280 | flex: 1; | ||
281 | height: 100%; | ||
282 | background-color: #ffffff; | ||
283 | overflow-y: auto; | ||
284 | padding-right: 3px; | ||
285 | overflow-x: hidden; | ||
286 | } | ||
287 | |||
288 | .submit_btn { | ||
289 | height: 50px; | ||
290 | } | ||
291 | |||
292 | .slxx_title { | ||
293 | border-bottom: 1px solid $borderColor; | ||
294 | padding-left: 10px; | ||
295 | padding-bottom: 5px; | ||
296 | margin-bottom: 10px; | ||
297 | margin-top: 5px; | ||
298 | font-size: 16px; | ||
299 | font-weight: 500; | ||
300 | color: #4a4a4a; | ||
301 | } | ||
302 | |||
303 | .btn { | ||
304 | text-align: center; | ||
305 | padding-top: 10px; | ||
306 | height: 36px; | ||
307 | background-color: #ffffff; | ||
308 | padding: 5px 0; | ||
309 | } | ||
310 | |||
311 | .textArea { | ||
312 | /deep/.el-textarea__inner { | ||
313 | min-height: 90px !important; | ||
314 | } | ||
315 | } | ||
316 | |||
317 | /deep/.el-form-item__label { | ||
318 | padding-bottom: 0px; | ||
319 | } | ||
320 | </style> | 252 | </style> | ... | ... |
-
Please register or sign in to post a comment