Merge branch 'hi-ucs-dev' of http://15.2.21.221:3000/wuhongjian/hi-ucs into hi-ucs-dev
This commit is contained in:
commit
afc9b1c1f7
|
@ -87,6 +87,9 @@
|
||||||
const deploymentLocation = ref('') //部署位置
|
const deploymentLocation = ref('') //部署位置
|
||||||
//加入申购车
|
//加入申购车
|
||||||
const addShoppingCart = () => {
|
const addShoppingCart = () => {
|
||||||
|
if (props.dataList.isInShoppingCart) {
|
||||||
|
message.error('已经加入申购车了')
|
||||||
|
} else {
|
||||||
console.log('加入申购车==================>', props.dataList)
|
console.log('加入申购车==================>', props.dataList)
|
||||||
sgcInsert({
|
sgcInsert({
|
||||||
delFlag: '0',
|
delFlag: '0',
|
||||||
|
@ -96,8 +99,14 @@
|
||||||
console.log(res)
|
console.log(res)
|
||||||
message.success('添加申购车成功!')
|
message.success('添加申购车成功!')
|
||||||
mybus.emit('getSgcNum')
|
mybus.emit('getSgcNum')
|
||||||
|
props.dataList.isInShoppingCart = true
|
||||||
|
console.log(
|
||||||
|
props.dataList.isInShoppingCart,
|
||||||
|
'props.dataList.isInShoppingCart'
|
||||||
|
)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
}
|
||||||
//立即申请
|
//立即申请
|
||||||
function toView() {
|
function toView() {
|
||||||
// window.open(newpage.href, '_blank')
|
// window.open(newpage.href, '_blank')
|
||||||
|
|
|
@ -90,6 +90,9 @@
|
||||||
const applicationArea = ref('')
|
const applicationArea = ref('')
|
||||||
// // 加入申购车
|
// // 加入申购车
|
||||||
const addShoppingCart = () => {
|
const addShoppingCart = () => {
|
||||||
|
if (props.dataList.isInShoppingCart) {
|
||||||
|
message.error('已经加入申购车了')
|
||||||
|
} else {
|
||||||
console.log('加入申购车==================>', props.dataList)
|
console.log('加入申购车==================>', props.dataList)
|
||||||
sgcInsert({
|
sgcInsert({
|
||||||
delFlag: '0',
|
delFlag: '0',
|
||||||
|
@ -99,8 +102,14 @@
|
||||||
console.log(res)
|
console.log(res)
|
||||||
message.success('添加申购车成功!')
|
message.success('添加申购车成功!')
|
||||||
mybus.emit('getSgcNum')
|
mybus.emit('getSgcNum')
|
||||||
|
props.dataList.isInShoppingCart = true
|
||||||
|
console.log(
|
||||||
|
props.dataList.isInShoppingCart,
|
||||||
|
'props.dataList.isInShoppingCart'
|
||||||
|
)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
}
|
||||||
// // 立即申请
|
// // 立即申请
|
||||||
function toView() {
|
function toView() {
|
||||||
// window.open(newpage.href, '_blank')
|
// window.open(newpage.href, '_blank')
|
||||||
|
|
|
@ -87,6 +87,9 @@
|
||||||
const componentType = ref('') //组件类型
|
const componentType = ref('') //组件类型
|
||||||
// // 加入申购车
|
// // 加入申购车
|
||||||
const addShoppingCart = () => {
|
const addShoppingCart = () => {
|
||||||
|
if (props.dataList.isInShoppingCart) {
|
||||||
|
message.error('已经加入申购车了')
|
||||||
|
} else {
|
||||||
console.log('加入申购车==================>', props.dataList)
|
console.log('加入申购车==================>', props.dataList)
|
||||||
sgcInsert({
|
sgcInsert({
|
||||||
delFlag: '0',
|
delFlag: '0',
|
||||||
|
@ -96,8 +99,14 @@
|
||||||
console.log(res)
|
console.log(res)
|
||||||
message.success('添加申购车成功!')
|
message.success('添加申购车成功!')
|
||||||
mybus.emit('getSgcNum')
|
mybus.emit('getSgcNum')
|
||||||
|
props.dataList.isInShoppingCart = true
|
||||||
|
console.log(
|
||||||
|
props.dataList.isInShoppingCart,
|
||||||
|
'props.dataList.isInShoppingCart'
|
||||||
|
)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
}
|
||||||
// // 立即申请
|
// // 立即申请
|
||||||
function toView() {
|
function toView() {
|
||||||
// window.open(newpage.href, '_blank')
|
// window.open(newpage.href, '_blank')
|
||||||
|
|
|
@ -82,6 +82,9 @@
|
||||||
const deploymentLocation = ref('') //部署位置
|
const deploymentLocation = ref('') //部署位置
|
||||||
// 加入申购车
|
// 加入申购车
|
||||||
const addShoppingCart = () => {
|
const addShoppingCart = () => {
|
||||||
|
if (props.dataList.isInShoppingCart) {
|
||||||
|
message.error('已经加入申购车了')
|
||||||
|
} else {
|
||||||
console.log('加入申购车==================>', props.dataList)
|
console.log('加入申购车==================>', props.dataList)
|
||||||
sgcInsert({
|
sgcInsert({
|
||||||
delFlag: '0',
|
delFlag: '0',
|
||||||
|
@ -91,8 +94,14 @@
|
||||||
console.log(res)
|
console.log(res)
|
||||||
message.success('添加申购车成功!')
|
message.success('添加申购车成功!')
|
||||||
mybus.emit('getSgcNum')
|
mybus.emit('getSgcNum')
|
||||||
|
props.dataList.isInShoppingCart = true
|
||||||
|
console.log(
|
||||||
|
props.dataList.isInShoppingCart,
|
||||||
|
'props.dataList.isInShoppingCart'
|
||||||
|
)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
}
|
||||||
// 立即申请
|
// 立即申请
|
||||||
function toView() {
|
function toView() {
|
||||||
// window.open(newpage.href, '_blank')
|
// window.open(newpage.href, '_blank')
|
||||||
|
|
|
@ -82,6 +82,9 @@
|
||||||
const deploymentLocation = ref('') //部署位置
|
const deploymentLocation = ref('') //部署位置
|
||||||
// 加入申购车
|
// 加入申购车
|
||||||
const addShoppingCart = () => {
|
const addShoppingCart = () => {
|
||||||
|
if (props.dataList.isInShoppingCart) {
|
||||||
|
message.error('已经加入申购车了')
|
||||||
|
} else {
|
||||||
console.log('加入申购车==================>', props.dataList)
|
console.log('加入申购车==================>', props.dataList)
|
||||||
sgcInsert({
|
sgcInsert({
|
||||||
delFlag: '0',
|
delFlag: '0',
|
||||||
|
@ -91,8 +94,14 @@
|
||||||
console.log(res)
|
console.log(res)
|
||||||
message.success('添加申购车成功!')
|
message.success('添加申购车成功!')
|
||||||
mybus.emit('getSgcNum')
|
mybus.emit('getSgcNum')
|
||||||
|
props.dataList.isInShoppingCart = true
|
||||||
|
console.log(
|
||||||
|
props.dataList.isInShoppingCart,
|
||||||
|
'props.dataList.isInShoppingCart'
|
||||||
|
)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
}
|
||||||
// 立即申请
|
// 立即申请
|
||||||
function toView() {
|
function toView() {
|
||||||
// window.open(newpage.href, '_blank')
|
// window.open(newpage.href, '_blank')
|
||||||
|
|
|
@ -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