871788dd by lihua

修改定价名称为资产估值

1 parent a27cf9c1
......@@ -126,7 +126,7 @@ const routes: RouteRecordRaw[] = [
name: 'priceCalculateNew',
component: () => import('@/views/data_pricing/priceCalculateNew.vue'),
meta: {
title: '数据定价(新)',
title: '资产估值',
breadcrumb: false,
cache: true
}
......@@ -136,7 +136,7 @@ const routes: RouteRecordRaw[] = [
name: 'calculateConfigNew',
component: () => import('@/views/data_pricing/calculateConfigNew.vue'),
meta: {
title: '新增数据定价',
title: '新增资产估值',
sidebar: false,
breadcrumb: false,
cache: true,
......@@ -147,7 +147,7 @@ const routes: RouteRecordRaw[] = [
if (to.query.guid) {
to.meta.title = `编辑-${to.query.name}`;
} else {
to.meta.title = `新增数据定价`;
to.meta.title = `新增资产估值`;
}
}
},
......
......@@ -995,7 +995,7 @@ const checkForm = (type) => {
if (res.code == proxy.$passCode) {
ElMessage({
type: "success",
message: guid ? '编辑数据定价成功' : '新增数据定价成功',
message: guid ? '编辑资产估值成功' : '新增资产估值成功',
});
toPath()
} else {
......@@ -1092,7 +1092,7 @@ onActivated(() => {
if (tab) {
switch (route.query.type) {
case 'create':
tab.meta.title = `新增数据定价`;
tab.meta.title = `新增资产估值`;
break;
case 'edit':
tab.meta.title = `编辑-${priceName}`;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!