管道基础大数据平台系统开发-【前端】-新系統界面
Surpriseplus
2023-02-09 731d894cf232d98b547df2bd006795de74fb16a7
数据管理样式修改
已修改10个文件
264 ■■■■ 文件已修改
public/config/config.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/css/config.css 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/MapView/mapMenuPop.vue 补丁 | 查看 | 原始文档 | blame | 历史
src/components/MapView/mapMenuTop.vue 补丁 | 查看 | 原始文档 | blame | 历史
src/views/datamanage/SpatialData.vue 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/datamanage/dataUpdata.vue 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/datamanage/domainManage.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/datamanage/metadataManage.vue 134 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/datamanage/projectManage.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/datamanage/styleManage.vue 76 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
public/config/config.js
@@ -1,5 +1,5 @@
//var isWeb = location.hostname.indexOf("103.85.165.") > -1;
var isWeb = true;
var isWeb = false;
var webHost = isWeb ? "103.85.165.99" + ":8052" : '192.168.20.205' + ":8088";
src/assets/css/config.css
@@ -227,4 +227,15 @@
}
 .Black_theme .contLable{
    color: white;
 }
 .Black_theme .elLink{
    color: white;
 }
 .Black_theme .el-icon-folder-opened{
    color: white;
 }
 .Black_theme .el-link.el-link--default{
    color: white;
 }
src/components/MapView/mapMenuPop.vue
src/components/MapView/mapMenuTop.vue
src/views/datamanage/SpatialData.vue
@@ -225,7 +225,7 @@
          <el-table
            :data="tableAttach"
            ref="filterTable"
            height="99%"
            height="100%"
            border
            style="width: 100%"
            @selection-change="handleAttatchChange"
@@ -251,7 +251,7 @@
          </el-table>
        </el-form-item>
        <el-form-item>
        <!-- <el-form-item>
          <el-row :gutter="20">
            <el-col
@@ -259,7 +259,7 @@
              :offset="8"
            >
              <el-button
                class="primary"
                type="primary"
                size="small"
                @click="dialogFormVisible = false"
              >确认</el-button>
@@ -270,14 +270,13 @@
              >取消</el-button>
            </el-col>
          </el-row>
        </el-form-item>
        </el-form-item> -->
      </el-form>
    </el-dialog>
    <el-dialog
      width="37%"
      :visible.sync="conditionVisible"
      append-to-body
      title="查询条件"
      :before-close="handleconditionClose"
    >
@@ -290,6 +289,7 @@
          <el-select
            @change="fieldChange($event)"
            v-model="formSql.field"
            :popper-append-to-body="false"
          >
            <el-option
              v-for="item in filedsOption"
@@ -301,7 +301,10 @@
          </el-select>
        </el-form-item>
        <el-form-item>
          <el-select v-model="formSql.condition">
          <el-select
            :popper-append-to-body="false"
            v-model="formSql.condition"
          >
            <el-option
              v-for="item in condOption"
              :key="item.value"
@@ -343,6 +346,7 @@
      :title=" $t('synthesis.rangequery')"
      :visible.sync="dialogMapVisible"
      width="90%"
      top="10vh"
      :before-close="handleMapClose"
    >
      <div style="height:700px">
src/views/datamanage/dataUpdata.vue
@@ -115,7 +115,7 @@
            <el-form-item :label="$t('dataManage.dataUpObj.dataSpecialty')">
              <el-select
                :popper-append-to-body="false"
                style="z-index:2022"
                :disabled="tableData.length == 0 ? false : true"
                v-model="formInline.specialtyId"
                :placeholder="$t('common.choose')"
@@ -2240,8 +2240,8 @@
      this.startQuayTestForms();
      // this.$refs['selectcascader'].dropDownVisible = false
      // var value = this.$refs['selectcascader'].getCheckedNodes();
debugger
      var bak = value[0].data.bak;
      var bak = node.data.bak;
      this.pathBak = bak;
      if (bak != null) {
        for (var key in this.quayTestShow) {
@@ -2250,12 +2250,13 @@
          }
        }
      }
      var fileType = value[0].data.code;
      var fileType = node.data.code;
      if (fileType == null) {
        fileType = "*.*"
      }
      this.formInline.selectFileType = fileType;
      this.formInline.dirid = res;
      this.formInline.dirid = node.data.id;
      this.formInline.dirName = node.data.name
      this.getselectVerByDirid();
    },
    //Tabsq切换
