'处理字典选择、展示处理'
This commit is contained in:
@ -12,8 +12,8 @@
|
||||
<div class="tabBox">
|
||||
<MyTable :tableData="pageData.tableData" :tableColumn="pageData.tableColumn" :tableHeight="pageData.tableHeight"
|
||||
:key="pageData.keyCount" :tableConfiger="pageData.tableConfiger" :controlsWidth="pageData.controlsWidth">
|
||||
<template #bxxLx="{ row }">
|
||||
<DictTag :value="row.bxxLx" :tag="false" :options="D_BZ_BXDLX" />
|
||||
<template #pxgs="{ row }">
|
||||
<DictTag :value="row.pxgs" :options="D_BAXX_DWLX" />
|
||||
</template>
|
||||
<!-- 操作 -->
|
||||
<template #controls="{ row }">
|
||||
@ -35,7 +35,7 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import { onMounted, reactive, ref } from "vue";
|
||||
import { onMounted, reactive, ref, getCurrentInstance } from "vue";
|
||||
import MyTable from '@/components/aboutTable/MyTable.vue';
|
||||
import Pages from '@/components/aboutTable/Pages.vue';
|
||||
import Search from '@/components/aboutTable/Search.vue';
|
||||
@ -44,7 +44,10 @@ import PageTitle from "@/components/aboutTable/PageTitle.vue";
|
||||
import ViewProjectDetailsDialog from "./components/viewProjectDetailsDialog.vue";
|
||||
import AddPxxm from './components/addPxxm.vue'
|
||||
import PrejectDetailsDialog from "./components/prejectDetailsDialog.vue";
|
||||
import { get } from "lodash";
|
||||
|
||||
const { proxy } = getCurrentInstance()
|
||||
const { D_BAXX_DWLX } = proxy.$dict("D_BAXX_DWLX");
|
||||
|
||||
const addPxxmRef = ref()
|
||||
const prejectDetailsRef = ref(null);
|
||||
const viewProjectDetailsRef = ref(null)
|
||||
@ -52,7 +55,6 @@ const queryFrom = ref({});
|
||||
const isVisible = ref(false);
|
||||
const dialogVisible = ref(false)
|
||||
const searchBox = ref(null);
|
||||
const D_BZ_BXDLX = ref([]);
|
||||
const searchConfiger = ref([
|
||||
{
|
||||
label: "培训项目名称",
|
||||
@ -86,7 +88,7 @@ const pageData = reactive({
|
||||
{ label: "培训项目名称", prop: "xmmc" },
|
||||
{ label: "培训开始时间", prop: "kssj" },
|
||||
{ label: "培训结束时间", prop: "jssj" },
|
||||
{ label: "培训公司", prop: "pxgs" },
|
||||
{ label: "培训公司", prop: "pxgs", showSolt: true },
|
||||
{ label: "培训地址", prop: "pxdz" },
|
||||
]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user