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,9 +1,8 @@
<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">
@ -17,28 +16,27 @@
<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 {

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>>();
// //