|
|
@@ -23,7 +23,7 @@
|
|
|
<td class="border-rt">
|
|
|
{{ tablenum.riderMoney ? `${tablenum.riderMoney}元` : '0元' }}
|
|
|
</td>
|
|
|
- <!-- <th>本月邀请数量</th>
|
|
|
+ <!-- <th>本月邀请数量</th>`````````
|
|
|
<td class = "border-rt">{{ tablenum.inviteCount ? `${tablenum.inviteCount}人` : '0人' }}</td> -->
|
|
|
</tr>
|
|
|
<!-- <tr>
|
|
|
@@ -124,7 +124,7 @@
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<th>微信名称</th>
|
|
|
- <td>{{ tableData.userName }}</td>
|
|
|
+ <td>{{ tableData.nickName }}</td>
|
|
|
<th>支付宝账号</th>
|
|
|
<td>{{ tableData.zhiFuBao ? tableData.zhiFuBao : '未绑定' }}</td>
|
|
|
<th>支付宝姓名</th>
|
|
|
@@ -737,8 +737,8 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="riderlat" label="完成时骑手纬度度">
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="warrantyPeriod" label="保修期" width="160">
|
|
|
- </el-table-column>
|
|
|
+ <!-- <el-table-column prop="warrantyPeriod" label="保修期" width="160">
|
|
|
+ </el-table-column> -->
|
|
|
<el-table-column prop="createTime" label="创建时间" width="160">
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="state" label="状态" fixed="right" width="160">
|
|
|
@@ -1215,7 +1215,130 @@
|
|
|
</el-pagination>
|
|
|
</div>
|
|
|
</el-tab-pane>
|
|
|
-
|
|
|
+ <el-tab-pane label="我评论的店铺" name="wdpl">
|
|
|
+ <el-table v-loading="tableDataLoading" :data="pinglunsData.records">
|
|
|
+ <el-table-column prop="id" label="编号" width="80">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="shopName" label="商户名称">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="goodsName" label="商品名称">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="orderNumber" label="订单号">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="evaluateMessage" label="信息内容" width="280">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="evaluateMessage" label="评论图片" width="280">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div v-if="scope.row.pictures">
|
|
|
+ <span v-for="(item,index) in scope.row.pictures.split(',')" :key="index">
|
|
|
+ <el-popover placement="top-start" title="" trigger="hover">
|
|
|
+ <img style="width: 50px; height: 50px;margin: 3px;" :src="item" alt="" slot="reference">
|
|
|
+ <img style="width: 200px; height: 200px" :src="item" alt="">
|
|
|
+ </el-popover>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="shopReplyMessage" label="商家回复内容">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-popover placement="top-start" title="" trigger="hover">
|
|
|
+ <div style="display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow: hidden;max-height:80px;" slot="reference">{{scope.row.shopReplyMessage}}</div>
|
|
|
+ <div style="width: 400px;">{{scope.row.shopReplyMessage}}</div>
|
|
|
+ </el-popover>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="createTime" label="创建时间" width="150">
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <div style="text-align: center;margin-top: 10px;">
|
|
|
+ <el-pagination @size-change="handleSizeChangePls" @current-change="handleCurrentChangePls"
|
|
|
+ :page-sizes="[10, 20, 30, 50, 100]" :page-size="limit" :current-page="page"
|
|
|
+ layout="total,sizes, prev, pager, next,jumper" :total="pinglunsData.total">
|
|
|
+ </el-pagination>
|
|
|
+ </div>
|
|
|
+ </el-tab-pane>
|
|
|
+ <el-tab-pane label="我评价的骑手" name="pinglun">
|
|
|
+ <div style="margin:2% 0;display: inline-block;">
|
|
|
+ <span>是否满意:</span>
|
|
|
+ <el-select v-model="campus" style="width:150px;margin-left: 10px;" @change="animeDat2(campus)">
|
|
|
+ <el-option v-for="item in homeData1" :key="item.value" :label="item.label" :value="item.value">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </div>
|
|
|
+ <el-table v-loading="tableDataLoading" :data="autonymData.records">
|
|
|
+ <el-table-column prop="evaluateId" label="编号" width="80">
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+ <el-table-column prop="indentNumber" label="评价订单号" width="200">
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+ <el-table-column prop="indent" label="骑手昵称" width="150">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="scope.row.riderUser&&scope.row.riderUser.nickName"
|
|
|
+ style="color: #4f9dec;cursor: pointer;" @click="updates(scope.row.riderUserId)">
|
|
|
+ {{ scope.row.riderUser.nickName ? scope.row.riderUser.nickName : '未绑定' }}
|
|
|
+ </span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="evaluateMessage" label="评价内容">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="satisfactionFlag" label="是否满意" width="160">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="scope.row.satisfactionFlag == '0'">满意</span>
|
|
|
+ <span v-if="scope.row.satisfactionFlag == '1'">不满意</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="createTime" label="评价时间" width="160">
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <div style="text-align: center;margin-top: 10px;">
|
|
|
+ <el-pagination @size-change="handleSizeChange9" @current-change="handleCurrentChange9"
|
|
|
+ :page-sizes="[10, 15, 20]" :page-size="limit" :current-page="page"
|
|
|
+ layout="total,sizes, prev, pager, next,jumper" :total="autonymData.total">
|
|
|
+ </el-pagination>
|
|
|
+ </div>
|
|
|
+ </el-tab-pane>
|
|
|
+ <el-tab-pane label="骑手的评价" name="qishou">
|
|
|
+ <div style="margin:2% 0;display: inline-block;">
|
|
|
+ <span>是否满意:</span>
|
|
|
+ <el-select v-model="campus" style="width:150px;margin-left: 10px;" @change="animeDat2(campus)">
|
|
|
+ <el-option v-for="item in homeData1" :key="item.value" :label="item.label" :value="item.value">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </div>
|
|
|
+ <el-table v-loading="tableDataLoading" :data="autonymData.records">
|
|
|
+ <el-table-column prop="evaluateId" label="编号" width="80">
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+ <el-table-column prop="indentNumber" label="评价订单号" width="200">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="indent" label="评价用户" width="150">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="scope.row.user&&scope.row.user.nickName" style="color: #4f9dec;cursor: pointer;"
|
|
|
+ @click="updates(scope.row.userId)">
|
|
|
+ {{ scope.row.user.nickName ? scope.row.user.nickName : '未绑定' }}
|
|
|
+ </span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
+ <el-table-column prop="evaluateMessage" label="评价内容">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="satisfactionFlag" label="是否满意" width="160">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="scope.row.satisfactionFlag == '0'">满意</span>
|
|
|
+ <span v-if="scope.row.satisfactionFlag == '1'">不满意</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="createTime" label="评价时间" width="160">
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <div style="text-align: center;margin-top: 10px;">
|
|
|
+ <el-pagination @size-change="handleSizeChange9" @current-change="handleCurrentChange9"
|
|
|
+ :page-sizes="[10, 15, 20]" :page-size="limit" :current-page="page"
|
|
|
+ layout="total,sizes, prev, pager, next,jumper" :total="autonymData.total">
|
|
|
+ </el-pagination>
|
|
|
+ </div>
|
|
|
+ </el-tab-pane>
|
|
|
<!-- 不可提现添加金额 -->
|
|
|
<el-dialog title="修改金额" :visible.sync="dialogFormVisible1" center>
|
|
|
<div style="margin-bottom: 10px;">
|
|
|
@@ -1506,6 +1629,8 @@
|
|
|
city: '', //市
|
|
|
district: '', //区
|
|
|
},
|
|
|
+ pinglunsData:{},
|
|
|
+ campus:'',
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
@@ -1675,6 +1800,24 @@
|
|
|
this.page = 1
|
|
|
this.liaotianSelectQs()
|
|
|
}
|
|
|
+ if (tab._props.label == '我评论的店铺') {
|
|
|
+ this.limit = 10
|
|
|
+ this.page = 1
|
|
|
+ this.pinglunsSelect()
|
|
|
+ }
|
|
|
+ if (tab._props.label == '我评价的骑手') {
|
|
|
+ this.page = 1
|
|
|
+ this.limit = 10
|
|
|
+ this.types = 1
|
|
|
+ this.autonymSelect()
|
|
|
+ }
|
|
|
+ if (tab._props.label == '骑手的评价') {
|
|
|
+ this.page = 1
|
|
|
+ this.limit = 10
|
|
|
+ this.types = 2
|
|
|
+ this.autonymSelect()
|
|
|
+ }
|
|
|
+
|
|
|
},
|
|
|
// 消息推送
|
|
|
magNotice() {
|
|
|
@@ -1859,6 +2002,23 @@
|
|
|
this.page = val
|
|
|
this.liaotianSelect()
|
|
|
},
|
|
|
+ handleSizeChangePls(val) {
|
|
|
+ this.limit = val
|
|
|
+ this.pinglunsSelect()
|
|
|
+ },
|
|
|
+ handleCurrentChangePls(val) {
|
|
|
+ this.page = val
|
|
|
+ this.pinglunsSelect()
|
|
|
+ },
|
|
|
+ handleSizeChange91(val) {
|
|
|
+ this.limit = val
|
|
|
+ this.autonymSelect()
|
|
|
+ },
|
|
|
+ handleCurrentChange91(val) {
|
|
|
+ this.page = val
|
|
|
+ this.autonymSelect()
|
|
|
+ },
|
|
|
+
|
|
|
timeDate2() {
|
|
|
this.rechargeSelect()
|
|
|
},
|
|
|
@@ -2933,6 +3093,62 @@
|
|
|
this.huihuaData = returnData
|
|
|
})
|
|
|
},
|
|
|
+ // 我的评论
|
|
|
+ pinglunsSelect() {
|
|
|
+ let userId = this.$route.query.userId
|
|
|
+ this.tableDataLoading = true
|
|
|
+ this.$http({
|
|
|
+ url: this.$http.adornUrl('admin/order/getEvaluateList'),
|
|
|
+ method: 'get',
|
|
|
+ params: this.$http.adornParams({
|
|
|
+ 'page': this.page,
|
|
|
+ 'limit': this.limit,
|
|
|
+ 'userId': userId,
|
|
|
+ })
|
|
|
+ }).then(({
|
|
|
+ data
|
|
|
+ }) => {
|
|
|
+ this.tableDataLoading = false
|
|
|
+ let returnData = data.data;
|
|
|
+ this.pinglunsData = returnData
|
|
|
+ })
|
|
|
+ },
|
|
|
+ // 我的评价
|
|
|
+ autonymSelect() {
|
|
|
+ let userId = this.$route.query.userId
|
|
|
+ if (this.types == 1) {
|
|
|
+ var userid1 = userId
|
|
|
+ var userid2 = ''
|
|
|
+ } else {
|
|
|
+ var userid1 = ''
|
|
|
+ var userid2 = userId
|
|
|
+ }
|
|
|
+ this.$http({
|
|
|
+ url: this.$http.adornUrl('adminevaluate/selectEvaluate'),
|
|
|
+ method: 'get',
|
|
|
+ params: this.$http.adornParams({
|
|
|
+ 'userId': userid1,
|
|
|
+ 'page': this.page,
|
|
|
+ 'limit': this.limit,
|
|
|
+ 'satisfactionFlag': this.campus,
|
|
|
+ 'indentNumber': '',
|
|
|
+ 'nickName': '',
|
|
|
+ 'riderName': '',
|
|
|
+ 'riderUserId': userid2,
|
|
|
+ })
|
|
|
+ }).then(({
|
|
|
+ data
|
|
|
+ }) => {
|
|
|
+
|
|
|
+ this.tableDataLoading = false
|
|
|
+ let returnData = data.data
|
|
|
+ this.autonymData = returnData
|
|
|
+ })
|
|
|
+ },
|
|
|
+ // 筛选信息
|
|
|
+ animeDat2(state) {
|
|
|
+ this.autonymSelect()
|
|
|
+ },
|
|
|
},
|
|
|
mounted() {
|
|
|
this.dataSelect()
|