添加提示

This commit is contained in:
2021-02-01 13:41:15 +08:00
parent 59320849a2
commit 9ff14dbcb4

View File

@@ -17,9 +17,9 @@
</template> </template>
</Result> </Result>
<Spin v-else :spinning="spining"> <Spin v-else :spinning="spining">
<Form :label-col="{ span: 8 }" :wrapper-col="{ span: 16 }"> <Form :label-col="{ span: 9 }" :wrapper-col="{ span: 15 }">
<Row> <Row>
<Col :span="12"> <Col :span="11">
<FormItem label="企业名称" v-bind="validateInfos.unitName"> <FormItem label="企业名称" v-bind="validateInfos.unitName">
<Select <Select
v-model:value="modelRef.unitName" v-model:value="modelRef.unitName"
@@ -99,7 +99,7 @@
/> />
</FormItem> </FormItem>
</Col> </Col>
<Col :span="12"> <Col :span="11">
<FormItem label="授权委托书" v-bind="validateInfos.loaPicId"> <FormItem label="授权委托书" v-bind="validateInfos.loaPicId">
<input v-model="modelRef.loaPicId" hidden /> <input v-model="modelRef.loaPicId" hidden />
<Upload <Upload
@@ -178,6 +178,23 @@
</Upload> </Upload>
</FormItem> </FormItem>
</Col> </Col>
<Col :span="2">
<FormItem>
<Popover title="说明">
<template #content>
<p>请将两页纸一起拍照或扫描上传</p>
</template>
<Button type="link"
><a
href="http://183.136.157.18:7308/stgl/sources/202102/授权书模板.doc"
download="授权书模板.doc"
target="_blank"
><DownloadOutlined />模板</a
></Button
>
</Popover>
</FormItem>
</Col>
</Row> </Row>
<FormItem :wrapper-col="{ span: 12, offset: 10 }"> <FormItem :wrapper-col="{ span: 12, offset: 10 }">
<Button v-if="progressingId" type="primary" @click="onSubmit" <Button v-if="progressingId" type="primary" @click="onSubmit"
@@ -256,9 +273,10 @@ import {
Tag, Tag,
Card, Card,
Modal, Modal,
Result Result,
Popover
} from "ant-design-vue"; } from "ant-design-vue";
import { UploadOutlined } from "@ant-design/icons-vue"; import { UploadOutlined, DownloadOutlined } from "@ant-design/icons-vue";
import { useForm } from "@ant-design-vue/use"; import { useForm } from "@ant-design-vue/use";
import { computed, onMounted, reactive, ref, toRaw, inject } from "vue"; import { computed, onMounted, reactive, ref, toRaw, inject } from "vue";
import { get, post } from "@/services/http"; import { get, post } from "@/services/http";
@@ -296,13 +314,15 @@ export default {
Empty, Empty,
Tag, Tag,
Card, Card,
Result Result,
DownloadOutlined,
Popover
}, },
setup() { setup() {
const modelRef = reactive({ const modelRef = reactive({
id: null, id: null,
orderNo: null, orderNo: null,
unitName: "", unitName: null,
tydm: "", tydm: "",
operatorName: "", operatorName: "",
operatorId: "", operatorId: "",