701bug 通知小铃铛的位置
This commit is contained in:
parent
133553b6a1
commit
df43efef31
|
@ -87,16 +87,25 @@
|
||||||
const deploymentLocation = ref('') //部署位置
|
const deploymentLocation = ref('') //部署位置
|
||||||
//加入申购车
|
//加入申购车
|
||||||
const addShoppingCart = () => {
|
const addShoppingCart = () => {
|
||||||
console.log('加入申购车==================>', props.dataList)
|
if (props.dataList.isInShoppingCart) {
|
||||||
sgcInsert({
|
message.error('已经加入申购车了')
|
||||||
delFlag: '0',
|
} else {
|
||||||
resourceId: props.dataList.id,
|
console.log('加入申购车==================>', props.dataList)
|
||||||
// userId: userId.value,
|
sgcInsert({
|
||||||
}).then((res) => {
|
delFlag: '0',
|
||||||
console.log(res)
|
resourceId: props.dataList.id,
|
||||||
message.success('添加申购车成功!')
|
// userId: userId.value,
|
||||||
mybus.emit('getSgcNum')
|
}).then((res) => {
|
||||||
})
|
console.log(res)
|
||||||
|
message.success('添加申购车成功!')
|
||||||
|
mybus.emit('getSgcNum')
|
||||||
|
props.dataList.isInShoppingCart = true
|
||||||
|
console.log(
|
||||||
|
props.dataList.isInShoppingCart,
|
||||||
|
'props.dataList.isInShoppingCart'
|
||||||
|
)
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
//立即申请
|
//立即申请
|
||||||
function toView() {
|
function toView() {
|
||||||
|
|
|
@ -90,16 +90,25 @@
|
||||||
const applicationArea = ref('')
|
const applicationArea = ref('')
|
||||||
// // 加入申购车
|
// // 加入申购车
|
||||||
const addShoppingCart = () => {
|
const addShoppingCart = () => {
|
||||||
console.log('加入申购车==================>', props.dataList)
|
if (props.dataList.isInShoppingCart) {
|
||||||
sgcInsert({
|
message.error('已经加入申购车了')
|
||||||
delFlag: '0',
|
} else {
|
||||||
resourceId: props.dataList.id,
|
console.log('加入申购车==================>', props.dataList)
|
||||||
// userId: userId.value,
|
sgcInsert({
|
||||||
}).then((res) => {
|
delFlag: '0',
|
||||||
console.log(res)
|
resourceId: props.dataList.id,
|
||||||
message.success('添加申购车成功!')
|
// userId: userId.value,
|
||||||
mybus.emit('getSgcNum')
|
}).then((res) => {
|
||||||
})
|
console.log(res)
|
||||||
|
message.success('添加申购车成功!')
|
||||||
|
mybus.emit('getSgcNum')
|
||||||
|
props.dataList.isInShoppingCart = true
|
||||||
|
console.log(
|
||||||
|
props.dataList.isInShoppingCart,
|
||||||
|
'props.dataList.isInShoppingCart'
|
||||||
|
)
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// // 立即申请
|
// // 立即申请
|
||||||
function toView() {
|
function toView() {
|
||||||
|
|
|
@ -87,16 +87,25 @@
|
||||||
const componentType = ref('') //组件类型
|
const componentType = ref('') //组件类型
|
||||||
// // 加入申购车
|
// // 加入申购车
|
||||||
const addShoppingCart = () => {
|
const addShoppingCart = () => {
|
||||||
console.log('加入申购车==================>', props.dataList)
|
if (props.dataList.isInShoppingCart) {
|
||||||
sgcInsert({
|
message.error('已经加入申购车了')
|
||||||
delFlag: '0',
|
} else {
|
||||||
resourceId: props.dataList.id,
|
console.log('加入申购车==================>', props.dataList)
|
||||||
// userId: userId.value,
|
sgcInsert({
|
||||||
}).then((res) => {
|
delFlag: '0',
|
||||||
console.log(res)
|
resourceId: props.dataList.id,
|
||||||
message.success('添加申购车成功!')
|
// userId: userId.value,
|
||||||
mybus.emit('getSgcNum')
|
}).then((res) => {
|
||||||
})
|
console.log(res)
|
||||||
|
message.success('添加申购车成功!')
|
||||||
|
mybus.emit('getSgcNum')
|
||||||
|
props.dataList.isInShoppingCart = true
|
||||||
|
console.log(
|
||||||
|
props.dataList.isInShoppingCart,
|
||||||
|
'props.dataList.isInShoppingCart'
|
||||||
|
)
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// // 立即申请
|
// // 立即申请
|
||||||
function toView() {
|
function toView() {
|
||||||
|
|
|
@ -82,16 +82,25 @@
|
||||||
const deploymentLocation = ref('') //部署位置
|
const deploymentLocation = ref('') //部署位置
|
||||||
// 加入申购车
|
// 加入申购车
|
||||||
const addShoppingCart = () => {
|
const addShoppingCart = () => {
|
||||||
console.log('加入申购车==================>', props.dataList)
|
if (props.dataList.isInShoppingCart) {
|
||||||
sgcInsert({
|
message.error('已经加入申购车了')
|
||||||
delFlag: '0',
|
} else {
|
||||||
resourceId: props.dataList.id,
|
console.log('加入申购车==================>', props.dataList)
|
||||||
// userId: userId.value,
|
sgcInsert({
|
||||||
}).then((res) => {
|
delFlag: '0',
|
||||||
console.log(res)
|
resourceId: props.dataList.id,
|
||||||
message.success('添加申购车成功!')
|
// userId: userId.value,
|
||||||
mybus.emit('getSgcNum')
|
}).then((res) => {
|
||||||
})
|
console.log(res)
|
||||||
|
message.success('添加申购车成功!')
|
||||||
|
mybus.emit('getSgcNum')
|
||||||
|
props.dataList.isInShoppingCart = true
|
||||||
|
console.log(
|
||||||
|
props.dataList.isInShoppingCart,
|
||||||
|
'props.dataList.isInShoppingCart'
|
||||||
|
)
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// 立即申请
|
// 立即申请
|
||||||
function toView() {
|
function toView() {
|
||||||
|
|
|
@ -82,16 +82,25 @@
|
||||||
const deploymentLocation = ref('') //部署位置
|
const deploymentLocation = ref('') //部署位置
|
||||||
// 加入申购车
|
// 加入申购车
|
||||||
const addShoppingCart = () => {
|
const addShoppingCart = () => {
|
||||||
console.log('加入申购车==================>', props.dataList)
|
if (props.dataList.isInShoppingCart) {
|
||||||
sgcInsert({
|
message.error('已经加入申购车了')
|
||||||
delFlag: '0',
|
} else {
|
||||||
resourceId: props.dataList.id,
|
console.log('加入申购车==================>', props.dataList)
|
||||||
// userId: userId.value,
|
sgcInsert({
|
||||||
}).then((res) => {
|
delFlag: '0',
|
||||||
console.log(res)
|
resourceId: props.dataList.id,
|
||||||
message.success('添加申购车成功!')
|
// userId: userId.value,
|
||||||
mybus.emit('getSgcNum')
|
}).then((res) => {
|
||||||
})
|
console.log(res)
|
||||||
|
message.success('添加申购车成功!')
|
||||||
|
mybus.emit('getSgcNum')
|
||||||
|
props.dataList.isInShoppingCart = true
|
||||||
|
console.log(
|
||||||
|
props.dataList.isInShoppingCart,
|
||||||
|
'props.dataList.isInShoppingCart'
|
||||||
|
)
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// 立即申请
|
// 立即申请
|
||||||
function toView() {
|
function toView() {
|
||||||
|
|
|
@ -465,7 +465,7 @@
|
||||||
border-radius: 0.05rem;
|
border-radius: 0.05rem;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0.45rem;
|
top: 0.45rem;
|
||||||
right: 3.1rem;
|
right: 2.9rem;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
.bottom {
|
.bottom {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
Loading…
Reference in New Issue