refactor(webapp): 更新项目配置和功能
- 修改基础 URL为本地开发环境 - 更新数据库文件路径 - 调整发票报销流程,增加"完成"按钮 - 优化发票列表页面,添加搜索功能 - 新增发票复核页面 - 更新文件上传逻辑,使用动态 URL
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
<script setup lang="ts">
|
||||
|
||||
import {ref} from "vue";
|
||||
|
||||
import {h,ref} from "vue";
|
||||
import {
|
||||
SearchOutlined
|
||||
} from '@ant-design/icons-vue'
|
||||
const columns = [
|
||||
// {
|
||||
// title: '发票代码',
|
||||
@@ -60,14 +62,53 @@ const columns = [
|
||||
}
|
||||
|
||||
]
|
||||
// 数据
|
||||
let data = ref( [])
|
||||
|
||||
let searchParams = ref({
|
||||
page: 1,
|
||||
pageSize: 10,
|
||||
data: {
|
||||
status: '1'
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="table-operations">
|
||||
<a-row :gutter="20" >
|
||||
<a-col :span="22" :align="'end'" offset="2">
|
||||
<a-form v-model:value="searchParams" layout="inline">
|
||||
<a-form-item label="开票时间">
|
||||
<a-range-picker></a-range-picker>
|
||||
</a-form-item>
|
||||
<a-form-item label="销售方">
|
||||
<a-input></a-input>
|
||||
</a-form-item>
|
||||
<a-form-item label="验证结果">
|
||||
<a-radio-group v-model:value="searchParams.data.status">
|
||||
<a-radio-button value="1">正常</a-radio-button>
|
||||
<a-radio-button value="2">异常</a-radio-button>
|
||||
</a-radio-group>
|
||||
</a-form-item>
|
||||
<a-form-item>
|
||||
<a-button type="primary" :icon="h(SearchOutlined)">搜索</a-button>
|
||||
</a-form-item>
|
||||
</a-form>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</div>
|
||||
<a-table :columns="columns" :data-source="data">
|
||||
</a-table>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.table-operations {
|
||||
margin-bottom: 16px;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.table-operations > button {
|
||||
margin-right: 8px;
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,11 @@
|
||||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user