Commit e3a6e038 authored by 黄奎's avatar 黄奎

111

parent 1289d0af
......@@ -265,7 +265,7 @@
<div class="_fnDm_content" v-loading='loading'>
<el-table ref="multipleTable" :data="DataList" tooltip-effect="dark" style="width: 100%" row-key="FrID"
@selection-change="handleSelectionChange">
<el-table-column type="selection" :selectable="selectable" width="55" :reserve-selection="true" />
<el-table-column type="selection" :selectable="selectable" width="55" :reserve-selection="true" >
</el-table-column>
<el-table-column :label="$t('fnc.danhao')" width="120">
<template slot-scope="scope">
......
......@@ -13,7 +13,8 @@
<em>{{$t('advmanager.v_line')}}</em>
</span>
<el-select filterable v-model="obj.LineID" value-key="LineID" @change="getLineTeamList">
<el-option :label="$t('pub.unlimitedSel')" :value="{LineName:`${$t('pub.unlimitedSel')}`,LineID:0}"></el-option>
<el-option :label="$t('pub.unlimitedSel')" :value="{LineName:`${$t('pub.unlimitedSel')}`,LineID:0}">
</el-option>
<el-option v-for="item in LineList" :label='item.LineName' :value='item' :key='item.LineID'></el-option>
</el-select>
</li>
......@@ -105,10 +106,9 @@
</template>
<template v-if="item.SurveyType === 3">
<td colspan="4">
<el-checkbox-group v-model="item.SurveyOptionsList">
<el-checkbox v-for="(radio, rIndex) in item.SurveyOptionsList" :label="radio.ID" :key="rIndex">
<el-checkbox v-for="(radio, rIndex) in item.SurveyOptionsList" v-model="radio.IsCheckS"
:label="radio.ID" :key="rIndex">
{{radio.OptionsName}}</el-checkbox>
</el-checkbox-group>
</td>
</template>
<template v-if="item.SurveyType === 4">
......@@ -263,9 +263,16 @@
x.GuestId = this.GuestId;
if (x.SurveyType === 2 || x.SurveyType === 3) {
x.SurveyOptionsList.forEach(y => {
y.IsCheck = x.ScoreNum == y.ID ? '1' : '0'
y.IsCheck = "0";
if (x.SurveyType === 2 && x.ScoreNum == y.ID) {
y.IsCheck = '1';
}
//多选
if (x.SurveyType == 3 && y.IsCheckS) {
y.IsCheck = "1";
}
})
x.ScoreNum = 0
x.ScoreNum = 0;
}
})
this.apipost('survey_post_SetGuestSurvey', data, res => {
......
......@@ -44,21 +44,25 @@
/deep/.guestSign .el-checkbox .el-checkbox__inner {
width: 40px;
height: 40px;
line-height: 40px;
}
/deep/.guestSign .el-checkbox .el-checkbox__inner {
line-height: 3;
/deep/.guestSign .el-checkbox .el-checkbox__label {
font-size: 36px;
/* 设置文字大小 */
}
/* 调整checkbox的选择框大小 */
/deep/.guestSign .el-checkbox .el-checkbox__inner::after {
width: 40px;
height: 40px;
/* 如果需要调整选中对勾的大小 */
/deep/.guestSign .el-checkbox .el-checkbox__input .el-checkbox__inner::after {
width: 20px;
/* 设置对勾的宽度 */
height: 20px;
/* 设置对勾的高度 */
line-height: 20px;
/* 设置对勾内文本的行高 */
}
/deep/.guestSign .el-checkbox .el-checkbox__label {
font-size: 36px;
/deep/.guestSign .el-checkbox .el-checkbox__input.is-checked .el-checkbox__inner::after {
transform: rotate(50deg) scaleY(1.3);
}
</style>
......@@ -128,7 +132,6 @@
<script>
export default {
data() {
return {
qMsg: {
......@@ -206,13 +209,12 @@
}
})
this.dataList = data;
console.log("this.dataList1", JSON.parse(JSON.stringify(this.dataList)))
}
}, null)
},
//提交意见调查
saveGuestSurvey() {
//this.saveLoading = true;
this.saveLoading = true;
var postMsg = [];
console.log("this.dataList2", JSON.parse(JSON.stringify(this.dataList)))
if (this.dataList && this.dataList.length > 0) {
......
......@@ -21,7 +21,7 @@
postMsg: {
type: 1, //1-手机号码验证登录,2-护照号码验证登录
//E75385750 13970261014
guestMobile: "13088987863", //1-为手机号码,2-护照号码
guestMobile: "13891660266", //1-为手机号码,2-护照号码
TCID: 21633
},
qMsg: {
......
<style>
</style>
<template>
<div>
<input type="button" value="手机号验证" />
<input type="button" value="护照号验证" />
</div>
</template>
<script>
export default {
components: {
},
data() {
return {
activeName: 'first',
postMsg: {
loginType: 1, //1-手机号码验证登录,2-护照号码验证登录
phoneNum: "", //电话号码
passportNum: "", //护照号码
}
};
},
mounted() {
},
methods: {
guestLogin() {
}
}
};
</script>
This diff is collapsed.
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