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

使用timesStr替换times

上级 13847598
......@@ -8,7 +8,7 @@
</ul>
<ul class="list">
<li v-for="(item, index) in dataList" :key="index">
<span>{{item.times}}</span>
<span>{{item.timesStr}}</span>
<span>{{item.count}}</span>
</li>
</ul>
......
......@@ -19,13 +19,13 @@
}}
</li>
<li
v-show="value.provinceName && rank>1 && isShowCity"
v-show="value.provinceName && rank>1"
:class="{ active: isShowCity }"
class="item"
@click="tabAddressClick(2)"
>{{ value.cityName ? value.cityName : '请选择2' }}</li>
<li
v-show="value.cityName && rank>2 && isShowCounty"
v-show="value.cityName && rank>2"
:class="{ active: isShowCounty }"
class="item"
@click="tabAddressClick(3)"
......@@ -159,13 +159,13 @@ export default {
// this.projectId = (this.$route.query && this.$route.query.projectId) || 374;
// this.getProvinceData(this.queryParams);
if(process.client) {
if(this.$route && this.$route.query) {
let cQuery = this.$route.query
let hospitalIdList = cQuery.hospitalIdList || ''
this.queryParams.projectId = cQuery.projectId || '';
}
}
// if(process.client) {
// if(this.$route && this.$route.query) {
// let cQuery = this.$route.query
// let hospitalIdList = cQuery.hospitalIdList || ''
// this.queryParams.projectId = cQuery.projectId || '';
// }
// }
},
computed: {
...mapGetters({
......@@ -203,6 +203,7 @@ export default {
});
},
async getProvinceData(params) {
console.log('getProvinceData')
await getProvinceList(params).then(res => {
if (res.code === "000000") {
this.areaList.provinceList = res.data.list;
......@@ -216,6 +217,7 @@ export default {
});
},
async getCityData(params) {
console.log('getCityData')
await getCityList(params).then(res => {
if (res.code === "000000") {
this.areaList.cityList = res.data.list;
......@@ -233,6 +235,7 @@ export default {
});
},
async getCountyData(params) {
console.log('getCountyData')
await getCountyList(params).then(res => {
if (res.code === "000000") {
this.areaList.countyList = res.data.list;
......@@ -251,6 +254,7 @@ export default {
});
},
async getTownData(params) {
console.log('getTownData')
await getTownList(params).then(res => {
if (res.code === "000000") {
this.areaList.townList = res.data.list;
......@@ -342,7 +346,7 @@ export default {
// 调用机构接口
this.setAreaDegree(item.degree)
this.getHospitalsByRegionId(this.queryParams);
return;
// return;
}
//控制省市县乡数据展示与隐藏
this.isShowProvince = false;
......
......@@ -90,8 +90,6 @@ export default {
});
},
selectSortItem(type) {
alert(type)
console.log(this.allData)
if(type == 1) {
this.dataList = this.allData.examScoreList || [];
} else if(type === 2) {
......
......@@ -501,7 +501,7 @@ export default {
this.isShowArea = false;
},
orgConfirm(selData) {
this.$toast('res.message');
// this.$toast('res.message');
let hospitalIds = [];
let hospitalNames = [];
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册