|
@@ -42,9 +42,9 @@
|
|
<view class="img-max-box">
|
|
<view class="img-max-box">
|
|
<view class="img-box" v-for="(item,index) in formData.handleImg" :key="index">
|
|
<view class="img-box" v-for="(item,index) in formData.handleImg" :key="index">
|
|
<img class="img-data" :src="baseUrl+item" @click="clickImg(item)">
|
|
<img class="img-data" :src="baseUrl+item" @click="clickImg(item)">
|
|
- <img class="position-img" src="@/pages_manage/images/icon_ssp_closure.png" v-if="newData.handleStatus==0" @click="delImg(index)">
|
|
|
|
|
|
+ <img class="position-img" src="@/images/icon_ssp_closure.png" v-if="newData.handleStatus==0" @click="delImg(index)">
|
|
</view>
|
|
</view>
|
|
- <img class="add-button" src="@/pages_manage/images/icon_07.png" @click="selectImage" v-if="newData.handleStatus==0">
|
|
|
|
|
|
+ <img class="add-button" src="@/images/icon_07.png" @click="selectImage" v-if="newData.handleStatus==0">
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -70,16 +70,16 @@
|
|
onLoad(option) {
|
|
onLoad(option) {
|
|
this.itemData = JSON.parse(decodeURIComponent(option.item));
|
|
this.itemData = JSON.parse(decodeURIComponent(option.item));
|
|
console.log("this.itemData",this.itemData)
|
|
console.log("this.itemData",this.itemData)
|
|
-
|
|
|
|
|
|
+
|
|
this.getPhotonote();
|
|
this.getPhotonote();
|
|
if(this.itemData.isApply==2){
|
|
if(this.itemData.isApply==2){
|
|
this.readNnreadFun();
|
|
this.readNnreadFun();
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
//已读未读
|
|
//已读未读
|
|
-
|
|
|
|
|
|
+
|
|
async readNnreadFun() {
|
|
async readNnreadFun() {
|
|
let self = this;
|
|
let self = this;
|
|
const {data} = await groupListRead({messageId:this.itemData.messageId})
|
|
const {data} = await groupListRead({messageId:this.itemData.messageId})
|
|
@@ -90,7 +90,7 @@
|
|
this.getPhotonote();
|
|
this.getPhotonote();
|
|
}
|
|
}
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+
|
|
clickButton(){
|
|
clickButton(){
|
|
let self = this;
|
|
let self = this;
|
|
if(self.newData.handleStatus == 0){
|
|
if(self.newData.handleStatus == 0){
|
|
@@ -142,9 +142,9 @@
|
|
this.formData.handleDescribe=data.data.handleDescribe;
|
|
this.formData.handleDescribe=data.data.handleDescribe;
|
|
this.formData.handleImg=data.data.handleImg.split(',');
|
|
this.formData.handleImg=data.data.handleImg.split(',');
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
this.newData.imgList = data.data.imgUrl.split(",");
|
|
this.newData.imgList = data.data.imgUrl.split(",");
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
},
|
|
},
|
|
// 图片上传
|
|
// 图片上传
|
|
@@ -177,7 +177,7 @@
|
|
mask: true
|
|
mask: true
|
|
});
|
|
});
|
|
uni.uploadFile({
|
|
uni.uploadFile({
|
|
- url: config.base_url+'/base/file/upload', //仅为示例,非真实的接口地址
|
|
|
|
|
|
+ url: config.base_url+'/file/upload', //仅为示例,非真实的接口地址
|
|
header:{'Authorization':uni.getStorageSync('token')},
|
|
header:{'Authorization':uni.getStorageSync('token')},
|
|
filePath: tempFilePaths,
|
|
filePath: tempFilePaths,
|
|
name: 'file',
|
|
name: 'file',
|
|
@@ -188,7 +188,7 @@
|
|
let res = JSON.parse(uploadFileRes.data);
|
|
let res = JSON.parse(uploadFileRes.data);
|
|
if(res.code == 200){
|
|
if(res.code == 200){
|
|
self.formData.handleImg.push(res.data.url);
|
|
self.formData.handleImg.push(res.data.url);
|
|
-
|
|
|
|
|
|
+
|
|
}else{
|
|
}else{
|
|
uni.showToast({
|
|
uni.showToast({
|
|
title: res.msg,
|
|
title: res.msg,
|
|
@@ -277,8 +277,8 @@
|
|
.input-box{
|
|
.input-box{
|
|
height:auto;
|
|
height:auto;
|
|
//display flex;
|
|
//display flex;
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
.left-box{
|
|
.left-box{
|
|
width:180rpx;
|
|
width:180rpx;
|
|
line-height:80rpx;
|
|
line-height:80rpx;
|
|
@@ -331,7 +331,7 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
}
|
|
}
|
|
.bottom-button-box{
|
|
.bottom-button-box{
|
|
width: 550rpx;
|
|
width: 550rpx;
|