This commit is contained in:
@jyuhsin
2026-03-11 15:31:57 +08:00
parent 61511ae0e9
commit 39a0a32dd9
8 changed files with 122 additions and 33 deletions
@@ -3,6 +3,7 @@ window.proposal = {
UNSUBMIT: 100,
INVIRTE: 150,
DELEGATION: 200,
COMMITTEE_READ: 260,
CASE: 300,
PRINCIPALREAD: 330,
CASEUNIT: 400,
@@ -13,10 +13,10 @@ layout("/layouts/platform.html"){
<el-card shadow="never" class="mt20">
<table-tool label="委员查阅提案" :app="this">
<template #func>
<el-button @click="doSend" size="small" type="primary"
<!--<el-button @click="doSend" size="small" type="primary"
v-if="(${@shiro.hasRole('T01') || @shiro.hasRole('sysadmin')} && pageForm.isAudit==false)"
>一键提醒
</el-button>
</el-button>-->
</template>
</table-tool>
<el-table :data="tableData" align="center" header-align="center" :row-key="(row)=>{row.id}"
@@ -42,25 +42,25 @@ layout("/layouts/platform.html"){
<el-link type="primary" @click="openView(row)">{{row.proposalName}}</el-link>
</template>
<template v-else-if="column.prop=='auditState'" scope="{row}">
<span class="text-success" v-if="row.stateCode!=proposal.DELEGATION">已审核</span>
<span class="text-primary" v-if="row.stateCode==proposal.DELEGATION">待审核</span>
<span class="text-success" v-if="row.stateCode > proposal.COMMITTEE_READ">已审核</span>
<span class="text-primary" v-if="row.stateCode == proposal.COMMITTEE_READ">待审核</span>
</template>
</el-table-column>
<el-table-column align="center" header-align="center" label="操作" fixed="right" width="200px">
<template scope="{row}">
<!-- <el-button type="primary" size="mini" @click="openView(row)">-->
<!-- 查阅-->
<!-- </el-button>-->
<!-- <el-button type="primary" size="mini"-->
<!-- v-if="row.isOpinion==0&&[proposal.CASE].includes(row.stateCode)"-->
<!-- @click="openAudit(row.id)">-->
<!-- 提出意见-->
<!-- </el-button>-->
<el-button type="primary" size="mini" @click="openView(row)">
查阅
</el-button>
<el-button type="primary" size="mini"
v-if="row.isOpinion==0&&[proposal.COMMITTEE_READ].includes(row.stateCode)"
@click="openAudit(row.id)">
提出意见
</el-button>
<el-button type="primary" size="mini" @click="openRead(row)">
<!--<el-button type="primary" size="mini" @click="openRead(row)">
查阅
</el-button>
</el-button>-->
</template>
</el-table-column>
@@ -146,18 +146,18 @@ layout("/layouts/platform.html"){
{prop: 'proposalName', label: '提案名称', width: "300", disabled: true},
{prop: 'username', label: '提案人', disabled: true},
{prop: 'typeCode', label: '提案类型编码', sortable: true, checked: 0},
{prop: 'typeName', label: '提案类型', sortable: true, checked: 0},
{prop: 'typeName', label: '提案类型', sortable: true, checked: 1},
{prop: 'mannerCode', label: '提案方式编码', sortable: true, checked: 0},
{prop: 'mannerName', label: '提案方式', sortable: true, checked: 0},
{prop: 'meetingName', label: '届次', sortable: true, checked: 0},
{prop: 'mannerName', label: '提案方式', sortable: true, checked: 1},
{prop: 'meetingName', label: '届次', sortable: true, checked: 1},
{prop: 'delegationCode', label: '代表团编码', sortable: true, checked: 0},
{prop: 'delegationName', label: '代表团', sortable: true, checked: 0},
{prop: 'delegationName', label: '代表团', sortable: true, checked: 1},
{prop: 'stateName', label: '提案状态', sortable: true},
{prop: 'caseNum', label: '立案票数', sortable: true},
// {prop: 'caseNum', label: '立案票数', sortable: true},
// {prop: 'emphasisNum', label: '重点提案票数', sortable: true},
// {prop: 'ordinaryNum', label: '普通提案票数', sortable: true},
{prop: 'opinionNum', label: '意见建议票数', sortable: true},
{prop: 'notGiveNum', label: '不予立案票数', sortable: true},
// {prop: 'opinionNum', label: '意见建议票数', sortable: true},
// {prop: 'notGiveNum', label: '不予立案票数', sortable: true},
],
@@ -272,4 +272,4 @@ layout("/layouts/platform.html"){
<!--#
}
#-->
#-->