diff --git a/project/xiushan/apps/finance/AppGuaranteeProduct/AppGuaranteeProduct.vue b/project/xiushan/apps/finance/AppGuaranteeProduct/AppGuaranteeProduct.vue index 7acd89a8..0ffab8c3 100644 --- a/project/xiushan/apps/finance/AppGuaranteeProduct/AppGuaranteeProduct.vue +++ b/project/xiushan/apps/finance/AppGuaranteeProduct/AppGuaranteeProduct.vue @@ -1,6 +1,6 @@ @@ -18,7 +18,8 @@ export default { props: { instance: Function, dict: Object, - permissions: Function + permissions: Function, + menuName: {default: "担保产品"} }, computed: { currentComponent() { diff --git a/project/xiushan/apps/finance/AppGuaranteeProduct/productAdd.vue b/project/xiushan/apps/finance/AppGuaranteeProduct/productAdd.vue index b6b3d89a..836f2181 100644 --- a/project/xiushan/apps/finance/AppGuaranteeProduct/productAdd.vue +++ b/project/xiushan/apps/finance/AppGuaranteeProduct/productAdd.vue @@ -54,12 +54,11 @@ export default { props: { instance: Function, dict: Object, - permissions: Function + permissions: Function, + menuName: String }, computed: { - addTitle() { - return !!this.$route.query.id ? "编辑担保产品" : "添加担保产品" - }, + addTitle: v => `${!!v.$route.query.id ? "编辑" : "添加"}${v.menuName}`, rules() { return { productName: [{required: true, message: "请输入产品名称", trigger: 'blur'}], diff --git a/project/xiushan/apps/finance/AppGuaranteeProduct/productDetail.vue b/project/xiushan/apps/finance/AppGuaranteeProduct/productDetail.vue index efb22180..971b677d 100644 --- a/project/xiushan/apps/finance/AppGuaranteeProduct/productDetail.vue +++ b/project/xiushan/apps/finance/AppGuaranteeProduct/productDetail.vue @@ -1,7 +1,7 @@