设备管理

This commit is contained in:
liuye
2022-06-11 11:42:53 +08:00
parent 575f9a1b57
commit c29304840d
3 changed files with 33 additions and 17 deletions

View File

@@ -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) {