style:字典
Showing
7 changed files
with
18 additions
and
16 deletions
... | @@ -87,7 +87,7 @@ | ... | @@ -87,7 +87,7 @@ |
87 | <p class="label-detail">(MJDW)</p> | 87 | <p class="label-detail">(MJDW)</p> |
88 | </span> | 88 | </span> |
89 | <el-select :disabled="$store.state.business.Edit" v-model="ruleForm.MJDW" placeholder="面积单位"> | 89 | <el-select :disabled="$store.state.business.Edit" v-model="ruleForm.MJDW" placeholder="面积单位"> |
90 | <el-option v-for="item in dictData['A7']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | 90 | <el-option v-for="item in dicData['A7']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> |
91 | </el-option> | 91 | </el-option> |
92 | </el-select> | 92 | </el-select> |
93 | </el-form-item> | 93 | </el-form-item> |
... | @@ -317,7 +317,7 @@ | ... | @@ -317,7 +317,7 @@ |
317 | <p class="label-detail">(ZT)</p> | 317 | <p class="label-detail">(ZT)</p> |
318 | </span> | 318 | </span> |
319 | <el-select :disabled="$store.state.business.Edit" v-model="ruleForm.ZT" placeholder="状态"> | 319 | <el-select :disabled="$store.state.business.Edit" v-model="ruleForm.ZT" placeholder="状态"> |
320 | <el-option v-for="item in dictData['A11']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> | 320 | <el-option v-for="item in dicData['A11']" :key="item.DCODE" :label="item.DNAME" :value="item.DCODE"> |
321 | </el-option> | 321 | </el-option> |
322 | </el-select> | 322 | </el-select> |
323 | </el-form-item> | 323 | </el-form-item> |
... | @@ -418,7 +418,7 @@ | ... | @@ -418,7 +418,7 @@ |
418 | </el-form-item> | 418 | </el-form-item> |
419 | </el-col> | 419 | </el-col> |
420 | 420 | ||
421 | <el-col :span="8"> | 421 | span="8"> |
422 | <el-form-item prop="ZH"> | 422 | <el-form-item prop="ZH"> |
423 | <span slot="label"> | 423 | <span slot="label"> |
424 | 组: <br /> | 424 | 组: <br /> |
... | @@ -500,7 +500,6 @@ export default { | ... | @@ -500,7 +500,6 @@ export default { |
500 | try { | 500 | try { |
501 | let { result: res } = await business.kttZdjbxxDetail(this.bsmSjsb) | 501 | let { result: res } = await business.kttZdjbxxDetail(this.bsmSjsb) |
502 | this.ruleForm = res | 502 | this.ruleForm = res |
503 | this.featchRule() | ||
504 | } catch (error) { | 503 | } catch (error) { |
505 | this.$refs.msg.messageShow() | 504 | this.$refs.msg.messageShow() |
506 | } | 505 | } | ... | ... |
1 | <template> | 1 | <template> |
2 | <!-- 编辑 --> | 2 | <!-- 编辑 --> |
3 | <el-dialog :close-on-click-modal="false" top="0" custom-class="dialogBox editDialogBox mainCenter" | 3 | <el-dialog :close-on-click-modal="false" top="0" custom-class="dialogBox editDialogBox mainCenter" |
4 | :visible.sync="dialogVisible" width="75%"> | 4 | :visible.sync="dialogVisible" width="80%"> |
5 | <div slot="title" class="dialog_title" ref="dialogTitle"> | 5 | <div slot="title" class="dialog_title" ref="dialogTitle"> |
6 | <b>{{ title || '标题' }}</b> | 6 | <b>{{ title || '标题' }}</b> |
7 | </div> | 7 | </div> |
... | @@ -90,7 +90,8 @@ | ... | @@ -90,7 +90,8 @@ |
90 | </el-tab-pane> | 90 | </el-tab-pane> |
91 | </el-tabs> | 91 | </el-tabs> |
92 | <div class="edit-content"> | 92 | <div class="edit-content"> |
93 | <component :is="editItem" ref="editItem" :class="{ 'editForm': $store.state.business.Edit }" :bsmYwsjb="bsmYwsjb" :bsmSjsb="dataReport.bizmsgid"/> | 93 | <component :is="editItem" ref="editItem" :class="{ 'editForm': $store.state.business.Edit }" :bsmYwsjb="bsmYwsjb" |
94 | :bsmSjsb="dataReport.bizmsgid" /> | ||
94 | </div> | 95 | </div> |
95 | <div slot="footer" class="dialog_footer" ref="dialogFooter"> | 96 | <div slot="footer" class="dialog_footer" ref="dialogFooter"> |
96 | <div class="dialog_button"> | 97 | <div class="dialog_button"> |
... | @@ -152,8 +153,8 @@ export default { | ... | @@ -152,8 +153,8 @@ export default { |
152 | this.dataReport = item; | 153 | this.dataReport = item; |
153 | this.dialogVisible = true | 154 | this.dialogVisible = true |
154 | //获取表头列表 | 155 | //获取表头列表 |
155 | getDetail({bizmsgid: this.dataReport.bizmsgid}).then(res => { | 156 | getDetail({ bizmsgid: this.dataReport.bizmsgid }).then(res => { |
156 | if(res.code == 200){ | 157 | if (res.code == 200) { |
157 | this.headerList = res.result | 158 | this.headerList = res.result |
158 | } | 159 | } |
159 | }) | 160 | }) | ... | ... |
... | @@ -10,7 +10,7 @@ const getters = { | ... | @@ -10,7 +10,7 @@ const getters = { |
10 | addRoutes: state => state.permission.addRoutes, | 10 | addRoutes: state => state.permission.addRoutes, |
11 | // business | 11 | // business |
12 | rules: state => state.business.rules, | 12 | rules: state => state.business.rules, |
13 | dictData: state => state.dict.dictData, | 13 | dicData: state => state.dict.dicData, |
14 | Edit: state => state.business.Edit, | 14 | Edit: state => state.business.Edit, |
15 | businessInfo: state => state.dictionaries.businessInfo | 15 | businessInfo: state => state.dictionaries.businessInfo |
16 | } | 16 | } | ... | ... |
1 | import { getAllDict } from '@/api/user' | 1 | import { getAllDict } from '@/api/user' |
2 | const state = { | 2 | const state = { |
3 | dictData: {}, | 3 | dicData: {}, |
4 | addDict: false, | 4 | addDict: false, |
5 | } | 5 | } |
6 | 6 | ||
7 | const mutations = { | 7 | const mutations = { |
8 | SET_DATA: (state, data) => { | 8 | SET_DATA: (state, data) => { |
9 | state.addDict = true | 9 | state.addDict = true |
10 | state.dictData = data | 10 | state.dicData = data |
11 | }, | 11 | }, |
12 | RESET_DICT: (state) => { | 12 | RESET_DICT: (state) => { |
13 | state.addDict = false | 13 | state.addDict = false | ... | ... |
... | @@ -362,11 +362,13 @@ aside { | ... | @@ -362,11 +362,13 @@ aside { |
362 | position: absolute; | 362 | position: absolute; |
363 | content: ''; | 363 | content: ''; |
364 | display: block; | 364 | display: block; |
365 | width: 5px; | 365 | width: 8px; |
366 | height: 5px; | 366 | height: 8px; |
367 | left: -15px; | ||
368 | top: 5px; | ||
367 | background: #00FAA8; | 369 | background: #00FAA8; |
368 | border-radius: 50%; | 370 | border-radius: 50%; |
369 | margin-right: 6px; | 371 | border: 5px solid rgba(0, 250, 168, 0.3); |
370 | } | 372 | } |
371 | 373 | ||
372 | //错误日志样式 后期超优化 | 374 | //错误日志样式 后期超优化 | ... | ... |
-
Please register or sign in to post a comment