liuyg
2021-08-16 09aba224050736eea271b3276047ea7d754e7a80
审查明细  和状态排序
2 files modified
20 ■■■■■ changed files
src/views/qualificationExamination/qualificationExamination.vue 16 ●●●●● patch | view | raw | blame | history
vue.config.js 4 ●●●● patch | view | raw | blame | history
src/views/qualificationExamination/qualificationExamination.vue
@@ -25,6 +25,7 @@
      @size-change="sizeChange"
      @refresh-change="refreshChange"
      @on-load="onLoad"
      @sort-change="sortChange"
    >
    </avue-crud>
  </basic-container>
@@ -46,6 +47,7 @@
export default {
  data() {
    return {
      sort: {},
      form: {},
      query: {},
      loading: true,
@@ -175,6 +177,7 @@
            label: "审查状态",
            prop: "examinationType",
            // overHidden: true,
            sortable: true,
            // type: "date",
            // format: "yyyy-MM-dd",
            // valueFormat: "yyyy-MM-dd",
@@ -192,6 +195,7 @@
          {
            label: "审查明细",
            prop: "examinationMx",
            sortable: true,
            // labelWidth: 120,
            // display: false,
          },
@@ -361,8 +365,20 @@
      var d = new Date();
      return d.getFullYear();
    },
    sortChange(val) {
      // console.log(val);
      var sort = val.order == "descending" ? "asc" : "desc";
      var useName = val.prop;
      this.sort = {
        sort,
        useName,
      };
      this.onLoad(this.page, this.sort);
    },
    onLoad(page, params = {}) {
      // this.loading = false;
      params = Object.assign(params, this.sort);
      this.loading = true;
      params["status"] = 1;
      getListSecurity(
vue.config.js
@@ -30,8 +30,8 @@
        // target: 'http://192.168.0.109:1',
        //远程演示服务地址,可用于直接启动项目
        // target: 'http://2h3f861221.wicp.vip:58646',
        target: 'http://s16s652780.51mypc.cn/api',
        // target: 'http://192.168.0.114:82',
        // target: 'http://s16s652780.51mypc.cn/api',
        target: 'http://192.168.0.114:82',
        // target: 'http://192.168.0.109:82',
        // target: 'http://s16s652780.51mypc.cn/api',
        // 服务器使用