更新了档案板块

This commit is contained in:
weipengfei 2023-09-07 18:28:57 +08:00
parent b8c6bdde79
commit a7520e0cee
6 changed files with 687 additions and 0 deletions

View File

@ -0,0 +1,130 @@
<template>
<el-card style="margin-top: 16px">
<el-form
ref="elForm"
:disabled="true"
:model="formData"
size="mini"
label-width="180px"
>
<div class="tit">
寿宴
<span class="time">更新于:{{ update_time }}</span>
</div>
<el-row>
<el-col :span="8">
<el-form-item label="时间" prop="start_date">
<el-input
v-model="datas.start_date"
clearable
type="textarea"
:disabled="true"
:style="{ width: '100%' }"
>
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="地点" prop="address">
<el-input
v-model="datas.address"
clearable
type="textarea"
:disabled="true"
:style="{ width: '100%' }"
>
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="人数" prop="people_count">
<el-input
v-model="datas.people_count"
clearable
type="textarea"
:disabled="true"
:style="{ width: '100%' }"
>
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="请包办" prop="serve">
<el-radio-group v-model="datas.serve" size="medium">
<el-radio label="2">酒店</el-radio>
<el-radio label="1">一条龙</el-radio>
<el-radio label="0">只请厨师</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="有无歌舞表演" prop="perform">
<el-radio-group v-model="datas.perform" size="medium">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="有无交通工具" prop="vehicle">
<el-radio-group v-model="datas.vehicle" size="medium">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="有无住宿" prop="in_hotel">
<el-radio-group v-model="datas.in_hotel" size="medium">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
</el-row>
</el-form>
</el-card>
</template>
<script setup lang='ts'>
import { ref, defineProps } from "vue";
const props = defineProps({
datas: {
type: Object,
defualt: function () {
return {
start_date: "", //\
address: "", //
people_count: "", //
serve: "", //
perform: "", //
vehicle: "", //
in_hotel: "", //宿
};
},
},
update_time: {
type: String,
defualt: "",
},
});
</script>
<style scoped lang='scss'>
.tit {
font-size: 1.2rem;
translate: 1vw -1vw;
background-color: white;
margin: 2vh 0 0 0;
.time {
display: inline-block;
font-size: 0.8rem;
margin-left: 1vw;
color: #999;
}
}
</style>

View File

@ -0,0 +1,130 @@
<template>
<el-card style="margin-top: 16px">
<el-form
ref="elForm"
:disabled="true"
:model="formData"
size="mini"
label-width="180px"
>
<div class="tit">
满月酒
<span class="time">更新于:{{ update_time }}</span>
</div>
<el-row>
<el-col :span="8">
<el-form-item label="时间" prop="start_date">
<el-input
v-model="datas.start_date"
clearable
type="textarea"
:disabled="true"
:style="{ width: '100%' }"
>
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="地点" prop="address">
<el-input
v-model="datas.address"
clearable
type="textarea"
:disabled="true"
:style="{ width: '100%' }"
>
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="人数" prop="people_count">
<el-input
v-model="datas.people_count"
clearable
type="textarea"
:disabled="true"
:style="{ width: '100%' }"
>
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="请包办" prop="serve">
<el-radio-group v-model="datas.serve" size="medium">
<el-radio label="2">酒店</el-radio>
<el-radio label="1">一条龙</el-radio>
<el-radio label="0">只请厨师</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="有无歌舞表演" prop="perform">
<el-radio-group v-model="datas.perform" size="medium">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="有无交通工具" prop="vehicle">
<el-radio-group v-model="datas.vehicle" size="medium">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="有无住宿" prop="in_hotel">
<el-radio-group v-model="datas.in_hotel" size="medium">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
</el-row>
</el-form>
</el-card>
</template>
<script setup lang='ts'>
import { ref, defineProps } from "vue";
const props = defineProps({
datas: {
type: Object,
defualt: function () {
return {
start_date: "", //\
address: "", //
people_count: "", //
serve: "", //
perform: "", //
vehicle: "", //
in_hotel: "", //宿
};
},
},
update_time: {
type: String,
defualt: "",
},
});
</script>
<style scoped lang='scss'>
.tit {
font-size: 1.2rem;
translate: 1vw -1vw;
background-color: white;
margin: 2vh 0 0 0;
.time {
display: inline-block;
font-size: 0.8rem;
margin-left: 1vw;
color: #999;
}
}
</style>

