Commit 8d944c84 authored by 黄奎's avatar 黄奎

行程特色颜色调整

parent 8fdb2b87
<style>
@import "../../assets/css/comSupplier.css";
</style>
<template>
<div class="flexOne suppierManage">
<div class="query-box">
<ul>
<li>
<span>
<em>{{$t('system.quety_area')}}</em>
<el-select v-model="msg.CountryStr" clearable class="w150" filterable
@change="getProvinceList(msg.CountryStr,1)" :placeholder="$t('hotel.hotel_country')">
<el-option v-for='item in countryList' :key="item.ID" :label="item.Name" :value="item.ID">
</el-option>
</el-select>
<el-select v-model="msg.ProvinceStr" class="w150" filterable @change="getProvinceList(msg.ProvinceStr,2)"
:placeholder="$t('hotel.hotel_province')">
<el-option v-for='item in provinceList' :key="item.ID" :label="item.Name" :value="item.ID">
</el-option>
</el-select>
<el-select v-model="msg.CityStr" class="w150" filterable @change="getProvinceList(msg.CityStr,3)"
:placeholder="$t('hotel.hotel_city')">
<el-option v-for='item in cityList' :key="item.ID" :label="item.Name" :value="item.ID">
</el-option>
</el-select>
<el-select v-model="msg.DistrictStr" class="w150" filterable :placeholder="$t('hotel.hotel_area')">
<el-option v-for='item in district' :key="item.ID" :label="item.Name" :value="item.ID">
</el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>{{$t('hotel.suplier_name')}}</em>
<el-input maxlength="50" v-model="msg.Name" class="permiss-input w150" @keyup.native.enter="initData"
:placeholder="$t('pub.pleaseImport')"></el-input>
</span>
</li>
<li>
<span>
<em>{{$t('hotel.suplier_contact')}}</em>
<el-input maxlength="50" v-model="msg.Contact" class="permiss-input w150" @keyup.native.enter="initData"
:placeholder="$t('pub.pleaseImport')"></el-input>
</span>
</li>
<li>
<button class="hollowFixedBtn" type="button"
@click="resetPageIndex(),initData()">{{$t('pub.searchBtn')}}</button>
<button class="normalBtn" type="button"
@click="clearinputInfo(),outerVisible = true,dialogTitle=$t('objFill.v101.busManagement.tianjaigys')">{{$t('pub.addBtn')}}</button>
</li>
</ul>
<el-dialog custom-class='addCompany' :title="dialogTitle" :visible.sync="outerVisible" center>
<el-form :model="addMsg" :rules="rules" ref="addMsg" label-width="100px">
<el-form-item :label="$t('hotel.suplier_name')" prop="Name">
<el-input type="text" class="w300" maxlength="50" v-model="addMsg.Name"></el-input>
</el-form-item>
<el-form-item :label="$t('hotel.table_tel')" p>
<el-input type="text" class="w300" maxlength="50" v-model="addMsg.Mobile"></el-input>
</el-form-item>
<el-form-item :label="$t('hotel.suplier_contact')">
<el-input type="text" class="w300" maxlength="50" v-model="addMsg.WeChatName"></el-input>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<button class="hollowFixedBtn"
@click="resetForm('addMsg'),outerVisible = false">{{$t('pub.cancelBtn')}}</button> &nbsp;
<button class="normalBtn" type="primary" @click="submitForm('addMsg')">{{$t('pub.sureBtn')}}</button>
</div>
</el-dialog>
</div>
<div class="supplierList clearfix" v-loading="loading">
<div class="supList" v-for="item in tableList" :key="item.subCode">
<div class="suTop">
<img src="../../assets/img/suplier.jpg">
<div class="topCircle">{{item.Number}}</div>
</div>
<div class="supTitle">{{item.Name}}</div>
<div class="telNumber">{{item.Mobile}}</div>
<div class="Address">
<div v-show="item.WeChatName">
<i class="iconfont icon-img_dz"></i>
<el-tooltip class="item" effect="dark" :content="item.WeChatName" placement="top-start">
<div class="AddressInner">{{item.WeChatName}}</div>
</el-tooltip>
</div>
</div>
<div class="updataBtn">
<button class="normalBtn UPBtn"
@click="outerVisible = true,dialogTitle=$t('objFill.v101.busManagement.xiugaigonys'),updateInfo(item.ID)">{{$t('pub.updateMsg')}}</button>
<button class="hollowFixedBtn UPBtn" @click="isdelete(item)">{{$t('system.table_delete')}}</button>
</div>
</div>
</div>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
layout="total,prev, pager, next, jumper" :page-size="this.msg.pageSize" :total="total">
</el-pagination>
</div>
</template>
<script>
export default {
data() {
return {
total: 0,
currentPage: 1,
tableList: "",
outerVisible: false,
loading: true,
dialogTitle: "",
msg: {
pageIndex: 1,
pageSize: 10,
Name: "",
Mobile: "",
WeChatName: "",
SupplierId: 0,
},
addMsg: {
DetailsId: 0,
SupplierId: 0,
Name: "",
Mobile: "",
WeChatName: "",
},
rules: {
Name: [{
required: true,
message: this.$t('visaT.qsrgysname'),
trigger: "blur"
}],
}
};
},
methods: {
handleCurrentChange(val) {
this.msg.pageIndex = val;
this.initData();
},
resetPageIndex() {
this.msg.pageIndex = 1;
this.currentPage = 1;
},
initData() {
this.loading = true;
this.apipost(
"supplier_post_GetBusSupplierManPage",
this.msg,
res => {
this.loading = false;
if (res.data.resultCode == 1) {
this.tableList = res.data.data.pageData;
this.total = res.data.data.count;
}
},
null
);
},
isdelete(item) {
var that = this;
this.Confirm("是否删除此司机?", function () {
that.delsuppli(item);
});
},
delsuppli(item) {
let msg = {
DetailsId: item.DetailsId
};
this.apipost(
"supplier_post_RemoveBusSupplierMan",
msg,
response => {
if (response.data.resultCode == 1) {
this.Success(this.$t('tips.shanchuchenggong'));
this.initData();
} else {
this.Error(response.data.message);
}
},
null
);
},
saveInfo() {
this.apipost(
"supplier_post_SetBusSupplierMan",
this.addMsg,
res => {
if (res.data.resultCode == 1) {
this.initData();
this.Success(this.$t('tips.saveYes'));
this.outerVisible = false;
} else {
this.Error(res.data.message);
}
},
null
);
},
clearinputInfo() {
this.addMsg.Name = "";
this.addMsg.Mobile = "";
this.addMsg.WeChatName = "";
},
updateInfo(ID) {
let msg = {
DetailsId: ID
};
this.apipost(
"supplier_post_GetBusSupplierMan",
msg,
res => {
var tempData = res.data.data;
this.addMsg.DetailsId = tempData.DetailsId;
this.addMsg.Name = tempData.Name;
this.addMsg.Mobile = tempData.Mobile;
this.addMsg.WeChatName = tempData.WeChatName;
},
null
);
},
submitForm(addMsg) {
//提交创建、修改表单
let that = this;
that.$refs[addMsg].validate(valid => {
if (valid) {
that.saveInfo();
} else {
return false;
}
});
},
resetForm(formName) {
this.$refs[formName].resetFields();
},
},
created() {
if (this.$route.query.SupplierId && this.$route.query.SupplierId > 0) {
this.addMsg.SupplierId = this.$route.query.SupplierId;
this.msg.SupplierId = this.$route.query.SupplierId;
}
},
mounted() {
this.initData();
}
};
</script>
\ No newline at end of file
<style> <style>
@import "../../assets/css/comSupplier.css"; @import "../../assets/css/comSupplier.css";
</style> </style>
<template> <template>
<div class="flexOne suppierManage"> <div class="flexOne suppierManage">
...@@ -8,88 +9,77 @@ ...@@ -8,88 +9,77 @@
<li> <li>
<span> <span>
<em>{{$t('system.quety_area')}}</em> <em>{{$t('system.quety_area')}}</em>
<el-select v-model="msg.CountryStr" clearable class="w150" filterable @change="getProvinceList(msg.CountryStr,1)" :placeholder="$t('hotel.hotel_country')"> <el-select v-model="msg.CountryStr" clearable class="w150" filterable
<el-option v-for='item in countryList' @change="getProvinceList(msg.CountryStr,1)" :placeholder="$t('hotel.hotel_country')">
:key="item.ID" <el-option v-for='item in countryList' :key="item.ID" :label="item.Name" :value="item.ID">
:label="item.Name"
:value="item.ID">
</el-option> </el-option>
</el-select> </el-select>
<el-select v-model="msg.ProvinceStr" class="w150" filterable @change="getProvinceList(msg.ProvinceStr,2)" :placeholder="$t('hotel.hotel_province')"> <el-select v-model="msg.ProvinceStr" class="w150" filterable @change="getProvinceList(msg.ProvinceStr,2)"
<el-option v-for='item in provinceList' :placeholder="$t('hotel.hotel_province')">
:key="item.ID" <el-option v-for='item in provinceList' :key="item.ID" :label="item.Name" :value="item.ID">
:label="item.Name"
:value="item.ID">
</el-option> </el-option>
</el-select> </el-select>
<el-select v-model="msg.CityStr" class="w150" filterable @change="getProvinceList(msg.CityStr,3)" :placeholder="$t('hotel.hotel_city')"> <el-select v-model="msg.CityStr" class="w150" filterable @change="getProvinceList(msg.CityStr,3)"
<el-option v-for='item in cityList' :placeholder="$t('hotel.hotel_city')">
:key="item.ID" <el-option v-for='item in cityList' :key="item.ID" :label="item.Name" :value="item.ID">
:label="item.Name"
:value="item.ID">
</el-option> </el-option>
</el-select> </el-select>
<el-select v-model="msg.DistrictStr" class="w150" filterable :placeholder="$t('hotel.hotel_area')"> <el-select v-model="msg.DistrictStr" class="w150" filterable :placeholder="$t('hotel.hotel_area')">
<el-option v-for='item in district' <el-option v-for='item in district' :key="item.ID" :label="item.Name" :value="item.ID">
:key="item.ID"
:label="item.Name"
:value="item.ID">
</el-option> </el-option>
</el-select> </el-select>
</span> </span>
</li> </li>
<li> <li>
<span> <span>
<em>{{$t('hotel.suplier_name')}}</em><el-input maxlength="50" v-model="msg.Name" class="permiss-input w150" @keyup.native.enter="initData" :placeholder="$t('pub.pleaseImport')"></el-input> <em>{{$t('hotel.suplier_name')}}</em>
<el-input maxlength="50" v-model="msg.Name" class="permiss-input w150" @keyup.native.enter="initData"
:placeholder="$t('pub.pleaseImport')"></el-input>
</span> </span>
</li> </li>
<li> <li>
<span> <span>
<em>{{$t('hotel.suplier_contact')}}</em><el-input maxlength="50" v-model="msg.Contact" class="permiss-input w150" @keyup.native.enter="initData" :placeholder="$t('pub.pleaseImport')"></el-input> <em>{{$t('hotel.suplier_contact')}}</em>
<el-input maxlength="50" v-model="msg.Contact" class="permiss-input w150" @keyup.native.enter="initData"
:placeholder="$t('pub.pleaseImport')"></el-input>
</span> </span>
</li> </li>
<li> <li>
<button class="hollowFixedBtn" type="button" @click="resetPageIndex(),initData()">{{$t('pub.searchBtn')}}</button> <button class="hollowFixedBtn" type="button"
<button class="normalBtn" type="button" @click="clearinputInfo(),outerVisible = true,dialogTitle=$t('objFill.v101.busManagement.tianjaigys')">{{$t('pub.addBtn')}}</button> @click="resetPageIndex(),initData()">{{$t('pub.searchBtn')}}</button>
<button class="normalBtn" type="button"
@click="clearinputInfo(),outerVisible = true,dialogTitle=$t('objFill.v101.busManagement.tianjaigys')">{{$t('pub.addBtn')}}</button>
</li> </li>
</ul> </ul>
<el-dialog custom-class='addCompany' :title="dialogTitle" :visible.sync="outerVisible" center> <el-dialog custom-class='addCompany' :title="dialogTitle" :visible.sync="outerVisible" center>
<el-form :model="addMsg" :rules="rules" ref="addMsg" label-width="100px" > <el-form :model="addMsg" :rules="rules" ref="addMsg" label-width="100px">
<el-form-item :label="$t('hotel.suplier_name')" prop="Name"> <el-form-item :label="$t('hotel.suplier_name')" prop="Name">
<el-input type="text" class="w300" maxlength="50" v-model="addMsg.Name"></el-input> <el-input type="text" class="w300" maxlength="50" v-model="addMsg.Name"></el-input>
</el-form-item> </el-form-item>
<el-form-item :label="$t('restaurant.res_belongArea')"> <el-form-item :label="$t('restaurant.res_belongArea')">
<el-select v-model="addMsg.Country" clearable class="w150" filterable @change="getProvinceList(addMsg.Country,1)" :placeholder="$t('hotel.hotel_country')"> <el-select v-model="addMsg.Country" clearable class="w150" filterable
<el-option v-for='item in countryList' @change="getProvinceList(addMsg.Country,1)" :placeholder="$t('hotel.hotel_country')">
:key="item.ID" <el-option v-for='item in countryList' :key="item.ID" :label="item.Name" :value="item.ID">
:label="item.Name"
:value="item.ID">
</el-option> </el-option>
</el-select> </el-select>
<el-select v-model="addMsg.Province" class="w150" filterable @change="getProvinceList(addMsg.Province,2)" :placeholder="$t('hotel.hotel_province')"> <el-select v-model="addMsg.Province" class="w150" filterable @change="getProvinceList(addMsg.Province,2)"
<el-option v-for='item in provinceList' :placeholder="$t('hotel.hotel_province')">
:key="item.ID" <el-option v-for='item in provinceList' :key="item.ID" :label="item.Name" :value="item.ID">
:label="item.Name"
:value="item.ID">
</el-option> </el-option>
</el-select> </el-select>
<el-select v-model="addMsg.City" class="w150" filterable @change="getProvinceList(addMsg.City,3)" :placeholder="$t('hotel.hotel_city')"> <el-select v-model="addMsg.City" class="w150" filterable @change="getProvinceList(addMsg.City,3)"
<el-option v-for='item in cityList' :placeholder="$t('hotel.hotel_city')">
:key="item.ID" <el-option v-for='item in cityList' :key="item.ID" :label="item.Name" :value="item.ID">
:label="item.Name"
:value="item.ID">
</el-option> </el-option>
</el-select> </el-select>
<el-select v-model="addMsg.District" class="w150" filterable :placeholder="$t('hotel.hotel_area')"> <el-select v-model="addMsg.District" class="w150" filterable :placeholder="$t('hotel.hotel_area')">
<el-option v-for='item in district' <el-option v-for='item in district' :key="item.ID" :label="item.Name" :value="item.ID">
:key="item.ID"
:label="item.Name"
:value="item.ID">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item :label="$t('hotel.table_HotelAddress')" prop="Address"> <el-form-item :label="$t('hotel.table_HotelAddress')" prop="Address">
<el-input type="text" class="w300" maxlength="50" v-model="addMsg.Address" :placeholder="$t('hotel.table_areaDetail')"></el-input> <el-input type="text" class="w300" maxlength="50" v-model="addMsg.Address"
:placeholder="$t('hotel.table_areaDetail')"></el-input>
</el-form-item> </el-form-item>
<el-form-item :label="$t('hotel.table_tel')" prop="Tel"> <el-form-item :label="$t('hotel.table_tel')" prop="Tel">
<el-input type="text" class="w300" maxlength="20" v-model="addMsg.Tel"></el-input> <el-input type="text" class="w300" maxlength="20" v-model="addMsg.Tel"></el-input>
...@@ -105,7 +95,8 @@ ...@@ -105,7 +95,8 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<button class="hollowFixedBtn" @click="resetForm('addMsg'),outerVisible = false">{{$t('pub.cancelBtn')}}</button> &nbsp; <button class="hollowFixedBtn"
@click="resetForm('addMsg'),outerVisible = false">{{$t('pub.cancelBtn')}}</button> &nbsp;
<button class="normalBtn" type="primary" @click="submitForm('addMsg')">{{$t('pub.sureBtn')}}</button> <button class="normalBtn" type="primary" @click="submitForm('addMsg')">{{$t('pub.sureBtn')}}</button>
</div> </div>
</el-dialog> </el-dialog>
...@@ -127,34 +118,30 @@ ...@@ -127,34 +118,30 @@
</div> </div>
</div> </div>
<div class="updataBtn"> <div class="updataBtn">
<button class="normalBtn UPBtn" @click="outerVisible = true,dialogTitle=$t('objFill.v101.busManagement.xiugaigonys'),updateInfo(item.ID)">{{$t('pub.updateMsg')}}</button> <button class="normalBtn UPBtn"
@click="outerVisible = true,dialogTitle=$t('objFill.v101.busManagement.xiugaigonys'),updateInfo(item.ID)">{{$t('pub.updateMsg')}}</button>
<button class="hollowFixedBtn UPBtn" @click="isdelete(item.ID)">{{$t('system.table_delete')}}</button> <button class="hollowFixedBtn UPBtn" @click="isdelete(item.ID)">{{$t('system.table_delete')}}</button>
<button class="hollowFixedBtn HS_financial" @click="AccountManage(item)">{{$t('visaT.Accountmanagement')}}</button> <button class="hollowFixedBtn HS_financial"
@click="AccountManage(item)">{{$t('visaT.Accountmanagement')}}</button>
<!-- <button>司机管理</button> -->
</div> </div>
</div> </div>
</div> </div>
<el-pagination <el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
background layout="total,prev, pager, next, jumper" :page-size="this.msg.pageSize" :total="total">
@current-change="handleCurrentChange"
:current-page.sync="currentPage"
layout="total,prev, pager, next, jumper"
:page-size="this.msg.pageSize"
:total="total">
</el-pagination> </el-pagination>
</div> </div>
</template> </template>
<script> <script>
export default { export default {
data() { data() {
return { return {
total: 0, total: 0,
currentPage: 1, currentPage: 1,
tabelDate: "", tabelDate: "",
outerVisible: false, outerVisible: false,
isDeleteNote: true,
isRight: true,
loading: true, loading: true,
dialogTitle: "", dialogTitle: "",
countryList: "", countryList: "",
...@@ -162,8 +149,6 @@ export default { ...@@ -162,8 +149,6 @@ export default {
cityList: "", cityList: "",
district: "", district: "",
deleteID: "", deleteID: "",
typeList: "",
TypeOne: "",
msg: { msg: {
pageIndex: 1, pageIndex: 1,
pageSize: 18, pageSize: 18,
...@@ -190,10 +175,16 @@ export default { ...@@ -190,10 +175,16 @@ export default {
Type: "5" Type: "5"
}, },
rules: { rules: {
Name: [ Name: [{
{ required: true, message:this.$t('visaT.qsrgysname'), trigger: "blur" } required: true,
], message: this.$t('visaT.qsrgysname'),
Contact: [{ required: true, message:this.$t('rule.EnterContratPerson'), trigger: "blur" }] trigger: "blur"
}],
Contact: [{
required: true,
message: this.$t('rule.EnterContratPerson'),
trigger: "blur"
}]
} }
}; };
}, },
...@@ -224,7 +215,7 @@ export default { ...@@ -224,7 +215,7 @@ export default {
isdelete(ID) { isdelete(ID) {
this.deleteID = ID; this.deleteID = ID;
var that = this; var that = this;
this.Confirm("是否删除此供应商?", function() { this.Confirm("是否删除此供应商?", function () {
that.delsuppli(); that.delsuppli();
}); });
}, },
...@@ -263,20 +254,18 @@ export default { ...@@ -263,20 +254,18 @@ export default {
); );
}, },
clearinputInfo() { clearinputInfo() {
(this.addMsg = { this.addMsg.Name = "";
Name: "", this.addMsg.Country = "";
Country: "", this.addMsg.Province = "";
Province: "", this.addMsg.City = "";
City: "", this.addMsg.District = "";
District: "", this.addMsg.Address = "";
Address: "", this.addMsg.Tel = "";
Tel: "", this.addMsg.Contact = "";
Contact: "", this.addMsg.Fax = "";
Fax: "", this.addMsg.Remark = "";
Remark: "", this.addMsg.Type = 5;
Type: 5 this.provinceList = "";
}),
(this.provinceList = "");
this.cityList = ""; this.cityList = "";
this.district = ""; this.district = "";
}, },
...@@ -307,7 +296,9 @@ export default { ...@@ -307,7 +296,9 @@ export default {
}, },
getProvinceList(ID, type) { getProvinceList(ID, type) {
//根据省份获取城市 //根据省份获取城市
let msg = { Id: ID }; let msg = {
Id: ID
};
if (type == 1) { if (type == 1) {
this.addMsg.Province = ""; this.addMsg.Province = "";
this.addMsg.City = ""; this.addMsg.City = "";
...@@ -371,7 +362,12 @@ export default { ...@@ -371,7 +362,12 @@ export default {
AccountManage(item) { AccountManage(item) {
this.$router.push({ this.$router.push({
name: "empBankAccount", name: "empBankAccount",
query: { id: item.ID, type: 4,blank:'y',tab:'账户管理'} query: {
id: item.ID,
type: 4,
blank: 'y',
tab: '账户管理'
}
}); });
} }
}, },
...@@ -379,5 +375,6 @@ export default { ...@@ -379,5 +375,6 @@ export default {
this.initData(); this.initData();
this.getCountryList(); //初始化国家下拉 this.getCountryList(); //初始化国家下拉
} }
}; };
</script> </script>
\ No newline at end of file
<template>
<div class="BusFeedback">
<div class="main NewSurveyList" v-loading="loading">
<div class="">
<div style="text-align:center;font-size:20px;font-weight:bold;"><template
v-if="surveyInfo&&surveyInfo.Title&&surveyInfo.Title!=''">{{surveyInfo.Title}}</template>
</div>
<div style="text-indent:2em;"><template
v-if="surveyInfo&&surveyInfo.SubTitle&&surveyInfo.SubTitle!=''">{{surveyInfo.SubTitle}}</template>
</div>
<table id="table">
<template v-for="(item, index) in busDetailsList">
<tr :key="`t_`+index">
<td class="_name">{{index+1}}{{item.Title}}</td>
</tr>
<tr :key="`a_`+index">
<template v-if="item.SurveyType === 1">
<td>
<el-rate v-model="item.ScoreNum" show-text :texts="texts" disabled>
</el-rate>
</td>
</template>
<template v-if="item.SurveyType === 2">
<td>
<el-radio-group v-model="item.ScoreNum">
<el-radio v-for="(radio, rIndex) in item.SurveyOptionsList" :label="radio.ID" :key="rIndex"
disabled>
{{radio.OptionsName}}</el-radio>
</el-radio-group>
</td>
</template>
<template v-if="item.SurveyType === 3">
<td>
<el-checkbox v-for="(radio, rIndex) in item.SurveyOptionsList" :checked="radio.IsCheck=='1'"
:label="radio.ID" :key="rIndex" rea>
{{radio.OptionsName}}</el-checkbox>
</td>
</template>
<template v-if="item.SurveyType === 4">
<td>
<el-input type="textarea" :rows="2" :placeholder="$t('fnc.qsrneirong')" v-model="item.TextContent"
disabled>
</el-input>
</td>
</template>
</tr>
</template>
</table>
</div>
<div style="margin: 20px 0; text-align: right;">
<button class="normalBtn" @click="closeDialog">{{$t('pub.closeSel')}}</button>
</div>
</div>
</div>
</template>
<script>
export default {
props: ["TCID"],
components: {},
data() {
return {
loading: false,
wqList: [],
texts: [
this.$t('objFill.pingfens')[0],
this.$t('objFill.pingfens')[1],
this.$t('objFill.pingfens')[2],
this.$t('objFill.pingfens')[3],
this.$t('objFill.pingfens')[4]
],
surveyInfo: {}, //问卷信息
busDetailsList: [], //车问卷详情
}
},
created() {
this.GetBusSurveyInfo()
},
mounted() {
this.GetSurveyShowList();
this.showBusSurveyInfo();
},
methods: {
//显示车行详情
showBusSurveyInfo() {
this.loading = true;
var postMsg = {
TCID: this.TCID
}
this.apipost("survey_post_GetBusSurveyDetails", postMsg, res => {
this.loading = false;
if (res.data.resultCode == 1) {
this.busDetailsList = res.data.data;
}
})
},
//获取文件标题和描述
GetBusSurveyInfo() {
this.apipost("survey_post_GetBusSurveyInfo", {}, res => {
if (res.data.resultCode == 1) {
this.surveyInfo = res.data.data;
}
});
},
GetSurveyShowList() {
let data = {
IsShow: 1,
SurveyType: -1
}
this.apipost('survey_post_GetBusSurveyShowList', data, res => {
if (res.data.resultCode === 1) {
let data = res.data.data
data.map(item => {
if (item.SurveyType === 2) {
item.SurveyOptionsList.map((cItem, cIndex) => {
cItem.IsCheckS = false
})
}
if (item.SurveyType === 3) {
item.SurveyOptionsList.map((cItem, cIndex) => {
cItem.IsCheckS = false
})
}
if (item.SurveyType === 1) {
item.ScoreNum = 5;
}
})
this.wqList = data;
}
}, null)
},
closeDialog() {
},
}
}
</script>
<style scoped>
.Feedback ul>li {
display: inline-block;
font-size: 12px;
color: #666;
margin: 20px 30px 0px 0;
}
.Feedback .singeRowTable {
margin-top: 20px;
}
.NewSurveyList.main {
padding: 1.5rem;
}
.NewSurveyList .tit {
font-size: 2rem;
text-align: center;
margin-bottom: .5rem;
}
.NewSurveyList .sub_tit {
font-size: 1.4rem;
margin-bottom: .4rem;
}
.NewSurveyList .indet_2 {
text-indent: 2.4rem;
}
.NewSurveyList .tit_det {
text-indent: 2.4rem;
font-size: 1rem;
}
.NewSurveyList table {
border-collapse: collapse;
border-spacing: 0;
}
.NewSurveyList table {
margin-top: 1rem;
width: 100%;
}
.NewSurveyList tr td {
padding: .5rem;
border: 1px solid #5b5653;
font-size: 1rem;
}
.NewSurveyList .qianming {
margin-top: 2.5rem;
}
.NewSurveyList .qianming label {
margin-right: .2rem;
}
.NewSurveyList.main {
width: 100%;
margin: 0 auto;
}
.NewSurveyList #table td,
.NewSurveyList .qianming span {
color: #111;
}
.NewSurveyList #table td._name,
.NewSurveyList .qianming label {
color: #5d5d5d;
}
.go_regis {
text-decoration: underline;
cursor: pointer;
}
</style>
...@@ -368,6 +368,7 @@ ...@@ -368,6 +368,7 @@
getConfig(configObj) { getConfig(configObj) {
this.PostConfig = configObj; this.PostConfig = configObj;
this.PostConfig.TripColor = configObj.TripColor ? configObj.TripColor : '#CC6900' //#CC0066 this.PostConfig.TripColor = configObj.TripColor ? configObj.TripColor : '#CC6900' //#CC0066
this.FeatureData.TripColor=this.PostConfig.TripColor;
//没有报价单根据线路设置直采和非直采方式生成线路行程 //没有报价单根据线路设置直采和非直采方式生成线路行程
if (this.IsHaveOffer == 0) { if (this.IsHaveOffer == 0) {
this.NoticeParameters.ConfigId = this.PostConfig.ConfigId; this.NoticeParameters.ConfigId = this.PostConfig.ConfigId;
......
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