|
|
|
@ -20,13 +20,13 @@ export const columns: BasicColumn[] = [
|
|
|
|
|
// width: 150,
|
|
|
|
|
// },
|
|
|
|
|
{
|
|
|
|
|
title: '客户参数类型',
|
|
|
|
|
dataIndex: 'paramType',
|
|
|
|
|
title: '客户参数类别',
|
|
|
|
|
dataIndex: 'paramName',
|
|
|
|
|
width: 150,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '客户参数名称',
|
|
|
|
|
dataIndex: 'paramName',
|
|
|
|
|
dataIndex: 'itemName',
|
|
|
|
|
width: 200,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
@ -38,7 +38,7 @@ export const columns: BasicColumn[] = [
|
|
|
|
|
|
|
|
|
|
export const searchFormSchema: FormSchema[] = [
|
|
|
|
|
{
|
|
|
|
|
field: 'paramName',
|
|
|
|
|
field: 'itemName',
|
|
|
|
|
label: '客户参数名称',
|
|
|
|
|
colProps: { span: 6 },
|
|
|
|
|
component: 'Input',
|
|
|
|
@ -70,11 +70,12 @@ export const formSchema: FormSchema[] = [
|
|
|
|
|
GetTenantParamDataSelectList({ code: e }).then((res) => {
|
|
|
|
|
itemNameOption.value = res.data
|
|
|
|
|
})
|
|
|
|
|
if (obj) {
|
|
|
|
|
if (e && obj) {
|
|
|
|
|
formModel.paramName = obj.label
|
|
|
|
|
formModel.paramId = obj.id
|
|
|
|
|
formModel.paramType = obj.type
|
|
|
|
|
} else {
|
|
|
|
|
}
|
|
|
|
|
if (!e && !obj) {
|
|
|
|
|
formModel.paramName = ''
|
|
|
|
|
formModel.paramId = ''
|
|
|
|
|
formModel.paramType = ''
|
|
|
|
|