Commit 236986b1 authored by 盖献康's avatar 盖献康

修改bug

parent 224a73fc
<template> <template>
<div class="policy-container"> <div class="policy-container">
<div class="title-paragraph"> <div class="title-paragraph">
<span class="title-text">编辑内容</span> <span class="title-text" style="font-size: 16px;">编辑内容</span>
</div> </div>
<el-row> <el-row>
<el-col :span="1.5" style="margin: 0 10px 0 75px"> <el-col :span="1.5" style="margin: 8px 10px 0 75px">
<span>关于我们</span> <span>关于我们</span>
</el-col> </el-col>
<el-col v-if="isEdit===true" :span="19"> <el-col v-if="isEdit===true" :span="19">
...@@ -57,7 +57,7 @@ export default { ...@@ -57,7 +57,7 @@ export default {
console.log('隐私协议', this.privacyPolicy) console.log('隐私协议', this.privacyPolicy)
// 内容为空不能 // 内容为空不能
if (this.privacyPolicy.content === null || this.privacyPolicy.content === '' || this.privacyPolicy.content === '<p><br></p>') { if (this.privacyPolicy.content === null || this.privacyPolicy.content === '' || this.privacyPolicy.content === '<p><br></p>') {
this.$modal.msgError('内容不能为空') this.$modal.msgWarning('内容不能为空')
return return
} }
this.$confirm('系统将立即发布编辑内容,是否确定?', '提示', { this.$confirm('系统将立即发布编辑内容,是否确定?', '提示', {
......
<template> <template>
<div class="contract-container"> <div class="contract-container">
<div class="title-paragraph"> <div class="title-paragraph">
<span class="title-text">入驻合同</span> <span class="title-text" style="font-size: 16px;">入驻合同</span>
</div> </div>
<!-- 入驻合同表 --> <!-- 入驻合同表 -->
<el-table v-loading="entryLoading" :data="entryContract" style="width: 90%;margin: 0 0 0 60px;"> <el-table v-loading="entryLoading" :data="entryContract" style="width: 90%;margin: 0 0 0 60px;">
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<div class="title-paragraph" style="margin-top: 30px"> <div class="title-paragraph" style="margin-top: 30px">
<span class="title-text">授权合同</span> <span class="title-text" style="font-size: 16px;">授权合同</span>
</div> </div>
<!-- 授权合同表 --> <!-- 授权合同表 -->
<el-table v-loading="loading" :data="authorizationHistory" style="width: 90%;margin: 0 0 0 60px;overflow: auto;"> <el-table v-loading="loading" :data="authorizationHistory" style="width: 90%;margin: 0 0 0 60px;overflow: auto;">
......
<template> <template>
<div class="policy-container"> <div class="policy-container">
<div class="title-paragraph"> <div class="title-paragraph">
<span class="title-text">编辑内容</span> <span class="title-text" style="font-size: 16px;">编辑内容</span>
</div> </div>
<el-row> <el-row>
<el-col :span="1.5" style="margin: 0 10px 0 75px"> <el-col :span="1.5" style="margin: 8px 10px 0 75px">
<span>隐私政策</span> <span >隐私政策</span>
</el-col> </el-col>
<el-col v-if="isEdit===true" :span="19"> <el-col v-if="isEdit===true" :span="19">
<rich-text v-model="privacyPolicy.content" :height="500" :content="'请输入隐私政策'" /> <rich-text v-model="privacyPolicy.content" :height="500" :content="'请输入隐私政策'" />
...@@ -57,7 +57,7 @@ export default { ...@@ -57,7 +57,7 @@ export default {
console.log('隐私协议', this.privacyPolicy) console.log('隐私协议', this.privacyPolicy)
// 内容为空不能 // 内容为空不能
if (this.privacyPolicy.content === null || this.privacyPolicy.content === '' || this.privacyPolicy.content === '<p><br></p>') { if (this.privacyPolicy.content === null || this.privacyPolicy.content === '' || this.privacyPolicy.content === '<p><br></p>') {
this.$modal.msgError('内容不能为空') this.$modal.msgWarning('内容不能为空')
return return
} }
this.$confirm('系统将立即发布编辑内容,是否确定?', '提示', { this.$confirm('系统将立即发布编辑内容,是否确定?', '提示', {
......
<template> <template>
<div class="protocol-container"> <div class="protocol-container">
<div class="title-paragraph"> <div class="title-paragraph">
<span class="title-text">编辑内容</span> <span class="title-text" style="font-size: 16px;">编辑内容</span>
</div> </div>
<el-row> <el-row>
<el-col :span="1.5" style="margin: 0 10px 0 75px"> <el-col :span="1.5" style="margin: 8px 10px 0 75px">
<span>用户协议</span> <span>用户协议</span>
</el-col> </el-col>
<el-col v-if="isEdit===true" :span="19"> <el-col v-if="isEdit===true" :span="19">
...@@ -57,7 +57,7 @@ export default { ...@@ -57,7 +57,7 @@ export default {
console.log('隐私协议', this.privacyPolicy) console.log('隐私协议', this.privacyPolicy)
// 内容为空不能 // 内容为空不能
if (this.privacyPolicy.content === null || this.privacyPolicy.content === '' || this.privacyPolicy.content === '<p><br></p>') { if (this.privacyPolicy.content === null || this.privacyPolicy.content === '' || this.privacyPolicy.content === '<p><br></p>') {
this.$modal.msgError('内容不能为空') this.$modal.msgWarning('内容不能为空')
return return
} }
this.$confirm('系统将立即发布编辑内容,是否确定?', '提示', { this.$confirm('系统将立即发布编辑内容,是否确定?', '提示', {
......
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