[update] 配置权限
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
:projectId='this.$route.query.id'></parameter-template-add>
|
||||
</a-modal>
|
||||
<!-- 配置-->
|
||||
<configure ref="configureRef" :url='url' :itemId='itemId'/>
|
||||
<configure ref="configureRef" :url='url' :itemId='itemId' :itemRow='itemRow'/>
|
||||
<!-- 历史版本-->
|
||||
<a-modal v-model="historicalVisible" :title="$t('historicalVersion')" width='750px' :footer="null">
|
||||
<historical-version v-if='historicalVisible' :historicalRow='historicalRow'></historical-version>
|
||||
@@ -188,7 +188,8 @@
|
||||
templatetitleId: '',
|
||||
rowId: '',
|
||||
version: 0,
|
||||
itemId: '',
|
||||
itemId: '', // 配置id
|
||||
itemRow: {}, // 配置一行数据
|
||||
historicalVisible: false,
|
||||
historicalRow: {}, // 历史版本得数据
|
||||
drawerVisible: false,
|
||||
@@ -239,8 +240,9 @@
|
||||
},
|
||||
// 配置
|
||||
configure(item) {
|
||||
this.itemId = item.id
|
||||
this.$refs.configureRef.addModel(item.id)
|
||||
this.itemId = item.id
|
||||
this.itemRow = item
|
||||
this.$refs.configureRef.addModel(item.id)
|
||||
},
|
||||
handleCancel(val) {
|
||||
this.areaVisible = val
|
||||
|
||||
Reference in New Issue
Block a user