askbot-dragon 0.9.27 → 0.9.28

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.9.27",
3
+ "version": "0.9.28",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -1951,9 +1951,15 @@ export default {
1951
1951
  }
1952
1952
 
1953
1953
  }
1954
+ let isRequired = true;
1955
+ if (this.mainId == '3e83057a1bd74b79b86859ad619fdbbb' || this.mainId == 'ab0f90737c8b4f2d85ba2157e4473110'){
1956
+ isRequired = false
1957
+ }
1958
+ /*针对蒙牛企业在对话中系统名称字段暂时不做校验*/
1954
1959
  if(this.formShow.form.formFieldRelation[i].display &&
1955
1960
  (this.formShow.form.formFieldRelation[i].required || this.isRequiredFn(this.formShow.form.formFieldRelation[i].formField)) &&
1956
1961
  this.formShow.form.formFieldRelation[i].fieldId!=='workorder_name'&&
1962
+ ((!isRequired && this.formShow.form.formFieldRelation[i].fieldId !== '0feca81fce97465da537248c066e4db8') || isRequired) &&
1957
1963
  this.formShow.form.formFieldRelation[i].formField.type !== 'EXPLANATION') {
1958
1964
  let value = "";
1959
1965
  let bool = {}