lcw
This commit is contained in:
@ -27,7 +27,7 @@
|
||||
<script setup>
|
||||
import { reactive, ref, onMounted, watch } from "vue";
|
||||
import { qbcjZhcSendFqzl } from '@/api/qbcj'
|
||||
|
||||
import { qcckPost } from "@/api/qcckApi.js";
|
||||
import { getItem } from '@/utils/storage'
|
||||
import * as MOSTY from "@/components/MyComponents/index";
|
||||
import ChooseUser from "@/components/ChooseList/ChooseUser/index.vue"
|
||||
@ -49,7 +49,11 @@ const props = defineProps({
|
||||
default: "发送指令"
|
||||
}, width: {
|
||||
type: String,
|
||||
default: "70%"
|
||||
default: "50%"
|
||||
},
|
||||
path: {
|
||||
type: String,
|
||||
default: "/qbcjZhc/sendFqzl"
|
||||
}
|
||||
|
||||
|
||||
@ -96,7 +100,8 @@ const getsendFqzl = () => {
|
||||
personnelEntity: personnelEntity.value
|
||||
}
|
||||
try {
|
||||
const res = await qbcjZhcSendFqzl(promes)
|
||||
const res = await qcckPost(promes,props.path )
|
||||
// qbcjZhcSendFqzl(promes)
|
||||
const str = JSON.parse(res)
|
||||
if (str.code == 200) {
|
||||
ElMessage.success('发送成功')
|
||||
|
||||
Reference in New Issue
Block a user