|
|
@ -142,7 +142,7 @@ const { tableObject, tableMethods } = useTable({ |
|
|
|
|
|
|
|
// 获得表格的各种操作 |
|
|
|
const { getList, setSearchParams } = tableMethods |
|
|
|
const message = useMessage() // 消息弹窗 |
|
|
|
|
|
|
|
|
|
|
|
const dialogVisible = ref(false) // 弹窗的是否展示 |
|
|
|
const formLoading = ref(false) // 表单的加载中 |
|
|
@ -248,14 +248,14 @@ const handleImport = () => { |
|
|
|
importFormRef.value.open() |
|
|
|
} |
|
|
|
// 导入附件弹窗所需的参数 |
|
|
|
const importTemplateData = reactive({ |
|
|
|
templateUrl: '', |
|
|
|
templateTitle: '检测记录详细导入模版.xls' |
|
|
|
}) |
|
|
|
// const importTemplateData = reactive({ |
|
|
|
// templateUrl: '', |
|
|
|
// templateTitle: '检测记录详细导入模版.xls' |
|
|
|
// }) |
|
|
|
// 导入成功之后 |
|
|
|
const importSuccess = () => { |
|
|
|
getList() |
|
|
|
} |
|
|
|
// const importSuccess = () => { |
|
|
|
// getList() |
|
|
|
// } |
|
|
|
|
|
|
|
// 筛选提交 |
|
|
|
const searchFormClick = (searchData) => { |
|
|
@ -341,9 +341,9 @@ const uploadOpen=ref(false) |
|
|
|
const importTemplateData= ref(props.importTemplateData) |
|
|
|
const accept= ref(props.accept) |
|
|
|
const mode = ref(props.mode)//是否更新已经存在的用户数据.默认值是1 |
|
|
|
const updateIsDisable = ref(props.updateIsDisable)//更新是否禁用,默认值不禁用 |
|
|
|
const appendIsDisable = ref(props.appendIsDisable)//追加是否禁用,默认值不禁用 |
|
|
|
const coverIsDisable = ref(props.coverIsDisable)//覆盖是否禁用,默认值不禁用 |
|
|
|
// const updateIsDisable = ref(props.updateIsDisable)//更新是否禁用,默认值不禁用 |
|
|
|
// const appendIsDisable = ref(props.appendIsDisable)//追加是否禁用,默认值不禁用 |
|
|
|
// const coverIsDisable = ref(props.coverIsDisable)//覆盖是否禁用,默认值不禁用 |
|
|
|
const updatePart = ref(props.updatePart)//是否部门保存 |
|
|
|
const outFile = ref(props.outFile)//是否引入外部资源 |
|
|
|
|
|
|
|