提交 663c177f 编写于 作者: guangjun.yang's avatar guangjun.yang

Merge branch 'dev-check-20200208' into 'release'

问卷积木增加审核结果功能

问卷积木增加审核结果功能
coder reviewer:杨广俊

See merge request !1
...@@ -7,3 +7,4 @@ dist/ ...@@ -7,3 +7,4 @@ dist/
node_modules/ node_modules/
.DS_Store .DS_Store
.vscode .vscode
.idea
此差异已折叠。
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
"less": "^2.7.1", "less": "^2.7.1",
"less-loader": "^2.2.3", "less-loader": "^2.2.3",
"node-gyp": "^3.4.0", "node-gyp": "^3.4.0",
"node-sass": "^4.9.2", "node-sass": "^4.13.1",
"opn": "^4.0.2", "opn": "^4.0.2",
"ora": "^0.3.0", "ora": "^0.3.0",
"sass": "^0.5.0", "sass": "^0.5.0",
......
...@@ -272,6 +272,20 @@ ...@@ -272,6 +272,20 @@
<el-radio :label="1">招募问卷</el-radio> <el-radio :label="1">招募问卷</el-radio>
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
<el-form-item
label="是否需要审核"
v-show="questionEditList.showType == 2"
prop="bizType"
>
<el-radio-group
v-model="questionEditList.auditFlag"
:disabled="formStatus != 'create'"
@change="addAuditFlag"
>
<el-radio :label="2"></el-radio>
<el-radio :label="1"></el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="基本信息" v-show="questionEditList.showType == 2"> <el-form-item label="基本信息" v-show="questionEditList.showType == 2">
<el-checkbox v-model="userBase.name" label="true">姓名</el-checkbox> <el-checkbox v-model="userBase.name" label="true">姓名</el-checkbox>
<el-checkbox v-model="userBase.mobile" label="true" <el-checkbox v-model="userBase.mobile" label="true"
...@@ -344,9 +358,9 @@ ...@@ -344,9 +358,9 @@
label="登录权限控制" label="登录权限控制"
v-show="questionEditList.showType == 2" v-show="questionEditList.showType == 2"
> >
<el-checkbox-group v-model="loginAuthList" class="login-auth"> <el-checkbox-group v-model="loginAuthList" class="login-auth" >
<el-checkbox label="1">云鹊医APP</el-checkbox> <el-checkbox label="1" :disabled="questionEditList.auditFlag==1">云鹊医APP</el-checkbox>
<el-checkbox label="2">云鹊医H5</el-checkbox> <el-checkbox label="2" :disabled="questionEditList.auditFlag==1">云鹊医H5</el-checkbox>
</el-checkbox-group> </el-checkbox-group>
<p style="color:red;">注意:如不勾选登录权限则用户信息记录为游客</p> <p style="color:red;">注意:如不勾选登录权限则用户信息记录为游客</p>
</el-form-item> </el-form-item>
...@@ -355,7 +369,7 @@ ...@@ -355,7 +369,7 @@
v-show="questionEditList.showType == 2" v-show="questionEditList.showType == 2"
prop="limitNum" prop="limitNum"
> >
<el-radio v-model="questionEditList.limitNumFlag" label="0"> <el-radio v-model="questionEditList.limitNumFlag" label="0" :disabled="questionEditList.auditFlag==1">
<el-input <el-input
v-model="questionEditList.limitNum" v-model="questionEditList.limitNum"
controls-position="right" controls-position="right"
...@@ -363,9 +377,10 @@ ...@@ -363,9 +377,10 @@
style="width: 100px;" style="width: 100px;"
@blur="checkLimitNum" @blur="checkLimitNum"
@focus="beforeInputLimitNum" @focus="beforeInputLimitNum"
:disabled="questionEditList.auditFlag==1"
></el-input> ></el-input>
</el-radio> </el-radio>
<el-radio v-model="questionEditList.limitNumFlag" label="1" <el-radio v-model="questionEditList.limitNumFlag" label="1" :disabled="questionEditList.auditFlag==1"
>不限制填写次数</el-radio >不限制填写次数</el-radio
> >
</el-form-item> </el-form-item>
...@@ -423,7 +438,8 @@ export default { ...@@ -423,7 +438,8 @@ export default {
questionIntro: "", questionIntro: "",
bizType: 0, //业务类型 0普通 ,1 招募 bizType: 0, //业务类型 0普通 ,1 招募
limitNumFlag: "0", //填写次数flag limitNumFlag: "0", //填写次数flag
limitNum: 1 //填写次数 limitNum: 1, //填写次数
auditFlag: 2
}, },
formStatus: "create", formStatus: "create",
loginAuthList: [], //登录权限控制 loginAuthList: [], //登录权限控制
...@@ -478,6 +494,15 @@ export default { ...@@ -478,6 +494,15 @@ export default {
commonUtil.resizeHeight(); commonUtil.resizeHeight();
}, },
methods: { methods: {
addAuditFlag() {
if(this.questionEditList.auditFlag == 1) {
vm.loginAuthList = ["1","2"];
vm.questionEditList.limitNumFla = '1';
vm.questionEditList.limitNum = 1;
} else {
}
},
// 查询 // 查询
search(flag) { search(flag) {
if (flag) vm.searchParam.pageNo = 1; if (flag) vm.searchParam.pageNo = 1;
...@@ -532,7 +557,8 @@ export default { ...@@ -532,7 +557,8 @@ export default {
questionIntro: "", questionIntro: "",
bizType: 0, bizType: 0,
limitNumFlag: "0", limitNumFlag: "0",
limitNum: 1 limitNum: 1,
auditFlag: 2
} }
); );
vm.loginAuthList = ["1"]; vm.loginAuthList = ["1"];
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册