提交 1136219a authored 作者: 张伊明's avatar 张伊明

fix 根据fk修改意见修改法案首页界面

上级 28ad9e83
......@@ -88,7 +88,7 @@
<div class="main">
<div class="item"><div class="item-left">提案人:</div><div class="item-right">{{ item.tcr }}</div></div>
<div class="item"><div class="item-left">委员会:</div><div class="item-right">{{ item.wyh }}</div></div>
<div class="item"><div class="item-left">相关领域:</div><div class="item-right1"><div class="tag" v-for="(val, idx) in item.areaList" :key="`${item.billId}-${val}-${idx}`">{{ val }}</div></div></div>
<div class="item"><div class="item-left">相关领域:</div><div class="item-right1"><AreaTag v-for="(val, idx) in item.areaList" :key="`${item.billId}-${val}-${idx}`" :tagName="val" /></div></div>
<div class="item"><div class="item-left">最新动议:</div><div class="item-right"><CommonPrompt :content="item.zxdy" /></div></div>
<div class="item">
<div class="item-left">法案进展:</div>
......@@ -308,7 +308,7 @@ const handleClickTab = tab => {
};
// sortFun: true 正序 / false 倒序(法案接口字段)
const releaseTime = ref(true);
const releaseTime = ref(false);
const releaseTimeList = ref([
{ label: "发布时间正序", value: true },
{ label: "发布时间倒序", value: false }
......
import { MUTICHARTCOLORS } from '../../../../common/constant'
const truncateLabel = (value, maxLen = 6) => {
if (value === null || value === undefined) return ''
const str = String(value)
......@@ -8,8 +10,9 @@ const truncateLabel = (value, maxLen = 6) => {
const getPieChart = (data, colorList, options = {}) => {
const showCount = options.showCount !== false
const chartColors = Array.isArray(colorList) && colorList.length ? colorList : MUTICHARTCOLORS
let option = {
// color: colorList,
color: chartColors,
tooltip: showCount
? undefined
: {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论