diff --git a/src/components/comments-pagination.vue b/src/components/comments-pagination.vue index f741a2f030d2187b327868d8581c8102fcae0d5e..89a9d7d87d8e36e109dde951730ac940626cdd3a 100644 --- a/src/components/comments-pagination.vue +++ b/src/components/comments-pagination.vue @@ -3,7 +3,7 @@
{{ `共${total}个条目` }}
-
+
每页行数: 规格:日访问次数:{{ cellItem.spec_svc_count }}次,日访问量:{{ cellItem.spec_svc_pv }}
申请方式:{{ cellItem.duration_unit == 1 ? $t('lang.byYear') : $t('lang.byMonth') }}
+ >申请方式:{{ cellItem.duration_unit == 1 ? $t('lang.byMonth') : $t('lang.byYear') }}
diff --git a/src/components/table/table-um.vue b/src/components/table/table-um.vue index 9d37fa9c74e6421c2be0835ff7d66d3c1d819bed..fcb84c1f987c5329f53f539d9e6b6875e0569460 100644 --- a/src/components/table/table-um.vue +++ b/src/components/table/table-um.vue @@ -50,6 +50,7 @@ @@ -264,6 +266,7 @@ export default { "v-apaas-table-filter": TableFilter }, props: { + height:'', //是否滚动加载 asyn_load1: { type: Boolean, default: false }, // 表格型号:mini,medium,small @@ -433,6 +436,7 @@ export default { //本地删除 deleteLocal(val) { this.selectedTabsPage.splice(val.$index, 1); + this.$emit('changeTable',this.selectedTabsPage) }, // get data getDataFromApiSync() { diff --git a/src/components/table/table-umhref.vue b/src/components/table/table-umhref.vue index adeb3d42e5b392a82b9e7e9e1df27c9ef1cfb484..180d3db508b2fc7db605df9ebf118eddc0d1ae52 100644 --- a/src/components/table/table-umhref.vue +++ b/src/components/table/table-umhref.vue @@ -1,6 +1,6 @@ @@ -10,7 +10,7 @@ import helper from "@/services/helper"; import format from "string-format"; export default { - props: ["header", "row", "detailsUrl"], + props: ["header", "row", "detailsUrl","ids"], computed: { text: function() { let text = helper.GetProperty(this.row, this.header.prop); @@ -21,11 +21,22 @@ export default { let baseVal = helper.GetProperty(this.row, "id"); return baseVal; }, + }, + created(){ + }, methods: { // Jump routing using id as parameter goHref(val) { - this.$router.push(this.detailsUrl + val) + if(this.ids){ + if(this.ids.indexOf('.')==-1){ + this.$router.push(this.detailsUrl + this.row[this.ids]) + }else{ + this.$router.push(this.detailsUrl + this.row[this.ids.split('.')[0]][this.ids.split('.')[1]]) + } + }else{ + this.$router.push(this.detailsUrl + val) + } } } }; diff --git a/src/pages/authority/organization/organizationdetail.vue b/src/pages/authority/organization/organizationdetail.vue index 9bde765b23764e147a0d11df67e6d1037a718a83..422a0a2ef1fa43c7884badca9b76c721b34c6ac7 100644 --- a/src/pages/authority/organization/organizationdetail.vue +++ b/src/pages/authority/organization/organizationdetail.vue @@ -1,6 +1,6 @@