generated from Leo_Ding/web-template
代码修改
This commit is contained in:
parent
a6aab0cafd
commit
b86b647682
@ -21,3 +21,5 @@ export const createOrderItem=(params)=> request.basic.post('/api/v1/orders', par
|
||||
|
||||
//转入转出
|
||||
export const inOutLogs=(params)=>request.basic.post('/api/v1/in-out-logs',params)
|
||||
|
||||
export const changeItem = (id, params) => request.basic.put(`/api/v1/customers/change/${id}`, params)
|
||||
|
||||
@ -18,8 +18,8 @@
|
||||
|
||||
<!-- 身份证号 -->
|
||||
<a-col :span="8">
|
||||
<a-form-item label="身份证号" name="idNumber">
|
||||
<a-input v-model:value="searchFormData.idNumber" placeholder="请输入身份证号" />
|
||||
<a-form-item label="身份证号" name="identityNo">
|
||||
<a-input v-model:value="searchFormData.identityNo" placeholder="请输入身份证号" />
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
@ -30,6 +30,7 @@
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
|
||||
|
||||
<!-- 操作按钮 -->
|
||||
<a-col class="align-left" :span="8">
|
||||
<a-space>
|
||||
@ -59,11 +60,19 @@
|
||||
<template v-if="column.key === 'serialNumber'">
|
||||
<span>{{ index + 1 }}</span>
|
||||
</template>
|
||||
|
||||
<template v-if="column.key === 'healthStatus'">
|
||||
|
||||
<span>{{ healthStatusMap[record.healthStatus]}}</span>
|
||||
</template>
|
||||
|
||||
<template v-if="'action' === column.key">
|
||||
<x-action-button @click="$refs.editDialogRef.handleCreate(record)">
|
||||
<span>分配</span>
|
||||
</x-action-button>
|
||||
</template>
|
||||
|
||||
|
||||
</template>
|
||||
</a-table>
|
||||
</a-card>
|
||||
@ -88,6 +97,14 @@ defineOptions({
|
||||
})
|
||||
const dicsStore = useDicsStore()
|
||||
|
||||
const healthStatusMap = {
|
||||
'Full_Capability': '能力完好',
|
||||
'Mild_Disability': '轻度失能',
|
||||
'Moderate_Disability': '中度失能',
|
||||
'Severe_Disability': '重度失能',
|
||||
'Total_Disability': '完全失能',
|
||||
}
|
||||
|
||||
const columns = [
|
||||
{
|
||||
title: '序号',
|
||||
@ -119,8 +136,8 @@ const columns = [
|
||||
},
|
||||
{
|
||||
title: '身份证号',
|
||||
dataIndex: 'idNumber',
|
||||
key: 'idNumber',
|
||||
dataIndex: 'identityNo',
|
||||
key: 'identityNo',
|
||||
align: 'center',
|
||||
width: 180,
|
||||
},
|
||||
@ -283,6 +300,7 @@ async function getPageList() {
|
||||
.getProjectList({
|
||||
pageSize,
|
||||
current: current,
|
||||
status : "Initialize",
|
||||
...searchFormData.value,
|
||||
})
|
||||
.catch(() => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user