askbot-dragon 0.7.99 → 0.8.11
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
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
<ckeditor
|
|
56
56
|
:editor="ckeditor.editor"
|
|
57
57
|
v-model="item.value"
|
|
58
|
-
:config="ckeditor.editorConfig"
|
|
58
|
+
:config="{...ckeditor.editorConfig,placeholder:item.formField.extInfo && item.formField.extInfo.placeholder?item.formField.extInfo.placeholder:'请输入'}"
|
|
59
59
|
v-else-if="item.fieldId==='workorder_description'"
|
|
60
60
|
></ckeditor>
|
|
61
61
|
<el-date-picker
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
:editor="ckeditor.editor"
|
|
280
280
|
v-model="item.value"
|
|
281
281
|
@onReady="onReady"
|
|
282
|
-
:config="ckeditor.editorConfig"
|
|
282
|
+
:config="{...ckeditor.editorConfig,placeholder:item.formField.extInfo && item.formField.extInfo.placeholder?item.formField.extInfo.placeholder:'请输入'}"
|
|
283
283
|
></ckeditor>
|
|
284
284
|
</div>
|
|
285
285
|
</div>
|
|
@@ -1903,7 +1903,7 @@ export default {
|
|
|
1903
1903
|
let fields = field.formField.type === 'REF' ? field.formField.extInfo.ref.field : field.formField.extInfo.ref.vars
|
|
1904
1904
|
if (visible) {
|
|
1905
1905
|
if (
|
|
1906
|
-
!this.
|
|
1906
|
+
!this.refNextPage[field.fieldId] || this.refNextPage[field.fieldId].hasNextPage
|
|
1907
1907
|
) {
|
|
1908
1908
|
this.$set(this.refTemplateList, field.fieldId, [])
|
|
1909
1909
|
!this.dataQuery[field.fieldId] && this.$set(this.dataQuery,field.fieldId, {
|
|
@@ -2088,22 +2088,22 @@ export default {
|
|
|
2088
2088
|
},
|
|
2089
2089
|
//保存ref类型值
|
|
2090
2090
|
confirmRefSelect(option, list){
|
|
2091
|
-
console.debug('options',option,list)
|
|
2091
|
+
console.debug('options',option,list,this.selectDetail)
|
|
2092
2092
|
if (!option || !list){
|
|
2093
2093
|
this.refShowPicker = false;
|
|
2094
2094
|
return
|
|
2095
2095
|
}
|
|
2096
|
-
this.
|
|
2096
|
+
this.selectDetail.value = list;
|
|
2097
2097
|
let val = ''
|
|
2098
2098
|
if (Array.isArray(option)){
|
|
2099
2099
|
val = option.map(item=>{
|
|
2100
2100
|
return item.id
|
|
2101
2101
|
})
|
|
2102
|
-
this.extInfoFieldValue[this.
|
|
2102
|
+
this.extInfoFieldValue[this.selectDetail.fieldId] = option
|
|
2103
2103
|
}
|
|
2104
2104
|
else {
|
|
2105
2105
|
val = option.id
|
|
2106
|
-
this.extInfoFieldValue[this.
|
|
2106
|
+
this.extInfoFieldValue[this.selectDetail.fieldId] = [option]
|
|
2107
2107
|
}
|
|
2108
2108
|
this.refShowPicker = false;
|
|
2109
2109
|
},
|