wuhongyu 5 سال پیش
والد
کامیت
016a67fe58
2فایلهای تغییر یافته به همراه8 افزوده شده و 5 حذف شده
  1. 6 4
      src/layout/enterprise/contextfabuxx.vue
  2. 2 1
      src/views/enterprise/enterprisefabu.vue

+ 6 - 4
src/layout/enterprise/contextfabuxx.vue

@@ -34,6 +34,8 @@
                         </el-col>
                         <el-col :span="6" class="fbListCenterR">
                           <el-col :span="24" class="bainji">
+                            <el-link :underline="false" @click="$router.push({ path: '/enterprise/enterprisexuqiu', query: { id: item.id } })">编辑</el-link>
+                            <br />
                             <el-link :underline="false" @click="submitcaogao(item)">发布</el-link>
                           </el-col>
                         </el-col>
@@ -83,8 +85,8 @@
                         </el-col>
                         <el-col :span="6" class="fbListCenterR">
                           <el-col :span="24" class="bainji">
-                            <el-link :underline="false" @click="$router.push({ path: '/enterprise/enterprisexuqiu', query: { id: item.id } })">编辑</el-link
-                            ><br />
+                            <!-- <el-link :underline="false" @click="$router.push({ path: '/enterprise/enterprisexuqiu', query: { id: item.id } })">编辑</el-link -->
+                            <!-- ><br /> -->
                             <el-link :underline="false" @click="handleDelete(item)">彻底删除</el-link>
                           </el-col>
                         </el-col>
@@ -133,8 +135,8 @@
                         </el-col>
                         <el-col :span="6" class="fbListCenterR">
                           <el-col :span="24" class="bainji">
-                            <el-link :underline="false" @click="$router.push({ path: '/enterprise/enterprisexuqiu', query: { id: item.id } })">编辑</el-link
-                            ><br />
+                            <!-- <el-link :underline="false" @click="$router.push({ path: '/enterprise/enterprisexuqiu', query: { id: item.id } })">编辑</el-link
+                            ><br /> -->
                             <el-link :underline="false" @click="handleDelete(item)">彻底删除</el-link>
                             <!-- <el-link :underline="false" @click="$router.push({ path: '/enterprise/enterprisexuqiu', query: { id: item.id } })"
                               >查看申请</el-link

+ 2 - 1
src/views/enterprise/enterprisefabu.vue

@@ -135,8 +135,9 @@ export default {
 
     async caogaolist({ skip = 0, limit = 3, ...info } = {}) {
       let status = '3';
+      let userid = this.user.uid;
       skip = this.skip;
-      const res = await this.productList({ skip, limit, status, ...info });
+      const res = await this.productList({ skip, limit, status, userid, ...info });
       console.log(res.total);
       if (this.$checkRes(res)) {
         this.$set(this, `caogao`, res.data);