This commit is contained in:
shijingjing
2022-09-15 13:39:19 +08:00
parent f284899d20
commit 92dc41c5bd

View File

@@ -67,7 +67,7 @@
</template>
<script>
import { mapState ,mapActions } from "vuex";
import { mapState , mapActions } from "vuex";
export default {
name: "massDispatch",
data() {
@@ -92,7 +92,6 @@ export default {
...mapState(['user'])
},
methods: {
...mapActions(['shareToExternalChat']),
getDetail() {
this.$http.post(`/app/appmasssendingtask/queryDetailById?id=${this.id}`).then(res=> {
if (res?.data) {
@@ -113,7 +112,7 @@ export default {
current: img
})
},
...mapActions(['previewFile']),
...mapActions(['previewFile', 'shareToExternalChat']),
prevFile(file) {
this.$loading()
this.previewFile({ ...file }).then(()=>{
@@ -193,7 +192,7 @@ export default {
this.shareToExternalChat({ ...text, ...data }).then((res) =>{
this.shareToExternalChat({ ...text, ...attachments }).then((res) =>{
console.log(res);
})
},