From f1bc15c42d9130edd745e1175132e6cb1628d17e Mon Sep 17 00:00:00 2001
From: CherrysChang <1935003650@qq.com>
Date: Thu, 10 Sep 2020 08:56:07 +0800
Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E5=8F=B0=20=E5=81=9A=E5=B8=82?=
=?UTF-8?q?=E5=95=86=20=E5=87=BA=E5=94=AE=20=E7=AB=8B=E5=8D=B3=E5=8F=91?=
=?UTF-8?q?=E5=B8=83=E6=93=8D=E4=BD=9C=20=E6=B7=BB=E5=8A=A0=E5=8F=82?=
=?UTF-8?q?=E6=95=B0isTeacher?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/ad.js | 2 ++
src/components/announce/announce-sell-btn.vue | 5 +++++
src/components/announce/announce-table-sell.vue | 7 +++++++
src/pages/marketAnnounce.vue | 5 ++++-
4 files changed, 18 insertions(+), 1 deletion(-)
diff --git a/src/api/ad.js b/src/api/ad.js
index 70f1676..296aa47 100644
--- a/src/api/ad.js
+++ b/src/api/ad.js
@@ -84,6 +84,7 @@ export function getAdSellBlish({
unitName,
minLimit,
remark,
+ isTeacher,
}) {
return request({
url: adUrl + '/publishSellAd',
@@ -98,6 +99,7 @@ export function getAdSellBlish({
unitName,
minLimit,
remark,
+ isTeacher,
},
});
}
diff --git a/src/components/announce/announce-sell-btn.vue b/src/components/announce/announce-sell-btn.vue
index 23c1500..bef8cff 100644
--- a/src/components/announce/announce-sell-btn.vue
+++ b/src/components/announce/announce-sell-btn.vue
@@ -121,6 +121,10 @@ export default {
type: Object,
required: true,
},
+ isTeacher: {
+ type: Boolean,
+ default: false,
+ },
},
data() {
return {
@@ -323,6 +327,7 @@ export default {
unitName: this.ansellcoinName.unitName,
minLimit: this.sammlPrice,
remark: this.textXuan,
+ isTeacher: this.isTeacher,
}).then(res => {
// console.log(res);
// 提示用户
diff --git a/src/components/announce/announce-table-sell.vue b/src/components/announce/announce-table-sell.vue
index b282953..e45cb83 100644
--- a/src/components/announce/announce-table-sell.vue
+++ b/src/components/announce/announce-table-sell.vue
@@ -13,6 +13,7 @@