update
1.更换部分模块接口
This commit is contained in:
@@ -153,7 +153,7 @@ export function infoContent(res: any) {
|
||||
</div>
|
||||
<div class="modal-item" style="margin: 0 0 5px 0;">
|
||||
<span class="item-one">地点:</span>
|
||||
<span class="item-two">${res.name ? res.name : '--'}</span>
|
||||
<span class="item-two">${res.address ? res.address : '--'}</span>
|
||||
</div>
|
||||
<div class="modal-btn">
|
||||
<div class="view-btn viewBtn" id='${JSON.stringify(res)}'>查看详情</div>
|
||||
@@ -630,12 +630,12 @@ export const centerMapColumns = [
|
||||
},
|
||||
{
|
||||
title: '检查类型',
|
||||
dataIndex: 'checkType',
|
||||
key: 'checkType',
|
||||
customRender: ({ text }) => {
|
||||
const dddd = checkData.filter((item) => item.value == text);
|
||||
return dddd[0].label;
|
||||
},
|
||||
dataIndex: 'checkTypeName',
|
||||
key: 'checkTypeName',
|
||||
// customRender: ({ text }) => {
|
||||
// const dddd = checkData.filter((item) => item.value == text) || [];
|
||||
// return dddd.length > 0 ? dddd[0].label : '';
|
||||
// },
|
||||
},
|
||||
{
|
||||
title: '去年检查值',
|
||||
@@ -679,19 +679,19 @@ export const centerMapFromList = [
|
||||
placeholder: '请输入姓名',
|
||||
defaultValue: '',
|
||||
},
|
||||
{
|
||||
label: '检查类型',
|
||||
field: 'checkType',
|
||||
type: 'select',
|
||||
placeholder: '请输入检查类型',
|
||||
options: checkData,
|
||||
defaultValue: '',
|
||||
},
|
||||
// {
|
||||
// label: '检查类型',
|
||||
// field: 'checkType',
|
||||
// type: 'select',
|
||||
// placeholder: '请输入检查类型',
|
||||
// options: checkData,
|
||||
// defaultValue: '',
|
||||
// },
|
||||
{
|
||||
label: '是否成功控降',
|
||||
field: 'successFlag',
|
||||
type: 'select',
|
||||
placeholder: '请输入是否成功控降',
|
||||
placeholder: '请选择是否成功控降',
|
||||
options: isTrueOfFalse,
|
||||
defaultValue: '',
|
||||
},
|
||||
@@ -720,18 +720,21 @@ export const twoRNewColumns = [
|
||||
dataIndex: 'sex',
|
||||
key: 'sex',
|
||||
width: 50,
|
||||
customRender: ({ text }) => {
|
||||
switch (text) {
|
||||
case '1':
|
||||
return '女';
|
||||
case '2':
|
||||
return '男';
|
||||
default:
|
||||
return '';
|
||||
}
|
||||
},
|
||||
},
|
||||
{
|
||||
title: '年龄',
|
||||
dataIndex: 'age',
|
||||
key: 'age',
|
||||
customRender: ({ text }) => {
|
||||
if (text == '1') {
|
||||
return '女';
|
||||
} else {
|
||||
return '男';
|
||||
}
|
||||
},
|
||||
width: 50,
|
||||
},
|
||||
{
|
||||
@@ -825,7 +828,7 @@ export const twoRNewForm = [
|
||||
},
|
||||
{
|
||||
label: '单位',
|
||||
field: 'orgName',
|
||||
field: 'workUnit',
|
||||
type: 'input',
|
||||
placeholder: '请输入单位',
|
||||
defaultValue: '',
|
||||
|
||||
Reference in New Issue
Block a user