Commit e1e12069 authored by Mac's avatar Mac

1

parent 49a4def3
......@@ -6,18 +6,18 @@
</div>
</div> -->
<div class="page-content">
<q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat :wrap-cells='true'
<q-table :pagination="msg" :loading="loading" no-data-label="暂无相关数据" flat
class="sticky-column-table" separator="none" title="" :data="dataList" :columns="columns"
row-key="name">
<template v-slot:body-cell-title="props">
<q-td :props="props" style="max-width: 200px;">
<span>{{getType(props.row,'title')}}</span>
<q-td :props="props" style="max-width: 200px;white-space: normal;word-break:break-all">
{{getType(props.row,'title')}}
</q-td>
</template>
<template v-slot:body-cell-Content="props">
<q-td :props="props" style="max-width: 500px;">
<q-td :props="props" style="max-width: 500px;white-space: normal;word-break:break-all">
<div >
<span v-if="props.row.Type==1">{{getType(props.row,'content')}}</span>
<q-img v-if="props.row.Type==2 || props.row.Type==3 || props.row.Type==6"
......
......@@ -11,12 +11,12 @@
label="添加文本" @click="goadd()"></q-btn>
</template>
<template v-slot:body-cell-title="props">
<q-td :props="props" style="max-width: 200px">
<q-td :props="props" style="max-width: 200px;white-space: normal;word-break:break-all">
<span>{{props.row.TextModel && props.row.TextModel.Title?props.row.TextModel.Title:''}}</span>
</q-td>
</template>
<template v-slot:body-cell-Content="props">
<q-td :props="props" style="max-width: 500px;">
<q-td :props="props" style="max-width: 500px;white-space: normal;word-break:break-all">
<span>{{props.row.TextModel && props.row.TextModel.Content?props.row.TextModel.Content:''}}</span>
</q-td>
</template>
......
......@@ -487,7 +487,7 @@
</div>
<div class="page-body">
<q-btn color="accent" class="q-mr-md" label="保存" @click="savemove()" style="width: 100px;"
:loading="loading" />
:loading="loading2" />
<q-btn class="q-mr-md" label="返回" @click="goblck()" style="width: 60px;" />
</div>
<chaneelcodeform v-if="ismember" @close="getclose()" :peopletype='addMsg.Type' :lsday="lsday"
......@@ -532,6 +532,7 @@
data() {
return {
loading: false,
loading2:false,
radiolist:[{Id:1,Name:"开启"},{Id:2,Name:'关闭'}],
radiolist2:[{Id:1,Name:"需验证"},{Id:2,Name:'自动添加'}],
radiolist3:[{Id:1,Name:"单人"},{Id:2,Name:'多人'}],
......@@ -972,6 +973,7 @@
if(this.addMsg.WelcomeEnable==1 && this.isall == false){
this.welcometverification()
}
this.loading2 = true
if(this.isall == false){
console.log(this.addMsg,'最后打印')
//调用接口
......@@ -984,9 +986,11 @@
message: res.Message,
position: 'top'
})
this.loading2 = false
this.goblck()
}
}).catch(() => {
this.loading2 = false
})
}
......
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