forked from integrated_whb/integrated_whb_vue
pull/1/head
parent
375b8ed5cb
commit
4e3d69b9e4
|
@ -244,7 +244,7 @@ const fnGetUser = async (POST_ID) => {
|
|||
data.userList = resData.userList;
|
||||
};
|
||||
const fnClose = () => {
|
||||
form.value.resetFields();
|
||||
// form.value.resetFields();
|
||||
visible.value = false;
|
||||
};
|
||||
const fnSubmit = debounce(
|
||||
|
@ -263,7 +263,9 @@ const fnSubmit = debounce(
|
|||
);
|
||||
const fnExportTemplates = async () => {
|
||||
await ElMessageBox.confirm("确定要下载excel模板吗?", { type: "warning" });
|
||||
window.open(VITE_TEMPLATE_URL + props.templateUrl);
|
||||
window.open(
|
||||
VITE_TEMPLATE_URL + "/template/hiddenDangerCheckStandardTemplate.xls"
|
||||
);
|
||||
};
|
||||
watchEffect(() => {
|
||||
if (form.value.DEPARTMENT_ID) fnGetPost(form.value.DEPARTMENT_ID);
|
||||
|
|
|
@ -313,12 +313,12 @@
|
|||
v-model:list="data.inspectionRouteDialog.list"
|
||||
:info="data.inspectionRouteDialog.info"
|
||||
/>
|
||||
<import-custom
|
||||
v-model:visible="data.importCustomDialogVisible.visible"
|
||||
v-model:form="data.importCustomDialogVisible.form"
|
||||
@submit="fnSubmitImport"
|
||||
/>
|
||||
</div>
|
||||
<import-custom
|
||||
v-model:visible="data.importCustomDialogVisible.visible"
|
||||
v-model:form="data.importCustomDialogVisible.form"
|
||||
@submit="fnSubmitImport"
|
||||
></import-custom>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
|
|
Loading…
Reference in New Issue