js
<template>
<div class="content-container">
<div class="content">
<!-- v-if="conditions && conditions.length > 1" -->
<div class="left">
<div class="line" />
<div class="or">
<el-switch v-model="conditionRelation" disabled inline-prompt :active-text="$fairyTale.locale.t('$fairyTale.list.and')" :inactive-text="$fairyTale.locale.t('$fairyTale.list.or')" />
</div>
</div>
<div class="leftContent">
<el-form ref="innerForm" :model="form" :rules="rules">
<el-row v-for="(andItem, idx) in form.condictions" :key="idx" style="width: 700px;" :gutter="10">
<!-- 第一项 -->
<el-col :span="10">
<el-form-item
:prop="'condictions.' + idx + '.instanceCode'"
style="margin-left: 0"
>
<el-select
v-model="andItem.instanceCode"
clearable
placeholder="请选择"
@change="changeuniqueKey($event,andItem,idx)"
>
<el-option
v-for="item in dataList"
:key="item.instanceCode + item.disabled"
:label="item.instanceName"
:value="item.instanceCode"
:disabled="item.disabled"
/>
</el-select>
</el-form-item>
</el-col>
<!-- 第二项 -->
<el-col :span="4">
<el-form-item
:prop="'condictions.' + idx + '.conditionType'"
:rules="{ required: true, message: '请完善信息', trigger: 'blur' }"
>
<el-select
v-model="andItem.conditionType"
clearable
placeholder="请选择"
@change="handleCondictionsChange(andItem, idx)"
>
<el-option
v-for="opt in getFieldProperties(andItem)"
:key="opt.code"
:label="opt.value"
:value="opt.code"
/>
</el-select>
</el-form-item>
</el-col>
<!-- 第三项 -->
<el-col :span="9" v-if="showValueType(andItem)">
<el-form-item
:prop="'condictions.' + idx + '.valueType'"
:rules="{ required: true, message: '请完善信息', trigger: 'blur' }"
>
<el-select
v-model="andItem.valueType"
clearable
placeholder="请选择"
@change="changeValueType(andItem, idx)"
>
<el-option
v-for="item in getFieldvalue(andItem)"
:key="item.code"
:label="item.value"
:value="item.code"
/>
</el-select>
</el-form-item>
</el-col>
<el-col :span="1">
<el-icon style="margin-left: 16px;margin-top: 10px;cursor: pointer;" @click="removeForm(idx)">
<Delete />
</el-icon>
</el-col>
</el-row>
</el-form>
<div class="btn-group" v-show="form.condictions.length < 4">
<span class="add-line" @click="addAndCondition"
> <el-icon><CirclePlus /></el-icon>添加筛选条件</span
>
</div>
</div>
</div>
</div>
</template>
<script setup>
import {
ref,
computed,
watch,
nextTick,
onBeforeMount,
onMounted,
onBeforeUnmount,
getCurrentInstance,
defineOptions
} from 'vue'
import dataList from './mock2.js'
import { Delete } from '@element-plus/icons-vue'
defineOptions({
name: 'rangeConditions'
})
const rules = ref({})
const innerForm = ref(null)
const props = defineProps({
type: {
type: String,
default: ''
},
})
onMounted(() => {
dataList.forEach(one=> {one.disabled=false})
})
const conditionRelation = ref(true)
const options = ref([])
const form = ref({condictions:[]})
// 添加且条件 最多添加20条 满20条隐藏添加按钮
function addAndCondition(orIndex) {
const obj = {
conditionNo: form.value.condictions.length + 1,
conditionType: '',
instanceCode: '',
instanceName:'',
instanceType: '',
value: '',
valueType: '',
keyRelationList: [],
valueRelationList: [],
isFixed: false,
showInput: false,
refreshFlag: 0,
valueRefreshFlag: 0,
enable: true,
parentObject: ''
}
form.value.condictions.push(obj)
}
const changeuniqueKey = (e,andItem,idx)=>{
// 再添加的时候 如果conditions.value 下已经选择过uniqueKey 则不能再添加
const uniqueKeyused = form.value.condictions.map(item => item.instanceCode)
dataList.forEach(item => {
if (uniqueKeyused.includes(item.instanceCode)) {
item.disabled = true
} else {
item.disabled = false
}
})
let { instanceType, instanceName, code } = dataList?.find((v) => v.instanceCode === andItem.instanceCode) || {}
andItem.instanceType = instanceType
andItem.instanceName = instanceName
andItem.objectCode = code
andItem.conditionType = ''
andItem.valueType = ''
andItem.value = ''
nextTick(() => {
innerForm.value?.clearValidate('condictions.' + idx + '.instanceCode')
})
}
// 运算符修改
const handleCondictionsChange = (item, index) => {
item.valueType = ''
item.value = ''
nextTick(() => {
innerForm.value?.clearValidate('condictions.' + index + '.conditionType')
})
}
const getFieldProperties = computed(() => {
return function (item) {
const { instanceCode, instanceType } = item
if (['reference'].includes(instanceType)) {
return [
{ code: 'IS', value: '为空' },
{ code: 'ISN', value: '不为空' },
]
}else{
return dataList.find((v) => v.instanceCode === instanceCode)?.fieldProperties
}
}
})
const changeValueType = (andItem, idx)=>{
}
const getFieldvalue = computed(() => {
return function (item) {
const { instanceCode } = item
return dataList.find((v) => v.instanceCode === instanceCode)?.selectorProperties
}
})
// 是否展示参数类型选择框
const showValueType = computed(() => {
return function (item) {
return !['IS', 'ISN'].includes(item.conditionType) && item.conditionType
}
})
// 删除条件
const removeForm = (index) => {
form.value.condictions.splice(index, 1)
}
</script>
<style lang="scss" scoped>
.content-container {
min-height: 400px;
max-height: 444px;
overflow-y: auto;
overflow-x: visible;
.empty {
width: 100%;
text-align: center;
height: 80%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
.slot-empty-img {
width: 20%;
height: auto;
}
.empty-text {
color: $color-text-3;
font-size: 12px;
}
}
.content {
min-height: 70px;
display: flex;
.left {
width: 52px;
position: relative;
margin-top: 2px;
.line {
height: calc(100% - 33px);
border-left: 1px solid $primary-6;
position: absolute;
left: 20px;
bottom: 0;
top: 0;
margin: auto 0;
&::before {
content: '';
width: 1px;
height: 12px;
background-color: $primary-6;
position: absolute;
transform-origin: center;
transform: rotate(32deg);
left: 2px;
top: -11px;
}
&::after {
content: '';
width: 1px;
height: 12px;
background-color: $primary-6;
position: absolute;
transform-origin: center;
transform: rotate(-32deg);
left: 2px;
bottom: -11px;
}
}
.or {
border: 10px solid #fff;
position: absolute;
top: calc(50% - 20px);
background: #fff;
left: -8px;
.el-switch {
height: 20px;
}
span {
display: inline-flex;
justify-content: center;
align-items: center;
width: 20px;
height: 24px;
background: $primary-6;
font-size: 12px;
box-shadow: 0 2px 4px 0 rgb(0 0 0 / 12%);
border-radius: 4px;
border: 2px solid #fff;
color: #fff;
}
}
}
.rightpart {
overflow: auto hidden;
:deep() .el-form-item__error {
padding-top: 2px;
}
}
.leftContent{
display: flex;
flex-direction:column;
}
}
}
.btn-group {
.icon {
margin-right: 4px;
}
.add-line {
cursor: pointer;
}
.delete-line {
cursor: pointer;
margin-left: 20px;
}
}
</style>
mock 的数据
js
const datalist = [
{
"instanceName": "姓名",
"instanceType": "input",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_rwm6kawspv&1",
"componentFieldSettingDto": {
"notNull": true,
"maxLength": 50,
"minLength": 1,
"promptMessage": "请输入姓名",
"notNullInValidateMsg": "姓名不能为空",
"needValidate": true,
"unique": true
},
"instanceCode": "C_FID_rwm6kawspv",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "LIKE",
"value": "包含"
},
{
"code": "NLIKE",
"value": "不包含"
}
],
selectorProperties:[
{"code": "EQ",
"value": "sss"},
{"code": "EQ2",
"value": "sss2"},
{"code": "EQ3",
"value": "sss3"},
{"code": "EQ4",
"value": "sss4"},
]
},
{
"instanceName": "创建时间",
"instanceType": "date",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_n56ympp2ju&1",
"componentFieldSettingDto": {
"dateType": 2,
"notNullInValidateMsg": "创建时间不能为空",
"needValidate": true,
"customRegex": {
"regex": "^((19|20)[0-9]{2})-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) ([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]$",
"comment": "日期格式错误"
}
},
"instanceCode": "C_FID_n56ympp2ju",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "GT",
"value": "大于"
},
{
"code": "GTE",
"value": "大于等于"
},
{
"code": "LT",
"value": "小于"
},
{
"code": "LTE",
"value": "小于等于"
},
{
"code": "BELONG",
"value": "属于"
},
{
"code": "NBELONG",
"value": "不属于"
}
],
selectorProperties:[
{"code": "2Q",
"value": "2sss"},
{"code": "2EQ2",
"value": "2sss2"},
{"code": "2EQ3",
"value": "2sss3"},
{"code": "2EQ4",
"value": "2sss4"},
]
},
{
"instanceName": "创建人员",
"instanceType": "personSingle",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_gmqbtznpdw&1",
"componentFieldSettingDto": {
"needValidate": true
},
"instanceCode": "C_FID_gmqbtznpdw",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "BELONG",
"value": "属于"
},
{
"code": "NBELONG",
"value": "不属于"
},
{
"code": "ONESELF",
"value": "等于当前用户"
}
],
selectorProperties:[
{"code": "3Q",
"value": "3sss"},
{"code": "3EQ2",
"value": "3sss2"},
{"code": "3EQ3",
"value": "3sss3"},
{"code": "33EQ4",
"value": "3sss4"},
]
},
{
"instanceName": "最近修改时间",
"instanceType": "date",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_xrpw6rc809&1",
"componentFieldSettingDto": {
"dateType": 2,
"notNullInValidateMsg": "最后修改日期不能为空",
"needValidate": true,
"customRegex": {
"regex": "^((19|20)[0-9]{2})-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) ([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]$",
"comment": "日期格式错误"
}
},
"instanceCode": "C_FID_xrpw6rc809",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "GT",
"value": "大于"
},
{
"code": "GTE",
"value": "大于等于"
},
{
"code": "LT",
"value": "小于"
},
{
"code": "LTE",
"value": "小于等于"
},
{
"code": "BELONG",
"value": "属于"
},
{
"code": "NBELONG",
"value": "不属于"
}
]
},
{
"instanceName": "最近修改人员",
"instanceType": "personSingle",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_ur5efs8jda&1",
"componentFieldSettingDto": {
"needValidate": true
},
"instanceCode": "C_FID_ur5efs8jda",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "BELONG",
"value": "属于"
},
{
"code": "NBELONG",
"value": "不属于"
},
{
"code": "ONESELF",
"value": "等于当前用户"
}
]
},
{
"instanceName": "业务类型",
"instanceType": "relation",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_ogamq6g0ud&1",
"componentFieldSettingDto": {
"notNull": true,
"notNullInValidateMsg": "业务类型不能为空",
"needValidate": true,
"unique": false,
"relationSetting": {
"parentObjectCode": "business_type",
"subObjectCode": "c_leads"
}
},
"instanceCode": "C_FID_ogamq6g0ud",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "BELONG",
"value": "属于"
},
{
"code": "NBELONG",
"value": "不属于"
}
]
},
{
"instanceName": "归属人员",
"instanceType": "personSingle",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_jezhht9zwv&1",
"componentFieldSettingDto": {
"notNullInValidateMsg": "归属人员不能为空",
"needValidate": true,
"unique": false
},
"instanceCode": "C_FID_jezhht9zwv",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "BELONG",
"value": "属于"
},
{
"code": "NBELONG",
"value": "不属于"
},
{
"code": "ONESELF",
"value": "等于当前用户"
}
]
},
{
"instanceName": "公司名称",
"instanceType": "input",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_cwzl6ucxat&1",
"componentFieldSettingDto": {
"maxLength": 50,
"minLength": 0,
"maxLengthInValidateMsg": "字符限制:0-50,已超过最大长度,请重新输入",
"minLengthInValidateMsg": "字符限制:0-50,不足最小长度,请重新输入",
"notNullInValidateMsg": "公司名称不能为空",
"needValidate": true
},
"instanceCode": "C_FID_cwzl6ucxat",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "LIKE",
"value": "包含"
},
{
"code": "NLIKE",
"value": "不包含"
}
]
},
{
"instanceName": "所在区域",
"instanceType": "place",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_l9uzxgsw22&1",
"componentFieldSettingDto": {
"placeSetting": {
"countryEnable": false,
"countryRequired": false,
"provinceEnable": true,
"provinceRequired": false,
"cityEnable": true,
"cityRequired": false,
"areaEnable": true,
"areaRequired": false
},
"notNullInValidateMsg": "请填写所在区域",
"needValidate": true,
"unique": false
},
"instanceCode": "C_FID_l9uzxgsw22",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "BELONG",
"value": "属于"
},
{
"code": "NBELONG",
"value": "不属于"
}
]
},
{
"instanceName": "手机",
"instanceType": "phone",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_gdpva67f1i&1",
"componentFieldSettingDto": {
"phoneType": 1,
"notNullInValidateMsg": "手机不能为空",
"needValidate": true,
"mask": false,
"customRegex": {
"regex": "^[0-9]{7,12}$",
"comment": "请输入正确的手机号/电话"
}
},
"instanceCode": "C_FID_gdpva67f1i",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "LIKE",
"value": "包含"
},
{
"code": "NLIKE",
"value": "不包含"
}
]
},
{
"instanceName": "电话",
"instanceType": "phone",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_yexdpw4rvj&1",
"componentFieldSettingDto": {
"phoneType": 1,
"notNullInValidateMsg": "电话不能为空",
"needValidate": true,
"mask": false,
"customRegex": {
"regex": "^[0-9]{7,12}$",
"comment": "请输入正确的手机号/电话"
}
},
"instanceCode": "C_FID_yexdpw4rvj",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "LIKE",
"value": "包含"
},
{
"code": "NLIKE",
"value": "不包含"
}
]
},
{
"instanceName": "邮箱",
"instanceType": "email",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_tcl8m6i77q&1",
"componentFieldSettingDto": {
"notNullInValidateMsg": "邮箱不能为空",
"needValidate": true,
"mask": false,
"customRegex": {
"regex": "^\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*$",
"comment": "请输入正确的邮箱地址"
}
},
"instanceCode": "C_FID_tcl8m6i77q",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "LIKE",
"value": "包含"
},
{
"code": "NLIKE",
"value": "不包含"
}
]
},
{
"instanceName": "线索来源",
"instanceType": "single",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_aouzn6af8e&1",
"componentFieldSettingDto": {
"notNullInValidateMsg": "线索来源不能为空",
"needValidate": true,
"unique": false,
"optionType": 1
},
"instanceCode": "C_FID_aouzn6af8e",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "BELONG",
"value": "属于"
},
{
"code": "NBELONG",
"value": "不属于"
}
]
},
{
"instanceName": "跟进状态",
"instanceType": "single",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_b0h09whxx3&1",
"componentFieldSettingDto": {
"notNullInValidateMsg": "跟进状态不能为空",
"needValidate": true,
"unique": false,
"optionType": 0
},
"instanceCode": "C_FID_b0h09whxx3",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "BELONG",
"value": "属于"
},
{
"code": "NBELONG",
"value": "不属于"
}
]
},
{
"instanceName": "分配状态",
"instanceType": "single",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_o9dyb5afwn&1",
"componentFieldSettingDto": {
"notNullInValidateMsg": "分配状态不能为空",
"needValidate": true,
"unique": false,
"optionType": 0
},
"instanceCode": "C_FID_o9dyb5afwn",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "BELONG",
"value": "属于"
},
{
"code": "NBELONG",
"value": "不属于"
}
]
},
{
"instanceName": "转化状态",
"instanceType": "single",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_rq5azvv0wq&1",
"componentFieldSettingDto": {
"notNullInValidateMsg": "转化状态不能为空",
"needValidate": true,
"unique": false,
"optionType": 0
},
"instanceCode": "C_FID_rq5azvv0wq",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "BELONG",
"value": "属于"
},
{
"code": "NBELONG",
"value": "不属于"
}
]
},
{
"instanceName": "推广渠道",
"instanceType": "single",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_g6qptxkeqr&1",
"componentFieldSettingDto": {
"notNullInValidateMsg": "推广渠道不能为空",
"needValidate": true,
"unique": false,
"optionType": 1
},
"instanceCode": "C_FID_g6qptxkeqr",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "BELONG",
"value": "属于"
},
{
"code": "NBELONG",
"value": "不属于"
}
]
},
{
"instanceName": "退回/回收原因",
"instanceType": "single",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_bbrwlkq82u&1",
"componentFieldSettingDto": {
"notNullInValidateMsg": "退回/回收原因不能为空",
"needValidate": true,
"unique": false,
"optionType": 1
},
"instanceCode": "C_FID_bbrwlkq82u",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "BELONG",
"value": "属于"
},
{
"code": "NBELONG",
"value": "不属于"
}
]
},
{
"instanceName": "退回/回收时间",
"instanceType": "date",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_urzowx3zus&1",
"componentFieldSettingDto": {
"dateType": 2,
"notNullInValidateMsg": "退回/回收时间不能为空",
"needValidate": true,
"customRegex": {
"regex": "^((19|20)[0-9]{2})-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) ([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]$",
"comment": "日期格式错误"
}
},
"instanceCode": "C_FID_urzowx3zus",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "GT",
"value": "大于"
},
{
"code": "GTE",
"value": "大于等于"
},
{
"code": "LT",
"value": "小于"
},
{
"code": "LTE",
"value": "小于等于"
},
{
"code": "BELONG",
"value": "属于"
},
{
"code": "NBELONG",
"value": "不属于"
}
]
},
{
"instanceName": "分配/领取时间",
"instanceType": "date",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_t2drff7c4l&1",
"componentFieldSettingDto": {
"dateType": 2,
"notNullInValidateMsg": "分配/领取时间不能为空",
"needValidate": true,
"customRegex": {
"regex": "^((19|20)[0-9]{2})-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) ([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]$",
"comment": "日期格式错误"
}
},
"instanceCode": "C_FID_t2drff7c4l",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "GT",
"value": "大于"
},
{
"code": "GTE",
"value": "大于等于"
},
{
"code": "LT",
"value": "小于"
},
{
"code": "LTE",
"value": "小于等于"
},
{
"code": "BELONG",
"value": "属于"
},
{
"code": "NBELONG",
"value": "不属于"
}
]
},
{
"instanceName": "转化时间",
"instanceType": "date",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_f80mk452s9&1",
"componentFieldSettingDto": {
"dateType": 2,
"notNullInValidateMsg": "转化时间不能为空",
"needValidate": true,
"customRegex": {
"regex": "^((19|20)[0-9]{2})-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) ([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]$",
"comment": "日期格式错误"
}
},
"instanceCode": "C_FID_f80mk452s9",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "GT",
"value": "大于"
},
{
"code": "GTE",
"value": "大于等于"
},
{
"code": "LT",
"value": "小于"
},
{
"code": "LTE",
"value": "小于等于"
},
{
"code": "BELONG",
"value": "属于"
},
{
"code": "NBELONG",
"value": "不属于"
}
]
},
{
"instanceName": "性别",
"instanceType": "single",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_b6gdbjadtj&1",
"componentFieldSettingDto": {
"notNullInValidateMsg": "性别不能为空",
"needValidate": true,
"unique": false,
"optionType": 0
},
"instanceCode": "C_FID_b6gdbjadtj",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "BELONG",
"value": "属于"
},
{
"code": "NBELONG",
"value": "不属于"
}
]
},
{
"instanceName": "角色",
"instanceType": "single",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_e77dw2el9o&1",
"componentFieldSettingDto": {
"notNullInValidateMsg": "角色不能为空",
"needValidate": true,
"unique": false,
"optionType": 0
},
"instanceCode": "C_FID_e77dw2el9o",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "BELONG",
"value": "属于"
},
{
"code": "NBELONG",
"value": "不属于"
}
]
},
{
"instanceName": "部门",
"instanceType": "input",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_mi3xwylq21&1",
"componentFieldSettingDto": {
"maxLength": 50,
"minLength": 0,
"maxLengthInValidateMsg": "字符限制:0-50,已超过最大长度,请重新输入",
"minLengthInValidateMsg": "字符限制:0-50,不足最小长度,请重新输入",
"notNullInValidateMsg": "部门不能为空",
"needValidate": true
},
"instanceCode": "C_FID_mi3xwylq21",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "LIKE",
"value": "包含"
},
{
"code": "NLIKE",
"value": "不包含"
}
]
},
{
"instanceName": "职位",
"instanceType": "input",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_z7hf4rtx64&1",
"componentFieldSettingDto": {
"maxLength": 50,
"minLength": 0,
"maxLengthInValidateMsg": "字符限制:0-50,已超过最大长度,请重新输入",
"minLengthInValidateMsg": "字符限制:0-50,不足最小长度,请重新输入",
"notNullInValidateMsg": "职位不能为空",
"needValidate": true
},
"instanceCode": "C_FID_z7hf4rtx64",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "LIKE",
"value": "包含"
},
{
"code": "NLIKE",
"value": "不包含"
}
]
},
{
"instanceName": "年龄",
"instanceType": "input",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_dw7sv6ct6u&1",
"componentFieldSettingDto": {
"maxLength": 50,
"minLength": 0,
"maxLengthInValidateMsg": "字符限制:0-50,已超过最大长度,请重新输入",
"minLengthInValidateMsg": "字符限制:0-50,不足最小长度,请重新输入",
"notNullInValidateMsg": "年龄不能为空",
"needValidate": true
},
"instanceCode": "C_FID_dw7sv6ct6u",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "LIKE",
"value": "包含"
},
{
"code": "NLIKE",
"value": "不包含"
}
]
},
{
"instanceName": "生日",
"instanceType": "date",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_a74udir3dm&1",
"componentFieldSettingDto": {
"dateType": 1,
"notNullInValidateMsg": "生日不能为空",
"needValidate": true,
"customRegex": {
"regex": "^((19|20)[0-9]{2})-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$",
"comment": "日期格式错误"
}
},
"instanceCode": "C_FID_a74udir3dm",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "GT",
"value": "大于"
},
{
"code": "GTE",
"value": "大于等于"
},
{
"code": "LT",
"value": "小于"
},
{
"code": "LTE",
"value": "小于等于"
},
{
"code": "BELONG",
"value": "属于"
},
{
"code": "NBELONG",
"value": "不属于"
}
]
},
{
"instanceName": "微信",
"instanceType": "input",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_cuk666da6l&1",
"componentFieldSettingDto": {
"maxLength": 50,
"minLength": 0,
"maxLengthInValidateMsg": "字符限制:0-50,已超过最大长度,请重新输入",
"minLengthInValidateMsg": "字符限制:0-50,不足最小长度,请重新输入",
"notNullInValidateMsg": "微信不能为空",
"needValidate": true
},
"instanceCode": "C_FID_cuk666da6l",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "LIKE",
"value": "包含"
},
{
"code": "NLIKE",
"value": "不包含"
}
]
},
{
"instanceName": "QQ",
"instanceType": "input",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_sqnc51xfg8&1",
"componentFieldSettingDto": {
"maxLength": 50,
"minLength": 0,
"maxLengthInValidateMsg": "字符限制:0-50,已超过最大长度,请重新输入",
"minLengthInValidateMsg": "字符限制:0-50,不足最小长度,请重新输入",
"notNullInValidateMsg": "QQ不能为空",
"needValidate": true
},
"instanceCode": "C_FID_sqnc51xfg8",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "LIKE",
"value": "包含"
},
{
"code": "NLIKE",
"value": "不包含"
}
]
},
{
"instanceName": "传真",
"instanceType": "input",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_k5pwi23t2p&1",
"componentFieldSettingDto": {
"maxLength": 50,
"minLength": 0,
"maxLengthInValidateMsg": "字符限制:0-50,已超过最大长度,请重新输入",
"minLengthInValidateMsg": "字符限制:0-50,不足最小长度,请重新输入",
"notNullInValidateMsg": "传真不能为空",
"needValidate": true
},
"instanceCode": "C_FID_k5pwi23t2p",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "LIKE",
"value": "包含"
},
{
"code": "NLIKE",
"value": "不包含"
}
]
},
{
"instanceName": "公司地址",
"instanceType": "input",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_aptbesu9sa&1",
"componentFieldSettingDto": {
"maxLength": 50,
"minLength": 0,
"maxLengthInValidateMsg": "字符限制:0-50,已超过最大长度,请重新输入",
"minLengthInValidateMsg": "字符限制:0-50,不足最小长度,请重新输入",
"notNullInValidateMsg": "公司地址不能为空",
"needValidate": true
},
"instanceCode": "C_FID_aptbesu9sa",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "LIKE",
"value": "包含"
},
{
"code": "NLIKE",
"value": "不包含"
}
]
},
{
"instanceName": "公司电话",
"instanceType": "input",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_srwga5m8eb&1",
"componentFieldSettingDto": {
"maxLength": 50,
"minLength": 0,
"maxLengthInValidateMsg": "字符限制:0-50,已超过最大长度,请重新输入",
"minLengthInValidateMsg": "字符限制:0-50,不足最小长度,请重新输入",
"notNullInValidateMsg": "公司电话不能为空",
"needValidate": true
},
"instanceCode": "C_FID_srwga5m8eb",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "LIKE",
"value": "包含"
},
{
"code": "NLIKE",
"value": "不包含"
}
]
},
{
"instanceName": "所属行业",
"instanceType": "cascader",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_z42jogy0un&1",
"componentFieldSettingDto": {
"notNullInValidateMsg": "所属行业不能为空",
"needValidate": true,
"optionType": 0
},
"instanceCode": "C_FID_z42jogy0un",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "BELONG",
"value": "属于"
},
{
"code": "NBELONG",
"value": "不属于"
}
]
},
{
"instanceName": "人员规模",
"instanceType": "single",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_n0xqhxjcfz&1",
"componentFieldSettingDto": {
"notNullInValidateMsg": "人员规模不能为空",
"needValidate": true,
"unique": false,
"optionType": 1
},
"instanceCode": "C_FID_n0xqhxjcfz",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "BELONG",
"value": "属于"
},
{
"code": "NBELONG",
"value": "不属于"
}
]
},
{
"instanceName": "公司邮箱",
"instanceType": "email",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_ay586dtudv&1",
"componentFieldSettingDto": {
"notNullInValidateMsg": "公司邮箱不能为空",
"needValidate": true,
"mask": false,
"customRegex": {
"regex": "^\\w+([-+.]\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*$",
"comment": "请输入正确的邮箱地址"
}
},
"instanceCode": "C_FID_ay586dtudv",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "LIKE",
"value": "包含"
},
{
"code": "NLIKE",
"value": "不包含"
}
]
},
{
"instanceName": "公司传真",
"instanceType": "input",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_emf9lyif2w&1",
"componentFieldSettingDto": {
"maxLength": 50,
"minLength": 0,
"maxLengthInValidateMsg": "字符限制:0-50,已超过最大长度,请重新输入",
"minLengthInValidateMsg": "字符限制:0-50,不足最小长度,请重新输入",
"notNullInValidateMsg": "公司传真不能为空",
"needValidate": true
},
"instanceCode": "C_FID_emf9lyif2w",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "LIKE",
"value": "包含"
},
{
"code": "NLIKE",
"value": "不包含"
}
]
},
{
"instanceName": "最近跟进时间",
"instanceType": "date",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_q84dum3hx3&1",
"componentFieldSettingDto": {
"dateType": 2,
"notNullInValidateMsg": "最近跟进时间不能为空",
"needValidate": true,
"customRegex": {
"regex": "^((19|20)[0-9]{2})-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) ([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]$",
"comment": "日期格式错误"
}
},
"instanceCode": "C_FID_q84dum3hx3",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "GT",
"value": "大于"
},
{
"code": "GTE",
"value": "大于等于"
},
{
"code": "LT",
"value": "小于"
},
{
"code": "LTE",
"value": "小于等于"
},
{
"code": "BELONG",
"value": "属于"
},
{
"code": "NBELONG",
"value": "不属于"
}
]
},
{
"instanceName": "线索编号",
"instanceType": "setNumber",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_ck4zunk4vt&1",
"componentFieldSettingDto": {
"needValidate": true,
"unique": true
},
"instanceCode": "C_FID_ck4zunk4vt",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "LIKE",
"value": "包含"
},
{
"code": "NLIKE",
"value": "不包含"
}
]
},
{
"instanceName": "获取时间",
"instanceType": "date",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_t9t2p590l9&1",
"componentFieldSettingDto": {
"dateType": 2,
"notNullInValidateMsg": "获取时间不能为空",
"needValidate": true,
"customRegex": {
"regex": "^((19|20)[0-9]{2})-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01]) ([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]$",
"comment": "日期格式错误"
}
},
"instanceCode": "C_FID_t9t2p590l9",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "GT",
"value": "大于"
},
{
"code": "GTE",
"value": "大于等于"
},
{
"code": "LT",
"value": "小于"
},
{
"code": "LTE",
"value": "小于等于"
},
{
"code": "BELONG",
"value": "属于"
},
{
"code": "NBELONG",
"value": "不属于"
}
]
},
{
"instanceName": "国家地区",
"instanceType": "cascader",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_tlpoc66bj5&1",
"componentFieldSettingDto": {
"notNullInValidateMsg": "国家地区不能为空",
"needValidate": true,
"optionType": 0
},
"instanceCode": "C_FID_tlpoc66bj5",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "BELONG",
"value": "属于"
},
{
"code": "NBELONG",
"value": "不属于"
}
]
},
{
"instanceName": "退回原池",
"instanceType": "boolean",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_b9do7o8sjh&1",
"componentFieldSettingDto": {
"notNullInValidateMsg": "退回原池不能为空",
"needValidate": true,
"unique": false
},
"instanceCode": "C_FID_b9do7o8sjh",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
}
]
},
{
"instanceName": "BusinessLicense",
"instanceType": "input",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_ycismu299q&1",
"componentFieldSettingDto": {
"maxLength": 50,
"minLength": 0,
"maxLengthInValidateMsg": "字符限制:0-50,已超过最大长度,请重新输入",
"minLengthInValidateMsg": "字符限制:0-50,不足最小长度,请重新输入",
"notNullInValidateMsg": "BusinessLicense不能为空",
"needValidate": true
},
"instanceCode": "C_FID_ycismu299q",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "LIKE",
"value": "包含"
},
{
"code": "NLIKE",
"value": "不包含"
}
]
},
{
"instanceName": "LicenseValid",
"instanceType": "input",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_sia9q8woi7&1",
"componentFieldSettingDto": {
"maxLength": 50,
"minLength": 0,
"maxLengthInValidateMsg": "字符限制:0-50,已超过最大长度,请重新输入",
"minLengthInValidateMsg": "字符限制:0-50,不足最小长度,请重新输入",
"notNullInValidateMsg": "LicenseValid不能为空",
"needValidate": true
},
"instanceCode": "C_FID_sia9q8woi7",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "LIKE",
"value": "包含"
},
{
"code": "NLIKE",
"value": "不包含"
}
]
},
{
"instanceName": "NameofGM",
"instanceType": "input",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_qfg0w9rvhy&1",
"componentFieldSettingDto": {
"maxLength": 50,
"minLength": 0,
"maxLengthInValidateMsg": "字符限制:0-50,已超过最大长度,请重新输入",
"minLengthInValidateMsg": "字符限制:0-50,不足最小长度,请重新输入",
"notNullInValidateMsg": "NameofGM不能为空",
"needValidate": true
},
"instanceCode": "C_FID_qfg0w9rvhy",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "LIKE",
"value": "包含"
},
{
"code": "NLIKE",
"value": "不包含"
}
]
},
{
"instanceName": "是否有销售经验",
"instanceType": "boolean",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_z0gnmtg18k&1",
"componentFieldSettingDto": {
"notNullInValidateMsg": "是否有销售经验不能为空",
"needValidate": true,
"unique": false
},
"instanceCode": "C_FID_z0gnmtg18k",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
}
]
},
{
"instanceName": "累计销售年数",
"instanceType": "input",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_pkkc2bb4m7&1",
"componentFieldSettingDto": {
"maxLength": 50,
"minLength": 0,
"maxLengthInValidateMsg": "字符限制:0-50,已超过最大长度,请重新输入",
"minLengthInValidateMsg": "字符限制:0-50,不足最小长度,请重新输入",
"notNullInValidateMsg": "累计销售年数不能为空",
"needValidate": true
},
"instanceCode": "C_FID_pkkc2bb4m7",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "LIKE",
"value": "包含"
},
{
"code": "NLIKE",
"value": "不包含"
}
]
},
{
"instanceName": "年销售额",
"instanceType": "input",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_cxalfyzboj&1",
"componentFieldSettingDto": {
"maxLength": 50,
"minLength": 0,
"maxLengthInValidateMsg": "字符限制:0-50,已超过最大长度,请重新输入",
"minLengthInValidateMsg": "字符限制:0-50,不足最小长度,请重新输入",
"notNullInValidateMsg": "年销售额不能为空",
"needValidate": true
},
"instanceCode": "C_FID_cxalfyzboj",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "LIKE",
"value": "包含"
},
{
"code": "NLIKE",
"value": "不包含"
}
]
},
{
"instanceName": "是否是同一领域的其他公司/品牌的合作伙伴",
"instanceType": "boolean",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_dqqmwpl1p0&1",
"componentFieldSettingDto": {
"notNullInValidateMsg": "是否是同一领域的其他公司/品牌的合作伙伴不能为空",
"needValidate": true,
"unique": false
},
"instanceCode": "C_FID_dqqmwpl1p0",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
}
]
},
{
"instanceName": "销售部门人数",
"instanceType": "input",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_wcd1jotxmh&1",
"componentFieldSettingDto": {
"maxLength": 50,
"minLength": 0,
"maxLengthInValidateMsg": "字符限制:0-50,已超过最大长度,请重新输入",
"minLengthInValidateMsg": "字符限制:0-50,不足最小长度,请重新输入",
"notNullInValidateMsg": "销售部门人数不能为空",
"needValidate": true
},
"instanceCode": "C_FID_wcd1jotxmh",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "LIKE",
"value": "包含"
},
{
"code": "NLIKE",
"value": "不包含"
}
]
},
{
"instanceName": "营销部门人数",
"instanceType": "input",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_xmw2xlukij&1",
"componentFieldSettingDto": {
"maxLength": 50,
"minLength": 0,
"maxLengthInValidateMsg": "字符限制:0-50,已超过最大长度,请重新输入",
"minLengthInValidateMsg": "字符限制:0-50,不足最小长度,请重新输入",
"notNullInValidateMsg": "营销部门人数不能为空",
"needValidate": true
},
"instanceCode": "C_FID_xmw2xlukij",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "LIKE",
"value": "包含"
},
{
"code": "NLIKE",
"value": "不包含"
}
]
},
{
"instanceName": "服务部门人数",
"instanceType": "input",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_h52ncg3etn&1",
"componentFieldSettingDto": {
"maxLength": 50,
"minLength": 0,
"maxLengthInValidateMsg": "字符限制:0-50,已超过最大长度,请重新输入",
"minLengthInValidateMsg": "字符限制:0-50,不足最小长度,请重新输入",
"notNullInValidateMsg": "服务部门人数不能为空",
"needValidate": true
},
"instanceCode": "C_FID_h52ncg3etn",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "LIKE",
"value": "包含"
},
{
"code": "NLIKE",
"value": "不包含"
}
]
},
{
"instanceName": "其他部门人数",
"instanceType": "input",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_wt30eg7hs5&1",
"componentFieldSettingDto": {
"maxLength": 50,
"minLength": 0,
"maxLengthInValidateMsg": "字符限制:0-50,已超过最大长度,请重新输入",
"minLengthInValidateMsg": "字符限制:0-50,不足最小长度,请重新输入",
"notNullInValidateMsg": "其他部门人数不能为空",
"needValidate": true
},
"instanceCode": "C_FID_wt30eg7hs5",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "LIKE",
"value": "包含"
},
{
"code": "NLIKE",
"value": "不包含"
}
]
},
{
"instanceName": "公司网址",
"instanceType": "web",
"currentObject": "c_leads",
"currentObjectName": "线索",
"uniqueKey": "C_FID_jtagl6lhcu&1",
"componentFieldSettingDto": {
"notNullInValidateMsg": "公司网址不能为空",
"needValidate": true,
"customRegex": {
"regex": "[a-zA-z]+[^\\s]*",
"comment": "请输入正确的网址"
}
},
"instanceCode": "C_FID_jtagl6lhcu",
"disabled": 0,
"fieldProperties": [
{
"code": "EQ",
"value": "等于"
},
{
"code": "NEQ",
"value": "不等于"
},
{
"code": "IS",
"value": "为空"
},
{
"code": "ISN",
"value": "不为空"
},
{
"code": "LIKE",
"value": "包含"
},
{
"code": "NLIKE",
"value": "不包含"
}
]
}
]
export default datalist