管道基础大数据平台系统开发-【前端】-新系統界面
Surpriseplus
2023-02-08 70b24a3d28f55bfe72c0ddf3246d5af7a69fc623
资源管理,角色管理,权限管理,权限管理,运维监控主题切换界面优化
已修改9个文件
77 ■■■■ 文件已修改
src/assets/css/config.css 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/navMenu.vue 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/PackageTwo/WareInspection.vue 36 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/PackageTwo/index.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/maintenance/downlog.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/maintenance/eventlogManage.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/maintenance/logLog.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/maintenance/operationLog.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/maintenance/tokentool.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/css/config.css
@@ -200,11 +200,14 @@
    color: #FFF !important;
}
.confirm {
.Black_theme .el-picker-panel__body {
    background: #303030;
}
.confirm p {
    color: white !important;
.Black_theme .el-tabs__item {
    color: white;
}
.Black_theme .el-tabs__item.is-active {
    color: #1890FF;
}
src/components/navMenu.vue
@@ -213,12 +213,14 @@
      setTimeout(() => {
        this.changeliSelect = res.cnName;
        if (res.url.indexOf('http') != -1) {
          if (location.href.indexOf('/WareInspection') == -1) {
            this.$store.reporturl = res.url;
            this.$router.push('/WareInspection');
          } else {
            this.$bus.$emit('changeNaveUrl', res.url);
          }
           this.$store.reporturl = res.url;
            this.$router.push('/QualityInspection');
          // if (location.href.indexOf('/WareInspection') == -1) {
          //   this.$store.reporturl = res.url;
          //   this.$router.push('/WareInspection');
          // } else {
          //   this.$bus.$emit('changeNaveUrl', res.url);
          // }
        } else {
          this.$store.reporturl = null;
          this.$router.push(res.url);
src/views/PackageTwo/WareInspection.vue
@@ -39,36 +39,14 @@
  },
  methods: {
    langreash(res) {
      if (this.url == '') return
      this.reportUrl = ''
      if (res == true) {
        if (this.url.indexOf('theme=white') != -1) {
          this.url = this.url.replace('theme=white', 'theme=dark');
        }
      } else if (res == false) {
        if (this.url.indexOf('theme=dark') != -1) {
          this.url = this.url.replace('theme=dark', 'theme=white');
        }
      }
      this.reportUrl = this.url;
      this.$store.state.reporturl = this.url;
      this.$router.push('/QualityInspection')
       this.$router.push('/QualityInspection')
    },
    refreash(res) {
      if (this.url == '') return
      this.reportUrl = ''
      if (res == true) {
        if (this.url.indexOf('lang=en') != -1) {
          this.url = this.url.replace('lang=en', 'lang=zh');
        }
      } else if (res == false) {
        if (this.url.indexOf('lang=zh') != -1) {
          this.url = this.url.replace('lang=zh', 'lang=en');
        }
      }
      this.reportUrl = this.url;
      this.$store.state.reporturl = this.url;
      this.$router.push('/QualityInspection')
     this.$router.push('/QualityInspection')
    },
    showChangeIfream(res) {
      if (this.$store.state.themeflag == true) {
@@ -102,7 +80,7 @@
      this.$store.state.reporturl = res;
      this.reportUrl = res;
      this.url = res
      // console.log("2", this.reportUrl)
      console.log("2", this.reportUrl)
    }
  },
  mounted() {
src/views/PackageTwo/index.vue
@@ -5,6 +5,7 @@
<script>
export default {
mounted(){
    debugger
    // this.$router.push('/QualityInspection')
    this.$router.push('/WareInspection')
}
src/views/maintenance/downlog.vue
@@ -25,6 +25,7 @@
          :label="$t('operatManage.operationLogObj.operationType')"
        >
          <el-select
            :popper-append-to-body="false"
            v-model="sizeForm.type"
            :placeholder="$t('operatManage.operationLogObj.pleaseSelect')"
          >
@@ -56,6 +57,7 @@
            v-model="sizeForm.start"
            style="width: 100%"
            type="datetime"
            :popper-class="popperclass"
            :placeholder="$t('operatManage.operationLogObj.optionDate')"
          ></el-date-picker>
        </el-form-item>
@@ -169,6 +171,7 @@
  data() {
    return {
      popperclass: '',
      sizeForm: {
        start: null,
        end: null,
@@ -314,7 +317,6 @@
    width: 300px;
  }
  .inquire {
    overflow: auto;
    padding: 10px;
    margin-top: 20px;
src/views/maintenance/eventlogManage.vue
@@ -25,6 +25,7 @@
          :label="$t('operatManage.operationLogObj.operationType')"
        >
          <el-select
           :popper-append-to-body="false"
            clearable
            v-model="sizeForm.type"
            :placeholder="$t('operatManage.operationLogObj.pleaseSelect')"
@@ -289,7 +290,7 @@
    width: 300px;
  }
  .inquire {
    overflow: auto;
    padding: 10px;
    margin-top: 20px;
src/views/maintenance/logLog.vue
@@ -26,6 +26,7 @@
          :label="$t('operatManage.operationLogObj.operationType')"
        >
          <el-select
           :popper-append-to-body="false"
            v-model="sizeForm.type"
            :placeholder="$t('operatManage.operationLogObj.pleaseSelect')"
          >
src/views/maintenance/operationLog.vue
@@ -26,6 +26,7 @@
          :label="$t('operatManage.operationLogObj.operationType')"
        >
          <el-select
           :popper-append-to-body="false"
            clearable
            v-model="sizeForm.type"
            :placeholder="$t('operatManage.operationLogObj.pleaseSelect')"
src/views/maintenance/tokentool.vue
@@ -24,6 +24,7 @@
        <el-form-item :label="$t('operatManage.tokentoolObj.tokenStatus')">
          <el-select
           :popper-append-to-body="false"
            v-model="ruleForm.value"
            :placeholder="$t('common.choose')"
          >
@@ -216,8 +217,11 @@
          :label-width="formLabelWidth"
        >
          <el-select
           :popper-append-to-body="false"
            style="width:94.2%"
            v-model="insertform.type"
            :placeholder="$t('common.choose')"
          >
            <el-option
              value="0"
@@ -290,6 +294,8 @@
          :label-width="formLabelWidth"
        >
          <el-select
            :popper-append-to-body="false"
            style="width:94.2%"
            v-model="upform.edit"
            @change="changeGame"
            :placeholder="$t('common.choose')"