更新财务
This commit is contained in:
parent
ce81a9e4ca
commit
530e524ac8
@ -47,6 +47,7 @@
|
|||||||
</el-card>
|
</el-card>
|
||||||
<el-card class="!border-none mt-4" shadow="never">
|
<el-card class="!border-none mt-4" shadow="never">
|
||||||
<el-table size="large" v-loading="pager.loading" :data="pager.lists">
|
<el-table size="large" v-loading="pager.loading" :data="pager.lists">
|
||||||
|
<el-table-column label="ID" prop="id" min-width="80" />
|
||||||
<el-table-column label="用户编号" prop="user_info.sn" min-width="100" />
|
<el-table-column label="用户编号" prop="user_info.sn" min-width="100" />
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label="归属公司"
|
label="归属公司"
|
||||||
@ -117,7 +118,7 @@ import { usePaging } from "@/hooks/usePaging";
|
|||||||
import { useRoute } from "vue-router";
|
import { useRoute } from "vue-router";
|
||||||
|
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
console.log("company_id", route.query?.company_id);
|
// console.log("company_id", route.query?.company_id);
|
||||||
|
|
||||||
const queryParams = reactive({
|
const queryParams = reactive({
|
||||||
user_info: "",
|
user_info: "",
|
||||||
|
@ -147,23 +147,18 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup name="companyLists">
|
<script lang="ts" setup name="financeCompanyLists">
|
||||||
import { usePaging } from "@/hooks/usePaging";
|
import { usePaging } from "@/hooks/usePaging";
|
||||||
import { useDictData } from "@/hooks/useDictOptions";
|
import { useDictData } from "@/hooks/useDictOptions";
|
||||||
import useUserStore from "@/stores/modules/user";
|
import useUserStore from "@/stores/modules/user";
|
||||||
import {
|
import { apiCompanyLists } from "@/api/company";
|
||||||
apiCompanyLists,
|
|
||||||
apiCompanyDelete,
|
|
||||||
authentication,
|
|
||||||
} from "@/api/company";
|
|
||||||
import { timeFormat } from "@/utils/util";
|
import { timeFormat } from "@/utils/util";
|
||||||
import feedback from "@/utils/feedback";
|
|
||||||
import { dictDataLists } from "@/api/setting/dict";
|
import { dictDataLists } from "@/api/setting/dict";
|
||||||
import { getRoutePath } from "@/router";
|
import { getRoutePath } from "@/router";
|
||||||
import { dictContractTypeList } from "@/utils/dict.ts";
|
import { dictContractTypeList } from "@/utils/dict.ts";
|
||||||
|
|
||||||
const userStore = useUserStore();
|
const userStore = useUserStore();
|
||||||
console.log(userStore.userInfo.company_id);
|
// console.log(userStore.userInfo.company_id);
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
const company_type_show = ref(true);
|
const company_type_show = ref(true);
|
||||||
|
|
||||||
@ -209,23 +204,6 @@ const { pager, getLists, resetParams, resetPage } = usePaging({
|
|||||||
params: queryParams,
|
params: queryParams,
|
||||||
});
|
});
|
||||||
|
|
||||||
// 删除
|
|
||||||
const handleDelete = async (id: number | any[]) => {
|
|
||||||
await feedback.confirm("确定要删除?");
|
|
||||||
await apiCompanyDelete({ id });
|
|
||||||
getLists();
|
|
||||||
};
|
|
||||||
const handleAuthentication = async (id: number | any[]) => {
|
|
||||||
await feedback.confirm("确定要认证?");
|
|
||||||
await authentication({ id });
|
|
||||||
getLists();
|
|
||||||
};
|
|
||||||
|
|
||||||
// 审核中
|
|
||||||
const auditing = () => {
|
|
||||||
ElMessage.warning("请等待合同审核完成!");
|
|
||||||
};
|
|
||||||
|
|
||||||
getLists();
|
getLists();
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user