|
@@ -43,7 +43,7 @@
|
|
|
<view class="submitOpBox">
|
|
|
<view class="submitOpBoxLeft">
|
|
|
<view class="submitOpBoxLeftline">访问人:{{info.managerName}}</view>
|
|
|
- <view class="submitOpBoxLeftline" style="padding-top: 28rpx;">访问人:{{info.checkTime}}</view>
|
|
|
+ <view class="submitOpBoxLeftline" style="padding-top: 28rpx;">访问时间:{{info.checkTime.slice(0,info.checkTime.length-8)}}</view>
|
|
|
</view>
|
|
|
<view class="shopScore" v-if="info.shopScore">{{info.shopScore}}分</view>
|
|
|
</view>
|
|
@@ -178,7 +178,7 @@
|
|
|
<view class="shoreDz" @click="editWork">修改作业</view>
|
|
|
</view>
|
|
|
<view class="bottom" v-if="info.state==4&&loginType==2">
|
|
|
- <view class="shoreDz">回复</view>
|
|
|
+ <view class="shoreDz" @click="goReply">回复</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
@@ -275,12 +275,22 @@
|
|
|
arr.push(obj)
|
|
|
})
|
|
|
i.array=arr
|
|
|
+ }else if(i.keyType==4){
|
|
|
+ var arr=[];
|
|
|
+ for(var j=0;j<Number(i.keyValue) +1;j++){
|
|
|
+ arr.push(j)
|
|
|
+ }
|
|
|
+ i.array=arr.reverse();
|
|
|
+ i.storeIndex=null;
|
|
|
+
|
|
|
+ }else if(i.keyType==3){
|
|
|
+ i.imgArr=i.itemValue.split(",")
|
|
|
}
|
|
|
})
|
|
|
})
|
|
|
})
|
|
|
//console.log(this.info.categoryList)
|
|
|
- this.$store.commit('mutationsCategoryList',this.info.categoryList);
|
|
|
+ this.$store.commit('mutationsCategoryList',this.info.categoryList);
|
|
|
this.$store.commit('mutationssuggestList',this.info.suggestList)
|
|
|
uni.navigateTo({
|
|
|
url:'../entryReport/entered?type=3&sheetID='+this.id
|
|
@@ -316,9 +326,16 @@
|
|
|
});
|
|
|
},
|
|
|
goHome(){
|
|
|
- uni.navigateTo({
|
|
|
- url:'../index/index'
|
|
|
- })
|
|
|
+ if(this.loginType==1){
|
|
|
+ uni.navigateTo({
|
|
|
+ url:'../index/index'
|
|
|
+ })
|
|
|
+ }else{
|
|
|
+ uni.navigateTo({
|
|
|
+ url:'../shop/shopIndex/index'
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
},
|
|
|
tabClick(num){
|
|
|
this.tabIndex=num
|
|
@@ -328,6 +345,11 @@
|
|
|
url:'../entryReport/remarks?id='+this.id
|
|
|
})
|
|
|
},
|
|
|
+ goReply(){
|
|
|
+ uni.navigateTo({
|
|
|
+ url:'../shop/shopIndex/reply?id='+this.id+'&shopEvaContent='+this.info.shopEvaContent+'&shopEvaOpName='+this.info.shopEvaOpName+'&shopEvaTime='+this.info.shopEvaTime+'&shopEvaStar='+this.info.shopEvaStar
|
|
|
+ })
|
|
|
+ },
|
|
|
getSuperCheckSheetInfo(){
|
|
|
uni.showLoading({
|
|
|
title: '加载中'
|
|
@@ -339,6 +361,11 @@
|
|
|
lng:this.lng
|
|
|
}
|
|
|
this.$http(url, params, 'GET').then(res => {
|
|
|
+
|
|
|
+ for (const key in res.data.shopInfo) {
|
|
|
+ res.data.shopInfo[key] = this.$praseStrEmpty(res.data.shopInfo[key])
|
|
|
+ }
|
|
|
+
|
|
|
this.info = res.data;
|
|
|
if(this.userInfoId==res.data.managerID){
|
|
|
if(this.mEvaluateLook==0){
|