flat:暂存
This commit is contained in:
@@ -6,48 +6,11 @@
|
|||||||
:visible.sync="viewDrawer"
|
:visible.sync="viewDrawer"
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
<div>
|
|
||||||
<el-form :inline="true" size="small" :model="formInline" label-width="70px" label-position="right" class="demo-form-inline">
|
|
||||||
<el-row :gutter="20">
|
|
||||||
<el-col :span="12">
|
|
||||||
<el-form-item label="用户:">
|
|
||||||
<el-input v-model="formInline.userName" class="input-with-select" placeholder="用户名">
|
|
||||||
<el-select v-model="formInline.groupId" slot="prepend" style="width: 160px" placeholder="请选择">
|
|
||||||
<el-option
|
|
||||||
v-for="item in leftServeOptions"
|
|
||||||
:key="item.id"
|
|
||||||
:label="item.groupName"
|
|
||||||
:value="item.id">
|
|
||||||
</el-option>
|
|
||||||
</el-select>
|
|
||||||
<el-button slot="append" @click="leftSearch">搜索</el-button>
|
|
||||||
</el-input>
|
|
||||||
<!-- <el-select v-model="formInline.groupId" style="width: 150px" placeholder="请选择">-->
|
|
||||||
<!-- <el-option-->
|
|
||||||
<!-- v-for="item in leftServeOptions"-->
|
|
||||||
<!-- :key="item.id"-->
|
|
||||||
<!-- :label="item.groupName"-->
|
|
||||||
<!-- :value="item.id">-->
|
|
||||||
<!-- </el-option>-->
|
|
||||||
<!-- </el-select>-->
|
|
||||||
<!-- <el-form-item>-->
|
|
||||||
<!-- <el-input v-model="formInline.userName" style="width: 150px" placeholder="用户名"></el-input>-->
|
|
||||||
<!-- </el-form-item>-->
|
|
||||||
<!-- <el-form-item>-->
|
|
||||||
<!-- <el-button type="primary" style="width: 80px" size="small" @click="leftSearch">搜索</el-button>-->
|
|
||||||
<!-- </el-form-item>-->
|
|
||||||
</el-form-item>
|
|
||||||
</el-col>
|
|
||||||
<el-col :span="4">
|
|
||||||
|
|
||||||
</el-col>
|
|
||||||
</el-row>
|
|
||||||
</el-form>
|
|
||||||
</div>
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<!-- 用户板块 -->
|
<!-- 用户板块 -->
|
||||||
<div class="content-left">
|
<div class="content-left">
|
||||||
<avue-crud
|
<avue-crud
|
||||||
|
height="900"
|
||||||
ref="crud1"
|
ref="crud1"
|
||||||
:data="leftUserDataList"
|
:data="leftUserDataList"
|
||||||
:option="leftUserOptions"
|
:option="leftUserOptions"
|
||||||
@@ -58,9 +21,19 @@
|
|||||||
@selection-change="leftSelectionChange"
|
@selection-change="leftSelectionChange"
|
||||||
>
|
>
|
||||||
<template slot="menuLeft">
|
<template slot="menuLeft">
|
||||||
<el-button type="primary" style="width: 80px" size="small" :disabled="pushState" @click="onSubmit">
|
<div class="leftInput">
|
||||||
{{pushState ? '推送中...' : rightTabs ? '推送岗位' : '推送政策' }}
|
<el-input size="small" v-model="formInline.userName" class="input-with-select" placeholder="用户名">
|
||||||
</el-button>
|
<el-select size="small" v-model="formInline.groupId" slot="prepend" class="selectWidth" placeholder="请选择">
|
||||||
|
<el-option
|
||||||
|
v-for="item in leftServeOptions"
|
||||||
|
:key="item.id"
|
||||||
|
:label="item.groupName"
|
||||||
|
:value="item.id">
|
||||||
|
</el-option>
|
||||||
|
</el-select>
|
||||||
|
<el-button size="small" slot="append" class="input-search" @click="leftSearch">搜索</el-button>
|
||||||
|
</el-input>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template slot="labelsBase" slot-scope="{row}">
|
<template slot="labelsBase" slot-scope="{row}">
|
||||||
<TextTooltip :content="row.labelsBase" length="20"></TextTooltip>
|
<TextTooltip :content="row.labelsBase" length="20"></TextTooltip>
|
||||||
@@ -76,6 +49,7 @@
|
|||||||
<div class="content-right">
|
<div class="content-right">
|
||||||
<div>
|
<div>
|
||||||
<avue-crud
|
<avue-crud
|
||||||
|
height="900"
|
||||||
ref="crud2"
|
ref="crud2"
|
||||||
:data="rightDataList"
|
:data="rightDataList"
|
||||||
:option="rightTabs ? rightPostOptions : rightPolicyOptions"
|
:option="rightTabs ? rightPostOptions : rightPolicyOptions"
|
||||||
@@ -105,6 +79,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="content-footer">
|
||||||
|
<el-button type="primary" style="width: 80px" size="small" :disabled="pushState" @click="onSubmit">
|
||||||
|
{{pushState ? '推送中...' : rightTabs ? '推送岗位' : '推送政策' }}
|
||||||
|
</el-button>
|
||||||
|
</div>
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -388,5 +367,22 @@ export default {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.leftInput{
|
||||||
|
width: 500px;
|
||||||
|
.selectWidth{
|
||||||
|
width: 160px !important;
|
||||||
|
}
|
||||||
|
.el-input__inner{
|
||||||
|
width: 200px;
|
||||||
|
}
|
||||||
|
.input-search{
|
||||||
|
margin-right: -15px;
|
||||||
|
margin-bottom: -10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
.content-footer{
|
||||||
|
float: right;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user