Merge branch 'hi-ucs-dev' of http://15.2.21.221:3000/wuhongjian/hi-ucs into hi-ucs-dev

This commit is contained in:
a0049873 2022-07-25 10:09:21 +08:00
commit afc9b1c1f7
6 changed files with 96 additions and 51 deletions

View File

@ -87,6 +87,9 @@
const deploymentLocation = ref('') //
//
const addShoppingCart = () => {
if (props.dataList.isInShoppingCart) {
message.error('已经加入申购车了')
} else {
console.log('加入申购车==================>', props.dataList)
sgcInsert({
delFlag: '0',
@ -96,8 +99,14 @@
console.log(res)
message.success('添加申购车成功!')
mybus.emit('getSgcNum')
props.dataList.isInShoppingCart = true
console.log(
props.dataList.isInShoppingCart,
'props.dataList.isInShoppingCart'
)
})
}
}
//
function toView() {
// window.open(newpage.href, '_blank')

View File

@ -90,6 +90,9 @@
const applicationArea = ref('')
// //
const addShoppingCart = () => {
if (props.dataList.isInShoppingCart) {
message.error('已经加入申购车了')
} else {
console.log('加入申购车==================>', props.dataList)
sgcInsert({
delFlag: '0',
@ -99,8 +102,14 @@
console.log(res)
message.success('添加申购车成功!')
mybus.emit('getSgcNum')
props.dataList.isInShoppingCart = true
console.log(
props.dataList.isInShoppingCart,
'props.dataList.isInShoppingCart'
)
})
}
}
// //
function toView() {
// window.open(newpage.href, '_blank')

View File

@ -87,6 +87,9 @@
const componentType = ref('') //
// //
const addShoppingCart = () => {
if (props.dataList.isInShoppingCart) {
message.error('已经加入申购车了')
} else {
console.log('加入申购车==================>', props.dataList)
sgcInsert({
delFlag: '0',
@ -96,8 +99,14 @@
console.log(res)
message.success('添加申购车成功!')
mybus.emit('getSgcNum')
props.dataList.isInShoppingCart = true
console.log(
props.dataList.isInShoppingCart,
'props.dataList.isInShoppingCart'
)
})
}
}
// //
function toView() {
// window.open(newpage.href, '_blank')

View File

@ -82,6 +82,9 @@
const deploymentLocation = ref('') //
//
const addShoppingCart = () => {
if (props.dataList.isInShoppingCart) {
message.error('已经加入申购车了')
} else {
console.log('加入申购车==================>', props.dataList)
sgcInsert({
delFlag: '0',
@ -91,8 +94,14 @@
console.log(res)
message.success('添加申购车成功!')
mybus.emit('getSgcNum')
props.dataList.isInShoppingCart = true
console.log(
props.dataList.isInShoppingCart,
'props.dataList.isInShoppingCart'
)
})
}
}
//
function toView() {
// window.open(newpage.href, '_blank')

View File

@ -82,6 +82,9 @@
const deploymentLocation = ref('') //
//
const addShoppingCart = () => {
if (props.dataList.isInShoppingCart) {
message.error('已经加入申购车了')
} else {
console.log('加入申购车==================>', props.dataList)
sgcInsert({
delFlag: '0',
@ -91,8 +94,14 @@
console.log(res)
message.success('添加申购车成功!')
mybus.emit('getSgcNum')
props.dataList.isInShoppingCart = true
console.log(
props.dataList.isInShoppingCart,
'props.dataList.isInShoppingCart'
)
})
}
}
//
function toView() {
// window.open(newpage.href, '_blank')

View File

@ -465,7 +465,7 @@
border-radius: 0.05rem;
position: absolute;
top: 0.45rem;
right: 3.1rem;
right: 2.9rem;
overflow-y: scroll;
.bottom {
cursor: pointer;