qinbai 3 éve
szülő
commit
18ce09c29f

+ 11 - 0
src/api/check/check.js

@@ -0,0 +1,11 @@
+import request from '@/router/axios';
+
+export const auditProcessList = (id) => {
+  return request({
+    url: 'api/blade-check/auditproecess/findAuditProcessList',
+    method: 'get',
+    params: {
+      id:id
+    }
+  })
+}

+ 67 - 0
src/components/check/checkSchedule.vue

@@ -0,0 +1,67 @@
+<template>
+  <div>
+    <el-row style="height: 0;">
+      <el-col :span="3">
+        <div style="height: 300px;margin-top:90px">
+          <el-steps direction="vertical" :active="1" space="40px">
+            <el-step title="发起"></el-step>
+            <el-step title="审批1"></el-step>
+            <el-step title="审批2"></el-step>
+          </el-steps>
+        </div>
+      </el-col>
+      <el-col :span="16">
+        <avue-crud
+          :option="option"
+          :table-loading="loading"
+          :data="data"
+          ref="crud"
+          @refresh-change="refreshChange"
+          :page.sync="page"
+          @on-load="onLoad"
+        >
+        </avue-crud>
+      </el-col>
+    </el-row>
+  </div>
+</template>
+
+<script>
+  import option from './config/mainList.json'
+  import { auditProcessList } from "@/api/check/check";
+
+  export default {
+    name: "checkSchedule",
+    props: {
+      checkId: {
+        type: String
+      },
+    },
+    data(){
+      return {
+        loading:false,
+        option:option,
+        data:[],
+        page: {
+          pageSize: 10,
+          pagerCount: 5,
+          total: 0,
+        },
+      }
+    },
+    methods:{
+      refreshChange(){
+
+      },
+      onLoad(){
+        auditProcessList(this.checkId).then(res =>{
+          console.log(res.data)
+        })
+      }
+    }
+  }
+</script>
+
+<style scoped>
+
+</style>

+ 56 - 0
src/components/check/config/mainList.json

@@ -0,0 +1,56 @@
+{
+  "lazy": true,
+  "tip": false,
+  "simplePage": true,
+  "searchShow": false,
+  "addBtn":false,
+  "editBtn":false,
+  "addRowBtn":false,
+  "cellBtn":false,
+  "cancelBtn":false,
+  "refreshBtn": false,
+  "searchMenuPosition": "right",
+  "searchMenuSpan": 24,
+  "searchSpan": 8,
+  "align": "center",
+  "delBtn":true,
+  "dialogWidth": "60%",
+  "tree": true,
+  "columnBtn": false,
+  "border": true,
+  "index": true,
+  "selection": false,
+  "menu": false,
+  "menuWidth": 0,
+  "dialogClickModal": false,
+  "column": [
+    {
+      "label": "操作人",
+      "prop": "accSysNo",
+      "overHidden": true,
+      "width": 150,
+      "index": 2
+    },
+    {
+      "label": "操作状态",
+      "prop": "srcBillNo",
+      "overHidden": true,
+      "width": 150,
+      "index": 2
+    },
+    {
+      "label": "操作日期",
+      "prop": "corpName",
+      "overHidden": true,
+      "width": 150,
+      "index": 2
+    },
+    {
+      "label": "备注",
+      "prop": "itemName",
+      "overHidden": true,
+      "width": 150,
+      "index": 4
+    }
+  ]
+}