|
@@ -125,8 +125,8 @@
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="24" class="anniu" v-if="displayBtn">
|
|
<el-col :span="24" class="anniu" v-if="displayBtn">
|
|
- <el-button type="primary" size="mini" v-if="this.user && this.user.uid != data.userid" @click="btnPhone()">交流洽谈</el-button>
|
|
|
|
- <el-button type="success" size="mini" v-if="this.user && this.user.uid != data.userid" @click="onSubmit()">供求对接</el-button>
|
|
|
|
|
|
+ <el-button type="primary" size="mini" v-if="this.user && this.user._id != data.userid" @click="btnPhone()">交流洽谈</el-button>
|
|
|
|
+ <el-button type="success" size="mini" v-if="this.user && this.user._id != data.userid" @click="onSubmit()">供求对接</el-button>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-col>
|
|
</el-row>
|
|
</el-row>
|
|
@@ -160,7 +160,7 @@ export default {
|
|
if (!this.room.id) {
|
|
if (!this.room.id) {
|
|
//TODO 请求房间号
|
|
//TODO 请求房间号
|
|
let obj = {};
|
|
let obj = {};
|
|
- if (!this.user.uid) {
|
|
|
|
|
|
+ if (!this.user._id) {
|
|
// this.$message.error('游客身份无法与卖家对话,请先注册');
|
|
// this.$message.error('游客身份无法与卖家对话,请先注册');
|
|
this.$message({
|
|
this.$message({
|
|
dangerouslyUseHTMLString: true,
|
|
dangerouslyUseHTMLString: true,
|