update: 新疆大屏
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
<template v-else>
|
||||
{{ text }}
|
||||
</template>
|
||||
|
||||
<slot name="bodyCell" v-bind="{ column, record, index, text } || {}"></slot>
|
||||
</template>
|
||||
</a-table>
|
||||
@@ -113,8 +112,8 @@
|
||||
<style scoped lang="less">
|
||||
:deep(.ant-table-thead > tr > th) {
|
||||
color: var(--tableFontColor) !important;
|
||||
background: var(--tableHeadBg) !important;
|
||||
border-top: 1px solid var(--tableHeadBg) !important;
|
||||
background: #073063 !important;
|
||||
border-top: 1px solid #073063 !important;
|
||||
border-bottom: none;
|
||||
padding: 9px 9px;
|
||||
text-align: center;
|
||||
|
||||
@@ -24,7 +24,7 @@ export function useDepart() {
|
||||
async function getOptionData() {
|
||||
const { result = [], code } = await allSecondaryDeparts();
|
||||
if (code == 200) {
|
||||
let res = [{ departName: '长庆油田', orgCode: 'A01' }, ...result];
|
||||
let res = [...result];
|
||||
setOption(res);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user