提交部分

This commit is contained in:
gongjiale 2022-12-12 17:01:29 +08:00
parent 9937237959
commit d482042bcb
8 changed files with 20 additions and 5 deletions

View File

@ -83,7 +83,6 @@ const router = new Router({
}) })
router.beforeEach((to, from, next) => { router.beforeEach((to, from, next) => {
debugger
// 判断是否有token // 判断是否有token
// const token = Cookies.get('token') // const token = Cookies.get('token')
// 添加动态(菜单)路由 // 添加动态(菜单)路由

View File

@ -264,7 +264,7 @@
:placeholder="'请输入' + placeHolderWords(item.name)+',单位为元'" :placeholder="'请输入' + placeHolderWords(item.name)+',单位为元'"
@change="changeIiem(item.name, item.note1)" @change="changeIiem(item.name, item.note1)"
/> />
<span style="color:red"> (仅用于测算为部门节省资金)</span> <span style="color:red"> (单位为元*仅用于测算为部门节省资金)</span>
</div> </div>
<a-input <a-input
:maxLength="1000" :maxLength="1000"

View File

@ -59,7 +59,12 @@
</template> </template>
申请使用 申请使用
</a-button> </a-button>
<a-button type="primary" @click="addShoppingCart()"> <a-button type="primary" @click="addShoppingCart()" :style="{
cursor:
!props.dataList.isInShoppingCart
? 'pointer'
: 'not-allowed',
}">
<!-- <template #icon> <!-- <template #icon>
<shopping-cart-outlined /> <shopping-cart-outlined />
</template> --> </template> -->

View File

@ -62,6 +62,12 @@
<a-button <a-button
v-if="!dataList.fuseResourceList" v-if="!dataList.fuseResourceList"
type="primary" type="primary"
:style="{
cursor:
!props.dataList.isInShoppingCart
? 'pointer'
: 'not-allowed',
}"
@click="addShoppingCart()" @click="addShoppingCart()"
> >
<!-- <template #icon><shopping-cart-outlined /></template> --> <!-- <template #icon><shopping-cart-outlined /></template> -->

View File

@ -56,7 +56,8 @@
</template> </template>
申请使用 申请使用
</a-button> </a-button>
<a-button type="primary" @click="addShoppingCart()"> <a-button type="primary" @click="addShoppingCart()"
:style="{ cursor: !props.dataList.isInShoppingCart ? 'pointer': 'not-allowed', }">
<!-- <template #icon> <!-- <template #icon>
<shopping-cart-outlined /> <shopping-cart-outlined />
</template> --> </template> -->

View File

@ -54,7 +54,8 @@
<template #icon><form-outlined /></template> <template #icon><form-outlined /></template>
申请使用 申请使用
</a-button> </a-button>
<a-button type="primary" @click="addShoppingCart()"> <a-button type="primary" @click="addShoppingCart()"
:style="{ cursor: !props.dataList.isInShoppingCart ? 'pointer': 'not-allowed', }">
<!-- <template #icon><shopping-cart-outlined /></template> --> <!-- <template #icon><shopping-cart-outlined /></template> -->
{{ props.dataList.isInShoppingCart ? '已' : '' }}加入购物车 {{ props.dataList.isInShoppingCart ? '已' : '' }}加入购物车
</a-button> </a-button>

View File

@ -62,6 +62,8 @@
(val) => val.attrType == '外部服务地址' (val) => val.attrType == '外部服务地址'
).length === 0 ).length === 0
" "
:style="{ cursor: !props.dataList.isInShoppingCart ? 'pointer': 'not-allowed', }"
> >
<!-- <template #icon><shopping-cart-outlined /></template> --> <!-- <template #icon><shopping-cart-outlined /></template> -->
{{ props.dataList.isInShoppingCart ? '已' : '' }}加入申购车 {{ props.dataList.isInShoppingCart ? '已' : '' }}加入申购车

View File

@ -540,6 +540,7 @@
total.value = 5 total.value = 5
getZwyBusinessList(params).then( getZwyBusinessList(params).then(
(res) => { (res) => {
cloudList.data = res.data.data.list cloudList.data = res.data.data.list
num.value = [] num.value = []
total.value = res.data.data.total total.value = res.data.data.total