liuyg
2021-09-25 c57a5a4cf9cd44a223e0b1f536b0e8ca9b7193a7
+辖区字段
2 files modified
64 ■■■■■ changed files
src/views/securityUnitChild/data.js 4 ●●●● patch | view | raw | blame | history
src/views/securityUnitChild/index.vue 60 ●●●●● patch | view | raw | blame | history
src/views/securityUnitChild/data.js
@@ -131,10 +131,10 @@
// },
{
    label: "所属辖区",
    prop: "region",
    prop: "jurisdiction",
    // multiple: true,
    type: "tree",
    dicUrl: "/api/jurisdiction/lazy-tree",
    dicUrl: "/api//jurisdiction/lazy-trees",
    props: {
        label: "title",
        value: "id",
src/views/securityUnitChild/index.vue
@@ -2,33 +2,6 @@
  <div class="dispatch">
    <avue-tabs :option="optionTABS" @change="handleChangeTABS"></avue-tabs>
    <span v-if="typeTABS.prop === 'tab1'" class="tab">
      <!-- <avue-crud
        :option="option"
        :data="data"
        :page.sync="page"
        ref="crudrec"
        @on-load="onLoad"
        :table-loading="loading"
        @row-save="rowSave"
        @search-change="searchChange"
        @search-reset="searchReset"
        @row-update="rowUpdate"
        @row-del="rowDel"
        @selection-change="selectionChange"
        @refresh-change="refreshChange"
      >
        <template slot="menuLeft">
          <el-button
            type="danger"
            size="small"
            plain
            icon="el-icon-delete"
            @click="handleDelete"
            >删 除
          </el-button>
        </template>
      </avue-crud>-->
      <!-- 表单组件 -->
      <basic-container>
        <avue-form
          ref="form"
@@ -36,40 +9,10 @@
          :option="option0"
          @submit="submit0"
        >
          <!-- <template slot-scope="scope" slot="menuForm">
          <el-button @click="tip">自定义按钮</el-button>
        </template> -->
        </avue-form>
      </basic-container>
    </span>
    <span v-if="typeTABS.prop === 'tab11'" class="tab">
      <!-- <avue-crud
        :option="option"
        :data="data"
        :page.sync="page"
        ref="crudrec"
        @on-load="onLoad"
        :table-loading="loading"
        @row-save="rowSave"
        @search-change="searchChange"
        @search-reset="searchReset"
        @row-update="rowUpdate"
        @row-del="rowDel"
        @selection-change="selectionChange"
        @refresh-change="refreshChange"
      >
        <template slot="menuLeft">
          <el-button
            type="danger"
            size="small"
            plain
            icon="el-icon-delete"
            @click="handleDelete"
            >删 除
          </el-button>
        </template>
      </avue-crud>-->
      <!-- 表单组件 -->
      <basic-container>
        <avue-form
          ref="form"
@@ -77,9 +20,6 @@
          :option="option01"
          @submit="submit0"
        >
          <!-- <template slot-scope="scope" slot="menuForm">
          <el-button @click="tip">自定义按钮</el-button>
        </template> -->
        </avue-form>
      </basic-container>
    </span>