master
徐景良 2023-10-09 09:59:12 +08:00
parent c4caed2067
commit 32dbb53fb1
2 changed files with 28 additions and 6 deletions

View File

@ -348,7 +348,7 @@
<reportbox @getAllReportList="getAllReportList"></reportbox>
</div> -->
<!-- 任务下发 -->
<div class="task" v-if="taskDeliveryShow">
<div class="task" v-if="taskDeliveryShow" v-drag>
<taskDelivery
@closeTask="closeTask"
:globalmap="globalmap"
@ -1623,7 +1623,7 @@ export default {
}
.task {
width: 540px;
height: calc(100vh - 600px);
height:450px;
position: absolute;
top: 50%;
left: 50%;

View File

@ -11,14 +11,26 @@
</div>
<div class="inputer">
<span>任务详情</span>
<el-input type="textarea" :rows="1" style="width:420px;" placeholder="请输入内容" v-model="content">
</el-input>
<el-input type="textarea" :rows="1" style="width:420px;" placeholder="请输入内容" v-model="content"></el-input>
</div>
<div class="inputer">
<span style="float:left;margin-left:12px;">接收人员</span>
<div class="" style="float:left;width:420px;">
<!-- <el-select
v-model="checkedUsers"
multiple
filterable
allow-create
default-first-option
size="mini"
style="width:100%;max-height:50px;overflow-y: auto;"
placeholder="请选择任务接收人员">
</el-select> -->
<!-- <el-input size="mini" v-model="listQuery.name" placeholder="请输入搜索人员名称" ></el-input> -->
<el-table
ref="multipleTable"
size="mini"
:data="list"
tooltip-effect="dark"
height="160px"
@ -26,7 +38,6 @@
@selection-change="handleSelectionChange">
<el-table-column
type="selection"
width="55">
</el-table-column>
@ -60,6 +71,12 @@
pathPointGraphicLayer: null,
list:[],
multipleSelection:[],
listQuery:{
pageSize:10000,
pageIndex:1,
name:null,
},
checkedUsers:[{label:"徐景良",value:"17861857725"},{label:"张斌",value:"17861857726"},],
}
},
watch: {
@ -76,6 +93,10 @@
methods: {
handleSelectionChange(val) {
this.multipleSelection = val;
this.checkedUsers = [];
this.multipleSelection.forEach((item,index)=>{
this.checkedUsers.push(item.name);
})
},
getUserList(){
axios({
@ -83,7 +104,8 @@
url:BASE_URL+"/FireManagement/LoadFireClueUser",
headers:{
"X-Token":localStorage.getItem("X-Token")
}
},
data:this.listQuery
}).then(res=>{
if(res.data.code == 200){
this.list = res.data.data;