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

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

parent 417db7dc
......@@ -16,7 +16,7 @@
:wrapper-col="{ span: 19 }"
>
<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="1">二级业务</a-radio>
</a-radio-group>
......@@ -60,13 +60,13 @@
<!-- <a-form-model-item label="允许预约" prop="canorder">
<y-switch v-model="form.canorder"></y-switch>
</a-form-model-item>
<a-form-model-item label="允许取号" prop="cantake">
</a-form-model-item> -->
<!-- <a-form-model-item label="允许取号" prop="cantake">
<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 label="是否数据展示" prop="datashow">
<y-switch v-model="form.datashow"></y-switch>
</a-form-model-item>
<a-form-model-item label="备注" prop="remark">
<a-textarea
v-model="form.remark"
......@@ -80,7 +80,7 @@
<script>
import { checkEn, checkBusinessName } from "@/utils/validate";
import local from "@/utils/local";
// import YSwitch from "@/components/yswitch/YSwitch.vue";
import YSwitch from "@/components/yswitch/YSwitch.vue";
import {
saveBusiness,
// getBusinessList,
......@@ -89,7 +89,7 @@ import {
} from "@/services/business";
export default {
components: {
// YSwitch,
YSwitch,
},
data() {
return {
......@@ -102,7 +102,7 @@ export default {
// flownum: "",
// canorder: "",
// cantake: "",
// datashow: "",
datashow: 0,
remark: "",
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