qx
qx
2025-03-14 992b14d4c5e0ebba87d3ae8fb1ca9d06c0bdc6e9
qx
3个文件已修改
27 ■■■■ 已修改文件
src/layout/components/Sidebar/index.vue 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/package/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/tijian/index.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/layout/components/Sidebar/index.vue
@@ -4,7 +4,7 @@
        <el-scrollbar :class="settings.sideTheme" wrap-class="scrollbar-wrapper">
            <!--  :default-openeds="['/tijian']" -->
            <el-menu
           :default-openeds="defaultOpeneds"
                :default-active="activeMenu"
                :collapse="isCollapse"
                :background-color="settings.sideTheme === 'theme-dark' ? variables.menuBackground : variables.menuLightBackground"
@@ -26,6 +26,7 @@
</template>
<script>
import { getRouters } from '@/api/menu'
import { mapGetters, mapState } from "vuex";
import Logo from "./Logo";
import SidebarItem from "./SidebarItem";
@@ -33,9 +34,16 @@
export default {
    components: { SidebarItem, Logo },
    data() {
    return {
      defaultActive: '',
      defaultOpeneds: []
    };
  },
    computed: {
        ...mapState(["settings"]),
        ...mapGetters(["sidebarRouters", "sidebar"]),
        activeMenu() {
            const route = this.$route;
            const { meta, path } = route;
@@ -54,6 +62,16 @@
        isCollapse() {
            return !this.sidebar.opened;
        }
    }
    },
    created() {
    this.route();
  },
    methods: {
        route(){
        getRouters().then(res => {
          this.defaultOpeneds = [res.data[0].path]
        })
       },
    },
};
</script>
src/views/system/package/index.vue
@@ -364,7 +364,7 @@
                </template> 
              </el-table-column>-->
            </el-table>
            <!-- <h3 style="font-weight: 600">合计:{{ pics }}元</h3> -->
            <h4 style="font-weight: 600;padding-left:20px">一共选中{{DataList.length}}项,合计:{{ form.xianprice }}元</h4>
          </div>
        </el-col>
      </el-row>
src/views/system/tijian/index.vue
@@ -1727,6 +1727,7 @@
      addCustomer(formData).then((response) => {
        this.responseList = response.data;
        this.form.tjType = this.dict.type.dict_team[0].value;
        this.$modal.msgSuccess("新增成功");
        _this.tcShow = true;
        _this.isDisabled = true;
@@ -1772,7 +1773,7 @@
            if (this.form.reservationId != null) {
              if (this.form.groupingId) {
                this.form.firmName = this.form.compName;
                this.form.tjType = "1";
                this.form.tjType = this.dict.type.dict_team[2].value;
                this.CompanyList.forEach((item) => {
                  if (item.cnName == this.form.firmName) {
                    this.form.firmId = item.drugManufacturerId;