|
|
@@ -210,6 +210,7 @@ import emptyComponent from "@/components/empty";
|
|
|
import { ghsList } from "@/api/purchase";
|
|
|
import { changeDelStatus } from "@/api/ghs";
|
|
|
import {currentShop} from "@/api/shop";
|
|
|
+import { openPfFn } from "@/api/apply";
|
|
|
export default {
|
|
|
name: "workbench",
|
|
|
components: { NotLogin,emptyComponent },
|
|
|
@@ -325,7 +326,7 @@ export default {
|
|
|
goMore(){
|
|
|
let that = this
|
|
|
uni.showActionSheet({
|
|
|
- itemList: ['已屏蔽列表', '改进建议','开关商城'],
|
|
|
+ itemList: ['已屏蔽列表', '改进建议','开关商城','我要做批发'],
|
|
|
success: function (res) {
|
|
|
if(res.tapIndex == 0){
|
|
|
that.$util.pageTo({url: '/pagesPurchase/pb'})
|
|
|
@@ -336,9 +337,21 @@ export default {
|
|
|
if(res.tapIndex == 2){
|
|
|
that.$util.pageTo({url:'/pagesPurchase/open'})
|
|
|
}
|
|
|
+ if(res.tapIndex == 3){
|
|
|
+ that.openPfShop()
|
|
|
+ }
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+ openPfShop(){
|
|
|
+ this.$util.confirmModal({content:'确认提交?工作人员将会联系您'},() => {
|
|
|
+ openPfFn().then(res=>{
|
|
|
+ if(res.code == 1){
|
|
|
+ this.$msg(res.msg)
|
|
|
+ }
|
|
|
+ })
|
|
|
+ })
|
|
|
+ },
|
|
|
suggest(){
|
|
|
let that = this
|
|
|
that.$util.confirmModal({content:'请添加技术人员微信反馈',okText:'复制微信'},() => {
|