保安服务企业管理项目备份
guoshilong
2024-01-17 076f7db1e1fc868fbee4524ff2194056fa2304d9
行业可清空,地图放大
2 files modified
38 ■■■■■ changed files
src/views/dispatch/components/OlMapBox.vue 4 ●●●● patch | view | raw | blame | history
src/views/dispatch/dispatch.vue 34 ●●●●● patch | view | raw | blame | history
src/views/dispatch/components/OlMapBox.vue
@@ -22,7 +22,7 @@
            </div>
        </div>
        <div class="unit-select">
            <el-select v-model="industryValue" multiple collapse-tags placeholder="请选择行业" @change="industryChange">
            <el-select v-model="industryValue" multiple collapse-tags placeholder="请选择行业" clearable @change="industryChange">
                <el-option v-for="item in industryOptions" :key="item.value" :label="item.label" :value="item.value">
                </el-option>
            </el-select>
@@ -99,7 +99,7 @@
                view: new OlView({
                    // 初始化中心点坐标,经纬度一会自己换一下
                    center: [112.85857823133, 35.496284586473],
                    zoom: 18,
                    zoom: 13,
                    projection: "EPSG:4326"
                }),
            })
src/views/dispatch/dispatch.vue
@@ -176,32 +176,6 @@
            tip: "请上传 .xls,.xlsx 标准格式文件",
            action: "/api/dispatcherUnit/import-dispatcherUnit"
          },
          // {
          //     label: "数据覆盖",
          //     prop: "isCovered",
          //     type: "switch",
          //     align: "center",
          //     width: 80,
          //     dicData: [
          //     {
          //         label: "否",
          //         value: 0,
          //     },
          //     {
          //         label: "是",
          //         value: 1,
          //     },
          //     ],
          //     value: 0,
          //     slot: true,
          //     rules: [
          //     {
          //         required: true,
          //         message: "请选择是否覆盖",
          //         trigger: "blur",
          //     },
          //     ],
          // },
          {
            label: "模板下载",
            prop: "excelTemplate",
@@ -230,7 +204,6 @@
            searchLabelWidth: 110,
            overHidden: true,
            searchSpan: 4,
            width: 210,
            labelWidth: 138,
            rules: [
              {
@@ -258,7 +231,6 @@
              }
            ],
            labelWidth: 138,
            width: 180,
            searchLabelWidth: 80,
            search: true,
            searchSpan: 4
@@ -278,7 +250,6 @@
            searchLabelWidth: 110,
            overHidden: true,
            searchSpan: 4,
            width: 100,
            labelWidth: 138,
            rules: [
              {
@@ -303,7 +274,6 @@
            searchLabelWidth: 110,
            overHidden: true,
            searchSpan: 4,
            width: 100,
            labelWidth: 138,
            rules: [
              {
@@ -390,7 +360,6 @@
            viewDisplay: false,
            overHidden: true,
            labelWidth: 138,
            width: 100,
            type: "tree",
            dicUrl: "/api/jurisdiction/lazy-tree",
            props: {
@@ -475,7 +444,6 @@
            label: "负责人联系方式",
            prop: "cell",
            labelWidth: 138,
            width: 110,
            rules: [
              {
                required: true,
@@ -494,7 +462,6 @@
            prop: "num",
            type: "number",
            labelWidth: 138,
            width: 110,
            rules: [
              {
                required: true,
@@ -506,7 +473,6 @@
          {
            label:"地图选点",
            labelWidth: 138,
            width: 110,
            prop:"mapAddress",
            type: "map",
            span:24,