设备管理
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
|
||||
import { mapState } from 'vuex'
|
||||
export default {
|
||||
name: "AppResourcesManage",
|
||||
data() {
|
||||
@@ -62,6 +62,7 @@ export default {
|
||||
typeList: [{label: '全部', value: '0'}, {label: '我创建的', value: '1'},]
|
||||
}
|
||||
},
|
||||
computed: { ...mapState(['user']) },
|
||||
onLoad() {
|
||||
this.getList()
|
||||
uni.$on('getList', () => {
|
||||
@@ -117,10 +118,10 @@ export default {
|
||||
|
||||
this.$http.post(`/app/appdlbresource/list`, null, {
|
||||
params: {
|
||||
...this.search,
|
||||
type: this.currIndex === 0 ? 1 : 3,
|
||||
name: this.keyword,
|
||||
current: this.current,
|
||||
size: 10
|
||||
size: 10,
|
||||
createUserId: this.type == 1 ? this.user.id : ''
|
||||
}
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
|
||||
Reference in New Issue
Block a user