|
@@ -1,10 +1,10 @@
|
|
|
<template>
|
|
<template>
|
|
|
<basic-container>
|
|
<basic-container>
|
|
|
- <avue-crud id="activity" :option="option" :table-loading="loading" :data="data" :page.sync="page" :permission="permissionList"
|
|
|
|
|
- :before-open="beforeOpen" v-model="form" ref="crud" @row-update="rowUpdate" @row-save="rowSave" @row-del="rowDel"
|
|
|
|
|
- @search-change="searchChange" @search-reset="searchReset" @selection-change="selectionChange"
|
|
|
|
|
- @row-click="rowClick"
|
|
|
|
|
- @current-change="currentChange" @size-change="sizeChange" @refresh-change="refreshChange" @on-load="onLoad">
|
|
|
|
|
|
|
+ <avue-crud id="activity" :option="option" :table-loading="loading" :data="data" :page.sync="page"
|
|
|
|
|
+ :permission="permissionList" :before-open="beforeOpen" v-model="form" ref="crud" @row-update="rowUpdate"
|
|
|
|
|
+ @row-save="rowSave" @row-del="rowDel" @search-change="searchChange" @search-reset="searchReset"
|
|
|
|
|
+ @selection-change="selectionChange" @row-click="rowClick" @current-change="currentChange"
|
|
|
|
|
+ @size-change="sizeChange" @refresh-change="refreshChange" @on-load="onLoad">
|
|
|
<template slot="menuLeft">
|
|
<template slot="menuLeft">
|
|
|
<el-button type="danger" size="small" icon="el-icon-delete" plain v-if="permission.activity_delete"
|
|
<el-button type="danger" size="small" icon="el-icon-delete" plain v-if="permission.activity_delete"
|
|
|
@click="handleDelete">删 除
|
|
@click="handleDelete">删 除
|
|
@@ -12,13 +12,12 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<template slot="menuLeft">
|
|
<template slot="menuLeft">
|
|
|
- <el-button type="primary" size="small" icon="el-icon-delete" v-if="permission.activity_add"
|
|
|
|
|
- @click="showAdd">新增
|
|
|
|
|
|
|
+ <el-button type="primary" size="small" icon="el-icon-delete" v-if="permission.activity_add" @click="showAdd">新增
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<template slot="enable" slot-scope="scope">
|
|
<template slot="enable" slot-scope="scope">
|
|
|
- <el-switch disabled v-model="scope.row.enable" :active-value="1" :inactive-value="0"></el-switch>
|
|
|
|
|
|
|
+ <el-switch disabled v-model="scope.row.enable" :active-value="1" :inactive-value="0"></el-switch>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<template slot-scope="scope" slot="activityTime">
|
|
<template slot-scope="scope" slot="activityTime">
|
|
@@ -34,27 +33,29 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<template slot-scope="scope" slot="cover">
|
|
<template slot-scope="scope" slot="cover">
|
|
|
- <el-image
|
|
|
|
|
- style="width: 100%; height: 100%"
|
|
|
|
|
- :src="scope.row.cover"
|
|
|
|
|
- :preview-src-list="[scope.row.cover]">
|
|
|
|
|
- </el-image>
|
|
|
|
|
|
|
+ <el-image style="width: 100%; height: 100%" :src="scope.row.cover" :preview-src-list="[scope.row.cover]">
|
|
|
|
|
+ </el-image>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<template slot-scope="scope" slot="poster">
|
|
<template slot-scope="scope" slot="poster">
|
|
|
- <el-image
|
|
|
|
|
- style="width: 100px; height: 120px;overflow-y: hidden;"
|
|
|
|
|
- :src="scope.row.poster"
|
|
|
|
|
- fit="cover"
|
|
|
|
|
- :preview-src-list="[scope.row.poster]">
|
|
|
|
|
- </el-image>
|
|
|
|
|
|
|
+ <el-image style="width: 100px; height: 120px;overflow-y: hidden;" :src="scope.row.poster" fit="cover"
|
|
|
|
|
+ :preview-src-list="[scope.row.poster]">
|
|
|
|
|
+ </el-image>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<template slot-scope="scope" slot="showData">
|
|
<template slot-scope="scope" slot="showData">
|
|
|
- 参与人数:<div style="background-color: #3296fa;color: white; border-radius: 5px; margin:10px; padding:0 10px 0 10px ; display:inline;">{{scope.row.applyNum}}</div><br>
|
|
|
|
|
- 礼物总值:<div style="background-color: #5bc0de;color: white; border-radius: 5px; margin:10px; padding:0 10px 0 10px ; display:inline;">{{ +scope.row.totalCash}}</div><br>
|
|
|
|
|
- 打榜数量:<div style="background-color: #5bc0de;color: white; border-radius: 5px; margin:10px; padding:0 10px 0 10px ; display:inline;">{{scope.row.hitNum}}</div><br>
|
|
|
|
|
- 打赏数量:<div style="background-color: #99cf99;color: white; border-radius: 5px; margin:10px; padding:0 10px 0 10px ; display:inline;">{{scope.row.rewardNum}}</div><br>
|
|
|
|
|
|
|
+ 参与人数:<div
|
|
|
|
|
+ style="background-color: #3296fa;color: white; border-radius: 5px; margin:10px; padding:0 10px 0 10px ; display:inline;">
|
|
|
|
|
+ {{scope.row.applyNum}}</div><br>
|
|
|
|
|
+ 礼物总值:<div
|
|
|
|
|
+ style="background-color: #5bc0de;color: white; border-radius: 5px; margin:10px; padding:0 10px 0 10px ; display:inline;">
|
|
|
|
|
+ {{ +scope.row.totalCash}}</div><br>
|
|
|
|
|
+ 打榜数量:<div
|
|
|
|
|
+ style="background-color: #5bc0de;color: white; border-radius: 5px; margin:10px; padding:0 10px 0 10px ; display:inline;">
|
|
|
|
|
+ {{scope.row.hitNum}}</div><br>
|
|
|
|
|
+ 打赏数量:<div
|
|
|
|
|
+ style="background-color: #99cf99;color: white; border-radius: 5px; margin:10px; padding:0 10px 0 10px ; display:inline;">
|
|
|
|
|
+ {{scope.row.rewardNum}}</div><br>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
@@ -78,51 +79,60 @@
|
|
|
</template>
|
|
</template>
|
|
|
</avue-crud>
|
|
</avue-crud>
|
|
|
|
|
|
|
|
- <activity-add ref="addDialog"
|
|
|
|
|
- @submit="submit"
|
|
|
|
|
- :form1="data1" :form2="data2" :form3="data3" :form4="data4">
|
|
|
|
|
|
|
+ <activity-add ref="addDialog" @submit="submit" :form1="data1" :form2="data2" :form3="data3" :form4="data4">
|
|
|
</activity-add>
|
|
</activity-add>
|
|
|
</basic-container>
|
|
</basic-container>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
import activityAdd from "./comps/activity-add.vue"
|
|
import activityAdd from "./comps/activity-add.vue"
|
|
|
- import {getList, getDetail, createOrUpdate, update, remove} from "@/api/activity/activity";
|
|
|
|
|
- import {mapGetters} from "vuex";
|
|
|
|
|
|
|
+ import {
|
|
|
|
|
+ getList,
|
|
|
|
|
+ getDetail,
|
|
|
|
|
+ createOrUpdate,
|
|
|
|
|
+ update,
|
|
|
|
|
+ remove
|
|
|
|
|
+ } from "@/api/activity/activity";
|
|
|
|
|
+ import {
|
|
|
|
|
+ mapGetters
|
|
|
|
|
+ } from "vuex";
|
|
|
|
|
|
|
|
export default {
|
|
export default {
|
|
|
- components:{
|
|
|
|
|
|
|
+ components: {
|
|
|
activityAdd
|
|
activityAdd
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
- data1:{
|
|
|
|
|
- id:'',
|
|
|
|
|
- name:'',
|
|
|
|
|
- beginTime:'',
|
|
|
|
|
- endTime:'',
|
|
|
|
|
- applyEndTime:'',
|
|
|
|
|
- description:'',
|
|
|
|
|
- visitBase:0,
|
|
|
|
|
- tagIds:[]
|
|
|
|
|
|
|
+ data1: {
|
|
|
|
|
+ id: '',
|
|
|
|
|
+ name: '',
|
|
|
|
|
+ beginTime: '',
|
|
|
|
|
+ endTime: '',
|
|
|
|
|
+ applyEndTime: '',
|
|
|
|
|
+ description: '',
|
|
|
|
|
+ visitBase: 0,
|
|
|
|
|
+ tagIds: []
|
|
|
},
|
|
},
|
|
|
- data2:{
|
|
|
|
|
- cover:'',
|
|
|
|
|
- poster:'',
|
|
|
|
|
- ads:''
|
|
|
|
|
|
|
+ data2: {
|
|
|
|
|
+ cover: '',
|
|
|
|
|
+ poster: '',
|
|
|
|
|
+ ads: ''
|
|
|
},
|
|
},
|
|
|
- data3:{
|
|
|
|
|
- bonusProportion:'',
|
|
|
|
|
- grossProfitRate:'',
|
|
|
|
|
- classification:'',
|
|
|
|
|
- personTitle:'',
|
|
|
|
|
- productionTitle:'',
|
|
|
|
|
- introductionTitle:'',
|
|
|
|
|
- ticketDays:1,
|
|
|
|
|
- ticketHotValue:1
|
|
|
|
|
|
|
+ data3: {
|
|
|
|
|
+ shareImg: '',
|
|
|
|
|
+ shareTitle: '',
|
|
|
|
|
+ shareDesc: '',
|
|
|
|
|
+ bonusProportion: '',
|
|
|
|
|
+ grossProfitRate: '',
|
|
|
|
|
+ classification: '',
|
|
|
|
|
+ personTitle: '',
|
|
|
|
|
+ productionTitle: '',
|
|
|
|
|
+ introductionTitle: '',
|
|
|
|
|
+ ticketDays: 1,
|
|
|
|
|
+ ticketHotValue: 1
|
|
|
},
|
|
},
|
|
|
- data4:{
|
|
|
|
|
- presentIds:[]
|
|
|
|
|
|
|
+ data4: {
|
|
|
|
|
+ presentIds: []
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
form: {},
|
|
form: {},
|
|
@@ -143,19 +153,18 @@
|
|
|
border: true,
|
|
border: true,
|
|
|
index: true,
|
|
index: true,
|
|
|
viewBtn: true,
|
|
viewBtn: true,
|
|
|
- editBtn:false,
|
|
|
|
|
- addBtn:false,
|
|
|
|
|
|
|
+ editBtn: false,
|
|
|
|
|
+ addBtn: false,
|
|
|
selection: true,
|
|
selection: true,
|
|
|
labelWidth: 150,
|
|
labelWidth: 150,
|
|
|
- size:"medium",
|
|
|
|
|
|
|
+ size: "medium",
|
|
|
dialogClickModal: false,
|
|
dialogClickModal: false,
|
|
|
- column: [
|
|
|
|
|
- {
|
|
|
|
|
|
|
+ column: [{
|
|
|
label: "封面图",
|
|
label: "封面图",
|
|
|
prop: "cover",
|
|
prop: "cover",
|
|
|
width: 150,
|
|
width: 150,
|
|
|
type: "upload",
|
|
type: "upload",
|
|
|
- solt:true,
|
|
|
|
|
|
|
+ solt: true,
|
|
|
listType: "picture-img",
|
|
listType: "picture-img",
|
|
|
action: '/api/putObject',
|
|
action: '/api/putObject',
|
|
|
propsHttp: {
|
|
propsHttp: {
|
|
@@ -166,9 +175,9 @@
|
|
|
message: "请输入活动封面图",
|
|
message: "请输入活动封面图",
|
|
|
trigger: "blur"
|
|
trigger: "blur"
|
|
|
}]
|
|
}]
|
|
|
- },{
|
|
|
|
|
|
|
+ }, {
|
|
|
label: "活动主题",
|
|
label: "活动主题",
|
|
|
- search:true,
|
|
|
|
|
|
|
+ search: true,
|
|
|
prop: "name",
|
|
prop: "name",
|
|
|
rules: [{
|
|
rules: [{
|
|
|
required: true,
|
|
required: true,
|
|
@@ -177,25 +186,25 @@
|
|
|
}]
|
|
}]
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- label:"活动时间",
|
|
|
|
|
- slot:true,
|
|
|
|
|
|
|
+ label: "活动时间",
|
|
|
|
|
+ slot: true,
|
|
|
width: 200,
|
|
width: 200,
|
|
|
- editDisplay:false,
|
|
|
|
|
- addDisplay:false,
|
|
|
|
|
- prop:"activityTime"
|
|
|
|
|
|
|
+ editDisplay: false,
|
|
|
|
|
+ addDisplay: false,
|
|
|
|
|
+ prop: "activityTime"
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- label:"数据",
|
|
|
|
|
- slot:true,
|
|
|
|
|
|
|
+ label: "数据",
|
|
|
|
|
+ slot: true,
|
|
|
width: 180,
|
|
width: 180,
|
|
|
- editDisplay:false,
|
|
|
|
|
- addDisplay:false,
|
|
|
|
|
- prop:"showData"
|
|
|
|
|
|
|
+ editDisplay: false,
|
|
|
|
|
+ addDisplay: false,
|
|
|
|
|
+ prop: "showData"
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
label: "活动开始时间",
|
|
label: "活动开始时间",
|
|
|
width: 140,
|
|
width: 140,
|
|
|
- hide:true,
|
|
|
|
|
|
|
+ hide: true,
|
|
|
prop: "beginTime",
|
|
prop: "beginTime",
|
|
|
type: 'datetime',
|
|
type: 'datetime',
|
|
|
format: "yyyy-MM-dd hh:mm:ss",
|
|
format: "yyyy-MM-dd hh:mm:ss",
|
|
@@ -209,7 +218,7 @@
|
|
|
{
|
|
{
|
|
|
label: "活动结束时间",
|
|
label: "活动结束时间",
|
|
|
width: 140,
|
|
width: 140,
|
|
|
- hide:true,
|
|
|
|
|
|
|
+ hide: true,
|
|
|
prop: "endTime",
|
|
prop: "endTime",
|
|
|
type: 'datetime',
|
|
type: 'datetime',
|
|
|
format: "yyyy-MM-dd hh:mm:ss",
|
|
format: "yyyy-MM-dd hh:mm:ss",
|
|
@@ -223,7 +232,7 @@
|
|
|
{
|
|
{
|
|
|
label: "报名结束时间",
|
|
label: "报名结束时间",
|
|
|
width: 140,
|
|
width: 140,
|
|
|
- hide:true,
|
|
|
|
|
|
|
+ hide: true,
|
|
|
prop: "applyEndTime",
|
|
prop: "applyEndTime",
|
|
|
type: 'datetime',
|
|
type: 'datetime',
|
|
|
format: "yyyy-MM-dd hh:mm:ss",
|
|
format: "yyyy-MM-dd hh:mm:ss",
|
|
@@ -262,7 +271,7 @@
|
|
|
{
|
|
{
|
|
|
label: "活动海报",
|
|
label: "活动海报",
|
|
|
prop: "poster",
|
|
prop: "poster",
|
|
|
- slot:true,
|
|
|
|
|
|
|
+ slot: true,
|
|
|
dataType: 'string',
|
|
dataType: 'string',
|
|
|
listType: 'picture-img',
|
|
listType: 'picture-img',
|
|
|
propsHttp: {
|
|
propsHttp: {
|
|
@@ -280,7 +289,7 @@
|
|
|
{
|
|
{
|
|
|
label: "活动轮播图",
|
|
label: "活动轮播图",
|
|
|
prop: "ads",
|
|
prop: "ads",
|
|
|
- hide:true,
|
|
|
|
|
|
|
+ hide: true,
|
|
|
dataType: 'string',
|
|
dataType: 'string',
|
|
|
listType: 'picture-card',
|
|
listType: 'picture-card',
|
|
|
propsHttp: {
|
|
propsHttp: {
|
|
@@ -298,7 +307,7 @@
|
|
|
label: "是否启用",
|
|
label: "是否启用",
|
|
|
width: 100,
|
|
width: 100,
|
|
|
prop: "enable",
|
|
prop: "enable",
|
|
|
- slot:true,
|
|
|
|
|
|
|
+ slot: true,
|
|
|
type: 'switch',
|
|
type: 'switch',
|
|
|
dicData: [{
|
|
dicData: [{
|
|
|
label: '禁用',
|
|
label: '禁用',
|
|
@@ -335,82 +344,88 @@
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
- rowClick(row,event){
|
|
|
|
|
- if (event.property=='enable') {
|
|
|
|
|
- let param={
|
|
|
|
|
- id:row.id,
|
|
|
|
|
- enable:row.enable==1?0:1
|
|
|
|
|
|
|
+ rowClick(row, event) {
|
|
|
|
|
+ if (event.property == 'enable') {
|
|
|
|
|
+ let param = {
|
|
|
|
|
+ id: row.id,
|
|
|
|
|
+ enable: row.enable == 1 ? 0 : 1
|
|
|
}
|
|
}
|
|
|
- update(param).then(()=>{
|
|
|
|
|
|
|
+ update(param).then(() => {
|
|
|
this.onLoad(this.page);
|
|
this.onLoad(this.page);
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- showAdd(){
|
|
|
|
|
|
|
+ showAdd() {
|
|
|
if (!this.$isEmpty(this.data1.id)) {
|
|
if (!this.$isEmpty(this.data1.id)) {
|
|
|
this.resetData()
|
|
this.resetData()
|
|
|
}
|
|
}
|
|
|
this.$refs.addDialog.open()
|
|
this.$refs.addDialog.open()
|
|
|
},
|
|
},
|
|
|
- resetData(){
|
|
|
|
|
- this.data1={
|
|
|
|
|
- id:'',
|
|
|
|
|
- name:'',
|
|
|
|
|
- beginTime:'',
|
|
|
|
|
- endTime:'',
|
|
|
|
|
- applyEndTime:'',
|
|
|
|
|
- description:'',
|
|
|
|
|
- visitBase:0,
|
|
|
|
|
- tagIds:[]
|
|
|
|
|
|
|
+ resetData() {
|
|
|
|
|
+ this.data1 = {
|
|
|
|
|
+ id: '',
|
|
|
|
|
+ name: '',
|
|
|
|
|
+ beginTime: '',
|
|
|
|
|
+ endTime: '',
|
|
|
|
|
+ applyEndTime: '',
|
|
|
|
|
+ description: '',
|
|
|
|
|
+ visitBase: 0,
|
|
|
|
|
+ tagIds: []
|
|
|
}
|
|
}
|
|
|
- this.data2={
|
|
|
|
|
- cover:'',
|
|
|
|
|
- poster:'',
|
|
|
|
|
- ads:''
|
|
|
|
|
|
|
+ this.data2 = {
|
|
|
|
|
+ cover: '',
|
|
|
|
|
+ poster: '',
|
|
|
|
|
+ ads: ''
|
|
|
}
|
|
}
|
|
|
- this.data3={
|
|
|
|
|
- bonusProportion:0,
|
|
|
|
|
- grossProfitRate:1,
|
|
|
|
|
- classification:'',
|
|
|
|
|
- personTitle:'',
|
|
|
|
|
- productionTitle:'',
|
|
|
|
|
- introductionTitle:'',
|
|
|
|
|
- ticketDays:1,
|
|
|
|
|
- ticketHotValue:1
|
|
|
|
|
|
|
+ this.data3 = {
|
|
|
|
|
+ shareImg: '',
|
|
|
|
|
+ shareTitle: '',
|
|
|
|
|
+ shareDesc: '',
|
|
|
|
|
+ bonusProportion: 0,
|
|
|
|
|
+ grossProfitRate: 1,
|
|
|
|
|
+ classification: '',
|
|
|
|
|
+ personTitle: '',
|
|
|
|
|
+ productionTitle: '',
|
|
|
|
|
+ introductionTitle: '',
|
|
|
|
|
+ ticketDays: 1,
|
|
|
|
|
+ ticketHotValue: 1
|
|
|
}
|
|
}
|
|
|
- this.data4={
|
|
|
|
|
- presentIds:[]
|
|
|
|
|
|
|
+ this.data4 = {
|
|
|
|
|
+ presentIds: []
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
//编辑
|
|
//编辑
|
|
|
handleEdit(item) {
|
|
handleEdit(item) {
|
|
|
- this.data1={
|
|
|
|
|
- id:item.id,
|
|
|
|
|
- name:item.name,
|
|
|
|
|
- beginTime:item.beginTime,
|
|
|
|
|
- endTime:item.endTime,
|
|
|
|
|
- applyEndTime:item.applyEndTime,
|
|
|
|
|
- description:item.description,
|
|
|
|
|
- visitBase:item.visitBase,
|
|
|
|
|
- tagIds:item.tagIds
|
|
|
|
|
|
|
+ this.data1 = {
|
|
|
|
|
+ id: item.id,
|
|
|
|
|
+ name: item.name,
|
|
|
|
|
+ beginTime: item.beginTime,
|
|
|
|
|
+ endTime: item.endTime,
|
|
|
|
|
+ applyEndTime: item.applyEndTime,
|
|
|
|
|
+ description: item.description,
|
|
|
|
|
+ visitBase: item.visitBase,
|
|
|
|
|
+ tagIds: item.tagIds
|
|
|
}
|
|
}
|
|
|
- this.data2={
|
|
|
|
|
- cover:item.cover,
|
|
|
|
|
- poster:item.poster,
|
|
|
|
|
- ads:item.ads
|
|
|
|
|
|
|
+ this.data2 = {
|
|
|
|
|
+ cover: item.cover,
|
|
|
|
|
+ poster: item.poster,
|
|
|
|
|
+ ads: item.ads
|
|
|
}
|
|
}
|
|
|
- this.data3={
|
|
|
|
|
- grossProfitRate:item.grossProfitRate,
|
|
|
|
|
- bonusProportion:item.bonusProportion,
|
|
|
|
|
- classification:item.classification,
|
|
|
|
|
- personTitle:item.personTitle,
|
|
|
|
|
- productionTitle:item.productionTitle,
|
|
|
|
|
- introductionTitle:item.introductionTitle,
|
|
|
|
|
- ticketDays:item.ticketDays,
|
|
|
|
|
- ticketHotValue:item.ticketHotValue
|
|
|
|
|
|
|
+ this.data3 = {
|
|
|
|
|
+ shareImg: item.shareImg,
|
|
|
|
|
+ shareTitle: item.shareTitle,
|
|
|
|
|
+ shareDesc: item.shareDesc,
|
|
|
|
|
+ grossProfitRate: item.grossProfitRate,
|
|
|
|
|
+ bonusProportion: item.bonusProportion,
|
|
|
|
|
+ classification: item.classification,
|
|
|
|
|
+ personTitle: item.personTitle,
|
|
|
|
|
+ productionTitle: item.productionTitle,
|
|
|
|
|
+ introductionTitle: item.introductionTitle,
|
|
|
|
|
+ ticketDays: item.ticketDays,
|
|
|
|
|
+ ticketHotValue: item.ticketHotValue
|
|
|
}
|
|
}
|
|
|
- this.data4={
|
|
|
|
|
- presentIds:item.presentIds
|
|
|
|
|
|
|
+ this.data4 = {
|
|
|
|
|
+ presentIds: item.presentIds
|
|
|
}
|
|
}
|
|
|
this.$refs.addDialog.open()
|
|
this.$refs.addDialog.open()
|
|
|
},
|
|
},
|
|
@@ -536,7 +551,7 @@
|
|
|
this.selectionClear();
|
|
this.selectionClear();
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
- view(id,name){
|
|
|
|
|
|
|
+ view(id, name) {
|
|
|
this.$router.push({
|
|
this.$router.push({
|
|
|
name,
|
|
name,
|
|
|
query: {
|
|
query: {
|
|
@@ -549,7 +564,7 @@
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<style>
|
|
<style>
|
|
|
-/* #activity
|
|
|
|
|
|
|
+ /* #activity
|
|
|
.el-table__row{
|
|
.el-table__row{
|
|
|
height: 200px;
|
|
height: 200px;
|
|
|
} */
|
|
} */
|