|
|
@ -30,6 +30,7 @@ import { getCurrentInstance, ref } from "vue" |
|
|
|
import tags from "@components/tags/index.vue" |
|
|
|
import * as workSchedulingApi from "@/api/mes/workScheduling" |
|
|
|
import * as workSchedulingListApi from "@/api/mes/workScheduling" |
|
|
|
import { _toast } from "@/utils/common" |
|
|
|
|
|
|
|
const { proxy } = getCurrentInstance() |
|
|
|
|
|
|
@ -45,7 +46,7 @@ const data = ref({ |
|
|
|
nickName: '' |
|
|
|
}) |
|
|
|
let show = false |
|
|
|
let checked = [] |
|
|
|
let checked: string | any[] = [] |
|
|
|
/* 是否显示"没有更多了" */ |
|
|
|
const status = ref('loadmore') |
|
|
|
/* 列表数据集 */ |
|
|
@ -70,7 +71,7 @@ async function getList() { |
|
|
|
}) |
|
|
|
proxy.$modal.closeLoading() |
|
|
|
} |
|
|
|
function checkChange(checkedArray) { |
|
|
|
function checkChange(checkedArray: any[]) { |
|
|
|
checked = checkedArray |
|
|
|
} |
|
|
|
/* 打开详情页 */ |
|
|
@ -86,7 +87,8 @@ onShow(() => { |
|
|
|
}) |
|
|
|
function onSubmit() { |
|
|
|
if (checked.length == 0){ |
|
|
|
show = true |
|
|
|
_toast("请选择人员") |
|
|
|
return |
|
|
|
} |
|
|
|
uni.setStorageSync("processReportList", checked) |
|
|
|
uni.redirectTo({ |
|
|
|