feat: 增加处置下发
This commit is contained in:
@ -109,4 +109,13 @@ export function upImageUploadId(data) {
|
||||
})
|
||||
}
|
||||
|
||||
/** 发送指令 (网上会议室)*/
|
||||
export function wshsSendFqzl(data) {
|
||||
return request({
|
||||
url: gsxtApi + '/wshs/sendFqzl',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
|
||||
<script setup>
|
||||
import { reactive, ref, onMounted, watch } from "vue";
|
||||
import { sendFqzl, ZdrfjSendFqzl ,qbcjSendFqzl} from '@/api/commit'
|
||||
import { sendFqzl, ZdrfjSendFqzl ,qbcjSendFqzl, wshsSendFqzl} from '@/api/commit'
|
||||
import { getItem } from '@/utils/storage'
|
||||
import * as MOSTY from "@/components/MyComponents/index";
|
||||
import ChooseUser from "@/components/ChooseList/ChooseUser/index.vue"
|
||||
@ -86,6 +86,8 @@ const getsendFqzl = () => {
|
||||
break;
|
||||
case 'qbcj':
|
||||
res = await qbcjSendFqzl(promes)
|
||||
case 'meeting': // 网上会议室
|
||||
res = await wshsSendFqzl(promes)
|
||||
break;
|
||||
}
|
||||
const str = JSON.parse(res)
|
||||
|
||||
@ -33,7 +33,7 @@
|
||||
<div class="right">
|
||||
<el-button type="primary" size="small" @click="joinMeeting(item, '会议')">加入会议</el-button>
|
||||
<el-button type="primary" size="small" @click="feedBack(item)">反馈情况</el-button>
|
||||
<el-button type="primary" size="small">处置下发</el-button>
|
||||
<el-button type="primary" size="small" @click="disposeIssue(item)">处置下发</el-button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -87,6 +87,11 @@
|
||||
<!-- 查看反馈弹窗 -->
|
||||
<ViewFeedback ref="viewFeedbackRef" />
|
||||
|
||||
<Information v-model="showDialog" title="发送指令" @submit="seedFqzl" @close='close'>
|
||||
<SemdFqzl ref="semdFqzlRef" :itemData="itemData" @handleClose="handleClose" identification="meeting"
|
||||
:tacitly="tacitly" />
|
||||
</Information>
|
||||
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
@ -102,9 +107,11 @@ import FeedbackForm from "./components/FeedbackForm.vue";
|
||||
import ViewFeedback from "./components/ViewFeedback.vue";
|
||||
import { useRoute, useRouter } from 'vue-router';
|
||||
import { qcckGet, qcckPost, qcckDelete } from "@/api/qcckApi.js";
|
||||
|
||||
import { reactive, ref, onMounted, getCurrentInstance, nextTick } from "vue";
|
||||
import ConferenceRoom from "./components/Communications/conferenceRoom.vue";
|
||||
import SemdFqzl from '@/components/instructionHasBeen/sendFqzl.vue'
|
||||
import Information from "@/views/home/model/information.vue";
|
||||
|
||||
const router = useRouter();
|
||||
const route = useRoute();
|
||||
const { proxy } = getCurrentInstance();
|
||||
@ -114,6 +121,16 @@ const openMeeting = ref(false); // 打开会议窗口
|
||||
const refMeetingView = ref()
|
||||
const feedbackFormRef = ref() // 反馈弹窗引用
|
||||
const viewFeedbackRef = ref() // 查看反馈弹窗引用
|
||||
const semdFqzlRef = ref()
|
||||
/** 发送指令Item */
|
||||
const itemData = ref({})
|
||||
|
||||
/** 下发指令 */
|
||||
const showDialog = ref(false)
|
||||
const tacitly = {
|
||||
// title:'ryXm'
|
||||
}
|
||||
|
||||
const searchConfiger = ref([
|
||||
{
|
||||
label: "会议主题",
|
||||
@ -215,6 +232,7 @@ const feedBack = (item) => {
|
||||
feedbackFormRef.value.open(item.id);
|
||||
};
|
||||
|
||||
|
||||
// 查看反馈
|
||||
const viewFeedback = (item) => {
|
||||
viewFeedbackRef.value.open(item.fkList || []);
|
||||
@ -247,6 +265,21 @@ const tabHeightFn = () => {
|
||||
// 会议详情弹窗
|
||||
const conferenceRoomVisible = ref(false);
|
||||
|
||||
|
||||
const seedFqzl = () => {
|
||||
semdFqzlRef.value.getsendFqzl()
|
||||
}
|
||||
|
||||
const handleClose = () => {
|
||||
showDialog.value = false;
|
||||
}
|
||||
|
||||
// 处置下发
|
||||
const disposeIssue = (item) => {
|
||||
showDialog.value = true;
|
||||
itemData.value = item
|
||||
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
Reference in New Issue
Block a user