'新增页面'
This commit is contained in:
@ -27,7 +27,8 @@
|
||||
}"></Pages>
|
||||
</div>
|
||||
|
||||
<!-- <add-trainer-dialog v-model="isVisible" ref="trainerRef" @refresh="getList" /> -->
|
||||
<view-project-details-dialog ref="viewProjectDetailsRef" v-model="isVisible" />
|
||||
<preject-details-dialog ref="prejectDetailsRef" v-model="dialogVisible" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -38,11 +39,14 @@ import Pages from '@/components/aboutTable/Pages.vue';
|
||||
import Search from '@/components/aboutTable/Search.vue';
|
||||
import { qcckGet, qcckPost, qcckDelete } from "@/api/qcckApi.js";
|
||||
import PageTitle from "@/components/aboutTable/PageTitle.vue";
|
||||
// import AddTrainerDialog from "./components/addTrainerDialog.vue";
|
||||
import ViewProjectDetailsDialog from "./components/viewProjectDetailsDialog.vue";
|
||||
import PrejectDetailsDialog from "./components/prejectDetailsDialog.vue";
|
||||
|
||||
const trainerRef = ref(null);
|
||||
const prejectDetailsRef = ref(null);
|
||||
const viewProjectDetailsRef = ref(null)
|
||||
const queryFrom = ref({});
|
||||
const isVisible = ref(false);
|
||||
const dialogVisible = ref(false)
|
||||
const searchBox = ref(null);
|
||||
const D_BZ_BXDLX = ref([]);
|
||||
const searchConfiger = ref([
|
||||
@ -61,7 +65,7 @@ const searchConfiger = ref([
|
||||
]);
|
||||
|
||||
const pageData = reactive({
|
||||
tableData: [],
|
||||
tableData: [{}],
|
||||
keyCount: 0,
|
||||
tableConfiger: {
|
||||
rowHieght: 61,
|
||||
@ -93,7 +97,11 @@ const tabHeightFn = () => {
|
||||
};
|
||||
|
||||
const addEdit = (type, row) => {
|
||||
trainerRef.value.open(row, type);
|
||||
if (type === 'view') {
|
||||
prejectDetailsRef.value.open(row, type);
|
||||
return
|
||||
}
|
||||
viewProjectDetailsRef.value.open(row, type);
|
||||
};
|
||||
|
||||
const onSearch = (value) => {
|
||||
|
||||
Reference in New Issue
Block a user