src/views/datamanage/domainManage.vue
@@ -238,6 +238,8 @@
          :label-width="formLabelWidth"
        >
          <el-select
            :popper-append-to-body="false"
            style="width:100%"
            v-model="editForm.domName"
            placeholder="请选择"
          >
@@ -780,7 +782,5 @@
      }
    }
  }
}
</style>
src/views/datamanage/metadataManage.vue
@@ -12,7 +12,25 @@
        :inline="true"
      >
        <el-form-item>
          <el-cascader
          <el-select
            :popper-append-to-body="false"
            v-model="queryForm.depName"
          >
            <el-option
              :value="queryForm.depid"
              :label="queryForm.depName"
              style=" height:auto"
            >
              <el-tree
                ref="tree"
                :data="companyOption1"
                node-key="id"
                :props="cascader"
                @node-click="handleChange1"
              />
            </el-option>
          </el-select>
          <!-- <el-cascader
            v-model="queryForm.depid"
            :show-all-levels="false"
            :options="companyOption1"
@@ -24,10 +42,28 @@
              checkStrictly: true,
              emitPath: false,
            }"
          ></el-cascader>
          ></el-cascader> -->
        </el-form-item>
        <el-form-item>
          <el-cascader
          <el-select
            :popper-append-to-body="false"
            v-model="queryForm.dirName"
          >
            <el-option
              :value="queryForm.dirid"
              :label="queryForm.dirName"
              style=" height:auto"
            >
              <el-tree
                ref="tree"
                :data="companyOption"
                node-key="id"
                :props="cascader"
                @node-click="handleChange"
              />
            </el-option>
          </el-select>
          <!-- <el-cascader
            v-model="queryForm.dirid"
            :show-all-levels="false"
            :options="companyOption"
@@ -39,10 +75,11 @@
              checkStrictly: true,
              emitPath: false,
            }"
          ></el-cascader>
          ></el-cascader> -->
        </el-form-item>
        <el-form-item>
          <el-select
            :popper-append-to-body="false"
            v-model="queryForm.verid"
            placeholder="请选择"
            @change="verHandleChange($event)"
@@ -183,16 +220,13 @@
              :label="$t('common.operate')"
            >
              <template slot-scope="scope">
                <el-link
                  style="color: white"
                  @click="showDetail(scope.row)"
                >{{
                <el-link @click="showDetail(scope.row)">{{
                  $t('common.details')
                }}</el-link>
                <el-link
                  v-if="btnStatus.update"
                  @click="editInfo(scope.row)"
                  style="margin-left: 10px; color: white"
                  style="margin-left: 10px; "
                >{{ $t('common.edit') }}</el-link>
              </template>
            </el-table-column>
@@ -287,7 +321,7 @@
      </el-card>
    </div>
    <el-dialog
      width="510px"
      width="80vh"
      top="5vh"
      :title="
        behavior == '新增用户'
@@ -332,25 +366,61 @@
          :label="$t('dataManage.vmobj.depName')"
          :label-width="formLabelWidth"
        >
          <!-- <el-input v-model="editForm.depName" autocomplete="off"></el-input> -->
          <el-cascader
          <el-select
            style="width:100%"
            :popper-append-to-body="false"
            v-model="editForm.depName"
          >
            <el-option
              :value="editForm.depid"
              :label="editForm.depName"
              style=" height:auto"
            >
              <el-tree
                ref="tree"
                :data="companyOption1"
                node-key="id"
                :props="cascader"
                @node-click="handleChange2"
              />
            </el-option>
          </el-select>
          <!-- <el-cascader
            v-model="editForm.depid"
            :options="companyOption"
            :props="cascader"
            style="width:350px"
          ></el-cascader>
          ></el-cascader> -->
        </el-form-item>
        <el-form-item
          :label="$t('dataManage.vmobj.dirName')"
          :label-width="formLabelWidth"
        >
          <!-- <el-input v-model="editForm.depName" autocomplete="off"></el-input> -->
          <el-cascader
          <el-select
            style="width:100%"
            :popper-append-to-body="false"
            v-model="editForm.dirName"
          >
            <el-option
              :value="editForm.dirid"
              :label="editForm.dirName"
              style=" height:auto"
            >
              <el-tree
                ref="tree"
                :data="dirComPanyOption"
                node-key="id"
                :props="cascader"
                @node-click="handleChange3"
              />
            </el-option>
          </el-select>
          <!-- <el-cascader
            v-model="editForm.dirid"
            :options="dirComPanyOption"
            :props="cascader"
            style="width:350px"
          ></el-cascader>
          ></el-cascader> -->
        </el-form-item>
        <el-form-item
          :label="$t('dataManage.vmobj.describe')"
@@ -452,7 +522,7 @@
    </el-dialog>
    <div
      class="downloadBox"
      class="downloadBox box_div  subpage_Div"
      v-if="showCodeBox"
    >
      <h4 style="padding: 20px">{{$t('common.passworld')}}</h4>
@@ -714,7 +784,7 @@
      }
      this.companyOption1 = this.treeData(res.result);
      this.queryForm.depid = this.companyOption1[0].id
      this.queryForm.depName = this.companyOption1[0].name
      this.getQueryDirTree();
    },
