更新村公司任务目标数数显示逻辑
This commit is contained in:
parent
79a2625328
commit
943a7224e0
@ -261,10 +261,6 @@ const formData = reactive({
|
||||
if (route.query.id) {
|
||||
formData.task_scheduling = route.query.id;
|
||||
}
|
||||
//任务类型接口
|
||||
apiTaskTypeList({ type_value: taskType.value }).then((res) => {
|
||||
datalist.value = res.lists;
|
||||
});
|
||||
|
||||
// 显示目标数的任务类型
|
||||
const showTargetTypeList = ["village_task_type_1", "village_task_type_4"];
|
||||
@ -471,7 +467,7 @@ const handleSubmit = async () => {
|
||||
const open = (type = "add") => {
|
||||
mode.value = type;
|
||||
popupRef.value?.open();
|
||||
// if (type == "edit") {
|
||||
// if (type == "add") {
|
||||
// apiTaskTypeList({ type_value: taskType.value }).then((res) => {
|
||||
// datalist.value = res.lists;
|
||||
// });
|
||||
|
Loading…
x
Reference in New Issue
Block a user