经穴检索

This commit is contained in:
@fawn-nine
2023-11-07 17:17:46 +08:00
parent dd66af1a20
commit 4c00a03fc9
9 changed files with 97 additions and 127 deletions

View File

@@ -93,8 +93,8 @@ export default {
this.$nextTick(()=> {
//this.toggleSelection() // 获取到已选中的数据
this.oldSelected = data.bookIds
console.log('以前选中的部分')
console.log(this.oldSelected,'oldSelected')
// console.log('以前选中的部分')
// console.log(this.oldSelected,'oldSelected')
})
}
@@ -138,7 +138,7 @@ export default {
if (item2.id == item1.id) {
this.selectedBooks.push(item1)
this.$refs.multipleTablebb.toggleRowSelection(item1, true)
console.log(item1,'item1')
// console.log(item1,'item1')
}
})
@@ -161,7 +161,7 @@ export default {
this.handleClose()
},
handleSelectionChange(e) {
console.log(e)
// console.log(e)
this.selectedBooks = e
},
handleClose() { // 关闭组件
@@ -184,7 +184,7 @@ export default {
watch: {
bookIds: {
handler(val, oldVal) {
console.log(val, 'cal')
// console.log(val, 'cal')
// if (val.length > 0) {
// this.selectedBooks = val
// val.forEach(item => {

View File

@@ -340,7 +340,7 @@
},
handleCheckedCitiesChange(value) {
console.log(value, 'value')
// console.log(value, 'value')
},
// 获取商品标签
getTags() {
@@ -361,7 +361,7 @@
showChooseBook() {
// 显示图书列表
this.$emit("showchooseBookf", { 'bookIds': this.dataForm.Books });
console.log('发送指令')
// console.log('发送指令')
this.$bus.$emit("showchooseBook", { 'bookIds': this.dataForm.Books });
},
init(id) {
@@ -380,7 +380,7 @@
}) => {
if (data && data.code === 0) {
this.dataForm.tags = data.labels
console.log('收到的值', this.dataForm.tags)
// console.log('收到的值', this.dataForm.tags)
this.dataForm.productName = data.shopProduct.productName
this.dataForm.price = data.shopProduct.price
this.dataForm.goodsType = data.shopProduct.goodsType
@@ -425,15 +425,15 @@
if (data.shopProduct.productImageList == null || data.shopProduct.productImageList[0] == '' ||
data.shopProduct.productImageList == "") {
this.swiperfileList = []
console.log('走这')
// console.log('走这')
}else {
// 有轮播图
console.log(data.shopProduct.productImageList)
// console.log(data.shopProduct.productImageList)
let arr = []
let arr1 = []
arr = data.shopProduct.productImageList.split(',');
console.log(arr, '处理后得轮播图数组')
// console.log(arr, '处理后得轮播图数组')
arr.forEach((item, index) => {
arr1.push({
name: index,
@@ -455,7 +455,7 @@
}).then(({
data
}) => {
console.log(data.dataList)
// console.log(data.dataList)
this.goodsTypeList = data.dataList
})
},
@@ -478,7 +478,7 @@
// console.log(this.dataForm.productImageList)
if (valid) {
if (!this.dataForm.hDprice || this.dataForm.hDprice == 0) {
console.log('没有值')
// console.log('没有值')
this.dataForm.hDprice = 0
}
@@ -541,7 +541,7 @@
},
getBookIds() {
// 图书ids
console.log(this.dataForm.Books,'Books')
// console.log(this.dataForm.Books,'Books')
this.bookidsd = this.dataForm.Books.map(item => {
return item.id
})
@@ -568,7 +568,7 @@
name: file.name,
url: res.url
})
console.log(this.swiperfileList)
// console.log(this.swiperfileList)
this.$message.success("上传成功");
} else {
this.$message.error("上传失败");
@@ -618,7 +618,7 @@
},
// 失去焦点事件
onEditorBlur(quill) {
console.log('editor blur!', quill)
// console.log('editor blur!', quill)
},
// 获得焦点事件
onEditorFocus(quill) {

View File

@@ -106,7 +106,7 @@
showchooseBookf(e) {
// 显示图书列表
this.chooseBookVisible = true
console.log(this.bookIds,'this.bookIds')
// console.log(this.bookIds,'this.bookIds')
// this.$nextTick(() => {
// this.$refs.chooseBook.getBookList()
// this.bookIds = e.bookIds
@@ -193,7 +193,7 @@
publishStatus: event.publishStatus,
productId: event.productId
}
console.log(parms)
// console.log(parms)
this.$http({
url: this.$http.adornUrl('/book/shopproduct/update'),
method: 'post',