zhangzeli
2021-11-29 649377c926979e7607960e0cf4c6d97d26080403
src/views/your/area-manage/areaManage.vue
@@ -84,10 +84,8 @@
        <Button @click="addEquipment" type="primary" icon="md-add">添加片区段</Button>
        <Button @click="init" icon="md-refresh">刷新</Button>
      </Row>
      <Table :loading="loading" border :columns="columns2" :data="data2" ref="table"
      <Table :loading="loading" border :columns="columns2" :data="data2" ref="table" style="height: 400px" >
             sortable="custom" @on-sort-change="changeSort" @on-selection-change="changeSelect">
      </Table>
    </Modal>
    <Modal :title="modalTitle3" v-model="customerVisible" :mask-closable="false" :width="1050">
@@ -97,7 +95,7 @@
        <Input v-model="searchForm.name" suffix="ios-search" @on-change="getCustList" placeholder="输入商户名称搜索" clearable style="width: 250px"
        />
      </Row>
      <Table :loading="loading" border :columns="columns3" :data="data3" ref="table"
      <Table :loading="loading" border :columns="columns3" :data="data3" ref="table" style="height: 350px"
             sortable="custom" @on-sort-change="changeSort" @on-selection-change="changeSelect">
      </Table>
      <Row type="flex" justify="end" class="page">
@@ -116,7 +114,7 @@
    <Modal :title="modalTitle" v-model="addEquipmentVisible" :mask-closable="false" :width="500">
      <Form ref="areaSectionForm" :model="areaSectionForm" :label-width="80" :rules="areaSectionFormValidate">
        <FormItem label="片区名称" prop="code">
          <Input v-model="areaSectionForm.code" />
          <Input v-model="areaSectionForm.name" />
        </FormItem>
      </Form>
@@ -128,7 +126,7 @@
      </div>
    </Modal>
    <Modal :title="modalTitle" v-model="addCustomerVisible" :mask-closable="false" :width="550">
      <Form ref="customerForm" :model="customerForm" :label-width="80" :rules="areaSectionFormValidate">
      <Form ref="customerForm" :model="customerForm" :label-width="120" :rules="areaSectionFormValidate">
        <FormItem label="商户名称" prop="name">
          <Input v-model="customerForm.name" />
        </FormItem>
@@ -434,8 +432,8 @@
          align: "center",
        },
        {
          title: "分段编号或名称",
          key: "code",
          title: "分段名称",
          key: "name",
        },
        {
          title: "操作",