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