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

使用timesStr替换times

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