查询翻页
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
<el-input v-model="query.authorName" placeholder="作者姓名" clearable></el-input>
|
<el-input v-model="query.authorName" placeholder="作者姓名" clearable></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button @click="getDataList()">查询</el-button>
|
<el-button @click="pageIndex = 1;getDataList()">查询</el-button>
|
||||||
<el-button v-if="isAuth('book:book:save')" type="primary" @click="addOrUpdateHandle()">新增</el-button>
|
<el-button v-if="isAuth('book:book:save')" type="primary" @click="addOrUpdateHandle()">新增</el-button>
|
||||||
<!-- <el-button v-if="isAuth('book:book:delete')" type="danger" @click="deleteHandle()"
|
<!-- <el-button v-if="isAuth('book:book:delete')" type="danger" @click="deleteHandle()"
|
||||||
:disabled="dataListSelections.length <= 0">批量删除</el-button> -->
|
:disabled="dataListSelections.length <= 0">批量删除</el-button> -->
|
||||||
|
|||||||
@@ -31,11 +31,12 @@
|
|||||||
<el-input type="textarea" rows="4" v-model="dataForm.bookdesc"></el-input>
|
<el-input type="textarea" rows="4" v-model="dataForm.bookdesc"></el-input>
|
||||||
</el-form-item> -->
|
</el-form-item> -->
|
||||||
<el-form-item label="医案内容" prop="contents">
|
<el-form-item label="医案内容" prop="contents">
|
||||||
<el-upload class="avatar-uploader" :action="baseUrl + '/oss/fileoss'" accept=".jpeg,.jpg,.gif,.png" :show-file-list="false" :on-success="contentUploadSuccess" >
|
<el-upload class="avatar-uploader" :action="baseUrl + '/oss/fileoss'" accept=".jpeg,.jpg,.gif,.png"
|
||||||
|
:show-file-list="false" :on-success="contentUploadSuccess">
|
||||||
</el-upload>
|
</el-upload>
|
||||||
<quill-editor v-model="dataForm.contents" ref="myQuillEditor" :options="editorOption"
|
<quill-editor v-model="dataForm.contents" ref="myQuillEditor" :options="editorOption"
|
||||||
@blur="onEditorBlur($event)" @focus="onEditorFocus($event)"
|
@blur="onEditorBlur($event)" @focus="onEditorFocus($event)" @ready="onEditorReady($event)"
|
||||||
@ready="onEditorReady($event)" class="shangpin_editor">
|
class="shangpin_editor">
|
||||||
</quill-editor>
|
</quill-editor>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="排序" prop="sort">
|
<el-form-item label="排序" prop="sort">
|
||||||
@@ -50,33 +51,65 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {quillEditor} from 'vue-quill-editor'
|
import {
|
||||||
|
quillEditor
|
||||||
|
} from 'vue-quill-editor'
|
||||||
import global from '../../common/common.vue' //引入共用组间
|
import global from '../../common/common.vue' //引入共用组间
|
||||||
|
|
||||||
import 'quill/dist/quill.core.css'
|
import 'quill/dist/quill.core.css'
|
||||||
import 'quill/dist/quill.snow.css'
|
import 'quill/dist/quill.snow.css'
|
||||||
import 'quill/dist/quill.bubble.css'
|
import 'quill/dist/quill.bubble.css'
|
||||||
import ImageResize from 'quill-image-resize-module' // 调整大小组件。
|
import ImageResize from 'quill-image-resize-module' // 调整大小组件。
|
||||||
// import { ImageDrop } from 'quill-image-drop-module'; // 拖动加载图片组件。
|
// import { ImageDrop } from 'quill-image-drop-module'; // 拖动加载图片组件。
|
||||||
Quill.register('modules/imageResize', ImageResize );
|
Quill.register('modules/imageResize', ImageResize);
|
||||||
// Quill.register('modules/imageDrop', ImageDrop);
|
// Quill.register('modules/imageDrop', ImageDrop);
|
||||||
|
|
||||||
const toolbarOptions = [
|
const toolbarOptions = [
|
||||||
['bold', 'italic', 'underline', 'strike'], // 加粗,斜体,下划线,删除线
|
['bold', 'italic', 'underline', 'strike'], // 加粗,斜体,下划线,删除线
|
||||||
['blockquote', 'code-block'], //引用,代码块
|
['blockquote', 'code-block'], //引用,代码块
|
||||||
[{ 'header': 1 }, { 'header': 2 }], // 几级标题
|
[{
|
||||||
[{ 'list': 'ordered' }, { 'list': 'bullet' }], // 有序列表,无序列表
|
'header': 1
|
||||||
[{ 'script': 'sub' }, { 'script': 'super' }], // 下角标,上角标
|
}, {
|
||||||
[{ 'indent': '-1' }, { 'indent': '+1' }], // 缩进
|
'header': 2
|
||||||
[{ 'direction': 'rtl' }], // 文字输入方向
|
}], // 几级标题
|
||||||
[{ 'size': ['small', false, 'large', 'huge'] }], // 字体大小
|
[{
|
||||||
[{ 'header': [1, 2, 3, 4, 5, 6, false] }],// 标题
|
'list': 'ordered'
|
||||||
[{ 'color': [] }, { 'background': [] }], // 颜色选择
|
}, {
|
||||||
[{ 'font': ['SimSun', 'SimHei', 'Microsoft-YaHei', 'KaiTi', 'FangSong', 'Arial'] }],// 字体
|
'list': 'bullet'
|
||||||
[{ 'align': [] }], // 居中
|
}], // 有序列表,无序列表
|
||||||
['clean'], // 清除样式,
|
[{
|
||||||
['link', 'image'], // 上传图片、上传视频
|
'script': 'sub'
|
||||||
]
|
}, {
|
||||||
|
'script': 'super'
|
||||||
|
}], // 下角标,上角标
|
||||||
|
[{
|
||||||
|
'indent': '-1'
|
||||||
|
}, {
|
||||||
|
'indent': '+1'
|
||||||
|
}], // 缩进
|
||||||
|
[{
|
||||||
|
'direction': 'rtl'
|
||||||
|
}], // 文字输入方向
|
||||||
|
[{
|
||||||
|
'size': ['small', false, 'large', 'huge']
|
||||||
|
}], // 字体大小
|
||||||
|
[{
|
||||||
|
'header': [1, 2, 3, 4, 5, 6, false]
|
||||||
|
}], // 标题
|
||||||
|
[{
|
||||||
|
'color': []
|
||||||
|
}, {
|
||||||
|
'background': []
|
||||||
|
}], // 颜色选择
|
||||||
|
[{
|
||||||
|
'font': ['SimSun', 'SimHei', 'Microsoft-YaHei', 'KaiTi', 'FangSong', 'Arial']
|
||||||
|
}], // 字体
|
||||||
|
[{
|
||||||
|
'align': []
|
||||||
|
}], // 居中
|
||||||
|
['clean'], // 清除样式,
|
||||||
|
['link', 'image'], // 上传图片、上传视频
|
||||||
|
]
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
@@ -104,8 +137,8 @@ import 'quill/dist/quill.bubble.css'
|
|||||||
noneBtnImg: false,
|
noneBtnImg: false,
|
||||||
title: '',
|
title: '',
|
||||||
productImages: '',
|
productImages: '',
|
||||||
bookdesc:'',
|
bookdesc: '',
|
||||||
yianid:null,
|
yianid: null,
|
||||||
sort: null,
|
sort: null,
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -131,10 +164,19 @@ import 'quill/dist/quill.bubble.css'
|
|||||||
maxStack: 50,
|
maxStack: 50,
|
||||||
userOnly: false
|
userOnly: false
|
||||||
},
|
},
|
||||||
|
imageResize: {
|
||||||
|
displayStyles: {
|
||||||
|
backgroundColor: 'black',
|
||||||
|
border: 'none',
|
||||||
|
color: 'white'
|
||||||
|
},
|
||||||
|
modules: ['Resize', 'DisplaySize']
|
||||||
|
// modules: ['Resize', 'DisplaySize', 'Toolbar']
|
||||||
|
},
|
||||||
toolbar: {
|
toolbar: {
|
||||||
container: toolbarOptions,
|
container: toolbarOptions,
|
||||||
handlers: {
|
handlers: {
|
||||||
image: function (value) {
|
image: function(value) {
|
||||||
if (value) {
|
if (value) {
|
||||||
// 调用element的图片上传组件
|
// 调用element的图片上传组件
|
||||||
document.querySelector('.avatar-uploader input').click()
|
document.querySelector('.avatar-uploader input').click()
|
||||||
@@ -144,14 +186,6 @@ import 'quill/dist/quill.bubble.css'
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
imageResize: {
|
|
||||||
displayStyles: {
|
|
||||||
backgroundColor: 'black',
|
|
||||||
border: 'none',
|
|
||||||
color: 'white'
|
|
||||||
},
|
|
||||||
modules: [ 'Resize', 'DisplaySize', 'Toolbar' ]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
// modules: {
|
// modules: {
|
||||||
// toolbar: [
|
// toolbar: [
|
||||||
@@ -206,42 +240,42 @@ import 'quill/dist/quill.bubble.css'
|
|||||||
created() {
|
created() {
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
init(id, bookId) {
|
init(id, bookId) {
|
||||||
id ? '' : id=0
|
id ? '' : id = 0
|
||||||
this.dataForm.yianid = id || null
|
this.dataForm.yianid = id || null
|
||||||
this.dataForm.bookId = bookId || 0
|
this.dataForm.bookId = bookId || 0
|
||||||
this.visible = true
|
this.visible = true
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs['dataForm'].resetFields()
|
this.$refs['dataForm'].resetFields()
|
||||||
if (this.dataForm.bookId) {
|
if (this.dataForm.bookId) {
|
||||||
this.$http({
|
this.$http({
|
||||||
url: this.$http.adornUrl('/book/bookMedicalRecords/getById?medicalRecordsId='+ id),
|
url: this.$http.adornUrl('/book/bookMedicalRecords/getById?medicalRecordsId=' + id),
|
||||||
method: 'post',
|
method: 'post',
|
||||||
// params: this.$http.adornParams()
|
// params: this.$http.adornParams()
|
||||||
}).then(({
|
}).then(({
|
||||||
data
|
data
|
||||||
}) => {
|
}) => {
|
||||||
// console.log(data,666)
|
// console.log(data,666)
|
||||||
if (data && data.code === 0 && data.entity != null) {
|
if (data && data.code === 0 && data.entity != null) {
|
||||||
this.dataForm.bookId = data.entity.bookId
|
this.dataForm.bookId = data.entity.bookId
|
||||||
this.dataForm.title = data.entity.title
|
this.dataForm.title = data.entity.title
|
||||||
this.dataForm.contents = data.entity.content
|
this.dataForm.contents = data.entity.content
|
||||||
this.dataForm.medicalRecordsId = data.entity.medicalRecordsId
|
this.dataForm.medicalRecordsId = data.entity.medicalRecordsId
|
||||||
this.dataForm.sort = data.entity.sort
|
this.dataForm.sort = data.entity.sort
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
dealImgChange(file, fileList) {
|
dealImgChange(file, fileList) {
|
||||||
this.dataForm.noneBtnImg = fileList.length >= this.dataForm.limitCountImg;
|
this.dataForm.noneBtnImg = fileList.length >= this.dataForm.limitCountImg;
|
||||||
},
|
},
|
||||||
// 表单提交
|
// 表单提交
|
||||||
dataFormSubmit() {
|
dataFormSubmit() {
|
||||||
// console.log('userid', this.$store.state.user.id)
|
// console.log('userid', this.$store.state.user.id)
|
||||||
this.$refs['dataForm'].validate((valid) => {
|
this.$refs['dataForm'].validate((valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
this.$http({
|
this.$http({
|
||||||
@@ -282,7 +316,7 @@ import 'quill/dist/quill.bubble.css'
|
|||||||
},
|
},
|
||||||
changeTime(e) {
|
changeTime(e) {
|
||||||
console.log(e)
|
console.log(e)
|
||||||
},
|
},
|
||||||
|
|
||||||
handlePictureCardPreview(file) {
|
handlePictureCardPreview(file) {
|
||||||
this.dataForm.productImages = file.url;
|
this.dataForm.productImages = file.url;
|
||||||
@@ -296,7 +330,7 @@ import 'quill/dist/quill.bubble.css'
|
|||||||
url: res.url
|
url: res.url
|
||||||
})
|
})
|
||||||
this.dataForm.productImages = res.url
|
this.dataForm.productImages = res.url
|
||||||
console.log(this.swiperfileList,this.dataForm.productImages)
|
console.log(this.swiperfileList, this.dataForm.productImages)
|
||||||
this.$message.success("上传成功");
|
this.$message.success("上传成功");
|
||||||
} else {
|
} else {
|
||||||
this.$message.error("上传失败");
|
this.$message.error("上传失败");
|
||||||
@@ -310,24 +344,24 @@ import 'quill/dist/quill.bubble.css'
|
|||||||
} else {
|
} else {
|
||||||
return arr.toString()
|
return arr.toString()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
contentUploadSuccess(res, file) {
|
contentUploadSuccess(res, file) {
|
||||||
// console.log(res)
|
// console.log(res)
|
||||||
let quill = this.$refs.myQuillEditor.quill
|
let quill = this.$refs.myQuillEditor.quill
|
||||||
// 如果上传成功
|
// 如果上传成功
|
||||||
if (res) {
|
if (res) {
|
||||||
// 获取光标所在位置
|
// 获取光标所在位置
|
||||||
let length = quill.getSelection().index;
|
let length = quill.getSelection().index;
|
||||||
// 插入图片,res为服务器返回的图片链接地址
|
// 插入图片,res为服务器返回的图片链接地址
|
||||||
quill.insertEmbed(length, 'image', res.url)
|
quill.insertEmbed(length, 'image', res.url)
|
||||||
// 调整光标到最后
|
// 调整光标到最后
|
||||||
quill.setSelection(length + 1)
|
quill.setSelection(length + 1)
|
||||||
} else {
|
} else {
|
||||||
// 提示信息,需引入Message
|
// 提示信息,需引入Message
|
||||||
this.$message.error('图片插入失败!')
|
this.$message.error('图片插入失败!')
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
handlePicSuccess(res, file) {
|
handlePicSuccess(res, file) {
|
||||||
// console.log(res,'res')
|
// console.log(res,'res')
|
||||||
if (res.msg == "success") {
|
if (res.msg == "success") {
|
||||||
@@ -337,7 +371,7 @@ import 'quill/dist/quill.bubble.css'
|
|||||||
url: res.url
|
url: res.url
|
||||||
})
|
})
|
||||||
this.dataForm.productImages = res.url
|
this.dataForm.productImages = res.url
|
||||||
console.log(this.dataForm.productImages,'productImages')
|
console.log(this.dataForm.productImages, 'productImages')
|
||||||
this.$message.success("上传成功");
|
this.$message.success("上传成功");
|
||||||
} else {
|
} else {
|
||||||
this.$message.error("上传失败");
|
this.$message.error("上传失败");
|
||||||
@@ -359,7 +393,7 @@ import 'quill/dist/quill.bubble.css'
|
|||||||
},
|
},
|
||||||
// 失去焦点事件
|
// 失去焦点事件
|
||||||
onEditorBlur(quill) {
|
onEditorBlur(quill) {
|
||||||
console.log('editor blur!', quill)
|
console.log('editor blur!', quill)
|
||||||
},
|
},
|
||||||
// 获得焦点事件
|
// 获得焦点事件
|
||||||
onEditorFocus(quill) {
|
onEditorFocus(quill) {
|
||||||
@@ -367,16 +401,16 @@ import 'quill/dist/quill.bubble.css'
|
|||||||
},
|
},
|
||||||
// 准备富文本编辑器
|
// 准备富文本编辑器
|
||||||
onEditorReady(quill) {
|
onEditorReady(quill) {
|
||||||
// console.log('editor ready!', quill)
|
// console.log('editor ready!', quill)
|
||||||
},
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
// this.$bus.$on("haveBookIds", (data) => {
|
// this.$bus.$on("haveBookIds", (data) => {
|
||||||
// // console.log('haveBookIds', data)
|
// // console.log('haveBookIds', data)
|
||||||
// data.bookIds.length > 0 ? this.dataForm.Books = data.bookIds : this.dataForm.Books = []
|
// data.bookIds.length > 0 ? this.dataForm.Books = data.bookIds : this.dataForm.Books = []
|
||||||
// });
|
// });
|
||||||
},
|
},
|
||||||
|
|
||||||
watch: {
|
watch: {
|
||||||
visible: {
|
visible: {
|
||||||
@@ -404,7 +438,7 @@ import 'quill/dist/quill.bubble.css'
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
.el-uploadfeng {
|
.el-uploadfeng {
|
||||||
.el-upload-list__item {
|
.el-upload-list__item {
|
||||||
width: 120px;
|
width: 120px;
|
||||||
height: 120px;
|
height: 120px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -67,7 +67,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button @click="getDataList()">查询</el-button>
|
<el-button @click="pageIndex = 1;getDataList()">查询</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div class="buttonGroup">
|
<div class="buttonGroup">
|
||||||
|
|||||||
@@ -147,8 +147,8 @@ export default {
|
|||||||
radio3: 'general',
|
radio3: 'general',
|
||||||
checkedList: [],
|
checkedList: [],
|
||||||
ruleForm: {
|
ruleForm: {
|
||||||
deliverLcd: '',
|
deliverLcd: 'SF',
|
||||||
dictValue:''
|
dictValue:'顺丰快递'
|
||||||
},
|
},
|
||||||
expressList: [],
|
expressList: [],
|
||||||
rules: {
|
rules: {
|
||||||
@@ -169,6 +169,8 @@ export default {
|
|||||||
tabChange(e){
|
tabChange(e){
|
||||||
// console.log('变化了')
|
// console.log('变化了')
|
||||||
this.$refs['ruleForm'].clearValidate()
|
this.$refs['ruleForm'].clearValidate()
|
||||||
|
this.ruleForm.deliverLcd="SF"
|
||||||
|
this.ruleForm.dictValue="顺丰快递"
|
||||||
},
|
},
|
||||||
// 获取快递公司列表
|
// 获取快递公司列表
|
||||||
getExpressList() {
|
getExpressList() {
|
||||||
@@ -179,6 +181,7 @@ export default {
|
|||||||
}).then(({ data }) => {
|
}).then(({ data }) => {
|
||||||
// console.log(data, '快递列表')
|
// console.log(data, '快递列表')
|
||||||
this.expressList = data.result
|
this.expressList = data.result
|
||||||
|
|
||||||
}).catch(({ e }) => {
|
}).catch(({ e }) => {
|
||||||
console.log(e,'e')
|
console.log(e,'e')
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<el-input v-model="dataForm.key" placeholder="参数名" clearable></el-input>
|
<el-input v-model="dataForm.key" placeholder="参数名" clearable></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button @click="getDataList()">查询</el-button>
|
<el-button @click="pageIndex = 1;getDataList()">查询</el-button>
|
||||||
<el-button v-if="isAuth('book:paypaymentorder:save')" type="primary" @click="addOrUpdateHandle()">新增</el-button>
|
<el-button v-if="isAuth('book:paypaymentorder:save')" type="primary" @click="addOrUpdateHandle()">新增</el-button>
|
||||||
<el-button v-if="isAuth('book:paypaymentorder:delete')" type="danger" @click="deleteHandle()" :disabled="dataListSelections.length <= 0">批量删除</el-button>
|
<el-button v-if="isAuth('book:paypaymentorder:delete')" type="danger" @click="deleteHandle()" :disabled="dataListSelections.length <= 0">批量删除</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<el-input v-model="dataForm.key" placeholder="参数名" clearable></el-input>
|
<el-input v-model="dataForm.key" placeholder="参数名" clearable></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button @click="getDataList()">查询</el-button>
|
<el-button @click="pageIndex = 1;getDataList()">查询</el-button>
|
||||||
<el-button v-if="isAuth('book:transactiondetails:save')" type="primary" @click="addOrUpdateHandle()">新增</el-button>
|
<el-button v-if="isAuth('book:transactiondetails:save')" type="primary" @click="addOrUpdateHandle()">新增</el-button>
|
||||||
<el-button v-if="isAuth('book:transactiondetails:delete')" type="danger" @click="deleteHandle()" :disabled="dataListSelections.length <= 0">批量删除</el-button>
|
<el-button v-if="isAuth('book:transactiondetails:delete')" type="danger" @click="deleteHandle()" :disabled="dataListSelections.length <= 0">批量删除</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<el-input v-model="dataForm.key" placeholder="参数名" clearable></el-input>
|
<el-input v-model="dataForm.key" placeholder="参数名" clearable></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button @click="getDataList()">查询</el-button>
|
<el-button @click="pageIndex = 1;getDataList()">查询</el-button>
|
||||||
<el-button v-if="isAuth('book:shopproduct:save')" type="primary" @click="addOrUpdateHandle()">新增</el-button>
|
<el-button v-if="isAuth('book:shopproduct:save')" type="primary" @click="addOrUpdateHandle()">新增</el-button>
|
||||||
<el-button v-if="isAuth('book:shopproduct:delete')" type="danger" @click="deleteHandle()" :disabled="dataListSelections.length <= 0">批量删除</el-button>
|
<el-button v-if="isAuth('book:shopproduct:delete')" type="danger" @click="deleteHandle()" :disabled="dataListSelections.length <= 0">批量删除</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</el-input>
|
</el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button @click="getDataList()">查询</el-button>
|
<el-button @click="pageIndex = 1;getDataList()">查询</el-button>
|
||||||
<el-button v-if="isAuth('book:user:save')" type="primary" @click="addOrUpdateHandle()">新增</el-button>
|
<el-button v-if="isAuth('book:user:save')" type="primary" @click="addOrUpdateHandle()">新增</el-button>
|
||||||
<el-button v-if="isAuth('book:user:delete')" type="danger" @click="deleteHandle()"
|
<el-button v-if="isAuth('book:user:delete')" type="danger" @click="deleteHandle()"
|
||||||
:disabled="dataListSelections.length <= 0">批量删除</el-button>
|
:disabled="dataListSelections.length <= 0">批量删除</el-button>
|
||||||
|
|||||||
@@ -7,9 +7,9 @@
|
|||||||
// api接口请求地址
|
// api接口请求地址
|
||||||
// window.SITE_CONFIG['baseUrl'] = 'http://192.168.110.100:9200/pb';
|
// window.SITE_CONFIG['baseUrl'] = 'http://192.168.110.100:9200/pb';
|
||||||
// window.SITE_CONFIG['baseUrl'] = 'http://59.110.212.44:9200/pb';
|
// window.SITE_CONFIG['baseUrl'] = 'http://59.110.212.44:9200/pb';
|
||||||
// window.SITE_CONFIG['baseUrl'] = 'https://testapi.nuttyreading.com'; // 线上测试环境
|
window.SITE_CONFIG['baseUrl'] = 'https://testapi.nuttyreading.com'; // 线上测试环境
|
||||||
// window.SITE_CONFIG['baseUrl'] = 'https://api.nuttyreading.com'; // 线上正式环境
|
// window.SITE_CONFIG['baseUrl'] = 'https://api.nuttyreading.com'; // 线上正式环境
|
||||||
window.SITE_CONFIG['baseUrl'] = 'http://192.168.110.110:9200/pb';
|
// window.SITE_CONFIG['baseUrl'] = 'http://192.168.110.110:9200/pb';
|
||||||
// window.SITE_CONFIG['baseUrl'] = 'http://59.110.212.44:9200/pb';
|
// window.SITE_CONFIG['baseUrl'] = 'http://59.110.212.44:9200/pb';
|
||||||
|
|
||||||
// cdn地址 = 域名 + 版本号
|
// cdn地址 = 域名 + 版本号
|
||||||
|
|||||||
Reference in New Issue
Block a user