bug fix and performance improves
This commit is contained in:
@ -33,7 +33,10 @@ function getBreadcrumb() {
|
||||
// 判断是否为首页
|
||||
if (!isDashboard(first)) {
|
||||
matched = [
|
||||
{ path: "/index", meta: { title: computed(() => t("common.home")) } },
|
||||
{
|
||||
path: "/admin/index",
|
||||
meta: { title: computed(() => t("common.home")) },
|
||||
},
|
||||
].concat(matched);
|
||||
}
|
||||
|
||||
@ -81,4 +84,4 @@ getBreadcrumb();
|
||||
cursor: text;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
@ -107,11 +107,15 @@ const advanceVipMember = ref([
|
||||
|
||||
.compare-plan {
|
||||
display: grid;
|
||||
grid-template-rows: 100px repeat(4, 30px);
|
||||
grid-template-rows: 100px repeat(4, 42px);
|
||||
grid-auto-flow: column;
|
||||
column-gap: 20px;
|
||||
row-gap: 12px;
|
||||
|
||||
.service-content {
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
> div {
|
||||
border: 1px solid #797979;
|
||||
display: flex;
|
||||
@ -127,4 +131,4 @@ const advanceVipMember = ref([
|
||||
text-align: end;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
@ -367,7 +367,7 @@ const { queryParams, form, rules } = toRefs(data);
|
||||
const { proxy } = getCurrentInstance();
|
||||
const labelWidth = 160;
|
||||
// const isContainOther = ref(false);
|
||||
const checkList = reactive([
|
||||
/*const checkList = reactive([
|
||||
{
|
||||
id: 1,
|
||||
name: "成果推广",
|
||||
@ -388,7 +388,7 @@ const checkList = reactive([
|
||||
name: "上市辅导",
|
||||
nameRu: "Помощь в выходе на рынок",
|
||||
},
|
||||
]);
|
||||
]);*/
|
||||
|
||||
const formRef = ref(null);
|
||||
const fieldFormRef = ref(null);
|
||||
@ -473,7 +473,7 @@ onMounted(() => {
|
||||
getTechnologyDemand({ id: route.query.id }).then((resp) => {
|
||||
form.value = resp.data;
|
||||
|
||||
if (!form.value.kinds) {
|
||||
/*if (!form.value.kinds) {
|
||||
form.value.kinds = resp.data.kind?.split(",") ?? [];
|
||||
form.value.kinds.forEach((el, index) => {
|
||||
if (!checkList.find((item) => item.name == el)) {
|
||||
@ -483,7 +483,7 @@ onMounted(() => {
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
}*/
|
||||
if (!form.value.wants) {
|
||||
form.value.wants = resp.data.want?.split(",") ?? [];
|
||||
}
|
||||
|
@ -20,7 +20,7 @@
|
||||
v-if="vipData.vipType == 1 || vipData.vipType == 2"
|
||||
>
|
||||
{{ vipData.vipType == 1 ? "VIP" : "SVIP"
|
||||
}}{{ t("home.expirationTime") }}:{{ vipData.expireTime }}
|
||||
}} {{ t("home.expirationTime") }}:{{ vipData.expireTime }}
|
||||
</div>
|
||||
</div>
|
||||
<span class="pointer" style="font-size: 14px" @click="vipBenefits">
|
||||
@ -189,6 +189,7 @@ const vipBenefits = () => {
|
||||
|
||||
.title {
|
||||
margin-top: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
@ -84,6 +84,7 @@ const flag = ref(true);
|
||||
|
||||
.title {
|
||||
margin-top: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
@ -125,6 +125,7 @@ import modal from "@/plugins/modal"; // import { update } from "lodash-unified";
|
||||
import { useRouter } from "vue-router";
|
||||
import { onActivated, reactive } from "vue";
|
||||
import { useI18n } from "vue-i18n";
|
||||
import dayjs from "dayjs";
|
||||
|
||||
const router = useRouter();
|
||||
const dataList = ref([]);
|
||||
|
@ -196,6 +196,7 @@ import xlsl from "@/assets/achievement_import_template.xlsx?url";
|
||||
import importTip from "@/assets/achievement_import_description.txt?url";
|
||||
import { saveAs } from "file-saver";
|
||||
import { useI18n } from "vue-i18n";
|
||||
import dayjs from "dayjs";
|
||||
|
||||
const { t } = useI18n();
|
||||
const router = useRouter();
|
||||
|
@ -180,6 +180,7 @@ import { computed, getCurrentInstance, reactive, ref, toRefs } from "vue";
|
||||
import { cloneDeep } from "lodash";
|
||||
import { deletePaper, paperList } from "@/api/admin/laboratory/paper";
|
||||
import { useI18n } from "vue-i18n";
|
||||
import dayjs from "dayjs";
|
||||
|
||||
const { t } = useI18n();
|
||||
const router = useRouter();
|
||||
|
@ -116,10 +116,9 @@
|
||||
|
||||
<script setup>
|
||||
// TODO:成果搜索添加按成果介绍搜索,需求搜索添加按需求描述搜索,添加实验室搜索
|
||||
import { computed, onMounted, reactive, ref, watch } from "vue";
|
||||
import { banner } from "@/api/website/home";
|
||||
import { computed, onMounted, reactive, ref } from "vue";
|
||||
import { banner, getAllCount } from "@/api/website/home";
|
||||
import { useRouter } from "vue-router";
|
||||
import { getAllCount } from "@/api/website/home";
|
||||
import { useI18n } from "vue-i18n";
|
||||
|
||||
const router = useRouter();
|
||||
@ -188,6 +187,7 @@ const state = reactive({
|
||||
company_count: 0,
|
||||
patent_count: 0,
|
||||
achievement_count: 0,
|
||||
laboratory_count: 0,
|
||||
demand_count: 0,
|
||||
docking_count: 0,
|
||||
},
|
||||
@ -327,4 +327,4 @@ onMounted(() => {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
Reference in New Issue
Block a user