增加是否可编辑
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
<!--suppress ALL -->
|
||||||
<template>
|
<template>
|
||||||
<div class="AppServicePublic">
|
<div class="AppServicePublic">
|
||||||
<AiTopFixed v-if="tabs.length">
|
<AiTopFixed v-if="tabs.length">
|
||||||
@@ -54,7 +55,7 @@
|
|||||||
|
|
||||||
<AiEmpty description="暂无数据" v-else></AiEmpty>
|
<AiEmpty description="暂无数据" v-else></AiEmpty>
|
||||||
|
|
||||||
<AiFixedBtn>
|
<AiFixedBtn v-if="!readonly">
|
||||||
<div class="addBtn iconfont iconfont-iconfangda" @tap.stop="toAdd()"/>
|
<div class="addBtn iconfont iconfont-iconfangda" @tap.stop="toAdd()"/>
|
||||||
</AiFixedBtn>
|
</AiFixedBtn>
|
||||||
|
|
||||||
@@ -86,7 +87,8 @@ export default {
|
|||||||
listName: '',
|
listName: '',
|
||||||
tabs: [],
|
tabs: [],
|
||||||
tabIndex: 0,
|
tabIndex: 0,
|
||||||
categoryId: ''
|
categoryId: '',
|
||||||
|
readonly: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@@ -102,6 +104,7 @@ export default {
|
|||||||
this.areaName = this.user.areaName
|
this.areaName = this.user.areaName
|
||||||
this.moduleId = o.moduleId
|
this.moduleId = o.moduleId
|
||||||
this.listName = o.listName
|
this.listName = o.listName
|
||||||
|
this.readonly = !!o.readonly
|
||||||
this.getType()
|
this.getType()
|
||||||
this.getList()
|
this.getList()
|
||||||
uni.$on('update', () => {
|
uni.$on('update', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user