king
2021-12-10 2cb09105d702ccae0644126ca6ea7f85e1f218bc
src/templates/zshare/formconfig.jsx
@@ -565,7 +565,7 @@
    {
      type: 'text',
      key: 'valueText',
      label: Formdict['header.form.valueText'],
      label: '文本·字段',
      initVal: card.valueText || '',
      required: true,
      readonly: false
@@ -573,7 +573,7 @@
    {
      type: 'text',
      key: 'orderBy',
      label: Formdict['header.form.orderBy'],
      label: '排序·字段',
      initVal: card.orderBy || '',
      required: false,
      readonly: false
@@ -581,7 +581,7 @@
    {
      type: 'select',
      key: 'orderType',
      label: Formdict['header.form.orderType'],
      label: '排序方式',
      initVal: card.orderType || 'asc',
      options: [{
        value: 'asc',
@@ -617,14 +617,14 @@
    {
      type: 'radio',
      key: 'database',
      label: Formdict['header.form.database'],
      label: '数据库',
      initVal: card.database || 'local',
      options: [{
        value: 'local',
        text: Formdict['header.form.database.local']
        text: '本地'
      }, {
        value: 'sso',
        text: Formdict['header.form.database.sso']
        text: '系统'
      }]
    },
    {
@@ -898,12 +898,12 @@
    {
      type: 'select',
      key: 'funcType',
      label: Formdict['header.form.funcType'],
      label: '功能类型',
      initVal: card.funcType || '',
      required: true,
      options: [{
        value: 'changeuser',
        text: Formdict['header.form.func.changeuser']
        text: '切换用户'
      }, {
        value: 'print',
        text: '标签打印'
@@ -1290,7 +1290,7 @@
    {
      type: 'radio',
      key: 'pagination',
      label: Formdict['header.form.pagination'],
      label: '分页',
      initVal: card.pagination || 'false',
      required: false,
      options: [{
@@ -1665,8 +1665,8 @@
    {
      type: 'radio',
      key: 'scale',
      label: Formdict['header.form.clickscale'],
      initVal: card.scale || 'false',
      label: '点击缩放',
      initVal: card.scale || 'true',
      required: false,
      options: [{
        value: 'true',
@@ -1946,8 +1946,8 @@
      readonly: !(setting.laypage === 'false'),
      forbid: !['line', 'bar'].includes(card.chartType),
      options: [
        { value: 'query', text: Formdict['header.form.query'] },
        { value: 'statistics', text: Formdict['header.form.statistics'] }
        { value: 'query', text: '查询' },
        { value: 'statistics', text: '统计' }
      ]
    },
    {
@@ -2268,7 +2268,7 @@
    text: '分隔线'
  }, {
    value: 'linkMain',
    text: Formdict['header.form.linkMain']
    text: '关联主表'
  }]
  let _fieldlength = 50
@@ -2537,7 +2537,7 @@
    {
      type: 'text',
      key: 'valueText',
      label: Formdict['header.form.valueText'],
      label: '文本·字段',
      initVal: card.valueText || '',
      required: true,
      readonly: false
@@ -2545,7 +2545,7 @@
    {
      type: 'text',
      key: 'orderBy',
      label: Formdict['header.form.orderBy'],
      label: '排序·字段',
      initVal: card.orderBy || '',
      required: false,
      readonly: false
@@ -2553,7 +2553,7 @@
    {
      type: 'select',
      key: 'orderType',
      label: Formdict['header.form.orderType'],
      label: '排序方式',
      initVal: card.orderType || 'asc',
      options: [{
        value: 'asc',
@@ -2727,7 +2727,7 @@
      min: 1,
      max: 100,
      precision: 0,
      label: appType === 'mob' ? '行数' : Formdict['header.form.maxRows'],
      label: appType === 'mob' ? '行数' : '最大行数',
      tooltip: appType === 'mob' ? '行数为空时,高度自适应' : '',
      initVal: card.maxRows || (appType === 'mob' ? '' : 6),
      required: false
@@ -2735,7 +2735,7 @@
    {
      type: 'select',
      key: 'regular',
      label: Formdict['header.form.regular'],
      label: '正则校验',
      initVal: card.regular || '',
      options: [{
        value: '',
@@ -2800,7 +2800,7 @@
    {
      type: 'radio',
      key: 'readonly',
      label: Formdict['header.form.readonly'],
      label: '只读',
      initVal: card.readonly || 'false',
      options: [{
        value: 'true',
@@ -2839,14 +2839,14 @@
    {
      type: 'radio',
      key: 'database',
      label: Formdict['header.form.database'],
      label: '数据库',
      initVal: card.database || 'local',
      options: [{
        value: 'local',
        text: Formdict['header.form.database.local']
        text: '本地'
      }, {
        value: 'sso',
        text: Formdict['header.form.database.sso']
        text: '系统'
      }]
    },
    {
@@ -2883,7 +2883,7 @@
    {
      type: 'radio',
      key: 'readin',
      label: Formdict['header.form.readin'],
      label: '自动填充',
      tooltip: '是否将表格选中的数据自动填充到表单(字段相同)',
      initVal: card.readin || 'true',
      options: [{