lcw
This commit is contained in:
@ -34,11 +34,12 @@
|
||||
</template>
|
||||
<template #zxkssj="{row}">
|
||||
<span>{{ row.zxkssj }}</span> 至
|
||||
<span>{{ row.zxjssj }}</span>
|
||||
<span>{{ row.zxjssj }}</span>
|
||||
</template>
|
||||
|
||||
<!-- 操作 -->
|
||||
<template #controls="{ row }">
|
||||
<el-link size="small" type="primary" @click="showDetail(row)">下发指令</el-link>
|
||||
<el-link size="small" type="primary" @click="handleZL(row)">转为指令</el-link>
|
||||
<el-link size="small" type="primary" @click="addEdit('detail', row)">详情</el-link>
|
||||
</template>
|
||||
@ -61,6 +62,9 @@
|
||||
<Qbypfx v-if="showHome" @close="showHome = false"></Qbypfx>
|
||||
</teleport>
|
||||
</div>
|
||||
<Information v-model="showDialog" title="发送指令" @submit='submit' @close='close'>
|
||||
<SemdFqzl ref="semdFqzlRef" :itemData="itemData" @handleClose="handleClose" identification="qbcj" :tacitly="tacitly"/>
|
||||
</Information>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
@ -72,6 +76,8 @@ import Search from "@/components/aboutTable/Search.vue";
|
||||
import AddForm from "./components/addForm.vue";
|
||||
import ZlForm from "./components/zlForm.vue";
|
||||
import HbForm from "./components/hbForm.vue";
|
||||
import Information from "@/views/home/model/information.vue";
|
||||
import SemdFqzl from '@/components/instructionHasBeen/sendFqzl.vue'
|
||||
import { qcckGet } from "@/api/qcckApi.js";
|
||||
import { reactive, ref, onMounted, getCurrentInstance } from "vue";
|
||||
const { proxy } = getCurrentInstance();
|
||||
@ -182,6 +188,27 @@ const tabHeightFn = () => {
|
||||
tabHeightFn();
|
||||
};
|
||||
};
|
||||
//下发指令
|
||||
const showDialog = ref(false)
|
||||
const itemData = ref()
|
||||
const semdFqzlRef=ref()
|
||||
const handleClose = () => {
|
||||
showDialog.value = false;
|
||||
}
|
||||
const showDetail = (item) => {
|
||||
showDialog.value = true;
|
||||
itemData.value=item
|
||||
}
|
||||
const submit=()=>{
|
||||
semdFqzlRef.value.getsendFqzl()
|
||||
}
|
||||
const close = () => {
|
||||
semdFqzlRef.value.close()
|
||||
}
|
||||
const tacitly = {
|
||||
title: 'xsMc',
|
||||
instructionContent:'xsNr'
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
Reference in New Issue
Block a user