@ -221,12 +221,12 @@ export default {
},
created() {
// 获取检查类型
this.getDicts("patrol_maintenance_type").then((res) => {
this.getDicts("animal_check_type").then((res) => {
if (res.data && Array.isArray(res.data)) {
this.xcTypeOptions = res.data;
}
});
this.getDicts("patrol_maintenance_category").then((res) => {
this.getDicts("animal_prevention_category").then((res) => {
this.xcCategoryList = res.data;
@ -258,7 +258,7 @@ export default {
// 获取详情信息
async getDetailsData() {
const dictData = await getCheckingDictTree("df_xs_c_classfy");
const dictData = await getCheckingDictTree("df_an_c_classfy");
let _xcTreeData = this.transformArr(dictData?.data);
const checkId = this.$route.query.id;
if (checkId) {
@ -115,12 +115,12 @@ export default {
// 获取列表数据
this.getTableData();
// 获取防治类型
getDicts("patrol_maintenance_type").then((res) => {
getDicts("animal_check_type").then((res) => {
getDicts("patrol_maintenance_category").then((res) => {
getDicts("animal_prevention_category").then((res) => {
this.xcCategoryOptions = res.data;