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