This commit is contained in:
2025-09-24 19:26:59 +08:00
parent c6a0f0b9aa
commit 449b3c9916
5 changed files with 62 additions and 60 deletions

View File

@ -86,10 +86,10 @@ const pageData = reactive({
// 初始化数据
const init = async (type, id,) => {
const init = async (type, id) => {
dialogForm.value = true;
// const res = await qcckGet({ url: `/training/annualInspectionTraining/detail/${id}`})
// listQuery.value = res || {}
const res = await qcckGet({ url: `/mosty-base/baxx/njpx/getInfo/${id}`})
listQuery.value = res || {}
};
const close = () => {

View File

@ -39,7 +39,6 @@ import { reactive, ref, onMounted, getCurrentInstance, nextTick } from "vue";
const { proxy } = getCurrentInstance();
const detailDiloag = ref();
const searchBox = ref(); //搜索框
const baseUrl = 'data:image/jpeg;base64,'
const searchConfiger = ref([
{
label: "培训时间",
@ -50,7 +49,7 @@ const searchConfiger = ref([
const queryFrom = ref({});
const pageData = reactive({
tableData: [{pxrs:1,pxsj:'2023-08-01'}],
tableData: [],
keyCount: 0,
tableConfiger: {
rowHieght: 61,
@ -64,8 +63,8 @@ const pageData = reactive({
},
controlsWidth: 180,
tableColumn: [
{ label: "培训人数", prop: "pxrs"},
{ label: "培训时间", prop: "pxsj" },
{ label: "培训人数", prop: "pxrysl"},
{ label: "培训时间", prop: "pxrq" },
]
});
@ -94,7 +93,7 @@ const changeSize = (val) => {
const getList = () => {
pageData.tableConfiger.loading = true;
let data = { ...pageData.pageConfiger, ...queryFrom.value };
qcckPost(data, "/mosty-base/baxx/njpxry/page").then((res) => {
qcckPost(data, "/mosty-base/baxx/njpx/page").then((res) => {
pageData.tableData = res.records || [];
pageData.total = res.total;
pageData.tableConfiger.loading = false;