修改集团及基地图表样式

This commit is contained in:
2026-03-20 16:13:53 +08:00
parent 2465f89d26
commit bb66f97b95
257 changed files with 25365 additions and 6814 deletions

View File

@@ -0,0 +1,102 @@
<template>
<div class="app-container">
<search-bar :formConfigs="formConfig" ref="searchBarForm" @headBtnClick="buttonClick" />
<base-table v-if="tableData.length" class="right-aside" :table-props="tableProps"
:page="listQuery.pageNo" :limit="listQuery.pageSize" :table-data="tableData">
<method-btn v-if="tableBtn.length" slot="handleBtn" :width="200" label="操作" :method-list="tableBtn"
@clickBtn="handleClick" />
</base-table>
<pagination :limit.sync="listQuery.pageSize" :page.sync="listQuery.pageNo" :total="total" @pagination="getDataList" :background="true" />
</div>
</template>
<script>
const tableProps = [
{
prop: 'name',
label: '重点工作'
},
{
prop: 'code',
label: '所属年份'
},
{
prop: 'jd',
label: '累计值计算方式'
},
];
export default {
name: 'GroupKeyTaskConfiguration',
data () {
return {
formConfig: [
{
type: 'input',
label: '重点工作',
placeholder: '重点工作',
param: 'cName'
},
{
type: 'datePicker',
label: '所属年份',
dateType: 'year',
format: 'yyyy',
valueFormat: 'yyyy',
placeholder: '所属年份',
param: 'searchTime1',
width: 150
},
{
type: 'button',
btnName: '查询',
name: 'search',
color: 'primary',
},
{
type: 'separate',
},
{
type: 'button',
btnName: '新增',
name: 'add',
color: 'success',
plain: true
}
],
listQuery:{
pageSize:20,
pageNo:1
},
total:2,
tableData:[{name:'111'}],
tableProps,
tableBtn:[
{
type: 'edit',
btnName: '编辑',
},
{
type: 'delete',
btnName: '删除',
},
]
}
},
methods: {
buttonClick(val) {
console.log(val)
},
getDataList() {
},
handleClick() {}
}
}
</script>
<style lang="scss" scoped>
.app-container {
padding: 16px;
}
</style>