修改jire问题

This commit is contained in:
gongjiale 2022-12-05 15:40:55 +08:00
parent ddc0b15123
commit 15d0c850c4
12 changed files with 76 additions and 43 deletions

View File

@ -71,6 +71,7 @@ export default {
return this.$message.error(res.msg) return this.$message.error(res.msg)
} }
this.dataList = this.mixinViewModuleOptions.getDataListIsPage ? res.data.list : res.data this.dataList = this.mixinViewModuleOptions.getDataListIsPage ? res.data.list : res.data
if(!['/sys/notice/page','/sys/notice/mynotice/page'].includes(this.mixinViewModuleOptions.getDataListURL)){//我得通知、通知管理不需要特殊处理
this.dataList.map((item, index) => { this.dataList.map((item, index) => {
if (this.dataList[index].type != null) { if (this.dataList[index].type != null) {
switch (item.type) { switch (item.type) {
@ -91,6 +92,9 @@ export default {
}) })
} }
}) })
}
// 我的代办特殊处理 // 我的代办特殊处理
if (this.mixinViewModuleOptions.getDataListURL === '/act/task/myToDoTaskPage') { if (this.mixinViewModuleOptions.getDataListURL === '/act/task/myToDoTaskPage') {
this.$http.get('/sys/user/info').then(userRes => { this.$http.get('/sys/user/info').then(userRes => {

View File

@ -65,12 +65,12 @@
</template> </template>
</cardDragger> </cardDragger>
<!-- 编辑卡片按钮 --> <!-- 编辑卡片按钮 -->
<div v-show="isShowEdit" class="resource-manager-edit-card"> <div @click.stop="editTopicCard" v-show="isShowEdit" class="resource-manager-edit-card">
<div> <div>
<div /> <div />
</div> </div>
<div> <div>
<span @click.stop="editTopicCard">{{ <span>{{
isRemoveCard ? '完成' : '编辑' isRemoveCard ? '完成' : '编辑'
}}</span> }}</span>
</div> </div>

View File

@ -48,10 +48,12 @@ export default {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.msg) return this.$message.error(res.msg)
} }
this.dataForm = { this.dataForm = {
...this.dataForm, ...this.dataForm,
...res.data ...res.data
} }
console.log("========================this.dataForm",this.dataForm)
}).catch(() => {}) }).catch(() => {})
} }
} }

View File

