39 lines
936 B
Vue
39 lines
936 B
Vue
|
<template>
|
||
|
<el-dialog v-dialogDrag title="条件参数" :visible.sync="dialogVisible" width="400px" :before-close="handleClose" center :close-on-click-modal="false">
|
||
|
<el-table :data="conditionList" border class="param-table">
|
||
|
<el-table-column prop="name" label="参数名" />
|
||
|
<el-table-column prop="value" label="参数值" />
|
||
|
</el-table>
|
||
|
<span slot="footer" class="dialog-footer">
|
||
|
<el-button @click="handleClose">关闭</el-button>
|
||
|
</span>
|
||
|
</el-dialog>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
|
||
|
export default {
|
||
|
name: 'ShowCondition',
|
||
|
data() {
|
||
|
return {
|
||
|
dialogVisible: false,
|
||
|
conditionList: []
|
||
|
};
|
||
|
},
|
||
|
mounted () {
|
||
|
},
|
||
|
methods: {
|
||
|
doShow(data) {
|
||
|
this.conditionList = data;
|
||
|
},
|
||
|
handleClose() {
|
||
|
this.dialogVisible = false;
|
||
|
}
|
||
|
}
|
||
|
};
|
||
|
</script>
|
||
|
|
||
|
<style rel="stylesheet/scss" lang="scss" scoped>
|
||
|
|
||
|
</style>
|