Commit 87b3bcc7 authored by “yiyousong”'s avatar “yiyousong”

feat:新增业务时添加是否业务展示选项

parent 417db7dc
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
:wrapper-col="{ span: 19 }" :wrapper-col="{ span: 19 }"
> >
<a-form-model-item label="业务级别:" prop="isBusiness"> <a-form-model-item label="业务级别:" prop="isBusiness">
<a-radio-group v-model="form.isBusiness" @change="changeIsBusiness"> <a-radio-group v-model="form.isBusiness">
<a-radio :value="0">一级业务</a-radio> <a-radio :value="0">一级业务</a-radio>
<a-radio :value="1">二级业务</a-radio> <a-radio :value="1">二级业务</a-radio>
</a-radio-group> </a-radio-group>
...@@ -60,13 +60,13 @@ ...@@ -60,13 +60,13 @@
<!-- <a-form-model-item label="允许预约" prop="canorder"> <!-- <a-form-model-item label="允许预约" prop="canorder">
<y-switch v-model="form.canorder"></y-switch> <y-switch v-model="form.canorder"></y-switch>
</a-form-model-item> </a-form-model-item> -->
<a-form-model-item label="允许取号" prop="cantake"> <!-- <a-form-model-item label="允许取号" prop="cantake">
<y-switch v-model="form.cantake"></y-switch> <y-switch v-model="form.cantake"></y-switch>
</a-form-model-item>
<a-form-model-item label="大厅情况展示" prop="datashow">
<y-switch v-model="form.datashow"></y-switch>
</a-form-model-item> --> </a-form-model-item> -->
<a-form-model-item label="是否数据展示" prop="datashow">
<y-switch v-model="form.datashow"></y-switch>
</a-form-model-item>
<a-form-model-item label="备注" prop="remark"> <a-form-model-item label="备注" prop="remark">
<a-textarea <a-textarea
v-model="form.remark" v-model="form.remark"
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
<script> <script>
import { checkEn, checkBusinessName } from "@/utils/validate"; import { checkEn, checkBusinessName } from "@/utils/validate";
import local from "@/utils/local"; import local from "@/utils/local";
// import YSwitch from "@/components/yswitch/YSwitch.vue"; import YSwitch from "@/components/yswitch/YSwitch.vue";
import { import {
saveBusiness, saveBusiness,
// getBusinessList, // getBusinessList,
...@@ -89,7 +89,7 @@ import { ...@@ -89,7 +89,7 @@ import {
} from "@/services/business"; } from "@/services/business";
export default { export default {
components: { components: {
// YSwitch, YSwitch,
}, },
data() { data() {
return { return {
...@@ -102,7 +102,7 @@ export default { ...@@ -102,7 +102,7 @@ export default {
// flownum: "", // flownum: "",
// canorder: "", // canorder: "",
// cantake: "", // cantake: "",
// datashow: "", datashow: 0,
remark: "", remark: "",
businessType: 1, businessType: 1,
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment