云查询发起接口传递caseno

dianlixunjian
Zhufu 2024-09-04 10:16:37 +08:00
parent 52f44a9ed3
commit 77eef8ea56
13 changed files with 78 additions and 2 deletions

View File

@ -7,7 +7,7 @@ enum Api {
LoadCloudQueryById = '/api/DroneCloudQuery/LoadCloudQueryById'
}
export function AddDroneTask(params: { geomid: string }) {
export function AddDroneTask(params: { geomid: string, caseno: string }) {
return defHttp.post({
url: Api.AddDroneTask + "?geomid=" + params.geomid,
params,

View File

@ -282,6 +282,10 @@
type: Array,
default: null,
},
caseno: {
type: String,
default: '',
}
});
let nextMapControl: Array<any> = reactive([]);
@ -1497,7 +1501,7 @@
message.warning('已有云查询运行,不能再次提交');
} else {
let geomidStr = props.geomsList.map((item) => item.key).join(',');
AddDroneTask({ geomid: geomidStr }).then((res) => {
AddDroneTask({ geomid: geomidStr, caseno: props.caseno }).then((res) => {
message.success('成功提交云查询');
useCloudQuery.setIdentification(true);
});

View File

@ -68,6 +68,7 @@
:taskId="taskId"
:isRead="isRead"
:type="type"
:auditData="auditData"
@closeModel="closeMolder"
/>
</a-modal>
@ -100,6 +101,7 @@ const auditOpen = ref(false);
const processId = ref('');
const taskId = ref('');
const type = ref('');
const auditData = ref()
const isRead: any = ref(0);
const handoffShow = ref(true)
const showDataId = ref()
@ -136,6 +138,7 @@ const goAudit = async (record) => {
processId.value = record.processid;
taskId.value = record.taskid;
type.value = record.type;
auditData.value = record;
}
const collectItem = (item) => {
console.log(item,userStore.getUserInfo)
@ -179,6 +182,7 @@ const prevData = async () => {
type.value = record.type;
handoffShow.value = true
showDataId.value = res.items[res.items.length -1].id
auditData.value = res.items[res.items.length -1]
})
return
}else{
@ -194,6 +198,7 @@ const prevData = async () => {
taskId.value = record.taskid;
type.value = record.type;
handoffShow.value = true
auditData.value = record
}
const nextData = async () => {
if(nextShowDataId.value === 0){
@ -214,6 +219,7 @@ const nextData = async () => {
type.value = record.type;
handoffShow.value = true
showDataId.value = res.items[0].id
auditData.value = res.items[0]
})
return
}else{
@ -229,6 +235,7 @@ const nextData = async () => {
taskId.value = record.taskid;
type.value = record.type;
handoffShow.value = true
auditData.value = record
}
const getParams = (data) => {
let params = {

View File

@ -195,6 +195,7 @@
:taskId="taskId"
:isRead="isRead"
:type="type"
:auditData="auditData"
@closeModel="closeMolder"
/>
</a-modal>
@ -230,6 +231,7 @@
const taskId = ref('');
const isRead: any = ref(0);
const type = ref('');
const auditData = ref()
const order = ref(0)
const auditOpen = ref(false);
const showDataId = ref()
@ -312,6 +314,7 @@
processId.value = record.processid;
taskId.value = record.taskeid;
type.value = record.type;
auditData.value = record;
}
async function locationFun(record) {
emits('changeTask', record);
@ -361,6 +364,7 @@
type.value = record.type;
handoffShow.value = true
showDataId.value = dataList.value[dataList.value.length - 1].Id
auditData.value = dataList.value[dataList.value.length - 1]
return
}else{
showDataId.value = prevShowDataId.value
@ -375,6 +379,7 @@
taskId.value = record.taskeid;
type.value = record.type;
handoffShow.value = true
auditData.value = record
}
const nextData = async () => {
if(nextShowDataId.value === 0){
@ -397,6 +402,7 @@
type.value = record.type;
handoffShow.value = true
showDataId.value = dataList.value[0].Id
auditData.value = dataList.value[0]
return
}else{
showDataId.value = nextShowDataId.value
@ -411,6 +417,7 @@
taskId.value = record.taskeid;
type.value = record.type;
handoffShow.value = true
auditData.value = record
}
const cancelCollectItem = (item) => {
DeleteCaiKuangTaskCase(item.Fid).then(res => {

View File

@ -229,6 +229,7 @@
:taskId="taskId"
:isRead="isRead"
:type="type"
:auditData="auditData"
@closeModel="closeMolder"
/>
</a-modal>
@ -299,6 +300,7 @@ const auditOpen = ref(false);
const processId = ref('');
const taskId = ref('');
const type = ref('');
const auditData = ref()
const handoffShow = ref(true)
const isRead: any = ref(0);
const openCollect = computed(() => {
@ -394,6 +396,7 @@ async function goAudit(record) {
processId.value = record.processid;
taskId.value = record.taskid;
type.value = record.type;
auditData.value = record;
}
const prevData = async () => {
if(prevShowDataId.value === 0){
@ -414,6 +417,7 @@ const prevData = async () => {
type.value = record.type;
handoffShow.value = true
showDataId.value = res.items[res.items.length -1].id
auditData.value = res.items[res.items.length -1]
})
return
}else{
@ -429,6 +433,7 @@ const prevData = async () => {
taskId.value = record.taskid;
type.value = record.type;
handoffShow.value = true
auditData.value = record
}
const nextData = async () => {
if(nextShowDataId.value === 0){
@ -449,6 +454,7 @@ const nextData = async () => {
type.value = record.type;
handoffShow.value = true
showDataId.value = res.items[0].id
auditData.value = res.items[0]
})
return
}else{
@ -464,6 +470,7 @@ const nextData = async () => {
taskId.value = record.taskid;
type.value = record.type;
handoffShow.value = true
auditData.value = record
}
const closeMolder = () => {
emits('getInfoList')

View File

@ -196,6 +196,7 @@
:taskId="taskId"
:isRead="isRead"
:type="type"
:auditData="auditData"
@closeModel="closeMolder"
/>
</a-modal>
@ -231,6 +232,7 @@
const taskId = ref('');
const isRead: any = ref(0);
const type = ref('');
const auditData = ref()
const order = ref(0)
const auditOpen = ref(false);
const showDataId = ref()
@ -312,6 +314,7 @@
processId.value = record.processid;
taskId.value = record.taskeid;
type.value = record.type;
auditData.value = record;
}
async function locationFun(record) {
emits('changeTask', record);
@ -361,6 +364,7 @@
type.value = record.type;
handoffShow.value = true
showDataId.value = dataList.value[dataList.value.length - 1].Id
auditData.value = dataList.value[dataList.value.length - 1]
return
}else{
showDataId.value = prevShowDataId.value
@ -375,6 +379,7 @@
taskId.value = record.taskeid;
type.value = record.type;
handoffShow.value = true
auditData.value = record
}
const nextData = async () => {
if(nextShowDataId.value === 0){
@ -397,6 +402,7 @@
type.value = record.type;
handoffShow.value = true
showDataId.value = dataList.value[0].Id
auditData.value = dataList.value[0]
return
}else{
showDataId.value = nextShowDataId.value
@ -411,6 +417,7 @@
taskId.value = record.taskeid;
type.value = record.type;
handoffShow.value = true
auditData.value = record
}
const cancelCollectItem = (item) => {
DeleteCaiKuangTaskCase(item.Fid).then(res => {

View File

@ -195,6 +195,7 @@
:taskId="taskId"
:isRead="isRead"
:type="type"
:auditData="auditData"
@closeModel="closeMolder"
/>
</a-modal>
@ -230,6 +231,7 @@
const taskId = ref('');
const isRead: any = ref(0);
const type = ref('');
const auditData = ref()
const order = ref(0)
const auditOpen = ref(false);
const showDataId = ref()
@ -312,6 +314,7 @@
processId.value = record.processid;
taskId.value = record.taskeid;
type.value = record.type;
auditData.value = record;
}
async function locationFun(record) {
emits('changeTask', record);
@ -361,6 +364,7 @@
type.value = record.type;
handoffShow.value = true
showDataId.value = dataList.value[dataList.value.length - 1].Id
auditData.value = dataList.value[dataList.value.length - 1]
return
}else{
showDataId.value = prevShowDataId.value
@ -375,6 +379,7 @@
taskId.value = record.taskeid;
type.value = record.type;
handoffShow.value = true
auditData.value = record
}
const nextData = async () => {
if(nextShowDataId.value === 0){
@ -397,6 +402,7 @@
type.value = record.type;
handoffShow.value = true
showDataId.value = dataList.value[0].Id
auditData.value = dataList.value[0]
return
}else{
showDataId.value = nextShowDataId.value
@ -411,6 +417,7 @@
taskId.value = record.taskeid;
type.value = record.type;
handoffShow.value = true
auditData.value = record
}
const cancelCollectItem = (item) => {
DeleteCaiKuangTaskCase(item.Fid).then(res => {

View File

@ -230,6 +230,7 @@
:taskId="taskId"
:isRead="isRead"
:type="type"
:auditData="auditData"
@closeModel="closeMolder"
/>
</a-modal>
@ -300,6 +301,7 @@ const auditOpen = ref(false);
const processId = ref('');
const taskId = ref('');
const type = ref('');
const auditData = ref()
const handoffShow = ref(true)
const isRead: any = ref(0);
const openCollect = computed(() => {
@ -395,6 +397,7 @@ async function goAudit(record) {
processId.value = record.processid;
taskId.value = record.taskid;
type.value = record.type;
auditData.value = record;
}
const prevData = async () => {
if(prevShowDataId.value === 0){
@ -415,6 +418,7 @@ const prevData = async () => {
type.value = record.type;
handoffShow.value = true
showDataId.value = res.items[res.items.length -1].id
auditData.value = res.items[res.items.length -1]
})
return
}else{
@ -430,6 +434,7 @@ const prevData = async () => {
taskId.value = record.taskid;
type.value = record.type;
handoffShow.value = true
auditData.value = record
}
const nextData = async () => {
if(nextShowDataId.value === 0){
@ -450,6 +455,7 @@ const nextData = async () => {
type.value = record.type;
handoffShow.value = true
showDataId.value = res.items[0].id
auditData.value = res.items[0]
})
return
}else{
@ -465,6 +471,7 @@ const nextData = async () => {
taskId.value = record.taskid;
type.value = record.type;
handoffShow.value = true
auditData.value = record
}
const closeMolder = () => {
emits('getInfoList')

View File

@ -196,6 +196,7 @@
:taskId="taskId"
:isRead="isRead"
:type="type"
:auditData="auditData"
@closeModel="closeMolder"
/>
</a-modal>
@ -231,6 +232,7 @@
const taskId = ref('');
const isRead: any = ref(0);
const type = ref('');
const auditData = ref()
const order = ref(0)
const auditOpen = ref(false);
const showDataId = ref()
@ -312,6 +314,7 @@
processId.value = record.processid;
taskId.value = record.taskeid;
type.value = record.type;
auditData.value = record;
}
async function locationFun(record) {
emits('changeTask', record);
@ -361,6 +364,7 @@
type.value = record.type;
handoffShow.value = true
showDataId.value = dataList.value[dataList.value.length - 1].Id
auditData.value = dataList.value[dataList.value.length - 1]
return
}else{
showDataId.value = prevShowDataId.value
@ -375,6 +379,7 @@
taskId.value = record.taskeid;
type.value = record.type;
handoffShow.value = true
auditData.value = record
}
const nextData = async () => {
if(nextShowDataId.value === 0){
@ -397,6 +402,7 @@
type.value = record.type;
handoffShow.value = true
showDataId.value = dataList.value[0].Id
auditData.value = dataList.value[0]
return
}else{
showDataId.value = nextShowDataId.value
@ -411,6 +417,7 @@
taskId.value = record.taskeid;
type.value = record.type;
handoffShow.value = true
auditData.value = record
}
const cancelCollectItem = (item) => {
DeleteCaiKuangTaskCase(item.Fid).then(res => {

View File

@ -197,6 +197,7 @@
:taskId="taskId"
:isRead="isRead"
:type="type"
:auditData="auditData"
@closeModel="closeMolder"
/>
</a-modal>
@ -231,6 +232,7 @@
const taskId = ref('');
const isRead: any = ref(0);
const type = ref('');
const auditData = ref()
const order = ref(0)
const auditOpen = ref(false);
const showDataId = ref()
@ -312,6 +314,7 @@
processId.value = record.processid;
taskId.value = record.taskeid;
type.value = record.type;
auditData.value = record;
}
async function locationFun(record) {
emits('changeTask', record);
@ -361,6 +364,7 @@
type.value = record.type;
handoffShow.value = true
showDataId.value = dataList.value[dataList.value.length - 1].Id
auditData.value = dataList.value[dataList.value.length - 1]
return
}else{
showDataId.value = prevShowDataId.value
@ -375,6 +379,7 @@
taskId.value = record.taskeid;
type.value = record.type;
handoffShow.value = true
auditData.value = record
}
const nextData = async () => {
if(nextShowDataId.value === 0){
@ -397,6 +402,7 @@
type.value = record.type;
handoffShow.value = true
showDataId.value = dataList.value[0].Id
auditData.value = dataList.value[0]
return
}else{
showDataId.value = nextShowDataId.value
@ -411,6 +417,7 @@
taskId.value = record.taskeid;
type.value = record.type;
handoffShow.value = true
auditData.value = record
}
const cancelCollectItem = (item) => {
deleteTaskCase(item.Fid).then(res => {

View File

@ -196,6 +196,7 @@
:taskId="taskId"
:isRead="isRead"
:type="type"
:auditData="auditData"
@closeModel="closeMolder"
/>
</a-modal>
@ -230,6 +231,7 @@
const taskId = ref('');
const isRead: any = ref(0);
const type = ref('');
const auditData = ref()
const order = ref(0)
const auditOpen = ref(false);
const showDataId = ref()
@ -312,6 +314,7 @@
processId.value = record.processid;
taskId.value = record.taskeid;
type.value = record.type;
auditData.value = record;
}
async function locationFun(record) {
emits('changeTask', record);
@ -361,6 +364,7 @@
type.value = record.type;
handoffShow.value = true
showDataId.value = dataList.value[dataList.value.length - 1].Id
auditData.value = dataList.value[dataList.value.length - 1]
return
}else{
showDataId.value = prevShowDataId.value
@ -375,6 +379,7 @@
taskId.value = record.taskeid;
type.value = record.type;
handoffShow.value = true
auditData.value = record
}
const nextData = async () => {
if(nextShowDataId.value === 0){
@ -397,6 +402,7 @@
type.value = record.type;
handoffShow.value = true
showDataId.value = dataList.value[0].Id
auditData.value = dataList.value[0]
return
}else{
showDataId.value = nextShowDataId.value
@ -411,6 +417,7 @@
taskId.value = record.taskeid;
type.value = record.type;
handoffShow.value = true
auditData.value = record
}
const cancelCollectItem = (item) => {
deleteTaskCase(item.Fid).then(res => {

View File

@ -279,6 +279,7 @@
:taskId="taskId"
:isRead="isRead"
:type="type"
:auditData="auditData"
@closeModel="closeMolder"
/>
</a-modal>
@ -366,6 +367,7 @@ const auditOpen = ref(false);
const processId = ref('');
const taskId = ref('');
const type = ref('');
const auditData = ref()
const handoffShow = ref(true)
const isRead: any = ref(0);
const openCollect = computed(() => {
@ -472,6 +474,7 @@ async function goAudit(record) {
processId.value = record.processid;
taskId.value = record.taskid;
type.value = record.type;
auditData.value = record;
}
const prevData = async () => {
if(prevShowDataId.value === 0){
@ -492,6 +495,7 @@ const prevData = async () => {
type.value = record.type;
handoffShow.value = true
showDataId.value = res.items[res.items.length -1].id
auditData.value = res.items[res.items.length -1];
})
return
}else{
@ -507,6 +511,7 @@ const prevData = async () => {
taskId.value = record.taskid;
type.value = record.type;
handoffShow.value = true
auditData.value = record;
}
const nextData = async () => {
if(nextShowDataId.value === 0){
@ -527,6 +532,7 @@ const nextData = async () => {
type.value = record.type;
handoffShow.value = true
showDataId.value = res.items[0].id
auditData.value = res.items[0]
})
return
}else{
@ -542,6 +548,7 @@ const nextData = async () => {
taskId.value = record.taskid;
type.value = record.type;
handoffShow.value = true
auditData.value = record;
}
const closeMolder = () => {
emits('getInfoList')

View File

@ -10,6 +10,7 @@
<div class="maper-container" v-if="mapConfig?.isShowMap">
<MapboxMap
:caseno="props.auditData.caseno"
:mapConfig="mapConfig"
:geomsList="geomsList"
@handlerDrawComplete="handlerDrawComplete"
@ -329,6 +330,7 @@
taskId: String,
type: String,
isRead: String,
auditData: Object,
});
const formData = ref({