Commit 72e4a7fd by 前端

Merge branch 'zq_dev_v2.6.0' into 'v2.6.0'

添加搜索

See merge request !227
2 parents b78c8dcf c8a0a176
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<glsx-dialog class="qr-dialog" width="720px" title="生成二维码" btnOkLabel="下载" :isVisible.sync="isQrcodeVisible" @confirmDialog="handleCancelConfirm" @closeDialog="handleCancelClose"> <glsx-dialog class="qr-dialog" width="720px" title="生成二维码" btnOkLabel="下载" :isVisible.sync="isQrcodeVisible" @confirmDialog="handleCancelConfirm" @closeDialog="handleCancelClose">
<div class="qrcode-body"> <div class="qrcode-body">
<p>可生成对应发放员工的小程序领取二维码</p> <p>可生成对应发放员工的小程序领取二维码</p>
<el-select v-model="curStaffId" @change="changeStaff" placeholder="请选择发放员工"> <el-select filterable v-model="curStaffId" @change="changeStaff" placeholder="请选择发放员工">
<el-option v-for="item in curStaffList" :key="item.staffUUID" :label="item.staffName" :value="item.staffUUID"></el-option> <el-option v-for="item in curStaffList" :key="item.staffUUID" :label="item.staffName" :value="item.staffUUID"></el-option>
</el-select> </el-select>
<div class="img" v-loading="imgLoading"> <div class="img" v-loading="imgLoading">
...@@ -312,6 +312,8 @@ export default { ...@@ -312,6 +312,8 @@ export default {
this.$apis.giftBag.getQrcode(params).then(res => { this.$apis.giftBag.getQrcode(params).then(res => {
if (res) { if (res) {
this.curQrcode = res this.curQrcode = res
} else {
this.curQrcode = ''
} }
this.imgLoading = false this.imgLoading = false
}) })
...@@ -524,6 +526,10 @@ export default { ...@@ -524,6 +526,10 @@ export default {
} }
.img { .img {
margin-top: 16px; margin-top: 16px;
background: #eee;
display: flex;
align-items: center;
justify-content: center;
&, &,
img { img {
width: 160px; width: 160px;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!