12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <template>
- <scroll-view style="flex:1">
- <view class="tableTop">
- <u-subsection bg-color="rgb(215,224,233)" button-color="rgb(0,99,208)" active-color="white" :list="list" ></u-subsection>
- <view class="operation">
- <uni-easyinput placeholder="请输入编号"></uni-easyinput>
- <u-button type="primary" size="medium" ripple>查询</u-button>
- <u-button size="medium" ripple>刷新</u-button>
- </view>
- </view>
- <u-line length="95%" margin="auto" color="#000"/>
- <myTable :column="column" :tableData="tableData" blUrl="/pages/information/information?url=/pages/handleFile/handleFile"></myTable>
- </scroll-view>
- </template>
- <script setup>
- import { ref } from 'vue';
- import { onLoad, onReady } from"@dcloudio/uni-app"
- import { ApiRequest } from "@/utils/request.js"
- const list = ref([
- {
- name: '待办',
- num: 2
- },
- {
- name: '已办'
- },
- {
- name: '办结',
- num: 6
- }
- ])
-
- const column = ref(["紧急程度", "公文种类", "标题", "发文字号", "主办处室", "是否已阅", "操作"])
- const tableData = ref([
- {
-
- "date": "不紧急",
- "name": "Dcloud1",
- "address": "上海市普陀区金沙江路 1518 弄",
- "fwzh": "1322",
- "zbcs": "政务处",
- "sfyy": "是"
- },
- {
- "date": "不紧急",
- "name": "Dcloud2",
- "address": "上海市普陀区金沙江路 1518 弄",
- "fwzh": "1322",
- "zbcs": "政务处",
- "sfyy": "是"
- }
- ])
- onLoad(()=>{
- console.log('onLoad获取页面传参');
- })
- </script>
- <style lang="scss" scoped>
- ::v-deep .uni-table-scroll{
- margin: 0 50rpx !important;
- width: calc(100vw - 100rpx) !important;
- }
- </style>
|