|
@@ -29,6 +29,7 @@ import { ElMessage, ElMessageBox } from "element-plus";
|
|
|
|
|
|
const { proxy } = getCurrentInstance();
|
|
const { proxy } = getCurrentInstance();
|
|
const departmentList = ref([{ dictKey: "0", dictValue: "胜德体育" }]);
|
|
const departmentList = ref([{ dictKey: "0", dictValue: "胜德体育" }]);
|
|
|
|
+const exceptionTypeList = ref([]);
|
|
const sourceList = ref({
|
|
const sourceList = ref({
|
|
data: [],
|
|
data: [],
|
|
pagination: {
|
|
pagination: {
|
|
@@ -39,6 +40,7 @@ const sourceList = ref({
|
|
code: "",
|
|
code: "",
|
|
wlnCode: "",
|
|
wlnCode: "",
|
|
exception: "1",
|
|
exception: "1",
|
|
|
|
+ exceptionType: "",
|
|
},
|
|
},
|
|
});
|
|
});
|
|
const loading = ref(false);
|
|
const loading = ref(false);
|
|
@@ -60,6 +62,12 @@ const searchConfig = computed(() => {
|
|
data: departmentList.value,
|
|
data: departmentList.value,
|
|
label: "事业部",
|
|
label: "事业部",
|
|
},
|
|
},
|
|
|
|
+ {
|
|
|
|
+ type: "select",
|
|
|
|
+ prop: "exceptionType",
|
|
|
|
+ data: exceptionTypeList.value,
|
|
|
|
+ label: "异常类型",
|
|
|
|
+ },
|
|
];
|
|
];
|
|
});
|
|
});
|
|
const config = computed(() => {
|
|
const config = computed(() => {
|
|
@@ -104,6 +112,13 @@ const config = computed(() => {
|
|
},
|
|
},
|
|
{
|
|
{
|
|
attrs: {
|
|
attrs: {
|
|
|
|
+ label: "异常时间",
|
|
|
|
+ prop: "exceptionTime",
|
|
|
|
+ width: 160,
|
|
|
|
+ },
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ attrs: {
|
|
label: "操作",
|
|
label: "操作",
|
|
width: 140,
|
|
width: 140,
|
|
align: "center",
|
|
align: "center",
|
|
@@ -155,6 +170,16 @@ const getDemandData = () => {
|
|
);
|
|
);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
|
|
+ proxy.post("/orderInfo/getExceptionTypeList", {}).then((res) => {
|
|
|
|
+ if (res && res.length > 0) {
|
|
|
|
+ exceptionTypeList.value = res.map((item) => {
|
|
|
|
+ return {
|
|
|
|
+ dictKey: item.key,
|
|
|
|
+ dictValue: item.value,
|
|
|
|
+ };
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+ });
|
|
};
|
|
};
|
|
getDemandData();
|
|
getDemandData();
|
|
const getList = async (req, status) => {
|
|
const getList = async (req, status) => {
|