This commit is contained in:
@jyuhsin
2025-08-30 15:45:15 +08:00
parent dab28bcf15
commit 57b0cc2244
26 changed files with 3366 additions and 1773 deletions
@@ -9,51 +9,51 @@ layout("/layouts/platform.html"){
<el-card shadow="never">
<div class="btn-group tool-button mt5">
<el-date-picker
placeholder="年度"
value-format="yyyy"
format="yyyy年"
placeholder="年度"
type="year"
v-model="pageForm.year"
type="year">
value-format="yyyy">
</el-date-picker>
</div>
<div class="btn-group tool-button mt5">
<el-input placeholder="请输入内容" v-model="pageForm.searchKeyword" clearable @keyup.enter.native="doSearch">
<el-select v-model="pageForm.searchName" slot="prepend" placeholder="查询类型" style="width: 120px;">
<el-input @keyup.enter.native="doSearch" clearable placeholder="请输入内容" v-model="pageForm.searchKeyword">
<el-select placeholder="查询类型" slot="prepend" style="width: 120px;" v-model="pageForm.searchName">
<el-option label="内容" value="zcmc"></el-option>
<el-option label="编号" value="zcbh"></el-option>
</el-select>
</el-input>
</div>
<div class="btn-group tool-button mt5">
<el-select v-model="pageForm.contentCode" clearable placeholder="所属类别">
<el-option v-for="item in lbList" :label="item.content+''+item.contentCode+''"
:value="item.contentCode"></el-option>
<el-select clearable placeholder="所属类别" v-model="pageForm.contentCode">
<el-option :label="item.content+''+item.contentCode+''" :value="item.contentCode"
v-for="item in lbList"></el-option>
</el-select>
</div>
<div class="btn-group tool-button mt5">
<el-button type="primary" icon="el-icon-search" @click="doSearch">搜索</el-button>
<el-button @click="doSearch" icon="el-icon-search" type="primary">搜索</el-button>
</div>
</el-card>
<el-card shadow="never" class="mt10">
<table-tool label="资产折旧信息" :app="this"></table-tool>
<el-card class="mt10" shadow="never">
<table-tool :app="this" label="资产折旧信息"></table-tool>
<el-table :data="tableData" :size="tableSize" style="width: 100%">
<el-table-column type="index" label="序号" width="80px"></el-table-column>
<el-table-column label="序号" type="index" width="80px"></el-table-column>
<el-table-column
align="center"
header-align="center"
v-for="column in tableColumns"
show-overflow-tooltip
:label="column.label"
:prop="column.prop"
:sortable="column.sortable"
align="center"
header-align="center"
show-overflow-tooltip
v-for="column in tableColumns"
>
</el-table-column>
<el-table-column align="center" header-align="center" label="操作" width="150">
<el-table-column align="center" header-align="center" label="操作" width="250">
<template scope="{row}">
<el-button size="mini" type="danger" @click="doDelete(row.id)">删除</el-button>
<el-button @click="doDelete(row.id)" size="small" type="danger">删除</el-button>
</template>
</el-table-column>
</el-table>
@@ -123,4 +123,4 @@ layout("/layouts/platform.html"){
<!--#
}
#-->
#-->