Commit e3a6e038 authored by 黄奎's avatar 黄奎

111

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