View File

@ -0,0 +1,135 @@
<template>
<el-card style="margin-top: 16px">
<el-form
ref="elForm"
:disabled="true"
:model="formData"
size="mini"
label-width="180px"
>
<div class="tit">
白事
<span class="time">更新于:{{ update_time }}</span>
</div>
<el-row>
<el-col :span="8">
<el-form-item label="地点" prop="address">
<el-input
v-model="datas.address"
clearable
type="textarea"
:disabled="true"
:style="{ width: '100%' }"
>
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="人数" prop="people_count">
<el-input
v-model="datas.people_count"
clearable
type="textarea"
:disabled="true"
:style="{ width: '100%' }"
>
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="请包办" prop="serve">
<el-radio-group v-model="datas.serve" size="medium">
<el-radio label="2">酒店</el-radio>
<el-radio label="1">一条龙</el-radio>
<el-radio label="0">只请厨师</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="有无歌舞表演" prop="perform">
<el-radio-group v-model="datas.perform" size="medium">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="有无主持仪式" prop="host">
<el-radio-group v-model="datas.host" size="medium">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="有无交通工具" prop="vehicle">
<el-radio-group v-model="datas.vehicle" size="medium">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="有无住宿" prop="in_hotel">
<el-radio-group v-model="datas.in_hotel" size="medium">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="有无墓地" prop="graveyard">
<el-radio-group v-model="datas.graveyard" size="medium">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
</el-row>
</el-form>
</el-card>
</template>
<script setup lang='ts'>
import { ref, defineProps } from "vue";
const props = defineProps({
datas: {
type: Object,
defualt: function () {
return {
address: "", //
people_count: "", //
serve: "", //
perform: "", //
host: "", //
vehicle: "", //
in_hotel: "", //宿
graveyard: "", //
};
},
},
update_time: {
type: String,
defualt: "",
},
});
</script>
<style scoped lang='scss'>
.tit {
font-size: 1.2rem;
translate: 1vw -1vw;
background-color: white;
margin: 2vh 0 0 0;
.time {
display: inline-block;
font-size: 0.8rem;
margin-left: 1vw;
color: #999;
}
}
</style>

View File

@ -0,0 +1,139 @@
<template>
<el-card style="margin-top: 16px">
<el-form
ref="elForm"
:disabled="true"
:model="formData"
size="mini"
label-width="180px"
>
<div class="tit">
婚宴
<span class="time">更新于:{{ update_time }}</span>
</div>
<el-row>
<el-col :span="8">
<el-form-item label="时间" prop="start_date">
<el-input
v-model="datas.start_date"
clearable
type="textarea"
:disabled="true"
:style="{ width: '100%' }"
>
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="地点" prop="address">
<el-input
v-model="datas.address"
clearable
type="textarea"
:disabled="true"
:style="{ width: '100%' }"
>
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="人数" prop="people_count">
<el-input
v-model="datas.people_count"
clearable
type="textarea"
:disabled="true"
:style="{ width: '100%' }"
>
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="请包办" prop="serve">
<el-radio-group v-model="datas.serve" size="medium">
<el-radio label="2">酒店</el-radio>
<el-radio label="1">一条龙</el-radio>
<el-radio label="0">只请厨师</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="有无歌舞表演" prop="perform">
<el-radio-group v-model="datas.perform" size="medium">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="有无主持仪式" prop="host">
<el-radio-group v-model="datas.host" size="medium">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="有无交通工具" prop="vehicle">
<el-radio-group v-model="datas.vehicle" size="medium">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="有无住宿" prop="in_hotel">
<el-radio-group v-model="datas.in_hotel" size="medium">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
</el-row>
</el-form>
</el-card>
</template>
<script setup lang='ts'>
import { ref, defineProps } from "vue";
const props = defineProps({
datas: {
type: Object,
defualt: function () {
return {
start_date: "", //\
address: "", //
people_count: "", //
serve: "", //
perform: "", //
host: "", //
vehicle: "", //
in_hotel: "", //宿
};
},
},
update_time: {
type: String,
defualt: "",
},
});
</script>
<style scoped lang='scss'>
.tit {
font-size: 1.2rem;
translate: 1vw -1vw;
background-color: white;
margin: 2vh 0 0 0;
.time {
display: inline-block;
font-size: 0.8rem;
margin-left: 1vw;
color: #999;
}
}
</style>

