|
@@ -4,8 +4,7 @@
|
|
<swiper class="top-ad-swiper" :indicator-dots="false" :autoplay="true" :interval="5000" :duration="600" :circular="true">
|
|
<swiper class="top-ad-swiper" :indicator-dots="false" :autoplay="true" :interval="5000" :duration="600" :circular="true">
|
|
<swiper-item v-for="(item,index) in imageTopList" :key="index">
|
|
<swiper-item v-for="(item,index) in imageTopList" :key="index">
|
|
<div class="swiper-item uni-bg-red">
|
|
<div class="swiper-item uni-bg-red">
|
|
- <!-- <image class="swiper-item-imgse" :fade-show='true' :src="item.photo"></image> -->
|
|
|
|
- <u-image mode="scaleToFill" width="750upx" height="400upx" :src="item.photo"></u-image>
|
|
|
|
|
|
+ <u-image mode="scaleToFill" width="750upx" height="400upx" :src="item.photoPath"></u-image>
|
|
</div>
|
|
</div>
|
|
</swiper-item>
|
|
</swiper-item>
|
|
</swiper>
|
|
</swiper>
|
|
@@ -24,10 +23,10 @@
|
|
</div>
|
|
</div>
|
|
<div class="panel-body">
|
|
<div class="panel-body">
|
|
<div class="order-list">
|
|
<div class="order-list">
|
|
- <div v-for="item in toDoData" :key="item.id">
|
|
|
|
|
|
+ <div v-for="item in toDoData" :key="item.id" @click="viewToDo(item)">
|
|
<span>{{item.createDate.split(' ')[0]}}</span>
|
|
<span>{{item.createDate.split(' ')[0]}}</span>
|
|
<span>{{item.sourceTypeDictValue}}</span>
|
|
<span>{{item.sourceTypeDictValue}}</span>
|
|
- <span>{{item.statusDictValue}}</span>
|
|
|
|
|
|
+ <span :class="item.status">{{item.statusDictValue}}</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="nodata" v-if="toDoData.length==0">{{notoDoDataText}}</div>
|
|
<div class="nodata" v-if="toDoData.length==0">{{notoDoDataText}}</div>
|
|
@@ -66,7 +65,7 @@ export default {
|
|
{
|
|
{
|
|
id: 'DJZX',
|
|
id: 'DJZX',
|
|
icon: 'dianjian',
|
|
icon: 'dianjian',
|
|
- color: '#ff5500',
|
|
|
|
|
|
+ color: '#ff8b3e',
|
|
name: '点检中心',
|
|
name: '点检中心',
|
|
url:'/pages/spotCheckCenter/spotChecking',
|
|
url:'/pages/spotCheckCenter/spotChecking',
|
|
target: 'page',
|
|
target: 'page',
|
|
@@ -75,7 +74,7 @@ export default {
|
|
{
|
|
{
|
|
id: 'XCXD',
|
|
id: 'XCXD',
|
|
icon: 'xianchangjiancha',
|
|
icon: 'xianchangjiancha',
|
|
- color: '#00aa00',
|
|
|
|
|
|
+ color: '#00aa7f',
|
|
name: '现场巡店',
|
|
name: '现场巡店',
|
|
url:'/pages/siteInspection/siteInspection',
|
|
url:'/pages/siteInspection/siteInspection',
|
|
target: 'page',
|
|
target: 'page',
|
|
@@ -84,7 +83,7 @@ export default {
|
|
{
|
|
{
|
|
id: 'XDJL',
|
|
id: 'XDJL',
|
|
icon: 'tubiaokuwenjian-gengxin-',
|
|
icon: 'tubiaokuwenjian-gengxin-',
|
|
- color: '#d0527e',
|
|
|
|
|
|
+ color: '#55aaff',
|
|
name: '巡店记录',
|
|
name: '巡店记录',
|
|
url:'/pages/shopTourRecord/shopTourRecord',
|
|
url:'/pages/shopTourRecord/shopTourRecord',
|
|
target: 'page',
|
|
target: 'page',
|
|
@@ -107,6 +106,7 @@ export default {
|
|
// 或某一项字典列表,参数code
|
|
// 或某一项字典列表,参数code
|
|
getLookUpList(code, vuexKey) {
|
|
getLookUpList(code, vuexKey) {
|
|
getLookUpDatas({ type: code }).then(res => {
|
|
getLookUpDatas({ type: code }).then(res => {
|
|
|
|
+ console.log(res)
|
|
if (res.status == 200) {
|
|
if (res.status == 200) {
|
|
this.$store.state[vuexKey] = res.data || [];
|
|
this.$store.state[vuexKey] = res.data || [];
|
|
}
|
|
}
|
|
@@ -170,7 +170,13 @@ export default {
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: '/pages/toDoList/toDoList'
|
|
url: '/pages/toDoList/toDoList'
|
|
})
|
|
})
|
|
- }
|
|
|
|
|
|
+ },
|
|
|
|
+ // 详细页
|
|
|
|
+ viewToDo(item){
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: "/pages/toDoList/backlogDetail?id="+item.id
|
|
|
|
+ })
|
|
|
|
+ },
|
|
}
|
|
}
|
|
};
|
|
};
|
|
</script>
|
|
</script>
|
|
@@ -188,14 +194,12 @@ export default {
|
|
.panel-title{
|
|
.panel-title{
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
- padding:20upx 15upx;
|
|
|
|
|
|
+ padding:20upx 25upx;
|
|
border-bottom: 2upx solid #eee;
|
|
border-bottom: 2upx solid #eee;
|
|
.texts{
|
|
.texts{
|
|
font-size: 28upx;
|
|
font-size: 28upx;
|
|
flex-grow: 1;
|
|
flex-grow: 1;
|
|
padding-left: 15upx;
|
|
padding-left: 15upx;
|
|
- background: url(/static/pt.png) no-repeat left center;
|
|
|
|
- background-size: auto 80%;
|
|
|
|
}
|
|
}
|
|
.btns{
|
|
.btns{
|
|
font-size: 24upx;
|
|
font-size: 24upx;
|
|
@@ -218,21 +222,21 @@ export default {
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
font-size: 30upx;
|
|
font-size: 30upx;
|
|
- padding: 14upx 0;
|
|
|
|
|
|
+ padding: 15upx 0;
|
|
span{
|
|
span{
|
|
flex-grow: 1;
|
|
flex-grow: 1;
|
|
text-align: center;
|
|
text-align: center;
|
|
color: #666;
|
|
color: #666;
|
|
width: 33.3%;
|
|
width: 33.3%;
|
|
}
|
|
}
|
|
- span.daiJs{
|
|
|
|
- color: #ff0000;
|
|
|
|
|
|
+ span.PENDING{
|
|
|
|
+ color: #ff736e;
|
|
}
|
|
}
|
|
- span.daiWg{
|
|
|
|
- color: #ffaa00;
|
|
|
|
|
|
+ span.EXPIRED{
|
|
|
|
+ color: #999;
|
|
}
|
|
}
|
|
- span.yiJs{
|
|
|
|
- color: #5fbe00;
|
|
|
|
|
|
+ span.FINISHED{
|
|
|
|
+ color: #bbec82;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|