liuyg
2021-08-24 79dce3741b13a1241f393ea2e6605869488bff0e
src/views/dispatch/dispatch.vue
@@ -30,26 +30,24 @@
          </el-button>
          <el-button
                type="success"
                size="small"
                plain
                icon="el-icon-upload2"
                @click="handleImport"
                >批量导入
              </el-button>
            type="success"
            size="small"
            plain
            icon="el-icon-upload2"
            @click="handleImport"
            >批量导入
          </el-button>
        </template>
        <template slot-scope="{ row }" slot="jurisdiction">
          {{row.jurisdiction==-1?"":row.jurisdiction}}
          {{ row.jurisdiction == -1 ? "" : row.jurisdiction }}
        </template>
      </avue-crud>
      <el-dialog
        title="派遣单位导入"
        append-to-body
        :visible.sync="excelBox"
        width="555px"
      >
        <avue-form
@@ -216,7 +214,9 @@
            prop: "name",
            search: true,
            searchLabelWidth: 110,
            overHidden: true,
            searchSpan: 4,
            width: 210,
            // span: 12,
            labelWidth: 118,
          },
@@ -224,6 +224,7 @@
            label: "保安公司",
            prop: "deptId",
            type: "tree",
            overHidden: true,
            dicUrl:
              "/api/blade-system/dept/security_lazy-tree?parentId=1413470343230877697",
            props: {
@@ -243,7 +244,7 @@
              },
            ],
            labelWidth: 118,
            width: 200,
            width: 230,
            searchLabelWidth: 80,
            search: true,
            searchSpan: 4,
@@ -258,6 +259,7 @@
            // search: true,
            searchLabelWidth: 110,
            searchSpan: 4,
            overHidden: true,
            // span: 12,
            labelWidth: 118,
          },
@@ -291,6 +293,7 @@
            searchLabelWidth: 80,
            search: true,
            searchSpan: 4,
            overHidden: true,
            labelWidth: 118,
            type: "tree",
            dicUrl: "/api/jurisdiction/lazy-tree?parentId=0",
@@ -344,6 +347,7 @@
            label: "负责人联系方式",
            prop: "phone",
            labelWidth: 118,
            width: 110,
          },
        ],
      },
@@ -573,7 +577,6 @@
      this.refreshChange();
      done();
    },
    //派遣服务公司登记