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('发送成功')
|
||||
|
||||
@ -55,6 +55,7 @@
|
||||
import { onMounted, reactive, watch, ref } from 'vue'
|
||||
import { ElMessage } from 'element-plus'
|
||||
import { qbcjCzzt, qbcjPldb } from "@/api/Intelligence.js";
|
||||
import {xxcjXxfz} from "@/api/xxcj.js";
|
||||
const props = defineProps({
|
||||
modelValue: {
|
||||
type: Boolean,
|
||||
@ -113,7 +114,7 @@ const submit = () => {
|
||||
getqbcjPldb()
|
||||
}
|
||||
const getqbcjPldb = () => {
|
||||
qbcjPldb({ ids: props.dataList.map(item => item.id), qbjb: dxRadio.value, czzt: '05' }).then(res => {
|
||||
xxcjXxfz({ id: props.dataList.map(item => item.id).join(','), qbjb: dxRadio.value}).then(res => {
|
||||
ElMessage({
|
||||
message: '操作成功',
|
||||
type: 'success',
|
||||
|
||||
Reference in New Issue
Block a user