|
@@ -34,7 +34,7 @@
|
|
|
<div class="desc">{{item.content.order?item.content.order:'-'}}</div>
|
|
<div class="desc">{{item.content.order?item.content.order:'-'}}</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="m-address" v-if="item.msgType == 'order'">
|
|
|
|
|
|
|
+ <div class="m-address" v-if="item.msgType == 'order'" @click="viewOrder(item.content)">
|
|
|
<div class="image"><el-image style="width: 40px;" :src="item.content.img" mode="widthFix"></el-image></div>
|
|
<div class="image"><el-image style="width: 40px;" :src="item.content.img" mode="widthFix"></el-image></div>
|
|
|
<div class="infos">
|
|
<div class="infos">
|
|
|
<div class="title">{{item.content.name}}</div>
|
|
<div class="title">{{item.content.name}}</div>
|
|
@@ -142,6 +142,7 @@
|
|
|
<el-button type="primary" :loading="uploading" @click="confirmUpload">确定发送</el-button>
|
|
<el-button type="primary" :loading="uploading" @click="confirmUpload">确定发送</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
|
|
+ <orderDetail ref="orderDetail" @success="orderSuccess"></orderDetail>
|
|
|
<el-upload ref="uploadRef" action="" :auto-upload="false" :file-list="fileList" :on-change="handleFileChange" :http-request="customUpload" style="display: none" />
|
|
<el-upload ref="uploadRef" action="" :auto-upload="false" :file-list="fileList" :on-change="handleFileChange" :http-request="customUpload" style="display: none" />
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -161,7 +162,11 @@ import { EmojiDecoder, emojiMap } from '@/util/EmojiDecoder.js';
|
|
|
const emojiUrl = 'https://imgcache.qq.com/open/qcloud/tim/assets/emoji/';
|
|
const emojiUrl = 'https://imgcache.qq.com/open/qcloud/tim/assets/emoji/';
|
|
|
const decoder = new EmojiDecoder(emojiUrl, emojiMap);
|
|
const decoder = new EmojiDecoder(emojiUrl, emojiMap);
|
|
|
import { Push } from "@/utils/push";
|
|
import { Push } from "@/utils/push";
|
|
|
|
|
+import orderDetail from '@/components/imFloat/order';
|
|
|
export default {
|
|
export default {
|
|
|
|
|
+ components:{
|
|
|
|
|
+ orderDetail
|
|
|
|
|
+ },
|
|
|
data () {
|
|
data () {
|
|
|
return {
|
|
return {
|
|
|
emojiUrl,
|
|
emojiUrl,
|
|
@@ -238,6 +243,10 @@ export default {
|
|
|
setUserLine(state){
|
|
setUserLine(state){
|
|
|
this.isLineState = state;
|
|
this.isLineState = state;
|
|
|
},
|
|
},
|
|
|
|
|
+ orderSuccess(){},
|
|
|
|
|
+ viewOrder(data){
|
|
|
|
|
+ this.$refs.orderDetail.open("add").setData(data)
|
|
|
|
|
+ },
|
|
|
initPush(){
|
|
initPush(){
|
|
|
var _this = this;
|
|
var _this = this;
|
|
|
if (!this.pushData.obj) {
|
|
if (!this.pushData.obj) {
|
|
@@ -756,6 +765,7 @@ export default {
|
|
|
|
|
|
|
|
.m-address{
|
|
.m-address{
|
|
|
display: flex;align-items: center;gap: 10px;min-width: 260px;
|
|
display: flex;align-items: center;gap: 10px;min-width: 260px;
|
|
|
|
|
+ cursor: pointer;
|
|
|
&.self{
|
|
&.self{
|
|
|
transform: rotate(180);
|
|
transform: rotate(180);
|
|
|
}
|
|
}
|