askbot-dragon 0.9.28 → 0.9.30
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
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
<span v-if="item.fieldId!=='workorder_description'&&item.fieldId!=='workorder_clientId'">{{item.formField.name}}</span>
|
|
16
16
|
<span v-if="item.fieldId==='workorder_description'">问题描述</span>
|
|
17
17
|
<span v-if="item.fieldId==='workorder_clientId'">报单人</span>
|
|
18
|
-
<span style="color: red;padding-left: 5px;padding-right: 5px" v-if="item.required || isRequiredFn(item.formField)">*</span>
|
|
18
|
+
<span style="color: red;padding-left: 5px;padding-right: 5px" v-if="item.fieldId !== '0feca81fce97465da537248c066e4db8' && item.fieldId !=='1d8bd21485834773a6d18eae60013000' && (item.required || isRequiredFn(item.formField))">*</span>
|
|
19
19
|
<el-tooltip class="item" effect="dark" placement="right-start">
|
|
20
20
|
<div slot="content">{{item.formField.remark && item.formField.remark.text}}</div>
|
|
21
21
|
<span v-if="item.formField.remark&&item.formField.remark.enable">
|
|
@@ -623,7 +623,7 @@
|
|
|
623
623
|
:label=item.formField.name
|
|
624
624
|
:placeholder="item.formField.extInfo&&item.formField.extInfo.placeholder?item.formField.extInfo.placeholder:'请选择'"
|
|
625
625
|
@click="openDrawer(item,'cascader')"
|
|
626
|
-
:required="item.required || isRequiredFn(item.formField)"
|
|
626
|
+
:required="item.fieldId !== '0feca81fce97465da537248c066e4db8' && item.fieldId !=='1d8bd21485834773a6d18eae60013000' && (item.required || isRequiredFn(item.formField))"
|
|
627
627
|
:disabled="disableds"
|
|
628
628
|
right-icon="van-icon van-icon-arrow van-cell__right-icon"
|
|
629
629
|
>
|
|
@@ -1952,14 +1952,14 @@ export default {
|
|
|
1952
1952
|
|
|
1953
1953
|
}
|
|
1954
1954
|
let isRequired = true;
|
|
1955
|
-
if (this.mainId == '3e83057a1bd74b79b86859ad619fdbbb' || this.mainId == 'ab0f90737c8b4f2d85ba2157e4473110'){
|
|
1955
|
+
if (this.mainId == '3e83057a1bd74b79b86859ad619fdbbb' || this.mainId == 'ab0f90737c8b4f2d85ba2157e4473110' || this.mainId == '86dc09da570948d2b4841122d732f373'){
|
|
1956
1956
|
isRequired = false
|
|
1957
1957
|
}
|
|
1958
1958
|
/*针对蒙牛企业在对话中系统名称字段暂时不做校验*/
|
|
1959
1959
|
if(this.formShow.form.formFieldRelation[i].display &&
|
|
1960
1960
|
(this.formShow.form.formFieldRelation[i].required || this.isRequiredFn(this.formShow.form.formFieldRelation[i].formField)) &&
|
|
1961
1961
|
this.formShow.form.formFieldRelation[i].fieldId!=='workorder_name'&&
|
|
1962
|
-
((!isRequired && this.formShow.form.formFieldRelation[i].fieldId !== '0feca81fce97465da537248c066e4db8') || isRequired) &&
|
|
1962
|
+
((!isRequired && this.formShow.form.formFieldRelation[i].fieldId !== '0feca81fce97465da537248c066e4db8' && this.formShow.form.formFieldRelation[i].fieldId !=='1d8bd21485834773a6d18eae60013000') || isRequired) &&
|
|
1963
1963
|
this.formShow.form.formFieldRelation[i].formField.type !== 'EXPLANATION') {
|
|
1964
1964
|
let value = "";
|
|
1965
1965
|
let bool = {}
|