Compare commits
No commits in common. "3d8312a62dcae797ca7be56a66c41be8126afdf4" and "1f457b282e5addc2b91df3fc21e0258c654f1467" have entirely different histories.
3d8312a62d
...
1f457b282e
@ -663,7 +663,7 @@ const getEquipmentDetailInfo = async () => {
|
|||||||
method: "GET",
|
method: "GET",
|
||||||
});
|
});
|
||||||
if (res.code && res.code === "00000") {
|
if (res.code && res.code === "00000") {
|
||||||
equipmentDetailInfo.value = res.data.equipment;
|
equipmentDetailInfo.value = res.data;
|
||||||
console.log("设备详情", toRaw(equipmentDetailInfo.value));
|
console.log("设备详情", toRaw(equipmentDetailInfo.value));
|
||||||
} else {
|
} else {
|
||||||
throw new Error(res.data.message);
|
throw new Error(res.data.message);
|
||||||
|
|||||||
@ -58,7 +58,7 @@ const getwzDetail = async () => {
|
|||||||
method: "GET",
|
method: "GET",
|
||||||
});
|
});
|
||||||
if (res.code && res.code === "00000") {
|
if (res.code && res.code === "00000") {
|
||||||
wzDetailData.value = res.data.material;
|
wzDetailData.value = res.data;
|
||||||
} else {
|
} else {
|
||||||
throw new Error(res.message);
|
throw new Error(res.message);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -39,12 +39,6 @@
|
|||||||
:onCancel="handleCancel"
|
:onCancel="handleCancel"
|
||||||
width="60%"
|
width="60%"
|
||||||
>
|
>
|
||||||
<el-tabs
|
|
||||||
v-model="activeName"
|
|
||||||
class="demo-tabs"
|
|
||||||
@tab-click="handleClick"
|
|
||||||
>
|
|
||||||
<el-tab-pane label="基本信息" name="Basic">
|
|
||||||
<el-form
|
<el-form
|
||||||
label-position="right"
|
label-position="right"
|
||||||
label-width="auto"
|
label-width="auto"
|
||||||
@ -79,11 +73,7 @@
|
|||||||
<el-input disabled v-model="detailData.jsdj" />
|
<el-input disabled v-model="detailData.jsdj" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="备注:" prop="bz">
|
<el-form-item label="备注:" prop="bz">
|
||||||
<el-input
|
<el-input disabled v-model="detailData.bz" type="textarea" />
|
||||||
disabled
|
|
||||||
v-model="detailData.bz"
|
|
||||||
type="textarea"
|
|
||||||
/>
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
@ -106,22 +96,12 @@
|
|||||||
<el-form-item label="是否对外开放:" prop="sfdwkf">
|
<el-form-item label="是否对外开放:" prop="sfdwkf">
|
||||||
<el-input disabled v-model="detailData.sfdwkf" />
|
<el-input disabled v-model="detailData.sfdwkf" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item
|
<el-form-item label="对外开放的是否有如厕功能:" prop="sfdwkfrc">
|
||||||
label="对外开放的是否有如厕功能:"
|
|
||||||
prop="sfdwkfrc"
|
|
||||||
>
|
|
||||||
<el-input disabled v-model="detailData.sfdwkfrc" />
|
<el-input disabled v-model="detailData.sfdwkfrc" />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row> </el-form
|
</el-row>
|
||||||
></el-tab-pane>
|
</el-form>
|
||||||
<el-tab-pane label="人员信息" name="Person">
|
|
||||||
<PersonData
|
|
||||||
:yhzData="detailData"
|
|
||||||
>
|
|
||||||
</PersonData>
|
|
||||||
</el-tab-pane>
|
|
||||||
</el-tabs>
|
|
||||||
</MyDialog>
|
</MyDialog>
|
||||||
<MyDialog
|
<MyDialog
|
||||||
v-model="editDialogVisible"
|
v-model="editDialogVisible"
|
||||||
@ -207,7 +187,6 @@ import { useRouter, useRoute } from "vue-router";
|
|||||||
import { request } from "@/utils/request";
|
import { request } from "@/utils/request";
|
||||||
import { Search } from "@element-plus/icons-vue";
|
import { Search } from "@element-plus/icons-vue";
|
||||||
import MyDialog from "../../component/MyDialog";
|
import MyDialog from "../../component/MyDialog";
|
||||||
import PersonData from "./personData.vue";
|
|
||||||
|
|
||||||
const tableData = ref([]);
|
const tableData = ref([]);
|
||||||
const detailData = ref({});
|
const detailData = ref({});
|
||||||
@ -562,9 +541,6 @@ const handleClickWz = (row) => {
|
|||||||
path: `/yhzwz/${encodeURIComponent(JSON.stringify(row))}`,
|
path: `/yhzwz/${encodeURIComponent(JSON.stringify(row))}`,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
// 当前标签
|
|
||||||
const activeName = ref("Basic");
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
|||||||
@ -1,49 +0,0 @@
|
|||||||
<template>
|
|
||||||
<div>1145141919810</div>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script lang="ts" setup>
|
|
||||||
import { h, ref, onMounted, reactive, watch, toRaw } from "vue";
|
|
||||||
|
|
||||||
const props = defineProps({
|
|
||||||
yhzData: {
|
|
||||||
type: Object,
|
|
||||||
default: () => ({}),
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
// 养护站ID
|
|
||||||
const yhzId = ref(props.yhzData.id);
|
|
||||||
// 表格过滤条件
|
|
||||||
const filterData = reactive({
|
|
||||||
xm: "", // 姓名
|
|
||||||
});
|
|
||||||
const pagination = reactive({
|
|
||||||
current: 1,
|
|
||||||
pageSize: 10,
|
|
||||||
total: 0,
|
|
||||||
pageSizes: [10, 20, 50],
|
|
||||||
layout: "prev, pager, next, jumper",
|
|
||||||
onChange: (page, pageSize) => {
|
|
||||||
pagination.current = page;
|
|
||||||
pagination.pageSize = pageSize;
|
|
||||||
getyhzryList(filterData);
|
|
||||||
},
|
|
||||||
}); // 表格分页
|
|
||||||
|
|
||||||
// 获取养护站人员列表
|
|
||||||
const getyhzryList = async (filterData) => {
|
|
||||||
try {
|
|
||||||
|
|
||||||
} catch (error) {
|
|
||||||
|
|
||||||
}
|
|
||||||
};
|
|
||||||
// 分页查询养护站
|
|
||||||
onMounted(() => {});
|
|
||||||
|
|
||||||
console.log("养护站id", yhzId.value);
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
</style>
|
|
||||||
Loading…
x
Reference in New Issue
Block a user