style:弹框样式修改
Showing
3 changed files
with
9 additions
and
4 deletions
| 1 | <template> | 1 | <template> |
| 2 | <!-- 编辑 --> | 2 | <!-- 编辑 --> |
| 3 | <el-dialog :close-on-click-modal="false" custom-class="dialogBox editDialogBox" :visible.sync="dialogVisible" | 3 | <el-dialog :close-on-click-modal="false" top="0" custom-class="dialogBox editDialogBox mainCenter" |
| 4 | width="75%"> | 4 | :visible.sync="dialogVisible" width="75%"> |
| 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> |
| ... | @@ -92,7 +92,7 @@ | ... | @@ -92,7 +92,7 @@ |
| 92 | <el-button type="primary" plain @click="submitForm" v-if="!Edit" :loading="saveloding" | 92 | <el-button type="primary" plain @click="submitForm" v-if="!Edit" :loading="saveloding" |
| 93 | :disabled="JSON.stringify(this.$store.state.business.rules) === '{}'">确定 | 93 | :disabled="JSON.stringify(this.$store.state.business.rules) === '{}'">确定 |
| 94 | </el-button> | 94 | </el-button> |
| 95 | <el-button @click="closeDialog()">关闭</el-button> | 95 | n @click="closeDialog()">关闭</el-button> |
| 96 | </div> | 96 | </div> |
| 97 | </div> | 97 | </div> |
| 98 | </el-dialog> | 98 | </el-dialog> | ... | ... |
| ... | @@ -33,7 +33,7 @@ import './image/icons' // icon | ... | @@ -33,7 +33,7 @@ import './image/icons' // icon |
| 33 | import store from './store' | 33 | import store from './store' |
| 34 | import router from './router' | 34 | import router from './router' |
| 35 | import _ from 'lodash' | 35 | import _ from 'lodash' |
| 36 | import './permission' // permission control | 36 | // import './permission' // permission control |
| 37 | Vue.use(Element, { size: 'small', zIndex: 1000 }) | 37 | Vue.use(Element, { size: 'small', zIndex: 1000 }) |
| 38 | Vue.use(Base) | 38 | Vue.use(Base) |
| 39 | Vue.component('icon', Icon); | 39 | Vue.component('icon', Icon); | ... | ... |
| ... | @@ -226,6 +226,11 @@ export default { | ... | @@ -226,6 +226,11 @@ export default { |
| 226 | }, | 226 | }, |
| 227 | // 详情 | 227 | // 详情 |
| 228 | handleEdit (row) { | 228 | handleEdit (row) { |
| 229 | this.diaData.list = [{ | ||
| 230 | chineseTable: '测试', | ||
| 231 | dataTable: '222', | ||
| 232 | soleUrl: 'boundaryLine' | ||
| 233 | }] | ||
| 229 | this.$refs.editLog.isShow() | 234 | this.$refs.editLog.isShow() |
| 230 | } | 235 | } |
| 231 | } | 236 | } | ... | ... |
-
Please register or sign in to post a comment