修改逻辑

上级 ec205d47
...@@ -194,7 +194,10 @@ ...@@ -194,7 +194,10 @@
> >
</el-col> </el-col>
</el-form-item> </el-form-item>
<el-form-item label="下一题按钮" v-if="questionEditList.showType == 1"> <el-form-item
label="下一题按钮"
v-if="questionEditList.showType == 1"
>
<div class="submit-btn" style="margin-right:20px;"> <div class="submit-btn" style="margin-right:20px;">
<p>置灰不可点</p> <p>置灰不可点</p>
<el-upload <el-upload
...@@ -272,13 +275,11 @@ ...@@ -272,13 +275,11 @@
></el-input> ></el-input>
</el-form-item> </el-form-item>
<el-form-item label="基本信息" v-if="questionEditList.showType == 2"> <el-form-item label="基本信息" v-if="questionEditList.showType == 2">
<el-checkbox <el-checkbox-group v-model="questionEditList.baseInfoList">
v-for="(item, index) in questionEditList.baseInfoList" <el-checkbox label="1">姓名</el-checkbox>
:label="item.typeValue" <el-checkbox label="2">手机号</el-checkbox>
:key="index" <el-checkbox label="3">地址</el-checkbox>
v-model="item.checked" </el-checkbox-group>
>{{ item.typeName }}</el-checkbox
>
</el-form-item> </el-form-item>
<el-form-item <el-form-item
label="问卷起始时间" label="问卷起始时间"
...@@ -367,19 +368,20 @@ ...@@ -367,19 +368,20 @@
></el-input> ></el-input>
<span style="font-size:12px;">限40字符</span> <span style="font-size:12px;">限40字符</span>
</el-form-item> </el-form-item>
<el-form-item <el-form-item
label="登录权限控制" label="登录权限控制"
v-if="questionEditList.showType == 2" v-if="questionEditList.showType == 2"
> >
<div class="login-auth"> <el-checkbox-group
<el-checkbox v-model="questionEditList.loginAuthList"
v-for="(item, index) in questionEditList.loginAuthList" class="login-auth"
:label="item.typeValue" >
:key="index" <el-checkbox label="1">云鹊医APP</el-checkbox>
v-model="item.checked" <el-checkbox label="2">云鹊医H5</el-checkbox>
>{{ item.typeName }}</el-checkbox <!-- <el-checkbox label="3">云鹊健康APP</el-checkbox>
> <el-checkbox label="4">云鹊健康H5</el-checkbox> -->
</div> </el-checkbox-group>
</el-form-item> </el-form-item>
<el-form-item <el-form-item
label="问卷填写次数" label="问卷填写次数"
...@@ -565,38 +567,11 @@ export default { ...@@ -565,38 +567,11 @@ export default {
headDiagramUrl: "", headDiagramUrl: "",
headStyle: 1, headStyle: 1,
subheading: "", subheading: "",
baseInfoList: [ baseInfoList: ["1"],
{
typeName: "姓名",
typeValue: "name",
checked: true
},
{
typeName: "手机号",
typeValue: "mobile",
checked: false
},
{
typeName: "地址",
typeValue: "address",
checked: false
}
],
questionIntro: "", questionIntro: "",
startDate: "", startDate: "",
endDate: "", endDate: "",
loginAuthList: [ loginAuthList: ["1"],
{
typeName: "云鹊医app",
typeValue: "1",
checked: true
},
{
typeName: "云鹊医h5",
typeValue: "2",
checked: false
}
],
limitNumFlag: "0", limitNumFlag: "0",
limitNum: 1 limitNum: 1
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册