View File

@ -0,0 +1,143 @@
<template>
<el-card style="margin-top: 16px">
<el-form
ref="elForm"
:disabled="true"
:model="formData"
size="mini"
label-width="180px"
>
<div class="tit">
其他庆祝宴
<span class="time">更新于:{{ update_time }}</span>
</div>
<el-row>
<el-col :span="8">
<el-form-item label="宴席类型" prop="types">
<el-input
v-model="datas.types"
clearable
type="textarea"
:disabled="true"
:style="{ width: '100%' }"
>
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="时间" prop="start_date">
<el-input
v-model="datas.start_date"
clearable
type="textarea"
:disabled="true"
:style="{ width: '100%' }"
>
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="地点" prop="address">
<el-input
v-model="datas.address"
clearable
type="textarea"
:disabled="true"
:style="{ width: '100%' }"
>
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="人数" prop="people_count">
<el-input
v-model="datas.people_count"
clearable
type="textarea"
:disabled="true"
:style="{ width: '100%' }"
>
</el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="请包办" prop="serve">
<el-radio-group v-model="datas.serve" size="medium">
<el-radio label="2">酒店</el-radio>
<el-radio label="1">一条龙</el-radio>
<el-radio label="0">只请厨师</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="有无歌舞表演" prop="perform">
<el-radio-group v-model="datas.perform" size="medium">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="有无交通工具" prop="vehicle">
<el-radio-group v-model="datas.vehicle" size="medium">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="有无住宿" prop="in_hotel">
<el-radio-group v-model="datas.in_hotel" size="medium">
<el-radio label="1"></el-radio>
<el-radio label="0"></el-radio>
</el-radio-group>
</el-form-item>
</el-col>
</el-row>
</el-form>
</el-card>
</template>
<script setup lang='ts'>
import { ref, defineProps } from "vue";
const props = defineProps({
datas: {
type: Object,
defualt: function () {
return {
types: "", //
start_date: "", //\
address: "", //
people_count: "", //
serve: "", //
perform: "", //
vehicle: "", //
in_hotel: "", //宿
};
},
},
update_time: {
type: String,
defualt: "",
},
});
</script>
<style scoped lang='scss'>
.tit {
font-size: 1.2rem;
translate: 1vw -1vw;
background-color: white;
margin: 2vh 0 0 0;
.time {
display: inline-block;
font-size: 0.8rem;
margin-left: 1vw;
color: #999;
}
}
</style>

View File

@ -327,6 +327,11 @@ import houseTransaction from "./component/houseTransaction.vue";
import houseRenovate from "./component/houseRenovate.vue";
import houseDecoration from "./component/houseDecoration.vue";
import houseRepair from "./component/houseRepair.vue";
import banquetMarry from "./component/banquetMarry.vue";
import banquetOther from "./component/banquetOther.vue";
import banquetFuneral from "./component/banquetFuneral.vue";
import banquetFullMoon from "./component/banquetFullMoon.vue";
import banquetBirthday from "./component/banquetBirthday.vue";
import { fileManagelist, fileManageDetil } from "@/api/informationg";
const route = useRoute();
@ -340,6 +345,11 @@ componentList.set(15, houseTransaction);
componentList.set(14, houseRenovate);
componentList.set(13, houseDecoration);
componentList.set(12, houseRepair);
componentList.set(17, banquetMarry);
componentList.set(20, banquetOther);
componentList.set(21, banquetFuneral);
componentList.set(19, banquetFullMoon);
componentList.set(18, banquetBirthday);
const isComponent = (id: any) => {
return componentList.get(id);