Commit bcdf273c by huaying

fix: kk

parent eb2a14ff
......@@ -57,6 +57,7 @@ export default {
this.dataArr = [];
if (e == 2) {
this.multiple = true;
this.clerkDisabled = false;
} else if (e == 1) {
this.multiple = false;
}
......
......@@ -30,7 +30,7 @@
<el-input class="w260" placeholder="请输入标题" v-model="welcomePage.title" @change="onSearch" clearable></el-input>
<el-button plain class="ylbtn" @click="changeRoute">新建欢迎语</el-button>
</div>
<el-table :data="welcomeTableData" max-height="330px">
<el-table :data="welcomeTableData" max-height="300px">
<el-table-column width="55">
<template slot-scope="scope">
<el-radio :label="scope.$index" @change.native="getCurrentRow(scope.row)" v-model="welcome">&nbsp;</el-radio>
......@@ -127,7 +127,7 @@ export default {
// if (this.welcomePage.pageNum == 1) {
if (flag1) {
this.welcome = flag;
this.welcomeContent = this.currentWelcome.welcomeContent;
// this.welcomeContent = this.currentWelcome.welcomeContent;
}
// else {
// this.welcomeTableData.unshift(this.currentWelcome);
......@@ -184,6 +184,7 @@ export default {
await getRequest('/haoban-manage3-web/welcome/get', { welcomeId: this.welcomeId, enterpriseId: sessionStorage.getItem('userInfos') ? JSON.parse(sessionStorage.getItem('userInfos')).enterpriseId : '' }).then(res => {
if (res.data.code == 0) {
this.currentWelcome = res.data.result || [];
this.welcomeContent = this.currentWelcome.welcomeContent;
this.isFlag = true;
this.getWelcomeTable();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment