Commit 5fd1bf47 authored by yanzhengyang's avatar yanzhengyang

费用审批-差旅列表修改

parent 98b27f92
......@@ -109,6 +109,14 @@ export function tripApplicationPassNotPass(query) {
}
// 4.差旅报销审批
//差旅报销-列表
export function travelOnBusinessList(query) {
return request({
url: '/expenseApproval/travelExpenseList',
method: 'get',
params: query
})
}
//差旅报销-通过
export function travelOnBusinessPass(query) {
return request({
......
......@@ -189,11 +189,11 @@ import {
getApproveNodeList,
getProjectName,
getRoleId,
travelOnBusinessList,
travelOnBusinessPass,
travelOnBusinessNotPass, getProjectManagerName
} from "../../../../api/examineAndApprove/examineAndApprove.js";
const { project_status,cost_daily_status,project_type} = proxy.useDict('project_status', 'cost_daily_status','project_type');
import {listTripApplication, listTripReimburse} from "../../../../api/costManage/cost.js";
} from "@/api/examineAndApprove/examineAndApprove.js";
const { cost_daily_status,project_type} = proxy.useDict( 'cost_daily_status','project_type');
import {useRouter} from "vue-router";
import {ArrowDown} from "@element-plus/icons-vue";
const router = useRouter();
......@@ -297,7 +297,7 @@ const getRoleInfo = ()=>{
// 列表
const ReimbursementRequestList = ref([]);
const getList=()=> {
listTripReimburse(queryParams).then(response => {
travelOnBusinessList(queryParams).then(response => {
console.log("差旅报销-列表",response.rows)
total.value = response.total
ReimbursementRequestList.value = response.rows
......
......@@ -82,7 +82,7 @@
</template>
<script setup name="detail">
import {detailTripReimburse} from "../../../api/costManage/cost.js";
import {detailTripReimburse} from "@/api/costManage/cost.js";
import {useRouter} from 'vue-router';
const { proxy } = getCurrentInstance();
const { project_type } = proxy.useDict('project_type');
......
......@@ -86,7 +86,7 @@
<script setup name="detail">
import {listUser} from "@/api/system/user.js";
import { updateTripReimburse,projectDetailById, projectList, detailTripReimburse} from "@/api/costManage/cost.js";
import { updateTripReimburse, projectList, detailTripReimburse} from "@/api/costManage/cost.js";
import {useRouter} from 'vue-router';
const { proxy } = getCurrentInstance();
const { project_type } = proxy.useDict('project_type');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment