3a4ab14d by 任超

feat:中心日志

1 parent 0ad07283
......@@ -48,7 +48,7 @@ export default {
},
isFullscreen: {
type: Boolean,
default: true,
default: false,
},
isSave: {
type: Boolean,
......
<template>
<!-- 编辑 -->
<dialogBox title="操作内容" @closeDialog="closeDialog" @submitForm="handleSubmit" v-model="myValue">
<p>2222222222222222222222</p>
</dialogBox>
</template>
<script>
export default {
props: {
value: { type: Boolean, default: false },
},
data () {
return {
myValue: this.value,
}
},
watch: {
value (val) {
this.myValue = val
}
},
methods: {
closeDialog () {
this.$emit('input', false)
},
handleSubmit () {
this.$emit('input', false)
}
}
}
</script>
\ No newline at end of file
......@@ -45,6 +45,7 @@
:data="tableData.data">
</lb-table>
</div>
<detailDialog v-model="isShow" />
</div>
</template>
<script>
......@@ -53,11 +54,18 @@
import data from "./data"
// 引入列表混入方法
import tableMixin from '@/mixins/tableMixin.js'
// 引入详情
import detailDialog from './components/detailDialog.vue'
export default {
name: "zxrz",
mixins: [tableMixin],
// 注册组件
components: {
detailDialog
},
data () {
return {
isShow: false,
// 开始结束日期限制
pickerOptionsStart: {
disabledDate: (time) => {
......@@ -120,8 +128,6 @@ export default {
<el-button
type="text"
size="mini"
icon="el-icon-edit"
style="margin-left: 10px"
onClick={() => { this.handleDetails(scope.row) }}
>
详情
......@@ -132,7 +138,7 @@ export default {
}
]),
// 列表
data: []
data: [{}]
},
// 分页
pageData: {
......@@ -150,6 +156,7 @@ export default {
async featchData () {
},
handleDetails (row) {
this.isShow = true
}
}
}
......