浏览代码

首页 我的审核

qukaidi 4 年之前
父节点
当前提交
7c72d72561
共有 2 个文件被更改,包括 14 次插入16 次删除
  1. 1 1
      src/views/index.vue
  2. 13 15
      src/views/morePage/stock/index.vue

+ 1 - 1
src/views/index.vue

@@ -141,7 +141,7 @@
               <div class="home_stock_table">业务类型</div>
               <div class="home_stock_table">业务类型</div>
               <div class="home_stock_table_right">
               <div class="home_stock_table_right">
                 <div>操作</div>
                 <div>操作</div>
-                <el-link type="primary">更多>></el-link>
+                <el-link type="primary" @click="jump('/morePage/stock')">更多></el-link>
               </div>
               </div>
             </div>
             </div>
             <div v-if="tableData.length > 0">
             <div v-if="tableData.length > 0">

+ 13 - 15
src/views/morePage/stock/index.vue

@@ -4,9 +4,7 @@
       v-loading="loading"
       v-loading="loading"
       :data="tableData"
       :data="tableData"
       :header-cell-style="{ borderBottom: '1px dashed #dfe6ec' }"
       :header-cell-style="{ borderBottom: '1px dashed #dfe6ec' }"
-      @selection-change="handleSelectionChange"
     >
     >
-      <el-table-column type="selection" width="55" align="center" />
       <el-table-column
       <el-table-column
         prop="refno1"
         prop="refno1"
         :show-overflow-tooltip="true"
         :show-overflow-tooltip="true"
@@ -46,17 +44,6 @@
           <span v-else-if="scope.row.refno2 === 'JSCCF'">计算仓储费</span>
           <span v-else-if="scope.row.refno2 === 'JSCCF'">计算仓储费</span>
         </template>
         </template>
       </el-table-column>
       </el-table-column>
-      <el-table-column
-        v-for="(item, index) in getRowList"
-        :key="index"
-        :label="item.name"
-        :width="item.width"
-        :prop="item.label"
-        align="center"
-        :show-overflow-tooltip="true"
-        sortable
-        :fixed="item.fixed"
-      />
       <el-table-column prop="address" label="操作" width="80">
       <el-table-column prop="address" label="操作" width="80">
         <template slot-scope="scope">
         <template slot-scope="scope">
           <span style="cursor: pointer" @click="approval(scope.row)"
           <span style="cursor: pointer" @click="approval(scope.row)"
@@ -72,7 +59,7 @@
       :limit.sync="queryParams.pageSize"
       :limit.sync="queryParams.pageSize"
       @pagination="getList"
       @pagination="getList"
     />
     />
-      <el-dialog
+    <el-dialog
       title="消息提示"
       title="消息提示"
       :visible.sync="dialogVisible"
       :visible.sync="dialogVisible"
       width="80%"
       width="80%"
@@ -100,7 +87,13 @@ export default {
   data() {
   data() {
     return {
     return {
       tableData: [],
       tableData: [],
-       dialogVisible: false,
+      dialogVisible: false,
+      total: 0,
+      text: "",
+      queryParams: {
+        pageNum: 1,
+        pageSize: 10,
+      },
     };
     };
   },
   },
   created() {
   created() {
@@ -108,17 +101,22 @@ export default {
   },
   },
   methods: {
   methods: {
     getList() {
     getList() {
+      this.loading = true;
       let data = {
       let data = {
         actId: "",
         actId: "",
       };
       };
       inquiry(data).then((res) => {
       inquiry(data).then((res) => {
         this.tableData = res.data;
         this.tableData = res.data;
+        this.loading = false;
       });
       });
     },
     },
     querytoDo(res) {
     querytoDo(res) {
       this.dialogVisible = true;
       this.dialogVisible = true;
       this.text = res;
       this.text = res;
     },
     },
+    handleClose(done) {
+      this.dialogVisible = false;
+    },
   },
   },
 };
 };
 </script>
 </script>