This commit is contained in:
weipengfei 2023-08-14 18:36:48 +08:00
parent 70484577fe
commit bb04bc14a8
2 changed files with 45 additions and 55 deletions

View File

@ -1,69 +1,67 @@
<template> <template>
<div> <div>
<el-dialog v-model="showEdit" @close="closeEdit"> <el-dialog v-model="props.showEdit" @close="closeEdit">
<h1>重要提醒</h1> <h1>重要提醒</h1>
<div class="content"> <div class="content">
请确认信息是否有误,发送合同,请确认信息是否有误,发送电子合同后短时间内将不可再次发送.
请确认信息是否有误,发送合同,请确认信息是否有误,发送电子合同后短时间内将不可再次发送. </div>
</div> <p class="btn_menu">
<p class="btn_menu"> <el-button type="primary" size="large">确认创建</el-button>
<el-button type="primary" size="large">确认创建</el-button> <el-button type="info" size="large">返回</el-button>
<el-button type="info" size="large">返回</el-button> </p>
</p> </el-dialog>
</el-dialog> </div>
</div>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import { reactive, ref } from "vue"; import { reactive, ref } from "vue";
// const dialogFormVisible = ref(true) // const dialogFormVisible = ref(true)
const formLabelWidth = '140px' const formLabelWidth = "140px";
defineProps({ const props = defineProps({
showEdit: { showEdit: {
default: false default: false,
} },
}) });
const closeEdit=()=>{ const closeEdit = () => {
content.emit('close') content.emit("close");
// console.log(defineProps.showEdit) // console.log(defineProps.showEdit)
} };
const form = reactive({ const form = reactive({
name: '', name: "",
region: '', region: "",
date1: '', date1: "",
date2: '', date2: "",
delivery: false, delivery: false,
type: [], type: [],
resource: '', resource: "",
desc: '' desc: "",
}) });
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
h1 { h1 {
text-align: center; text-align: center;
font-weight: bold; font-weight: bold;
font-size: 30px; font-size: 30px;
color: red; color: red;
margin-bottom: 10px; margin-bottom: 10px;
} }
.content { .content {
font-size: 20px; font-size: 20px;
} }
.info { .info {
color: red; color: red;
font-weight: bold; font-weight: bold;
font-size: 18px; font-size: 18px;
display: inline-block; display: inline-block;
margin: 0 5px; margin: 0 5px;
} }
.btn_menu { .btn_menu {
margin-top: 10vh; margin-top: 10vh;
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
} }
</style> </style>

View File

@ -112,13 +112,6 @@
<!-- <pagination v-model="pager" @change="getLists" /> --> <!-- <pagination v-model="pager" @change="getLists" /> -->
</div> </div>
</el-card> </el-card>
<edit-popup
v-if="showEdit"
ref="editRef"
:dict-data="dictData"
@success="getLists"
@close="showEdit = false"
/>
</div> </div>
</template> </template>
@ -127,7 +120,6 @@ import { usePaging } from "@/hooks/usePaging";
import { useDictData } from "@/hooks/useDictOptions"; import { useDictData } from "@/hooks/useDictOptions";
import { timeFormat } from "@/utils/util"; import { timeFormat } from "@/utils/util";
import feedback from "@/utils/feedback"; import feedback from "@/utils/feedback";
import EditPopup from "./edit.vue";
const editRef = shallowRef<InstanceType<typeof EditPopup>>(); const editRef = shallowRef<InstanceType<typeof EditPopup>>();
// //