优化
This commit is contained in:
@@ -161,7 +161,7 @@
|
||||
</el-row>
|
||||
<!-- <serve-detail ref="copy" @back="backIndex" v-show="false"></serve-detail> -->
|
||||
<el-drawer
|
||||
size="80%"
|
||||
size="85%"
|
||||
append-to-body
|
||||
title="服务详情"
|
||||
:visible.sync="drawer"
|
||||
@@ -170,7 +170,10 @@
|
||||
<avue-crud
|
||||
:data="infoData"
|
||||
:option="infoOption"
|
||||
:search.sync="search"
|
||||
:page.sync="infoPage"
|
||||
@search-change="serveSearchChange"
|
||||
@search-reset="serveResetChange"
|
||||
@size-change="infoSizeChange"
|
||||
@current-change="infoCurrentChange"
|
||||
>
|
||||
@@ -206,7 +209,11 @@
|
||||
@current-change="workCurrentChange"
|
||||
>
|
||||
<template slot="missionDesc" slot-scope="{ row }">
|
||||
{{ row.missionDesc }}
|
||||
<!-- {{ row.missionDesc }} -->
|
||||
<el-tooltip class="item" effect="dark" :content="row.missionDesc" placement="top-start">
|
||||
<!-- <el-button>上左</el-button> -->
|
||||
<span>{{ row.missionDesc.length > 50 ? row.missionDesc.substring(0, 50) : row.missionDesc}}</span>
|
||||
</el-tooltip>
|
||||
</template>
|
||||
<template slot-scope="{row,index}" slot="menu">
|
||||
<el-button type="text"
|
||||
@@ -299,6 +306,10 @@ export default {
|
||||
name: "tenant_talents",
|
||||
data() {
|
||||
return {
|
||||
search: {
|
||||
companyName: '',
|
||||
name: ''
|
||||
},
|
||||
statusArr: {
|
||||
0: "未启用",
|
||||
1: "服务中",
|
||||
@@ -1108,6 +1119,18 @@ export default {
|
||||
this.onLoad(this.page, params);
|
||||
done();
|
||||
},
|
||||
serveSearchChange(params, done) {
|
||||
console.log(params);
|
||||
this.infoPage.currentPage = 1;
|
||||
const {currentPage, pageSize} = this.infoPage
|
||||
this.getKeyAudience({
|
||||
currentPage,
|
||||
pageSize,
|
||||
id: this.selectInfo.id,
|
||||
...params
|
||||
})
|
||||
done();
|
||||
},
|
||||
searchReset1() {
|
||||
this.query = {};
|
||||
this.onLoad(this.page);
|
||||
|
||||
Reference in New Issue
Block a user