fit get applications (#114)

This commit is contained in:
HCode authored and GitHub committed 2024-08-17 15:09:58 +08:00
1 parent 7c8a649047
commit 5eb453dec2
17 files changed
+113 -35

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@
:application="application"
:need-apply="needApply"
:service="service"
@refresh="$store.dispatch('chatdoc/getApplication')"
@refresh="$store.dispatch('chatdoc/getApplications')"
/>
</div>
<div class="dialogue">
+3 -3
View File
@@ -15,7 +15,7 @@
:application="application"
:need-apply="needApply"
:service="service"
@refresh="$store.dispatch('chatdoc/getApplication')"
@refresh="$store.dispatch('chatdoc/getApplications')"
/>
</div>
<el-row class="repositories" :gutter="15">
@@ -93,7 +93,7 @@ export default defineComponent({
return this.$store.state.chatdoc.repositories;
},
needApply() {
return this.$store.state.chatdoc.status.getApplication === Status.Success && !this.application;
return this.$store.state.chatdoc.status.getApplications === Status.Success && !this.application;
},
application() {
return this.$store.state.chatdoc.application;
@@ -102,7 +102,7 @@ export default defineComponent({
return this.$store.state.chatdoc.service;
},
initializing() {
return this.$store.state.chatdoc.status.getApplication === Status.Request;
return this.$store.state.chatdoc.status.getApplications === Status.Request;
}
},
async mounted() {},
+3 -3
View File
@@ -15,7 +15,7 @@
:application="application"
:need-apply="needApply"
:service="service"
@refresh="$store.dispatch('chatdoc/getApplication')"
@refresh="$store.dispatch('chatdoc/getApplications')"
/>
</div>
<div class="operations">
@@ -99,7 +99,7 @@ export default defineComponent({
return this.repository?.documents;
},
needApply() {
return this.$store.state.chatdoc.status.getApplication === Status.Success && !this.application;
return this.$store.state.chatdoc.status.getApplications === Status.Success && !this.application;
},
service() {
return this.$store.state.chatdoc.service;
@@ -108,7 +108,7 @@ export default defineComponent({
return this.$store.state.chatdoc.application;
},
initializing() {
return this.$store.state.chatdoc.status.getApplication === Status.Request;
return this.$store.state.chatdoc.status.getApplications === Status.Request;
}
},
async mounted() {