askbot-dragon 0.7.98 → 0.7.99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "askbot-dragon",
3
- "version": "0.7.98",
3
+ "version": "0.7.99",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -1633,6 +1633,7 @@ export default {
1633
1633
  "cascadeDown":{
1634
1634
  "options":[
1635
1635
  {
1636
+ checked:true,
1636
1637
  "_default":false,
1637
1638
  "optionStruct":{
1638
1639
  "d63aeeef437e4186af4a2efcd7a6a31b":[
@@ -1662,6 +1663,7 @@ export default {
1662
1663
  },
1663
1664
  "children":[
1664
1665
  {
1666
+ checked:true,
1665
1667
  "_default":false,
1666
1668
  "optionStruct":{
1667
1669
  "d63aeeef437e4186af4a2efcd7a6a31b":[
@@ -1691,6 +1693,7 @@ export default {
1691
1693
  },
1692
1694
  "children":[
1693
1695
  {
1696
+ checked:true,
1694
1697
  "_default":false,
1695
1698
  "optionStruct":{
1696
1699
  "d63aeeef437e4186af4a2efcd7a6a31b":[
@@ -1742,6 +1745,7 @@ export default {
1742
1745
  ]
1743
1746
  },
1744
1747
  {
1748
+ checked:true,
1745
1749
  "_default":false,
1746
1750
  "optionStruct":{
1747
1751
  "d63aeeef437e4186af4a2efcd7a6a31b":[
@@ -451,7 +451,7 @@
451
451
  :required="item.required || isRequiredFn(item.formField)"
452
452
  :disabled="disableds"
453
453
  @click-right-icon.stop="SelectClear(item.fieldId)"
454
- :right-icon="item.value || (Array.isArray(item.value) && item.value.length > 0)? 'close' : 'van-icon van-icon-arrow van-cell__right-icon'"
454
+ :right-icon="item.value && item.value.length? 'close' : 'van-icon van-icon-arrow van-cell__right-icon'"
455
455
  />
456
456
  <van-popup v-model="selectPicker" position="bottom" :style="{ height: '300px' }">
457
457
  <select-popup
@@ -473,7 +473,7 @@
473
473
  <van-field
474
474
  readonly
475
475
  clickable
476
- :value="Array.isArray(extInfoFieldValue[item.fieldId])?extInfoFieldValue[item.fieldId].join(','):extInfoFieldValue[item.fieldId]"
476
+ :value="Array.isArray(extInfoFieldValue[item.fieldId])?extInfoFieldValue[item.fieldId].map(v=>v.name).join(','):(extInfoFieldValue[item.fieldId] && extInfoFieldValue[item.fieldId].name?extInfoFieldValue[item.fieldId].name:'')"
477
477
  :label="item.formField.name"
478
478
  name="picker"
479
479
  :placeholder="item.formField.extInfo&&item.formField.extInfo.placeholder?item.formField.extInfo.placeholder:'请选择'"
@@ -481,7 +481,7 @@
481
481
  @click-right-icon.stop="SelectClear(item.fieldId)"
482
482
  :required="item.required || isRequiredFn(item.formField)"
483
483
  :disabled="disableds"
484
- :right-icon="extInfoFieldValue[item.fieldId]? 'close' : 'van-icon van-icon-arrow van-cell__right-icon'"
484
+ :right-icon="extInfoFieldValue[item.fieldId] && extInfoFieldValue[item.fieldId].length? 'close' : 'van-icon van-icon-arrow van-cell__right-icon'"
485
485
  />
486
486
  <van-popup v-model="refShowPicker" position="bottom" :style="{ height: '300px' }">
487
487
  <select-popup
@@ -1214,7 +1214,7 @@ export default {
1214
1214
  if (!this.formList.form.formFieldRelation[i].formField.extInfo.mold ||
1215
1215
  this.formList.form.formFieldRelation[i].formField.extInfo.mold == 'TIME' ||
1216
1216
  this.getMoldTime(this.formList.form.formFieldRelation[i].formField.formField) == 'TIME'){
1217
- this.extInfoFieldValue[this.formList.form.formFieldRelation[i].fieldId]=dateTime.Format('hh:mm')
1217
+ this.extInfoFieldValue[this.formList.form.formFieldRelation[i].fieldId]= dateTime
1218
1218
  }
1219
1219
  else if (this.formList.form.formFieldRelation[i].formField.extInfo.mold == 'DATA_TIME' ||
1220
1220
  this.formList.form.formFieldRelation[i].formField.extInfo.mold == 'DATE_TIME' ||