@@ -727,6 +797,7 @@
      }
      this.companyOption = this.treeData(res.result);
      this.queryForm.dirid = this.companyOption[0].id
      this.queryForm.dirName = this.companyOption[0].name
      this.getQueryVerList();
    },
@@ -746,17 +817,31 @@
      this.listData.pageIndex = 1;
      this.getMetaData();
    },
    handleChange(value) {
    handleChange(data, node, nodeData) {
      this.listData.pageSize = 10;
      this.listData.pageIndex = 1;
      this.queryForm.dirid = value;
      this.queryForm.dirid = data.id;
      this.queryForm.dirName = data.name
      this.getQueryVerList()
    },
    handleChange1(value) {
    handleChange1(data, node, nodeData) {
      this.listData.pageSize = 10;
      this.listData.pageIndex = 1;
      this.queryForm.depid = value;
      this.queryForm.depid = data.id;
      this.queryForm.depName = data.name
      this.getMetaData();
    },
    handleChange2(data, node, nodeData) {
      this.editForm.depid = data.id;
      this.editForm.depName = data.name
    },
    handleChange3(data, node, nodeData) {
      this.editForm.dirid = data.id;
      this.editForm.dirName = data.name
    },
    //格式化列表
    formatData(row, column) {
@@ -905,6 +990,8 @@
      this.listData.name = null;
      this.queryForm.dirid = this.companyOption[0].id;
      this.queryForm.depid = this.companyOption1[0].id;
      this.queryForm.dirName = this.companyOption[0].name;
      this.queryForm.depName = this.companyOption1[0].name;
      this.getQueryVerList();
      this.getMetaData();
    },
@@ -1009,6 +1096,7 @@
      this.behavior = '修改信息';
      this.editForm = JSON.parse(JSON.stringify(row));
      this.dialogFormVisible = true;
      this.getSelectDictTab();
    },
    handleClose(done) {
      this.$confirm('确认关闭?')
@@ -1131,7 +1219,7 @@
  .inquire {
    position: relative;
    overflow: auto;
    padding-bottom: 8px;
    border-radius: 5px;
src/views/datamanage/projectManage.vue
@@ -143,7 +143,7 @@
        width="60%"
        :title="$t('dataManage.projectObj.location')"
        :visible.sync="innerVisible"
        append-to-body
        :modal="false"
        :before-close="innerClose"
      >
        <div style="height: 540px">
@@ -477,12 +477,6 @@
      width: 600px;
    }
  }
}
</style>
 >
src/views/datamanage/styleManage.vue
@@ -297,8 +297,11 @@
          style="width:85%"
          @focus="setOptionWidth"
        >
          <el-option :value="upform.dirid" :label="upform.dirName"
          :style="{ width: selectOptionWidth, height: selectheight }">
            <el-option
              :value="upform.dirid"
              :label="upform.dirName"
              :style="{ width: selectOptionWidth, height: selectheight }"
            >
            <el-tree
              ref="tree"
              :data="editcatalogOption"
