jscardealer-insurance-dealer-web
立即下载
资源介绍:
jscardealer-insurance-dealer-web
### example
```js
cloumns: [
// input 类型
{
type: 'YcInput',
class: 'c-mr-8 c-mt-16',
id: '1',
default: 'show', // hide
defaultSecleted: 'id值',
useStatus: 'disabled',
requestUrl: '',
// 标题参数
label: {
name: '客户',
class: 'yc-search-item-title',
},
// 内容参数
content: {
key: 'customerKey',
initialValue: '',
placeholder: '请输入姓名/手机号',
class: 'item-input',
// 内容的样式
style: 'width: 130px',
rules: [],
},
},
// 地区级联类型
{
type: 'YcArea',
class: 'c-mr-8 c-mt-16',
id: '12',
default: 'show', // hide
defaultSecleted: 'id值',
useStatus: 'disabled',
requestUrl: '',
// 标题参数
label: {
name: '地区',
class: 'yc-search-item-title',
},
// 内容参数
content: {
key: 'areaId',
initialValue: '',
placeholder: '请选择地区名称',
class: 'item-cascader',
// 内容的样式
style: 'width: 240px',
rules: [],
list: [],
changeOnSelect: true
},
},
// 下拉框类型
{
type: 'YcSelect',
class: 'c-mr-8 c-mt-16',
id: '142',
default: 'show', // hide
// 多选类型
selectMode: 'multiple',
maxTagCount: '',
showSearch: '',
filterOption: false, // 搜索的时候要关闭
defaultSecleted: 'id值',
useStatus: 'disabled',
requestOptions:{
url: '/tms/system/tag/getTenantTagListByGroupCode',
data: {
tagGroupCode: "business_type"
}
},
responseOptions: {
key: 'tagCode',
name: 'tagName'
},
// 标题参数
label: {
name: '业务领域',
class: 'yc-search-item-title',
},
// 内容参数
content: {
key: 'listBusinessType',
initialValue: '',
placeholder: '请选择业务领域',
class: 'item-select',
// 内容的样式
style: 'width: 200px',
rules: [],
list: []
},
},
// 下拉框类型自定义传整条数据
{
type: 'YcSelectCustom',
class: 'c-mr-8 c-mt-16',
id: '142',
default: 'show', // hide
maxTagCount: '',
showSearch: '',
filterOption: false,
defaultSecleted: 'id值',
useStatus: 'disabled',
requestOptions: {
url: '/user/user/getHandlerList',
data: {
channelCode: '10',
cityCode: '440100',
},
// 动态key,比如搜索时候用
dynamicKey: 'keyword',
},
responseOptions: {
key: 'operatorId',
name: 'showName',
},
// 标题参数
label: {
name: 'test',
class: 'yc-search-item-title',
},
// 内容参数
content: {
key: 'sss',
initialValue: '',
placeholder: '请选择',
class: 'item-select',
// 内容的样式
style: 'width: 200px',
rules: [],
list: [],
},
},
// 当前多选 && 单选配置
{
type: 'YcCheckbox',
class: 'c-mr-8 c-mt-16',
style: '',
requestUrl: '',
label: {
name: '是否过期',
class: 'yc-search-item-title',
style: 'border: 0',
},
// 如果为true 代表是单选且可反选取消
isSingle: true,
// 默认值
initialValue: [0],
content: {
key: 'iseffective',
class: '',
style: '',
list: [
{
tagName: '未过期',
value: 0,
tagIconTone: 'EFF3FF',
},
{
tagName: '已过期',
value: 1,
tagIconTone: 'EFF3FF',
},
],
},
},
// 阶段日期选择
{
type: 'YcDateBetween',
class: 'c-mr-8 c-mt-16',
id: '1',
default: 'show',
defaultSecleted: 'id值',
useStatus: 'disabled',
requestUrl: '',
label: {
name: '政策适用时间',
class: 'yc-search-item-title',
},
content: {
key: 'policyDate',
defaultPickerValue: '',
// 是否是disable日期
disabledDate: true,
// disable的范围
disableRangle: 90,
class: 'item-date-between',
placeholder: '请选择时间',
size: '',
rules: [],
// 这里要么在这里自定义设置参数,要么, content.name 中 传入name 自己去处理
requestParams: {},
},
},
// 单选时间选择
{
type: "YcDateSingle",
class: "c-mr-8 c-mt-16",
id: "1",
default: "show",
defaultSecleted: "id值",
useStatus: "disabled",
requestUrl: "",
label: {
name: "核销日期",
class: "yc-search-item-title",
},
content: {
key: "",
dropdownClassName: "",
defaultValue: "",
class: "item-date-single",
style: "width: 130px",
placeholder: "请选择核销日期",
allowClear: "",
initialValue: "",
size: "",
rules: [],
valueFormat: '',
// 这里要么在这里自定义设置参数,要么, content.name 中 传入name 自己去处理
requestParams: "dateKey"
},
},
// 级联操作
{
type: "YcCascader",
class: "c-mr-8 c-mt-16",
id: "142",
default: "show", // hide
defaultSecleted: "id值",
allowClear: true,
useStatus: "disabled",
singleSelect: true,
fieldNames: {
label: 'name',
value: 'code',
children: 'children',
},
requestOptions: {
url: "/chexian/basic/getPrincipalList",
data: {},
},
responseOptions: {
key: "value",
name: "label",
},
// 标题参数
label: {
name: "业务员",
class: "yc-search-item-title",
},
// 内容参数
content: {
key: "customerId",
popupClassName: 'query-cascader-200',
initialValue: "",
placeholder: "请选择业务员",
class: "item-cascader",
// 内容的样式
style: "width: 200px",
rules: [],
list: [],
},
},
],
```
资源文件列表:
cardealer-insurance-dealer-web.zip 大约有1719个文件