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