6.26张祥瑞
This commit is contained in:
parent
cd340d4185
commit
dddcccc6cd
@ -5,7 +5,7 @@
|
|||||||
<wd-col :span="16">
|
<wd-col :span="16">
|
||||||
<wd-datetime-picker type="year-month" v-model="dataValue" label="填报时间" @confirm="getList" id="top1" />
|
<wd-datetime-picker type="year-month" v-model="dataValue" label="填报时间" @confirm="getList" id="top1" />
|
||||||
</wd-col>
|
</wd-col>
|
||||||
<wd-col :span="8" style="display: flex; justify-content: center;">
|
<wd-col :span="8" style="margin-top: 5px;">
|
||||||
<wd-button @click="clear">重置</wd-button>
|
<wd-button @click="clear">重置</wd-button>
|
||||||
</wd-col>
|
</wd-col>
|
||||||
</wd-row>
|
</wd-row>
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
<template>
|
<template>
|
||||||
<PageLayout :navbarShow="false">
|
<PageLayout :navbarShow="false">
|
||||||
<wd-card style="margin: 10px; display: flex; justify-content: center; align-items: center;" id="top1">
|
<wd-card id="top1">
|
||||||
<wd-row>
|
<wd-row>
|
||||||
<wd-col :span="12" style="display: flex; justify-content: center;">
|
<wd-col :span="16" style="margin-top: 5px;">
|
||||||
<uni-easyinput v-model="realname" placeholder="姓名模糊查询" @change="getpersonList"
|
<uni-easyinput v-model="realname" placeholder="姓名模糊查询" @change="getpersonList"
|
||||||
@clear="getpersonList" />
|
@clear="getpersonList" style="width: 100%;" />
|
||||||
</wd-col>
|
</wd-col>
|
||||||
<wd-col :span="12" style="display: flex; justify-content: center;">
|
<wd-col :span="6" style="margin-top: 5px;margin-left: 3px;">
|
||||||
<wd-button @click="sendMessage">发送消息</wd-button>
|
<wd-button @click="sendMessage" style="width: 100%;">发送消息</wd-button>
|
||||||
</wd-col>
|
</wd-col>
|
||||||
</wd-row>
|
</wd-row>
|
||||||
</wd-card>
|
</wd-card>
|
||||||
@ -48,6 +48,8 @@
|
|||||||
const screenHeight = ref(0)
|
const screenHeight = ref(0)
|
||||||
const screenWidth = ref(0)
|
const screenWidth = ref(0)
|
||||||
const tableHeight = ref(0)
|
const tableHeight = ref(0)
|
||||||
|
const message = useMessage()
|
||||||
|
const toast = useToast()
|
||||||
|
|
||||||
const getpersonList = (e) => {
|
const getpersonList = (e) => {
|
||||||
if (e != 1) { //为1时是切换页码
|
if (e != 1) { //为1时是切换页码
|
||||||
@ -82,7 +84,7 @@
|
|||||||
const selectedData = list.value.filter(item => item.checked);
|
const selectedData = list.value.filter(item => item.checked);
|
||||||
|
|
||||||
if (selectedData.length === 0) {
|
if (selectedData.length === 0) {
|
||||||
useToast().show('请先选择要发送消息的人员');
|
toast.success('请先选择要发送消息的人员')
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// 收集所有选中项的 ldhth 字段并以逗号拼接
|
// 收集所有选中项的 ldhth 字段并以逗号拼接
|
||||||
@ -91,7 +93,12 @@
|
|||||||
addByCld({
|
addByCld({
|
||||||
ldhths:ldhthValues
|
ldhths:ldhthValues
|
||||||
}).then(res=>{
|
}).then(res=>{
|
||||||
|
toast.success(res.message)
|
||||||
console.log("res----",res)
|
console.log("res----",res)
|
||||||
|
// if(res.success){
|
||||||
|
// toast.success(res.message)
|
||||||
|
// }
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user