@@ -338,8 +341,11 @@
          style="width:85%"
          @focus="setOptionWidth"
        >
          <el-option :value="upform.depid" :label="upform.depName"
          :style="{ width: selectOptionWidth, height: selectheight }">
            <el-option
              :value="upform.depid"
              :label="upform.depName"
              :style="{ width: selectOptionWidth, height: selectheight }"
            >
            <el-tree
              ref="tree"
              :data="editCompanyOption"
@@ -423,12 +429,17 @@
          :label="$t('dataManage.styleObj.fileguid')"
          :label-width="formLabelWidth"
        >
          <!-- -->
          <div class="BoxFlex">
            <div class="BoxFlexinput">
          <el-input
            v-model="upform.fileGuid"
            disabled
            autocomplete="off"
            style="width:70%"
                style="width:100%"
          ></el-input>
            </div>
            <div class="BoxFlexbutton">
          <input
            name="file1"
            type="file"
@@ -450,6 +461,9 @@
          :underline="false"
          @click="seteditFile(0)"
        >上传</el-button>
            </div>
          </div>
          <!--  -->
          <!-- <el-link
            :underline="false"
            @click="geteditFile(0)"
@@ -467,12 +481,16 @@
          :label="$t('dataManage.styleObj.viewguid')"
          :label-width="formLabelWidth"
        >
          <div class="BoxFlex">
            <div class="BoxFlexinput">
          <el-input
            v-model="upform.viewGuid"
            disabled
            autocomplete="off"
            style="width:70%"
                style="width:100%"
          ></el-input>
            </div>
            <div>
          <input
            name="file1"
            :accept="'.jpg,.png'"
@@ -495,6 +513,10 @@
          :underline="false"
          @click="seteditFile(1)"
        >上传</el-button>
            </div>
          </div>
          <!--
          -->
          <!-- <el-link
            :underline="false"
            @click="geteditFile(1)"
@@ -572,8 +594,11 @@
          style="width:85%"
          @focus="setOptionWidth"
        >
          <el-option :value="insertform.dirid" :label="insertform.dirName"
          :style="{ width: selectOptionWidth, height: selectheight }">
            <el-option
              :value="insertform.dirid"
              :label="insertform.dirName"
              :style="{ width: selectOptionWidth, height: selectheight }"
            >
            <el-tree
              ref="tree"
              :data="catalogOption"
@@ -613,8 +638,11 @@
          style="width:85%"
          @focus="setOptionWidth"
        >
          <el-option :value="insertform.depid" :label="insertform.depName"
          :style="{ width: selectOptionWidth, height: selectheight }">
            <el-option
              :value="insertform.depid"
              :label="insertform.depName"
              :style="{ width: selectOptionWidth, height: selectheight }"
            >
            <el-tree
              ref="tree"
              :data="companyOption"
@@ -697,12 +725,16 @@
          :label="$t('dataManage.styleObj.fileguid')"
          :label-width="formLabelWidth"
        >
          <div class="BoxFlex">
            <div class="BoxFlexinput">
          <el-input
            v-model="insertform.fileGuid"
            disabled
            autocomplete="off"
            style="width:70%"
                style="width:100%"
          />
            </div>
            <div>
          <input
            name="file1"
            type="file"
@@ -724,6 +756,10 @@
          :underline="false"
          @click="setinsertFile(0)"
        >上传</el-button>
            </div>
          </div>
          <!--
         -->
          <!-- <el-link
            :underline="false"
            @click="getInsertFile(0)"
@@ -740,13 +776,16 @@
          :label="$t('dataManage.styleObj.viewguid')"
          :label-width="formLabelWidth"
        >
          <div class="BoxFlex">
            <div class="BoxFlexinput">
          <el-input
            v-model="insertform.viewGuid"
            disabled
            autocomplete="off"
            style="width:70%"
                style="width:100%"
          />
          <input
            </div>
            <div> <input
            name="file1"
            :accept="'.jpg,.png'"
            type="file"
@@ -768,6 +807,9 @@
          :underline="false"
          @click="setinsertFile(1)"
        >上传</el-button>
            </div>
          </div>
          <!-- <el-link
            :underline="false"
            @click="getInsertFile(1)"
@@ -1608,6 +1650,14 @@
      }
    }
  }
  .BoxFlex {
    display: flex;
    justify-content: space-around;
    width: 85%;
    .BoxFlexinput {
      flex: 1;
    }
  }
}
</style>