This commit is contained in:
parent
acdcf6dee9
commit
b0bcab7812
|
@ -313,7 +313,7 @@
|
||||||
form.region.interfaceList.splice(e.$index, 1);
|
form.region.interfaceList.splice(e.$index, 1);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
metadataProject();
|
// metadataProject();
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.example {
|
.example {
|
||||||
|
|
|
@ -207,8 +207,8 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
metadata();
|
// metadata();
|
||||||
Project();
|
// Project();
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.el-transfer {
|
.el-transfer {
|
||||||
|
|
|
@ -41,8 +41,10 @@
|
||||||
import { ref, reactive } from "vue";
|
import { ref, reactive } from "vue";
|
||||||
import TableBody from "@/components/TableBody/TableBody.vue";
|
import TableBody from "@/components/TableBody/TableBody.vue";
|
||||||
import FormDialog from "@/components/FormDialog/FormDialog.vue";
|
import FormDialog from "@/components/FormDialog/FormDialog.vue";
|
||||||
|
import { useRouter } from "vue-router";
|
||||||
|
|
||||||
const TableBodyRef = ref();
|
const TableBodyRef = ref();
|
||||||
|
const router = useRouter()
|
||||||
const data = reactive({
|
const data = reactive({
|
||||||
/**
|
/**
|
||||||
* @type {Object}
|
* @type {Object}
|
||||||
|
@ -88,7 +90,7 @@ const data = reactive({
|
||||||
|
|
||||||
{
|
{
|
||||||
type: "custom", // 自定义按钮(支持 custom 默认按钮、popconfirm 气泡确认 ),
|
type: "custom", // 自定义按钮(支持 custom 默认按钮、popconfirm 气泡确认 ),
|
||||||
name: "customButton", // 为 handleTableHeader 事件的第一个返回值,注意不能重复
|
name: "create", // 为 handleTableHeader 事件的第一个返回值,注意不能重复
|
||||||
title: "新建", // 按钮名称
|
title: "新建", // 按钮名称
|
||||||
icon: "Message", // 自定义左侧按钮 ( 目前只支持 element 的 icon )
|
icon: "Message", // 自定义左侧按钮 ( 目前只支持 element 的 icon )
|
||||||
// 以哪种方式禁用按钮,组件自带两种禁用方式 1.只有选择一条时开启按钮 'single',2. 有选择任意条数时开启按钮 'Arbitrary '
|
// 以哪种方式禁用按钮,组件自带两种禁用方式 1.只有选择一条时开启按钮 'single',2. 有选择任意条数时开启按钮 'Arbitrary '
|
||||||
|
@ -298,8 +300,10 @@ const handleSlot = (val) => {
|
||||||
|
|
||||||
// 新增
|
// 新增
|
||||||
const handleCreate = () => {
|
const handleCreate = () => {
|
||||||
console.log(12);
|
// console.log(12);
|
||||||
formDialog.value = true
|
router.push('/dc/addprovide')
|
||||||
|
// formDialog.value = true
|
||||||
|
|
||||||
};
|
};
|
||||||
const handleTree = (val) =>{
|
const handleTree = (val) =>{
|
||||||
console.log('111111111',val);
|
console.log('111111111',val);
|
||||||
|
|
Loading…
Reference in New Issue