@ -3,7 +3,7 @@
<!-- 部门发布动态 --> <!-- 部门发布动态 -->
<div class="left container"> <div class="left container">
<content-title :title="title.dynamic"></content-title> <content-title :title="title.dynamic"></content-title>
<div class="dynamic-box" v-loading="loadingDynamic"> <div v-if="(list.length>0)" class="dynamic-box" v-loading="loadingDynamic">
<div class="dynamicView" v-for="(item, index) in list" :key="index" :number="index + 1" :item="item"> <div class="dynamicView" v-for="(item, index) in list" :key="index" :number="index + 1" :item="item">
<div class="wrapper"> <div class="wrapper">
<div class="content"> <div class="content">
@ -16,6 +16,13 @@
</div> </div>
<div class="more" @click="jumpTo">查看更多 ></div> <div class="more" @click="jumpTo">查看更多 ></div>
</div> </div>
<div
class="no-data"
v-else
style="display: flex; align-items: center; justify-content: center"
>
暂无数据
</div>
</div> </div>
<!-- 部门推荐能力 --> <!-- 部门推荐能力 -->
@ -156,7 +163,14 @@ export default {
box-sizing: border-box; box-sizing: border-box;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
.no-data {
width: 800px;
height: 335px;
line-height: 335px;
font-size: 16px;
color: #212121;
text-align: center;
}
.container { .container {
background: #fff; background: #fff;
width: 800px; width: 800px;

View File

@ -68,7 +68,7 @@ export default {
const valueItem = y + '-' + m + '-' + d // const valueItem = y + '-' + m + '-' + d //
days.unshift(valueItem) // days.unshift(valueItem) //
} }
console.log('最近七天日期:', days)
return days return days
}, },
@ -88,6 +88,7 @@ export default {
endDate: this.endDate endDate: this.endDate
}, },
(res) => { (res) => {
// if (res.data.code !== 0) { // if (res.data.code !== 0) {
// return // return
// } // }
@ -124,7 +125,7 @@ export default {
handleTitleSwitch (idx) { handleTitleSwitch (idx) {
this.selectedTitle = idx this.selectedTitle = idx
this.startDate = this.getData(this.selectedTitle == 0 ? 7 : 30) this.startDate = this.getData(this.selectedTitle == 0 ? 7 : 30)
console.log(this.startDate)
this.initChart() this.initChart()
}, },
getData (aa) { getData (aa) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 B

View File

@ -12,9 +12,10 @@
<p v-if="item == '.'" :key="index"> <p v-if="item == '.'" :key="index">
{{ item }} {{ item }}
</p> </p>
<span v-else>{{ item }}</span> <span @click="jumpToPage" v-else>{{ item }}</span>
</template> </template>
<div class="mianJi" >万元</div> <div class="mianJi" >万元</div>
<!-- <div stype="margin-left:10px" ><img src="./image/jump.png"/></div> -->
</div> </div>
<div style="color: #bed1df; font-size: 16px"> <div style="color: #bed1df; font-size: 16px">
资源参考价格由部门提供或参考市场价格设定 资源参考价格由部门提供或参考市场价格设定
@ -50,6 +51,7 @@
import ReservoirRight from './components/ReservoirRight' import ReservoirRight from './components/ReservoirRight'
import ReservoirBottom from './components/ReservoirBottom' import ReservoirBottom from './components/ReservoirBottom'
import { NumbersConvertedToArrays } from '@/utils/arrayMethod.js' import { NumbersConvertedToArrays } from '@/utils/arrayMethod.js'
import Cookies from 'js-cookie'
export default { export default {
//import使 //import使
components: { components: {
@ -87,6 +89,11 @@
watch: {}, watch: {},
// //
methods: { methods: {
//
jumpToPage(){
Cookies.remove('JSESSIONID')
window.open(window.SITE_CONFIG.backUrl + '/#/assetReport-index')
},
getSaveMoney() { getSaveMoney() {
getApplyPriceCount().then((res) => { getApplyPriceCount().then((res) => {
this.saveMonmy = NumbersConvertedToArrays(res.data.data) this.saveMonmy = NumbersConvertedToArrays(res.data.data)
@ -174,6 +181,7 @@
color: #bed1df; color: #bed1df;
margin-left: 100px; margin-left: 100px;
span { span {
cursor: pointer;
width: 36px; width: 36px;
// height: 45px; // height: 45px;
// line-height: 45px; // line-height: 45px;
@ -187,6 +195,10 @@
margin-right: 3px; margin-right: 3px;
font-family: DinPro-Bold; font-family: DinPro-Bold;
}
span:hover{
color: #f2bc0a;
} }
.mianJi { .mianJi {
margin-top: 6px; margin-top: 6px;

View File

@ -60,10 +60,10 @@
申请使用 申请使用
</a-button> </a-button>
<a-button type="primary" @click="addShoppingCart()"> <a-button type="primary" @click="addShoppingCart()">
<template #icon> <!-- <template #icon>
<shopping-cart-outlined /> <shopping-cart-outlined />
</template> </template> -->
加入申购车 {{ props.dataList.isInShoppingCart ? '已' : '' }}加入申购车
</a-button> </a-button>
<a-button type="primary" @click="goTOCollection()"> <a-button type="primary" @click="goTOCollection()">
{{ props.dataList.isCollect == 'true' ? '已' : '' }}收藏 {{ props.dataList.isCollect == 'true' ? '已' : '' }}收藏

View File

@ -64,8 +64,8 @@
type="primary" type="primary"
@click="addShoppingCart()" @click="addShoppingCart()"
> >
<template #icon><shopping-cart-outlined /></template> <!-- <template #icon><shopping-cart-outlined /></template> -->
加入购物车 {{ props.dataList.isInShoppingCart ? '已' : '' }}加入购物车
</a-button> </a-button>
<a-button type="primary" @click="goTOCollection()"> <a-button type="primary" @click="goTOCollection()">
{{ props.dataList.isCollect == 'true' ? '已' : '' }}收藏 {{ props.dataList.isCollect == 'true' ? '已' : '' }}收藏

View File

@ -57,10 +57,10 @@
申请使用 申请使用
</a-button> </a-button>
<a-button type="primary" @click="addShoppingCart()"> <a-button type="primary" @click="addShoppingCart()">
<template #icon> <!-- <template #icon>
<shopping-cart-outlined /> <shopping-cart-outlined />
</template> </template> -->
加入申购车 {{ props.dataList.isInShoppingCart ? '已' : '' }}加入申购车
</a-button> </a-button>
<a-button type="primary" @click="goTOCollection()"> <a-button type="primary" @click="goTOCollection()">
{{ props.dataList.isCollect == 'true' ? '已' : '' }}收藏 {{ props.dataList.isCollect == 'true' ? '已' : '' }}收藏

View File

@ -55,8 +55,8 @@
申请使用 申请使用
</a-button> </a-button>
<a-button type="primary" @click="addShoppingCart()"> <a-button type="primary" @click="addShoppingCart()">
<template #icon><shopping-cart-outlined /></template> <!-- <template #icon><shopping-cart-outlined /></template> -->
加入购物车 {{ props.dataList.isInShoppingCart ? '已' : '' }}加入购物车
</a-button> </a-button>
<a-button type="primary" @click="goTOCollection()"> <a-button type="primary" @click="goTOCollection()">
{{ props.dataList.isCollect == 'true' ? '已' : '' }}收藏 {{ props.dataList.isCollect == 'true' ? '已' : '' }}收藏

View File

@ -63,8 +63,8 @@
).length === 0 ).length === 0
" "
> >
<template #icon><shopping-cart-outlined /></template> <!-- <template #icon><shopping-cart-outlined /></template> -->
加入申购车 {{ props.dataList.isInShoppingCart ? '已' : '' }}加入申购车
</a-button> </a-button>
<a-button type="primary" @click="goTOCollection()"> <a-button type="primary" @click="goTOCollection()">
{{ props.dataList.isCollect == 'true' ? '已' : '' }}收藏 {{ props.dataList.isCollect == 'true' ? '已' : '' }}收藏