|
|
@@ -91,16 +91,17 @@
|
|
|
<view class="order-page" v-else>
|
|
|
|
|
|
<view class="ghs_list_page flex-col">
|
|
|
- <view class="ghs_list_area flex-col justify-end">
|
|
|
|
|
|
- <template v-if="!$util.isEmpty(supplierList)">
|
|
|
+ <view style="background-color:white;margin-bottom:20upx;">
|
|
|
+ <button class="admin-button-com mini-btn blue" style="margin-left:13upx;padding-top:15upx;padding-bottom:15upx;" @click="pageTo({url:'/admin/stat/cgItem'})">采购统计</button>
|
|
|
+ <button class="admin-button-com mini-btn blue" style="margin-left:13upx;padding-top:15upx;padding-bottom:15upx;" @click="suggest()">改进建议</button>
|
|
|
+ <button class="admin-button-com mini-btn blue" style="margin-left:13upx;padding-top:15upx;padding-bottom:15upx;" @click="pageTo({url:'/pagesPurchase/pb'})">已屏蔽商家</button>
|
|
|
+ <button class="admin-button-com mini-btn blue" style="margin-left:13upx;padding-top:15upx;padding-bottom:15upx;" @click="pageTo({url:'/pagesPurchase/open'})">开启完整功能</button>
|
|
|
+ </view>
|
|
|
|
|
|
- <view style="background-color:white;margin-bottom:20upx;">
|
|
|
- <button class="admin-button-com mini-btn blue" style="margin-left:13upx;padding-top:15upx;padding-bottom:15upx;" @click="pageTo({url:'/admin/stat/cgItem'})">采购统计</button>
|
|
|
- <button class="admin-button-com mini-btn blue" style="margin-left:13upx;padding-top:15upx;padding-bottom:15upx;" @click="suggest()">改进建议</button>
|
|
|
- <button class="admin-button-com mini-btn blue" style="margin-left:13upx;padding-top:15upx;padding-bottom:15upx;" @click="pageTo({url:'/pagesPurchase/pb'})">已屏蔽商家</button>
|
|
|
- <button class="admin-button-com mini-btn blue" style="margin-left:13upx;padding-top:15upx;padding-bottom:15upx;" @click="pageTo({url:'/pagesPurchase/open'})">开启完整功能</button>
|
|
|
- </view>
|
|
|
+ <template v-if="!$util.isEmpty(supplierList)">
|
|
|
+
|
|
|
+ <view class="ghs_list_area flex-col justify-end">
|
|
|
|
|
|
<view class="ghs_box flex-col justify-end" v-for="(ghsInfo, index) in supplierList" :key="index">
|
|
|
<view class="image-text_7 flex-row justify-between">
|
|
|
@@ -132,12 +133,13 @@
|
|
|
<view class="button_5 flex-col" v-else @click="enterShop(ghsInfo)"><text class="text_13">买花</text></view>
|
|
|
<text style="position:absolute;left:615upx;top:238upx;color:#a9a2a2;" @click.stop="bpSj(ghsInfo)">屏蔽商家</text>
|
|
|
</view>
|
|
|
- </template>
|
|
|
- <block v-else>
|
|
|
- <AppWrapperEmpty title="暂无供货商" :is-empty="$util.isEmpty(supplierList)" />
|
|
|
- </block>
|
|
|
-
|
|
|
</view>
|
|
|
+
|
|
|
+ </template>
|
|
|
+ <block v-else>
|
|
|
+ <emptyComponent title="暂无供货商" :is-empty="$util.isEmpty(supplierList)" />
|
|
|
+ </block>
|
|
|
+
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
@@ -153,12 +155,12 @@ import { getShopInfo } from "@/utils/auth";
|
|
|
import { consoleIndex } from "@/api/workbench";
|
|
|
import NotLogin from "@/components/not-login";
|
|
|
import autoUpdateMixins from "@/mixins/autoUpdate";
|
|
|
-import AppWrapperEmpty from "@/components/app-wrapper-empty";
|
|
|
+import emptyComponent from "@/components/empty";
|
|
|
import { ghsList } from "@/api/purchase";
|
|
|
import { changeDelStatus } from "@/api/ghs";
|
|
|
export default {
|
|
|
name: "workbench",
|
|
|
- components: { NotLogin,AppWrapperEmpty },
|
|
|
+ components: { NotLogin,emptyComponent },
|
|
|
mixins: [autoUpdateMixins],
|
|
|
data () {
|
|
|
return {
|
|
|
@@ -247,7 +249,7 @@ export default {
|
|
|
methods: {
|
|
|
suggest(){
|
|
|
let that = this
|
|
|
- that.$util.confirmModal({content:'请添加客服微信反馈:15280215347',okText:'复制'},() => {
|
|
|
+ that.$util.confirmModal({content:'请添加客服微信反馈',okText:'复制微信'},() => {
|
|
|
uni.setClipboardData({
|
|
|
data: '15280215347',
|
|
|
success: function() {
|