|
|
@ -1,10 +1,15 @@
|
|
|
|
|
|
|
|
<!--
|
|
|
|
|
|
|
|
* @Descripttion: 用户权限--数据集
|
|
|
|
|
|
|
|
* @version:
|
|
|
|
|
|
|
|
* @Author: qianlishi
|
|
|
|
|
|
|
|
* @Date: 2021-12-11 14:48:27
|
|
|
|
|
|
|
|
* @LastEditors: qianlishi
|
|
|
|
|
|
|
|
* @LastEditTime: 2021-12-13 12:28:54
|
|
|
|
|
|
|
|
-->
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<anji-crud ref="listPage" :option="crudOption">
|
|
|
|
<anji-crud ref="listPage" :option="crudOption">
|
|
|
|
<template v-slot:buttonLeftOnTable>
|
|
|
|
<template v-slot:buttonLeftOnTable>
|
|
|
|
<el-dropdown
|
|
|
|
<el-dropdown placement="bottom" @command="operateDataset">
|
|
|
|
placement="bottom"
|
|
|
|
|
|
|
|
@command="operateDataset"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<el-button type="primary" icon="el-icon-plus">
|
|
|
|
<el-button type="primary" icon="el-icon-plus">
|
|
|
|
新增
|
|
|
|
新增
|
|
|
|
<i class="el-icon-arrow-down el-icon--right"></i>
|
|
|
|
<i class="el-icon-arrow-down el-icon--right"></i>
|
|
|
@ -33,9 +38,6 @@
|
|
|
|
>数据预览
|
|
|
|
>数据预览
|
|
|
|
</el-button>
|
|
|
|
</el-button>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<!--自定义的卡片插槽,将在编辑详情页面,出现在底部新卡片-->
|
|
|
|
|
|
|
|
<!--这里可以将自定义的弹出框代码,放入到page中
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
|
|
|
<template v-slot:pageSection>
|
|
|
|
<template v-slot:pageSection>
|
|
|
|
<EditDataSet
|
|
|
|
<EditDataSet
|
|
|
|
ref="EditDataSet"
|
|
|
|
ref="EditDataSet"
|
|
|
@ -60,8 +62,8 @@ import {
|
|
|
|
reportDataSetUpdate,
|
|
|
|
reportDataSetUpdate,
|
|
|
|
reportDataSetDetail
|
|
|
|
reportDataSetDetail
|
|
|
|
} from "@/api/reportDataSet";
|
|
|
|
} from "@/api/reportDataSet";
|
|
|
|
import EditDataSet from "@/views/report/resultset/components/EditDataSet";
|
|
|
|
import EditDataSet from "./components/EditDataSet";
|
|
|
|
import DataView from "@/views/report/resultset/components/DataView";
|
|
|
|
import DataView from "./components/DataView";
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
name: "ReportDataSet",
|
|
|
|
name: "ReportDataSet",
|
|
|
@ -109,12 +111,12 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
label: "数据集类型",
|
|
|
|
label: "数据集类型",
|
|
|
|
field: "setType"
|
|
|
|
field: "setType"
|
|
|
|
},
|
|
|
|
}
|
|
|
|
],
|
|
|
|
],
|
|
|
|
// 操作按钮
|
|
|
|
// 操作按钮
|
|
|
|
buttons: {
|
|
|
|
buttons: {
|
|
|
|
customButton: {
|
|
|
|
customButton: {
|
|
|
|
operationWidth: 150
|
|
|
|
operationWidth: 180
|
|
|
|
},
|
|
|
|
},
|
|
|
|
query: {
|
|
|
|
query: {
|
|
|
|
api: reportDataSetList,
|
|
|
|
api: reportDataSetList,
|
|
|
@ -270,8 +272,6 @@ export default {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
created() {
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
operateDataset(type, prop) {
|
|
|
|
operateDataset(type, prop) {
|
|
|
|
this.dialogVisibleSetDataSet = true;
|
|
|
|
this.dialogVisibleSetDataSet = true;
|
|
|
@ -296,3 +296,8 @@ export default {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
|
|
|
/deep/.el-dropdown {
|
|
|
|
|
|
|
|
margin-right: 20px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|