Commit 5fd1bf47 authored by yanzhengyang's avatar yanzhengyang

费用审批-差旅列表修改

parent 98b27f92
...@@ -109,6 +109,14 @@ export function tripApplicationPassNotPass(query) { ...@@ -109,6 +109,14 @@ export function tripApplicationPassNotPass(query) {
} }
// 4.差旅报销审批 // 4.差旅报销审批
//差旅报销-列表
export function travelOnBusinessList(query) {
return request({
url: '/expenseApproval/travelExpenseList',
method: 'get',
params: query
})
}
//差旅报销-通过 //差旅报销-通过
export function travelOnBusinessPass(query) { export function travelOnBusinessPass(query) {
return request({ return request({
......
...@@ -189,11 +189,11 @@ import { ...@@ -189,11 +189,11 @@ import {
getApproveNodeList, getApproveNodeList,
getProjectName, getProjectName,
getRoleId, getRoleId,
travelOnBusinessList,
travelOnBusinessPass, travelOnBusinessPass,
travelOnBusinessNotPass, getProjectManagerName travelOnBusinessNotPass, getProjectManagerName
} from "../../../../api/examineAndApprove/examineAndApprove.js"; } from "@/api/examineAndApprove/examineAndApprove.js";
const { project_status,cost_daily_status,project_type} = proxy.useDict('project_status', 'cost_daily_status','project_type'); const { cost_daily_status,project_type} = proxy.useDict( 'cost_daily_status','project_type');
import {listTripApplication, listTripReimburse} from "../../../../api/costManage/cost.js";
import {useRouter} from "vue-router"; import {useRouter} from "vue-router";
import {ArrowDown} from "@element-plus/icons-vue"; import {ArrowDown} from "@element-plus/icons-vue";
const router = useRouter(); const router = useRouter();
...@@ -297,7 +297,7 @@ const getRoleInfo = ()=>{ ...@@ -297,7 +297,7 @@ const getRoleInfo = ()=>{
// 列表 // 列表
const ReimbursementRequestList = ref([]); const ReimbursementRequestList = ref([]);
const getList=()=> { const getList=()=> {
listTripReimburse(queryParams).then(response => { travelOnBusinessList(queryParams).then(response => {
console.log("差旅报销-列表",response.rows) console.log("差旅报销-列表",response.rows)
total.value = response.total total.value = response.total
ReimbursementRequestList.value = response.rows ReimbursementRequestList.value = response.rows
......
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
</template> </template>
<script setup name="detail"> <script setup name="detail">
import {detailTripReimburse} from "../../../api/costManage/cost.js"; import {detailTripReimburse} from "@/api/costManage/cost.js";
import {useRouter} from 'vue-router'; import {useRouter} from 'vue-router';
const { proxy } = getCurrentInstance(); const { proxy } = getCurrentInstance();
const { project_type } = proxy.useDict('project_type'); const { project_type } = proxy.useDict('project_type');
......
...@@ -86,7 +86,7 @@ ...@@ -86,7 +86,7 @@
<script setup name="detail"> <script setup name="detail">
import {listUser} from "@/api/system/user.js"; 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'; import {useRouter} from 'vue-router';
const { proxy } = getCurrentInstance(); const { proxy } = getCurrentInstance();
const { project_type } = proxy.useDict('project_type'); 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