-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
-
-
- 新增
-
-
-
-
-
-
-
-
-
-
-
-
- 名称:{{ row.name }}
- 编码:{{ row.outProductId }}
-
-
-
-
- 品牌:{{ row.brandName }}
- 分类:{{ row.productCategoryName }}
-
-
-
-
- 价格:{{ row.price }}
- 排序:{{ row.sort }}
-
-
-
-
-
-
-
-
-
- 修改
-
+
+
删除
-
-
-
+ @click="handleAdd"
+
+ >新增
+
+
+
+
+
+
+
+
+
+
+
+
+ 名称:{{ row.name }}
+ 编码:{{ row.outProductId }}
+
+
+
+
+ 品牌:{{ row.brandName }}
+ 分类:{{ row.productCategoryName }}
+
+
+
+
+ 价格:{{ row.price }}
+ 排序:{{ row.sort }}
+
+
+
+
+
+
+
+
+
+ 修改
+
+ 删除
+
+
+
+
+
+
+
+
+
-
-
-
@@ -124,9 +128,11 @@
import {delPmsProduct, listPmsProduct} from "@/api/pms/product";
import {isStarRepo} from "@/utils/is-star-plugin";
import {mapGetters} from "vuex";
+import SeeAdsComponent from "@/components/SeeAdsComponent.vue";
export default {
name: "PmsProduct",
+ components: {SeeAdsComponent},
dicts: ['pms_publish_status'],
data() {
return {
@@ -169,17 +175,24 @@ export default {
},
};
},
- async created() {
- const res = await isStarRepo('zccbbg', 'RuoYi-Mall', this.userId, 'https://mall.ichengle.top/pms/product', 'ruoyi-mall-商城', 'https://gitee.com/zccbbg/RuoYi-Mall')
- this.show = res;
- if (res) {
- this.getList();
- }
+ created() {
+ this.$nextTick(()=>{
+ this.$refs.seeAdsComponentRef.show()
+ })
},
computed:{
...mapGetters(['userId']),
},
methods: {
+ async confirmOk(success) {
+ if (success) {
+ const res = await isStarRepo('zccbbg', 'RuoYi-Mall', this.userId, 'https://mall.ichengle.top/pms/product', 'ruoyi-mall-商城', 'https://gitee.com/zccbbg/RuoYi-Mall')
+ this.show = res;
+ if (res) {
+ this.getList();
+ }
+ }
+ },
/** 查询商品信息列表 */
getList() {
this.loading = true;
diff --git a/src/views/ums/member/index.vue b/src/views/ums/member/index.vue
index cd21c48..5734c1f 100644
--- a/src/views/ums/member/index.vue
+++ b/src/views/ums/member/index.vue
@@ -1,114 +1,115 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 搜索
- 重置
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
-
-
-
-
-
- 0.00
-
-
-
-
- 0.00
-
-
-
-
- 0.00
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- {{ parseTime(scope.row.createTime) }}
-
-
-
-
- {{scope.row.mark}}
-
-
-
-
-
- 查看数据
-
- 查看下单
- 查看购物车
-
-
-
-
+
+
+
+
+
+ 0.00
+
+
+
+
+ 0.00
+
+
+
+
+ 0.00
+
+
+
+
+ {{ parseTime(scope.row.createTime) }}
+
+
+
+
+ {{ parseTime(scope.row.createTime) }}
+
+
+
+
+ {{scope.row.mark}}
+
+
+
+
+
+ 查看数据
+
+ 查看下单
+ 查看购物车
+
+
+
+
+
+
@@ -151,9 +154,11 @@ import {
import dateUtil from '@/utils/DateUtil';
import {isStarRepo} from "@/utils/is-star-plugin";
import {mapGetters} from "vuex";
+import SeeAdsComponent from "@/components/SeeAdsComponent.vue";
export default {
name: "UmsMember",
+ components: {SeeAdsComponent},
data() {
return {
show: false,
@@ -220,16 +225,23 @@ export default {
};
},
async created() {
- const res = await isStarRepo('zccbbg', 'RuoYi-Mall', this.userId, 'https://mall.ichengle.top/member/member', 'ruoyi-mall-商城', 'https://gitee.com/zccbbg/RuoYi-Mall')
- this.show = res;
- if (res) {
- this.getList();
- }
+ this.$nextTick(()=>{
+ this.$refs.seeAdsComponentRef.show()
+ })
},
computed:{
...mapGetters(['userId']),
},
methods: {
+ async confirmOk(success) {
+ if (success) {
+ const res = await isStarRepo('zccbbg', 'RuoYi-Mall', this.userId, 'https://mall.ichengle.top/member/member', 'ruoyi-mall-商城', 'https://gitee.com/zccbbg/RuoYi-Mall')
+ this.show = res;
+ if (res) {
+ this.getList();
+ }
+ }
+ },
showUpdateMark(record){
this.remarkModal = {
visible: true,