cnhis-design-vue 3.1.48-release.4 → 3.1.48-release.6

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.
Files changed (40) hide show
  1. package/es/components/card-reader-sdk/src/cardReaderSDK.js +1 -1
  2. package/es/components/card-reader-sdk/src/constants/index.js +1 -1
  3. package/es/components/card-reader-sdk/src/insuranceSDK.js +1 -1
  4. package/es/components/form-render/src/components/renderer/remoteSearch.d.ts +9 -0
  5. package/es/components/form-render/src/components/renderer/remoteSearch.js +1 -1
  6. package/es/components/form-render/src/components/renderer/select.d.ts +9 -0
  7. package/es/components/form-render/src/components/renderer/select.js +1 -1
  8. package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +2 -0
  9. package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
  10. package/es/components/form-render/src/hooks/useFormValidator.js +1 -1
  11. package/es/components/form-render/src/utils/index.js +1 -1
  12. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +4 -1
  13. package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue2.js +1 -1
  14. package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +1 -1
  15. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +1 -0
  16. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue2.js +1 -1
  17. package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/separateUtils.js +1 -1
  18. package/es/components/iho-table/src/utils/index.d.ts +2 -2
  19. package/es/components/iho-table/src/utils/index.js +1 -1
  20. package/es/components/iho-table/style/index.css +1 -1
  21. package/es/components/index.css +1 -1
  22. package/es/components/scale-view/index.d.ts +1 -0
  23. package/es/components/scale-view/src/ScaleView.vue.d.ts +1 -0
  24. package/es/components/scale-view/src/components/composables/choose-common.js +1 -1
  25. package/es/components/scale-view/src/components/formitem/r-address.d.ts +4 -4
  26. package/es/components/scale-view/src/components/formitem/r-address.js +1 -1
  27. package/es/components/scale-view/src/hooks/scaleview-computed.js +1 -1
  28. package/es/components/scale-view/src/hooks/scaleview-init.js +1 -1
  29. package/es/components/scale-view/src/hooks/scaleview-methods.js +1 -1
  30. package/es/components/scale-view/src/hooks/scaleview-state.d.ts +1 -0
  31. package/es/components/scale-view/src/hooks/scaleview-state.js +1 -1
  32. package/es/components/scale-view/src/hooks/use-component.d.ts +18 -4
  33. package/es/components/scale-view/src/utils/judge-types.d.ts +1 -1
  34. package/es/components/scale-view/src/utils/judge-types.js +1 -1
  35. package/es/components/scale-view/style/index.css +1 -1
  36. package/es/components/select-label/index.d.ts +14 -0
  37. package/es/components/select-label/src/SelectLabel.vue.d.ts +14 -0
  38. package/es/components/select-label/src/SelectLabel.vue2.js +1 -1
  39. package/es/shared/package.json.js +1 -1
  40. package/package.json +2 -2
@@ -112,6 +112,7 @@ declare const CScaleView: SFCWithInstall<import("vue").DefineComponent<{
112
112
  mapVisible: boolean;
113
113
  mapLocation: string;
114
114
  labelSelectedList: never[];
115
+ labelSelectedListObj: {};
115
116
  defaultFormArray: never[];
116
117
  fontSize: string;
117
118
  filterArr: string[];
@@ -110,6 +110,7 @@ declare const _default: import("vue").DefineComponent<{
110
110
  mapVisible: boolean;
111
111
  mapLocation: string;
112
112
  labelSelectedList: never[];
113
+ labelSelectedListObj: {};
113
114
  defaultFormArray: never[];
114
115
  fontSize: string;
115
116
  filterArr: string[];
@@ -1 +1 @@
1
- import{computed as e}from"vue";function i(i,f){return{choiceUseKey:e((()=>"RADIO_BLOCK"===i.item.type||"CHECKBOX_BLOCK"===i.item.type?"key":"value")),choiceColor:e((()=>e=>`${e.color||"rgba(0, 0, 0, 0.65)"} !important`)),showImgWrap:e((()=>e=>!e.prefix&&!e.suffix&&e.imageUrl)),isRadioItem:e((()=>"RADIO_BLOCK"===i.item.type)),isCheckboxItem:e((()=>"CHECKBOX_BLOCK"===i.item.type)),showPreSuffix:e((()=>e=>e.prefix||e.suffix)),handleDefPreSuffix:(e,i,t,r,o)=>{if(e.prefix||e.suffix){if(e.value===t)return!1;if(e.prefix&&0===t.indexOf(e.prefix)){let i=t.substring(e.prefix.length);return f.optionsPreSuffixObj[e.key]=i,e.key}if(e.suffix){let i=t.lastIndexOf(e.suffix);if(e.suffix.length,t.length===i+e.suffix.length){let i=t.lastIndexOf(e.suffix),r=t.substring(0,i);return f.optionsPreSuffixObj[e.key]=r,e.key}}}return t===e.value?e.key:r&&o?(f.othersText=t,"other"):void 0},handleOptions:e=>e.map(((e,i)=>e.prefix||e.suffix?(f.optionsPreSuffixObj[e.key]=void 0,e):e.label?e:null)).filter(Boolean)||[],stopClick:e=>{e.preventDefault(),e.stopPropagation()}}}export{i as default};
1
+ import{computed as e}from"vue";function i(i,f){return{choiceUseKey:e((()=>"RADIO_BLOCK"===i.item.type||"CHECKBOX_BLOCK"===i.item.type?"key":"value")),choiceColor:e((()=>e=>`${e.color||"rgba(0, 0, 0, 0.65)"}`)),showImgWrap:e((()=>e=>!e.prefix&&!e.suffix&&e.imageUrl)),isRadioItem:e((()=>"RADIO_BLOCK"===i.item.type)),isCheckboxItem:e((()=>"CHECKBOX_BLOCK"===i.item.type)),showPreSuffix:e((()=>e=>e.prefix||e.suffix)),handleDefPreSuffix:(e,i,t,r,o)=>{if(e.prefix||e.suffix){if(e.value===t)return!1;if(e.prefix&&0===t.indexOf(e.prefix)){const i=t.substring(e.prefix.length);return f.optionsPreSuffixObj[e.key]=i,e.key}if(e.suffix){const i=t.lastIndexOf(e.suffix);if(e.suffix.length,t.length===i+e.suffix.length){const i=t.lastIndexOf(e.suffix),r=t.substring(0,i);return f.optionsPreSuffixObj[e.key]=r,e.key}}}return t===e.value?e.key:r&&o?(f.othersText=t,"other"):void 0},handleOptions:e=>e.map(((e,i)=>e.prefix||e.suffix?(f.optionsPreSuffixObj[e.key]=void 0,e):e.label?e:null)).filter(Boolean)||[],stopClick:e=>{e.preventDefault(),e.stopPropagation()}}}export{i as default};
@@ -1,11 +1,11 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  form: {
3
3
  type: ObjectConstructor;
4
- default: () => void;
4
+ default: () => {};
5
5
  };
6
6
  item: {
7
7
  type: ObjectConstructor;
8
- default: () => void;
8
+ default: () => {};
9
9
  };
10
10
  isLock: {
11
11
  type: BooleanConstructor;
@@ -14,11 +14,11 @@ declare const _default: import("vue").DefineComponent<{
14
14
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "scaleChange"[], "scaleChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
15
  form: {
16
16
  type: ObjectConstructor;
17
- default: () => void;
17
+ default: () => {};
18
18
  };
19
19
  item: {
20
20
  type: ObjectConstructor;
21
- default: () => void;
21
+ default: () => {};
22
22
  };
23
23
  isLock: {
24
24
  type: BooleanConstructor;
@@ -1 +1 @@
1
- import{defineComponent as e,reactive as l,computed as a,createVNode as s,resolveComponent as i}from"vue";import{NSelect as t,NInput as r}from"naive-ui";import u from"./address.js";import"xe-utils";import"moment";import d from"../../../../../shared/utils/vexutilsExpand.js";var n=e({name:"RAddress",components:{NSelect:t,NInput:r},props:{form:{type:Object,default:()=>{}},item:{type:Object,default:()=>{}},isLock:{type:Boolean,default:!1}},emits:["scaleChange"],setup(e,t){let r=l({provinceValue:-1,cityValue:-1,areaValue:-1,province:[{value:-1,label:"省/自治区/直辖市"}],city:[{value:-1,label:"市"}],area:[{value:-1,label:"区/县"}],addressValue:"",allValue:{}});const n=e.item.setting||{addressType:"province-city-district-address"},c=a((()=>{let e={addressType:"province-city-district-address"};return e=d.isJSON(n)?JSON.parse(n):n,e.addressType})),o=a((()=>c.value.includes("province"))),p=a((()=>c.value.includes("city"))),v=a((()=>c.value.includes("district"))),y=a((()=>c.value.includes("address"))),m=e=>e?Object.keys(e).map((l=>({value:l,label:e[l]}))):[],V=()=>{r.area=[{value:-1,label:"区/县"}],r.areaValue=-1,r.allValue.area={key:-1,label:"区/县"}},b=(l,a,s)=>{r.provinceValue=l,r.city=[{value:-1,label:"市"}],r.cityValue=-1,r.allValue.city={key:-1,label:"市"},V(),-1!=l&&1===r.city.length&&r.city.push(...m(u[l]));let i=r.allValue;i.province={key:l,label:a.label},i.address=r.addressValue,"no"!=s&&t.emit("scaleChange",i,e.item)},f=(l,a,s)=>{r.cityValue=l,V(),-1!=l&&1===r.area.length&&r.area.push(...m(u[l]));let i=r.allValue;i.city={key:l,label:a.label},i.address=r.addressValue,"no"!=s&&t.emit("scaleChange",i,e.item)},h=(l,a,s)=>{r.areaValue=l,r.allValue.area={key:l,label:a.label},"no"!=s&&t.emit("scaleChange",r.allValue,e.item)},k=(l,a)=>{r.addressValue=l,r.allValue.address=l,"no"!=a&&t.emit("scaleChange",r.allValue,e.item)};return(()=>{var l,a,s;r.province.push(...m(u[86]));let i=e.form[e.item.val_key];if(d.isEmpty(i))return;let t=(null==(l=i.province)?void 0:l.key)||-1,n=(null==(a=i.city)?void 0:a.key)||-1,c=(null==(s=i.area)?void 0:s.key)||-1;r.addressValue=i.address,r.allValue=JSON.parse(JSON.stringify(i)),b(t,i.province,"no"),f(n,i.city,"no"),h(c,i.area,"no")})(),()=>s("div",{class:"c-scale-address"},[s("div",{class:"field-row"},[o.value&&s(i("n-select"),{value:r.provinceValue,filterable:!0,placeholder:"请选择",disabled:e.isLock,options:r.province,"onUpdate:value":b},null),p.value&&s(i("n-select"),{value:r.cityValue,filterable:!0,placeholder:"请选择",disabled:e.isLock,options:r.city,"onUpdate:value":f},null),v.value&&s(i("n-select"),{value:r.areaValue,filterable:!0,placeholder:"请选择",disabled:e.isLock,options:r.area,"onUpdate:value":h},null)]),y.value&&s(i("n-input"),{value:r.addressValue,placeholder:"请输入",disabled:e.isLock,"onUpdate:value":k},null)])}});export{n as default};
1
+ import{defineComponent as e,reactive as l,computed as a,createVNode as s,resolveComponent as i}from"vue";import{NSelect as t,NInput as r}from"naive-ui";import u from"./address.js";import"xe-utils";import"moment";import d from"../../../../../shared/utils/vexutilsExpand.js";var n=e({name:"RAddress",components:{NSelect:t,NInput:r},props:{form:{type:Object,default:()=>({})},item:{type:Object,default:()=>({})},isLock:{type:Boolean,default:!1}},emits:["scaleChange"],setup(e,t){const r=l({provinceValue:-1,cityValue:-1,areaValue:-1,province:[{value:-1,label:"省/自治区/直辖市"}],city:[{value:-1,label:"市"}],area:[{value:-1,label:"区/县"}],addressValue:"",allValue:{}}),n=e.item.setting||{addressType:"province-city-district-address"},o=a((()=>{let e={addressType:"province-city-district-address"};return e=d.isJSON(n)?JSON.parse(n):n,e.addressType})),c=a((()=>o.value.includes("province"))),p=a((()=>o.value.includes("city"))),v=a((()=>o.value.includes("district"))),y=a((()=>o.value.includes("address"))),m=e=>e?Object.keys(e).map((l=>({value:l,label:e[l]}))):[],V=()=>{r.area=[{value:-1,label:"区/县"}],r.areaValue=-1;r.allValue.area={key:-1,label:"区/县"}},b=(l,a,s)=>{r.provinceValue=l,r.city=[{value:-1,label:"市"}],r.cityValue=-1,r.allValue.city={key:-1,label:"市"},V(),-1!=l&&1===r.city.length&&r.city.push(...m(u[l]));const i=r.allValue;i.province={key:l,label:null==a?void 0:a.label},i.address=r.addressValue,"no"!=s&&t.emit("scaleChange",i,e.item)},f=(l,a,s)=>{r.cityValue=l,V(),-1!=l&&1===r.area.length&&r.area.push(...m(u[l]));const i=r.allValue;i.city={key:l,label:null==a?void 0:a.label},i.address=r.addressValue,"no"!=s&&t.emit("scaleChange",i,e.item)},h=(l,a,s)=>{r.areaValue=l;r.allValue.area={key:l,label:null==a?void 0:a.label},"no"!=s&&t.emit("scaleChange",r.allValue,e.item)},k=(l,a)=>{r.addressValue=l;r.allValue.address=l,"no"!=a&&t.emit("scaleChange",r.allValue,e.item)};return(()=>{var l,a,s;r.province.push(...m(u[86]));const i=e.form[e.item.val_key];if(d.isEmpty(i))return;const t=(null==(l=i.province)?void 0:l.key)||-1,n=(null==(a=i.city)?void 0:a.key)||-1,o=(null==(s=i.area)?void 0:s.key)||-1;r.addressValue=i.address,r.allValue=JSON.parse(JSON.stringify(i)),b(t,i.province,"no"),f(n,i.city,"no"),h(o,i.area,"no")})(),()=>s("div",{class:"c-scale-address"},[s("div",{class:"field-row"},[c.value&&s(i("n-select"),{value:r.provinceValue,filterable:!0,placeholder:"请选择",disabled:e.isLock,options:r.province,"onUpdate:value":b},null),p.value&&s(i("n-select"),{value:r.cityValue,filterable:!0,placeholder:"请选择",disabled:e.isLock,options:r.city,"onUpdate:value":f},null),v.value&&s(i("n-select"),{value:r.areaValue,filterable:!0,placeholder:"请选择",disabled:e.isLock,options:r.area,"onUpdate:value":h},null)]),y.value&&s(i("n-input"),{value:r.addressValue,placeholder:"请输入",disabled:e.isLock,"onUpdate:value":k},null)])}});export{n as default};
@@ -1 +1 @@
1
- import{computed as e}from"vue";import{isEvaluation as t}from"../utils/judge-types.js";import"xe-utils";import a from"moment";import n from"../../../../shared/utils/vexutilsExpand.js";import{componentMapStr as i}from"./use-component.js";const o=(o,l,r)=>{const{query:s}=r,u=(new Date).getTime(),v=e((()=>{var e,t;return null==(t=null==(e=l.originConfig)?void 0:e.otherSetting)?void 0:t.desLocation})),d=e((()=>{var e,t;return null==(t=null==(e=l.originConfig)?void 0:e.otherSetting)?void 0:t.desContent})),c=e((()=>"start"===v.value&&!!d.value)),m=e((()=>"end"===v.value&&!!d.value)),p=e((()=>{var e;return s.importId||(null==(e=o.params)?void 0:e.importId)})),g=e((()=>1==(null==s?void 0:s.formBoldOpen))),f=e((()=>e=>{var a;return!p.value&&(!!t(e.type)&&(1==(null==s?void 0:s.evatip)||1==(null==(a=o.params)?void 0:a.evatip)))})),h=e((()=>{var e;return(null==(e=l.config)?void 0:e.evaluateResultSetting)||{}})),C=e((()=>{const{evaluateTime:e}=h.value;return+e})),S=e((()=>{var e;return null==(e=h.value)?void 0:e.evaluateStartTime})),E=e((()=>{const e=new Date(S.value);return!!n.isValidDate(e)&&e})),w=e((()=>{const{evaluetaResSituation:e}=h.value||{};return e})),L=e((()=>{const{evaluateZeroTip:e}=h.value||{};return e})),O=e((()=>{if(!S.value||!C.value)return!1;if(!E.value)return!1;const e=a(S.value).add(C.value,"minutes").valueOf();return u>=e})),y=e((()=>{const e=E.value;if(!e)return!1;const t=a(e).valueOf();return u<t})),b=e((()=>e=>{const t=e.required;return o.styleSetting&&Object.keys(o.styleSetting).length&&"formBoldOpen"in o.styleSetting?t&&o.styleSetting.formBoldOpen:t&&g.value})),R=e((()=>{let e=l.fontSize;if(!e||"S"===e)return;e={L:"large",M:"medium",XS:"extrasmall"}[e];const t=e&&(null==o?void 0:o.fontSizeObj[e])||1,a=Math.floor(100/t*1e4)/1e4;return{width:`${a}%`,height:`${a}%`,transform:`scale(${t})`}})),A=e((()=>!("customList"==o.type&&!o.noBtn)&&!(!o.noBtn&&!o.hideBtn))),k=e((()=>e=>ee(e))),B=e((()=>e=>{var a;const{type:n}=e||{},i=!1===(null==(a=l.config)?void 0:a.autoQuestionNumber)?e.showTitle:`${e.softcode}、${e.showTitle}`;if(!t(n))return i;const o=ae(e);return o||L.value?`${i}&nbsp;<span style="color:#2d7aff;" class="score-i">${o}</span>`:i})),T=e((()=>{const{config:e}=l;return!p.value&&(!(!e||!Object.keys(e).length)&&"totalScore"in e)})),_=e((()=>{var e;return(null==(e=o.ids)?void 0:e.guage_id)&&o.noBtn})),U=e((()=>{const e=o.params||{};if(!("skipCover"in e))return!1;return e.skipCover&&!y.value&&!O.value})),j=e((()=>p.value||_.value||l.isFinished||o.noBtn||o.hideBtn)),F=e((()=>l.showEvaluatePage&&l.showEvaluateSettingWrap&&!j.value&&!U.value)),P=e((()=>!T.value&&!F.value&&l.showEvaluateCountdownWrap&&!j.value)),D=e((()=>{const{evaluateResultSetting:e={}}=l.config;return(Object.values(e).filter((e=>{if(e)return!0}))||[]).length})),x=e((()=>l.paramsEvaluate&&Object.keys(l.paramsEvaluate).length)),V=e((()=>{const e=window.location.search||window.location.hash;if(!e)return;const t=["evaname","evadesc","evast","evadur","evaan","evasit","evaztip"].find((t=>e.includes(t)));return l.paramsEvaluate||t})),I=e((()=>{var e;return 1==s.isEdit||1==(null==(e=o.params)?void 0:e.isEdit)||p.value})),N=e((()=>1==l.isFinished&&I.value)),$=e((()=>D.value||V.value?!o.noBtn&&!o.hideBtn&&(!l.isFinished||I.value):!o.noBtn&&!o.hideBtn)),K=e((()=>D.value||V.value?!!o.hideBtn||!!o.isLock||l.isFinished&&!I.value:!!o.hideBtn||!!o.isLock)),M=e((()=>e=>({EVALUATE_RADIO_BLOCK:"单选",EVALUATE_CHECKBOX_BLOCK:"多选"}[e.type]))),q=e((()=>e=>{var t;if(N.value)return!1;const{evaluateAnswer:i,checkAnswerMode:o,evaluateStartTime:r,evaluateTime:s}=(null==(t=l.config)?void 0:t.evaluateResultSetting)||{},u=(null==e?void 0:e.scoreConfigs)||0,v=i&&l.isFinished&&["EVALUATE_RADIO_BLOCK","EVALUATE_CHECKBOX_BLOCK","EVALUATE_SELECT","EVALUATE_INPUT"].includes(e.type)&&u;if(!r||!s||o&&1==o)return v;if(!n.isValidDate(new Date(r)))return v;const d=a(r).add(s,"minutes").diff(a(),"seconds",!0);return v&&d<=0})),J=e((()=>"customList"===o.type?"保存":"提交")),z=e((()=>({getSelectOptions:o.getSelectOptions,getSearchOptions:o.getSearchOptions,openType:o.openType}))),X=e((()=>({getCascadeOptions:o.getCascadeOptions}))),H=e((()=>({uploadPictureUrl:o.uploadPictureUrl,uploadFileUrl:o.uploadFileUrl}))),Q=e((()=>({ak:o.ak}))),W=e((()=>({source:"guage",getChunkUploadConfig:o.getChunkUploadConfig}))),Z=e((()=>({selectedList:l.labelSelectedList,getLabelList:o.getLabelList,deleteLabel:o.deleteLabel,saveLabelItem:o.saveLabelItem,sourceType:o.sourceType}))),G={RSelectCom:z.value,RCascaderCom:X.value,RUploadCom:H.value,RMapCom:Q.value,RVodChunkUploadCom:W.value,CSelectLabelCom:Z.value},Y=e((()=>(e,t)=>{var a;const n=i[e.type],o=G[n]||{},r={form:l.form,item:e,index:t,isLock:K.value,...o};return"RVodChunkUploadCom"===n&&Object.assign(r,{formData:e,limitNum:(null==(a=e.setting)?void 0:a.limitPic)||1,defFileList:l.form[e.val_key]}),"RMapCom"===n&&Object.assign(r,{locationProp:l.form[e.val_key]}),"CSelectLabelCom"===n&&(delete r.form,delete r.index),r})),ee=(e,t)=>{if(e.hide)return!1;const{form:a={},formArray:i=[]}=l;let o={};if(t){let t=e.setting;if(e.setting&&n.isJSON(e.setting)&&(t=JSON.parse(e.setting)),o=n.isString(t.callbackCondition)?JSON.parse(t.callbackCondition):t.callbackCondition,!o||!o.condition||!o.condition.length)return!0}else o=n.isString(e.relationLogic)?JSON.parse(e.relationLogic):e.relationLogic;if(!o||!Object.keys(o).length)return!0;const{relation_logic_is:r,condition:s,relation_logic:u}=o;if(r){const t=s.map((e=>{const t=i.filter((t=>t.seq==e.subject_seq))[0],o=te(t);return n.isArray(a[o])?a[o].some((t=>e.value.includes(t))):e.value.includes(a[o])}));e.isShow="OR"==u?t.some((e=>e)):"AND"==u?t.every((e=>e)):t[0]}return e.isShow},te=e=>e.databaseTitle||e.title,ae=e=>{const{maxScore:t=0}=e.scoreConfigs||{};if(t||L.value)return`(${t}分)`},ne=e((()=>{var e;return{formArray:l.formArray,evaluateResultConfig:(null==(e=l.config)?void 0:e.evaluateResultConfig)||{},evaluateResultSetting:h.value,isFinished:l.isFinished,maxScore:l.maxScore,skipCover:U.value}})),ie=e((()=>{var e;return{formArray:l.formArray,evaluateResultConfig:(null==(e=l.config)?void 0:e.evaluateResultConfig)||{},evaluateResultSetting:h.value,form:l.form,isFinished:l.isFinished,currentTime:l.currentTime,showEvaluateCountdown:l.showEvaluateCountdown,isEvaluetaResSituation:w.value,evaResultObj:l.evaResultObj}}));return{showEvatip:f,isFormBoldOpen:b,scaleStyle:R,handlePageClass:A,isShowItem:k,handleShowQuestionNumber:B,hasScore:T,isPreviewScale:_,showEvaluateEntry:F,showEvaluateCoundownPage:P,hasEvaluateResultSetting:D,hasparamsEvaluate:x,hasDefault:V,showSaveBtn:$,componentDisable:K,showEvaluateLabel:M,showAnswerParse:q,tipMsg:J,propsConfig:Y,showEvent:ee,formKey:te,evaluatePageProps:ne,evaluateCountdownProps:ie,skipCover:U,scaleEdit:N,isEvaluetaResSituation:w,disableEdit:j,isImportScale:p,desStart:c,desEnd:m,desContent:d}};export{o as ScaleViewComputed};
1
+ import{computed as e}from"vue";import{isEvaluation as t}from"../utils/judge-types.js";import"xe-utils";import a from"moment";import i from"../../../../shared/utils/vexutilsExpand.js";import{componentMapStr as n}from"./use-component.js";const l=(l,o,r)=>{const{query:s}=r,u=(new Date).getTime(),v=e((()=>{var e,t;return null==(t=null==(e=o.originConfig)?void 0:e.otherSetting)?void 0:t.desLocation})),d=e((()=>{var e,t;return null==(t=null==(e=o.originConfig)?void 0:e.otherSetting)?void 0:t.desContent})),c=e((()=>"start"===v.value&&!!d.value)),m=e((()=>"end"===v.value&&!!d.value)),p=e((()=>{var e;return s.importId||(null==(e=l.params)?void 0:e.importId)})),g=e((()=>1==(null==s?void 0:s.formBoldOpen))),f=e((()=>e=>{var a;return!p.value&&(!!t(e.type)&&(1==(null==s?void 0:s.evatip)||1==(null==(a=l.params)?void 0:a.evatip)))})),h=e((()=>{var e;return(null==(e=o.config)?void 0:e.evaluateResultSetting)||{}})),C=e((()=>{const{evaluateTime:e}=h.value;return+e})),S=e((()=>{var e;return null==(e=h.value)?void 0:e.evaluateStartTime})),E=e((()=>{const e=new Date(S.value);return!!i.isValidDate(e)&&e})),O=e((()=>{const{evaluetaResSituation:e}=h.value||{};return e})),L=e((()=>{const{evaluateZeroTip:e}=h.value||{};return e})),w=e((()=>{if(!S.value||!C.value)return!1;if(!E.value)return!1;const e=a(S.value).add(C.value,"minutes").valueOf();return u>=e})),y=e((()=>{const e=E.value;if(!e)return!1;const t=a(e).valueOf();return u<t})),b=e((()=>e=>{const t=e.required;return l.styleSetting&&Object.keys(l.styleSetting).length&&"formBoldOpen"in l.styleSetting?t&&l.styleSetting.formBoldOpen:t&&g.value})),R=e((()=>{let e=o.fontSize;if(!e||"S"===e)return;e={L:"large",M:"medium",XS:"extrasmall"}[e];const t=e&&(null==l?void 0:l.fontSizeObj[e])||1,a=Math.floor(100/t*1e4)/1e4;return{width:`${a}%`,height:`${a}%`,transform:`scale(${t})`}})),A=e((()=>!("customList"==l.type&&!l.noBtn)&&!(!l.noBtn&&!l.hideBtn))),k=e((()=>e=>ee(e))),B=e((()=>e=>{var a;const{type:i}=e||{},n=!1===(null==(a=o.config)?void 0:a.autoQuestionNumber)?e.showTitle:`${e.softcode}、${e.showTitle}`;if(!t(i))return n;const l=ae(e);return l||L.value?`${n}&nbsp;<span style="color:#2d7aff;" class="score-i">${l}</span>`:n})),T=e((()=>{const{config:e}=o;return!p.value&&(!(!e||!Object.keys(e).length)&&"totalScore"in e)})),j=e((()=>{var e;return(null==(e=l.ids)?void 0:e.guage_id)&&l.noBtn})),_=e((()=>{const e=l.params||{};if(!("skipCover"in e))return!1;return e.skipCover&&!y.value&&!w.value})),U=e((()=>p.value||j.value||o.isFinished||l.noBtn||l.hideBtn)),F=e((()=>o.showEvaluatePage&&o.showEvaluateSettingWrap&&!U.value&&!_.value)),P=e((()=>!T.value&&!F.value&&o.showEvaluateCountdownWrap&&!U.value)),D=e((()=>{const{evaluateResultSetting:e={}}=o.config;return(Object.values(e).filter((e=>{if(e)return!0}))||[]).length})),x=e((()=>o.paramsEvaluate&&Object.keys(o.paramsEvaluate).length)),V=e((()=>{const e=window.location.search||window.location.hash;if(!e)return;const t=["evaname","evadesc","evast","evadur","evaan","evasit","evaztip"].find((t=>e.includes(t)));return o.paramsEvaluate||t})),I=e((()=>{var e;return 1==s.isEdit||1==(null==(e=l.params)?void 0:e.isEdit)||p.value})),N=e((()=>1==o.isFinished&&I.value)),$=e((()=>D.value||V.value?!l.noBtn&&!l.hideBtn&&(!o.isFinished||I.value):!l.noBtn&&!l.hideBtn)),K=e((()=>D.value||V.value?!!l.hideBtn||!!l.isLock||o.isFinished&&!I.value:!!l.hideBtn||!!l.isLock)),M=e((()=>e=>({EVALUATE_RADIO_BLOCK:"单选",EVALUATE_CHECKBOX_BLOCK:"多选"}[e.type]))),q=e((()=>e=>{var t;if(N.value)return!1;const{evaluateAnswer:n,checkAnswerMode:l,evaluateStartTime:r,evaluateTime:s}=(null==(t=o.config)?void 0:t.evaluateResultSetting)||{},u=(null==e?void 0:e.scoreConfigs)||0,v=n&&o.isFinished&&["EVALUATE_RADIO_BLOCK","EVALUATE_CHECKBOX_BLOCK","EVALUATE_SELECT","EVALUATE_INPUT"].includes(e.type)&&u;if(!r||!s||l&&1==l)return v;if(!i.isValidDate(new Date(r)))return v;const d=a(r).add(s,"minutes").diff(a(),"seconds",!0);return v&&d<=0})),J=e((()=>"customList"===l.type?"保存":"提交")),z=e((()=>({getSelectOptions:l.getSelectOptions,getSearchOptions:l.getSearchOptions,openType:l.openType}))),X=e((()=>({getCascadeOptions:l.getCascadeOptions}))),H=e((()=>({uploadPictureUrl:l.uploadPictureUrl,uploadFileUrl:l.uploadFileUrl}))),Q=e((()=>({ak:l.ak}))),W=e((()=>({source:"guage",getChunkUploadConfig:l.getChunkUploadConfig}))),Z=e((()=>({selectedList:o.labelSelectedList,selectedListObj:o.labelSelectedListObj,getLabelList:l.getLabelList,deleteLabel:l.deleteLabel,saveLabelItem:l.saveLabelItem,sourceType:l.sourceType}))),G={RSelectCom:z.value,RCascaderCom:X.value,RUploadCom:H.value,RMapCom:Q.value,RVodChunkUploadCom:W.value},Y=e((()=>(e,t)=>{var a;const i=n[e.type],l=G[i]||{},r={form:o.form,item:e,index:t,isLock:K.value,...l};return"RVodChunkUploadCom"===i&&Object.assign(r,{formData:e,limitNum:(null==(a=e.setting)?void 0:a.limitPic)||1,defFileList:o.form[e.val_key]}),"RMapCom"===i&&Object.assign(r,{locationProp:o.form[e.val_key]}),"CSelectLabelCom"===i&&(Object.assign(r,{...Z.value}),delete r.form,delete r.index),r})),ee=(e,t)=>{if(e.hide)return!1;const{form:a={},formArray:n=[]}=o;let l={};if(t){let t=e.setting;if(e.setting&&i.isJSON(e.setting)&&(t=JSON.parse(e.setting)),l=i.isString(t.callbackCondition)?JSON.parse(t.callbackCondition):t.callbackCondition,!l||!l.condition||!l.condition.length)return!0}else l=i.isString(e.relationLogic)?JSON.parse(e.relationLogic):e.relationLogic;if(!l||!Object.keys(l).length)return!0;const{relation_logic_is:r,condition:s,relation_logic:u}=l;if(r){const t=s.map((e=>{const t=n.filter((t=>t.seq==e.subject_seq))[0],l=te(t);return i.isArray(a[l])?a[l].some((t=>e.value.includes(t))):e.value.includes(a[l])}));e.isShow="OR"==u?t.some((e=>e)):"AND"==u?t.every((e=>e)):t[0]}return e.isShow},te=e=>e.databaseTitle||e.title,ae=e=>{const{maxScore:t=0}=e.scoreConfigs||{};if(t||L.value)return`(${t}分)`},ie=e((()=>{var e;return{formArray:o.formArray,evaluateResultConfig:(null==(e=o.config)?void 0:e.evaluateResultConfig)||{},evaluateResultSetting:h.value,isFinished:o.isFinished,maxScore:o.maxScore,skipCover:_.value}})),ne=e((()=>{var e;return{formArray:o.formArray,evaluateResultConfig:(null==(e=o.config)?void 0:e.evaluateResultConfig)||{},evaluateResultSetting:h.value,form:o.form,isFinished:o.isFinished,currentTime:o.currentTime,showEvaluateCountdown:o.showEvaluateCountdown,isEvaluetaResSituation:O.value,evaResultObj:o.evaResultObj}}));return{showEvatip:f,isFormBoldOpen:b,scaleStyle:R,handlePageClass:A,isShowItem:k,handleShowQuestionNumber:B,hasScore:T,isPreviewScale:j,showEvaluateEntry:F,showEvaluateCoundownPage:P,hasEvaluateResultSetting:D,hasparamsEvaluate:x,hasDefault:V,showSaveBtn:$,componentDisable:K,showEvaluateLabel:M,showAnswerParse:q,tipMsg:J,propsConfig:Y,showEvent:ee,formKey:te,evaluatePageProps:ie,evaluateCountdownProps:ne,skipCover:_,scaleEdit:N,isEvaluetaResSituation:O,disableEdit:U,isImportScale:p,desStart:c,desEnd:m,desContent:d}};export{l as ScaleViewComputed};
@@ -1 +1 @@
1
- import{handleQueryParams as e,getQueryVariable as t,formatMap as a}from"../utils/judge-types.js";import i from"./use-noData.js";import"xe-utils";import n from"moment";import s from"../../../../shared/utils/vexutilsExpand.js";import{componentMap as l}from"./use-component.js";import{useEvent as r}from"./use-event.js";import{ScaleViewComputed as o}from"./scaleview-computed.js";import{ScaleViewValidate as u}from"./scaleview-validate.js";import{useDialog as v}from"naive-ui";const c=(c,f,d,p)=>{const m=n(),g=v(),{setNoData:S}=i(),{hasEvaluateResultSetting:E,hasparamsEvaluate:y,hasDefault:O,formKey:C,isImportScale:A}=o(c,f,p),{formatRules:h}=u(c,f,p),{nextLogicEvent:R}=r(c,f),T=e=>{const t=null==e?void 0:e.evaluateStartTime;t&&!s.isValidDate(new Date(t))&&s.isValidDate(new Date(Number(t)))&&(e.evaluateStartTime=Number(t))},L=()=>{var t;if(!E.value)return!!O.value&&("evaluateResultSetting"in f.config||(f.config.evaluateResultSetting={}),(t=>{let a=e();if(y.value&&(a=f.paramsEvaluate),a.evaname&&(t.evaluateName=a.evaname),a.evadesc&&(t.evaluateExplain=a.evadesc),a.evast&&(t.evaluateStartTime=a.evast),a.evadur&&(t.evaluateTime=a.evadur),a.evaan){const e="true"===a.evaan||1==a.evaan;t.evaluateAnswer=e}if(a.evasit&&(t.evaluetaResSituation=!!a.evasit),a.evaztip){const e=1==a.evaan;t.evaluateZeroTip=e}T(t)})(f.config.evaluateResultSetting),f.showEvaluatePage=!0,void(f.showEvaluateCountdownWrap=!0));const{evaluateResultSetting:a={}}=f.config;if(!a||!Object.keys(a).length)return;f.showEvaluateCountdownWrap=!0;const{evaluateStartTime:i}=a,{evaluateName:n}=(null==(t=f.originConfig)?void 0:t.evaluateResultSetting)||{};if(i)return!(!s.isValidDate(new Date(i))&&!n)&&void(f.showEvaluatePage=!0);f.showEvaluatePage=!0},N=(e,t)=>{const a=e.find((e=>t===e.value));return a?a.key:t},b=(e,t)=>{if(["RADIO_BLOCK","CHECKBOX_BLOCK"].includes(t)&&e&&(e&&s.isJSON(e)&&(e=JSON.parse(e)),e.length))return!0},D=t=>{var a,i;if(!t||!t.length)return;const n=e();if((null==c?void 0:c.noBtn)||(null==n?void 0:n.noBtn))return;const l=t.find((e=>"FRONT_ADDRESS"===e.type));if(!l||!Object.keys(l).length)return;let r;if(l.setting&&s.isJSON(l.setting)&&(r=JSON.parse(l.setting)),!r||!Object.keys(r).length)return;if(1==(null==n?void 0:n.redirect)||1==(null==(a=c.params)?void 0:a.redirect)||3==n.isEdit||3==(null==(i=c.params)?void 0:i.isEdit))return;const{frontAddress:o}=r;if(o){const e=window.location.href;let t="?";o.includes("?")&&(t="&");return`${o}${t}redirect_url=${encodeURIComponent(e)}`}},w=e=>{const t=["evaname","evadesc","evast","evadur","evaan","evasit","evaztip"],a={};for(const i in e){const n=e[i];t.includes(i)&&n&&(a[i]=n)}return a},k=t=>{if(!t||!Object.keys(t).length)return;let a=e()||{};y.value&&(a=f.paramsEvaluate);const i={evaluateName:"evaname",evaluateExplain:"evadesc",evaluateStartTime:"evast",evaluateTime:"evadur",evaluateAnswer:"evaan",evaluetaResSituation:"evasit",evaluateZeroTip:"evaztip"},n=["evaluateAnswer","evaluetaResSituation","evaluateZeroTip"];for(const e in t){const s=t[e];if(s&&"evaluateAnswer"!=e&&"string"==typeof s&&s.includes("${")&&"string"==typeof s){const i=s.replace(/\$\{([^}]+)\}/g,((e,t)=>{let i;return t.startsWith("form.")&&(i=a[t.split(".")[1]]),i||""}));t[e]=i}else{let s=a[i[e]];n.includes(e)&&(s="true"===s||1==s),a[i[e]]&&(t[e]=s)}}if(O.value){const e={evaname:"evaluateName",evadesc:"evaluateExplain",evast:"evaluateStartTime",evadur:"evaluateTime",evaan:"evaluateAnswer",evasit:"evaluetaResSituation",evaztip:"evaluateZeroTip"},i=["evaan","evasit","evaztip"];["evaname","evadesc","evast","evadur","evaan","evasit","evaztip"].forEach((n=>{const s=e[n];if(!t[s]){let e=a[n];i.includes(n)&&(e="true"===e||1==e),a[n]&&(t[s]=e)}}))}T(t)},J=e=>{let t=1;return e.map((a=>{const i=C(a);(i||"").replace(/\n/g,""),a.showTitle=a.title,a.val_key=i,a.renderCom=l[a.type],a.isShow=!0,Object.keys(a).forEach((e=>{s.isJSON(a[e])&&"LOCATION"!=a.type&&(a[e]=JSON.parse(a[e]))}));var n;return["LINEBAR","TITLE","PROMPT","IMGCARD","RICH_TEXT"].indexOf(a.type)<0&&!a.hide&&(a.softcode=t++),("SELECT"==(n=a.type)||"RADIO_BLOCK"==n||"CHECKBOX_BLOCK"==n||"SEARCH_CASCADE"==n||"EVALUATE_RADIO_BLOCK"==n||"EVALUATE_CHECKBOX_BLOCK"==n||"EVALUATE_SELECT"==n)&&(((e,t)=>{b(e,t)&&e.forEach(((e,t)=>{"other"!==e.key&&(e.key=t+1),(e.prefix||e.suffix)&&(e.value=e.prefix||e.suffix)}))})(a.options,a.type),"SEARCH_CASCADE"!=a.type&&(a.dbValue?R(a.dbValue,a,e):a.setting.defaultValue&&R(a.setting.defaultValue,a,e))),a})).map((t=>(((e,t)=>{const a=s.isString(t.relationLogic)?JSON.parse(t.relationLogic):t.relationLogic,{condition:i}=a||{};i&&i.length&&(i.forEach((t=>{const a=e.find((e=>e.seq==t.subject_seq));if(!a)return;if(!b(a.options,a.type))return;let i=t.value;Array.isArray(i)?(i=i.map((e=>N(a.options,e))),t.value=i):t.value=N(a.options,i)})),t.relationLogic=a)})(e,t),(e=>{const{nextLogic:t,options:a,type:i}=e||{};if(!t||!b(a,i))return;const{condition:n}=t||{};n&&n.length&&n.forEach((e=>{let t=e.value;Array.isArray(t)?(t=t.map((e=>N(a,e))),e.value=t):e.value=N(a,t)}))})(t),"CHECKBOX_BLOCK"===t.type&&t.dbValue&&!Array.isArray(t.dbValue)&&"customList"===c.type&&(t.dbValue=t.dbValue.split(",").filter((e=>!!e))),t)))},_=e=>{const i={};let l;return e.forEach((e=>{var r;const o=e.val_key,{type:u}=e;let v;switch(v=e.dbValue?e.dbValue:((e,i)=>{var s,l,r,o;if(A.value)return;let u;const{defValType:v,dateType:d}=e.setting||{};if(3==v){const a=null==(l=null==(s=e.setting)?void 0:s.outDefaultValue)?void 0:l.urlKey;if(a){const i=a.split(",");if(i.length>1){const e=i.map((e=>{const a=t(e,f,c.params);return a?decodeURIComponent(a):null})).filter(Boolean);e.length&&(u=e)}else{let a=t(i[0],f,c.params);a&&(a=decodeURIComponent(a),u="CHECKBOX_BLOCK"==e.type?a.split():a)}}}if("DATETIME"===i&&4==v){const t=(null==(r=a[d])?void 0:r.replace("-dd","-DD"))||"yyyy-MM-DD HH:mm:ss",i=m.format(t);u=1==(null==(o=e.setting)?void 0:o.startToStop)?[i,n().endOf("day").format(t)]:i}return u})(e,u),u){case"LOCATION":i[o]=v||"";break;case"SEARCH_CASCADE":case"UPFILE":case"UPPICTURE":i[o]=v||[];break;case"ADDRESS":i[o]=v||"",f.defaultAddress=v||{};break;case"LABEL":i[o]=v||{},s.isObject(v)?f.labelSelectedList=(null==v?void 0:v.labels)||[]:Array.isArray(v)?f.labelSelectedList=v:f.labelSelectedList=[];break;case"TITLE":i[o]=e.title;break;case"IMGCARD":i[o]=(null==(r=e.setting)?void 0:r.imgUrl)||"";break;case"CHECKBOX_BLOCK":v&&!Array.isArray(v)&&"customList"===c.type?i[o]=v.split(",").filter((e=>!!e)):(l=v||e.setting.defaultValue,s.isJSON(l)&&(l=JSON.parse(l)),i[o]=l);break;default:l=v||e.setting.defaultValue,s.isJSON(l)&&(l=JSON.parse(l)),i[o]=l}})),i};return{initForm:e=>{var t;let{list:a=[],map:i={},isFinished:n=!1}=e;const l=D(a);if(l)return void(window.location.href=l);if(i.maxScore&&(f.maxScore=i.maxScore),f.isFinished=n,e.isNotFilled)return f.spinning=!1,f.hasFrontAddress=!1,void S(!0,"未查询到量表填写记录");if(e.isLackCustomer&&g.info({title:"已设置填写次数限制",content:"请在包含用户信息的环境中打开此量表",maskClosable:!1,onPositiveClick(){d("onCloseSetting")}}),f.config=i,"evaluateResultConfig"in i&&s.isJSON(i.evaluateResultConfig)&&(f.config.evaluateResultConfig=JSON.parse(i.evaluateResultConfig)),"evaluateResultSetting"in i&&s.isJSON(i.evaluateResultSetting)&&(f.config.evaluateResultSetting=JSON.parse(i.evaluateResultSetting),(null==(t=f.config)?void 0:t.randomId)&&f.config.evaluateResultSetting&&(f.config.evaluateResultSetting.evaluateName=f.config.name,f.config.evaluateResultSetting.evaluateExplain=f.config.remark)),"otherSetting"in i&&s.isJSON(i.otherSetting)&&(f.config.otherSetting=JSON.parse(i.otherSetting)),f.originConfig=JSON.parse(JSON.stringify(f.config)),c.params&&Object.keys(c.params).length){const e=w(c.params);e&&Object.keys(e).length&&(f.paramsEvaluate=e)}k(f.config.evaluateResultSetting),L(),f.defaultFormArray=JSON.parse(JSON.stringify(a));const r=f.filterArr;a=a.filter((e=>!r.includes(e.type))),f.formArray=J(a||[]),f.form=_(f.formArray),f.rules=h(f.formArray),f.fontSize=e.fontSize,f.spinning=!1,f.hasFrontAddress=!1}}};export{c as ScaleViewInit};
1
+ import{handleQueryParams as e,getQueryVariable as t,formatMap as a}from"../utils/judge-types.js";import i from"./use-noData.js";import"xe-utils";import n from"moment";import s from"../../../../shared/utils/vexutilsExpand.js";import{componentMap as r}from"./use-component.js";import{useEvent as l}from"./use-event.js";import{ScaleViewComputed as o}from"./scaleview-computed.js";import{ScaleViewValidate as u}from"./scaleview-validate.js";import{useDialog as v}from"naive-ui";const c=(c,f,d,p)=>{const m=n(),g=v(),{setNoData:S}=i(),{hasEvaluateResultSetting:E,hasparamsEvaluate:O,hasDefault:y,formKey:C,isImportScale:A}=o(c,f,p),{formatRules:h}=u(c,f,p),{nextLogicEvent:R}=l(c,f),T=e=>{const t=null==e?void 0:e.evaluateStartTime;t&&!s.isValidDate(new Date(t))&&s.isValidDate(new Date(Number(t)))&&(e.evaluateStartTime=Number(t))},N=()=>{var t;if(!E.value)return!!y.value&&("evaluateResultSetting"in f.config||(f.config.evaluateResultSetting={}),(t=>{let a=e();if(O.value&&(a=f.paramsEvaluate),a.evaname&&(t.evaluateName=a.evaname),a.evadesc&&(t.evaluateExplain=a.evadesc),a.evast&&(t.evaluateStartTime=a.evast),a.evadur&&(t.evaluateTime=a.evadur),a.evaan){const e="true"===a.evaan||1==a.evaan;t.evaluateAnswer=e}if(a.evasit&&(t.evaluetaResSituation=!!a.evasit),a.evaztip){const e=1==a.evaan;t.evaluateZeroTip=e}T(t)})(f.config.evaluateResultSetting),f.showEvaluatePage=!0,void(f.showEvaluateCountdownWrap=!0));const{evaluateResultSetting:a={}}=f.config;if(!a||!Object.keys(a).length)return;f.showEvaluateCountdownWrap=!0;const{evaluateStartTime:i}=a,{evaluateName:n}=(null==(t=f.originConfig)?void 0:t.evaluateResultSetting)||{};if(i)return!(!s.isValidDate(new Date(i))&&!n)&&void(f.showEvaluatePage=!0);f.showEvaluatePage=!0},L=(e,t)=>{const a=e.find((e=>t===e.value));return a?a.key:t},b=(e,t)=>{if(["RADIO_BLOCK","CHECKBOX_BLOCK"].includes(t)&&e&&(e&&s.isJSON(e)&&(e=JSON.parse(e)),e.length))return!0},D=t=>{var a,i;if(!t||!t.length)return;const n=e();if((null==c?void 0:c.noBtn)||(null==n?void 0:n.noBtn))return;const r=t.find((e=>"FRONT_ADDRESS"===e.type));if(!r||!Object.keys(r).length)return;let l;if(r.setting&&s.isJSON(r.setting)&&(l=JSON.parse(r.setting)),!l||!Object.keys(l).length)return;if(1==(null==n?void 0:n.redirect)||1==(null==(a=c.params)?void 0:a.redirect)||3==n.isEdit||3==(null==(i=c.params)?void 0:i.isEdit))return;const{frontAddress:o}=l;if(o){const e=window.location.href;let t="?";o.includes("?")&&(t="&");return`${o}${t}redirect_url=${encodeURIComponent(e)}`}},w=e=>{const t=["evaname","evadesc","evast","evadur","evaan","evasit","evaztip"],a={};for(const i in e){const n=e[i];t.includes(i)&&n&&(a[i]=n)}return a},k=t=>{if(!t||!Object.keys(t).length)return;let a=e()||{};O.value&&(a=f.paramsEvaluate);const i={evaluateName:"evaname",evaluateExplain:"evadesc",evaluateStartTime:"evast",evaluateTime:"evadur",evaluateAnswer:"evaan",evaluetaResSituation:"evasit",evaluateZeroTip:"evaztip"},n=["evaluateAnswer","evaluetaResSituation","evaluateZeroTip"];for(const e in t){const s=t[e];if(s&&"evaluateAnswer"!=e&&"string"==typeof s&&s.includes("${")&&"string"==typeof s){const i=s.replace(/\$\{([^}]+)\}/g,((e,t)=>{let i;return t.startsWith("form.")&&(i=a[t.split(".")[1]]),i||""}));t[e]=i}else{let s=a[i[e]];n.includes(e)&&(s="true"===s||1==s),a[i[e]]&&(t[e]=s)}}if(y.value){const e={evaname:"evaluateName",evadesc:"evaluateExplain",evast:"evaluateStartTime",evadur:"evaluateTime",evaan:"evaluateAnswer",evasit:"evaluetaResSituation",evaztip:"evaluateZeroTip"},i=["evaan","evasit","evaztip"];["evaname","evadesc","evast","evadur","evaan","evasit","evaztip"].forEach((n=>{const s=e[n];if(!t[s]){let e=a[n];i.includes(n)&&(e="true"===e||1==e),a[n]&&(t[s]=e)}}))}T(t)},J=e=>{let t=1;return e.map((a=>{const i=C(a);(i||"").replace(/\n/g,""),a.showTitle=a.title,a.val_key=i,a.renderCom=r[a.type],a.isShow=!0,Object.keys(a).forEach((e=>{s.isJSON(a[e])&&"LOCATION"!=a.type&&(a[e]=JSON.parse(a[e]))}));var n;return["LINEBAR","TITLE","PROMPT","IMGCARD","RICH_TEXT"].indexOf(a.type)<0&&!a.hide&&(a.softcode=t++),("SELECT"==(n=a.type)||"RADIO_BLOCK"==n||"CHECKBOX_BLOCK"==n||"SEARCH_CASCADE"==n||"EVALUATE_RADIO_BLOCK"==n||"EVALUATE_CHECKBOX_BLOCK"==n||"EVALUATE_SELECT"==n)&&(((e,t)=>{b(e,t)&&e.forEach(((e,t)=>{"other"!==e.key&&(e.key=t+1),(e.prefix||e.suffix)&&(e.value=e.prefix||e.suffix)}))})(a.options,a.type),"SEARCH_CASCADE"!=a.type&&(a.dbValue?R(a.dbValue,a,e):a.setting.defaultValue&&R(a.setting.defaultValue,a,e))),a})).map((t=>(((e,t)=>{const a=s.isString(t.relationLogic)?JSON.parse(t.relationLogic):t.relationLogic,{condition:i}=a||{};i&&i.length&&(i.forEach((t=>{const a=e.find((e=>e.seq==t.subject_seq));if(!a)return;if(!b(a.options,a.type))return;let i=t.value;Array.isArray(i)?(i=i.map((e=>L(a.options,e))),t.value=i):t.value=L(a.options,i)})),t.relationLogic=a)})(e,t),(e=>{const{nextLogic:t,options:a,type:i}=e||{};if(!t||!b(a,i))return;const{condition:n}=t||{};n&&n.length&&n.forEach((e=>{let t=e.value;Array.isArray(t)?(t=t.map((e=>L(a,e))),e.value=t):e.value=L(a,t)}))})(t),"CHECKBOX_BLOCK"===t.type&&t.dbValue&&!Array.isArray(t.dbValue)&&"customList"===c.type&&(t.dbValue=t.dbValue.split(",").filter((e=>!!e))),t)))},_=e=>{const i={};let r;return e.forEach((e=>{var l;const o=e.val_key,{type:u}=e;let v;switch(v=e.dbValue?e.dbValue:((e,i)=>{var s,r,l,o;if(A.value)return;let u;const{defValType:v,dateType:d}=e.setting||{};if(3==v){const a=null==(r=null==(s=e.setting)?void 0:s.outDefaultValue)?void 0:r.urlKey;if(a){const i=a.split(",");if(i.length>1){const e=i.map((e=>{const a=t(e,f,c.params);return a?decodeURIComponent(a):null})).filter(Boolean);e.length&&(u=e)}else{let a=t(i[0],f,c.params);a&&(a=decodeURIComponent(a),u="CHECKBOX_BLOCK"==e.type?a.split():a)}}}if("DATETIME"===i&&4==v){const t=(null==(l=a[d])?void 0:l.replace("-dd","-DD"))||"yyyy-MM-DD HH:mm:ss",i=m.format(t);u=1==(null==(o=e.setting)?void 0:o.startToStop)?[i,n().endOf("day").format(t)]:i}return u})(e,u),u){case"LOCATION":i[o]=v||"";break;case"SEARCH_CASCADE":case"UPFILE":case"UPPICTURE":i[o]=v||[];break;case"ADDRESS":i[o]=v||"",f.defaultAddress=v||{};break;case"LABEL":{i[o]=v||{};let e=[];s.isObject(v)?e=(null==v?void 0:v.labels)||[]:Array.isArray(v)&&(e=v),f.labelSelectedList=e,f.labelSelectedListObj[o]=e;break}case"TITLE":i[o]=e.title;break;case"IMGCARD":i[o]=(null==(l=e.setting)?void 0:l.imgUrl)||"";break;case"CHECKBOX_BLOCK":v&&!Array.isArray(v)&&"customList"===c.type?i[o]=v.split(",").filter((e=>!!e)):(r=v||e.setting.defaultValue,s.isJSON(r)&&(r=JSON.parse(r)),i[o]=r);break;default:r=v||e.setting.defaultValue,s.isJSON(r)&&(r=JSON.parse(r)),i[o]=r}})),i};return{initForm:e=>{var t;let{list:a=[],map:i={},isFinished:n=!1}=e;const r=D(a);if(r)return void(window.location.href=r);if(i.maxScore&&(f.maxScore=i.maxScore),f.isFinished=n,e.isNotFilled)return f.spinning=!1,f.hasFrontAddress=!1,void S(!0,"未查询到量表填写记录");if(e.isLackCustomer&&g.info({title:"已设置填写次数限制",content:"请在包含用户信息的环境中打开此量表",maskClosable:!1,onPositiveClick(){d("onCloseSetting")}}),f.config=i,"evaluateResultConfig"in i&&s.isJSON(i.evaluateResultConfig)&&(f.config.evaluateResultConfig=JSON.parse(i.evaluateResultConfig)),"evaluateResultSetting"in i&&s.isJSON(i.evaluateResultSetting)&&(f.config.evaluateResultSetting=JSON.parse(i.evaluateResultSetting),(null==(t=f.config)?void 0:t.randomId)&&f.config.evaluateResultSetting&&(f.config.evaluateResultSetting.evaluateName=f.config.name,f.config.evaluateResultSetting.evaluateExplain=f.config.remark)),"otherSetting"in i&&s.isJSON(i.otherSetting)&&(f.config.otherSetting=JSON.parse(i.otherSetting)),f.originConfig=JSON.parse(JSON.stringify(f.config)),c.params&&Object.keys(c.params).length){const e=w(c.params);e&&Object.keys(e).length&&(f.paramsEvaluate=e)}k(f.config.evaluateResultSetting),N(),f.defaultFormArray=JSON.parse(JSON.stringify(a));const l=f.filterArr;a=a.filter((e=>!l.includes(e.type))),f.formArray=J(a||[]),f.form=_(f.formArray),f.rules=h(f.formArray),f.fontSize=e.fontSize,f.spinning=!1,f.hasFrontAddress=!1}}};export{c as ScaleViewInit};
@@ -1 +1 @@
1
- import{h as e}from"vue";import{useDialog as a,useMessage as t}from"naive-ui";const i=(i,o,n,s)=>{const l=a(),r=t(),{nextLogicEvent:c,handleDynamicDataRelation:u,isPreviewScale:v,submitMethod:E,isEvaluetaResSituation:p,handleScoreJson:d,disableEdit:f}=s,C=a=>{l.warning({title:"提示",content:()=>e("div",{class:"evatip-container"},[e("span","答案解析:"),e("p",a)]),class:"c-evatip-dialog-wrap",showIcon:!1,positiveText:"确定",negativeText:"关闭",maskClosable:!1,onPositiveClick(){},onNegativeClick(){}})};return{scaleChange:(e,a,t)=>{const{choiceObj:n,isSetObj:s}=t||{};switch(a.type.includes("SELECT")||(o.form[a.val_key]=e),a.type){case"SELECT":case"EVALUATE_SELECT":{const{value:t,list:i=[]}=e;o.form[a.val_key]=t,c(e,a,o.formArray),u(i,a,o.formArray)}break;case"RADIO_BLOCK":case"CHECKBOX_BLOCK":s&&(o.choiceComObj[a.val_key]=n),c(e,a,o.formArray);break;case"EVALUATE_RADIO_BLOCK":case"EVALUATE_CHECKBOX_BLOCK":c(e,a,o.formArray);break;case"DATE":case"TIME":case"DATETIME":case"SEARCH_CASCADE":o.submitForm[a.val_key]=e}!f.value&&p.value&&a.type.includes("EVALUATE_")&&(async()=>{var e;const a=null==(e=i.scaleApiConfig)?void 0:e.getEvaluateResult;if(!a||"function"!=typeof a)return void r.error("getEvaluateResult Is not a function");const{guageId:t}=o.config;if(!t)return;const n=d(),s={gaugeId:t,scoreJson:JSON.stringify(n)},l=await a(s);if(!l)return;const c={...l};delete c.itemScoreMap,o.evaResultObj=c})()},labelChange:(e,a)=>{o.form[a.val_key]=(e=>{if(!e||!e.length)return{labelStr:"",labels:[]};const a=e||[],t=[],i=[];return a.forEach((e=>{i.push(e),t.push(e.labelName)})),o.labelSelectedList=a,{labelStr:t.join(","),labels:i}})(e)},vodFileList:(e,a)=>{o.form[a.val_key]=e},writeGuage:e=>{o.showEvaluateSettingWrap=!1,o.showEvaluateCountdown=!!e,n("startWriteScale")},closeEvaluateCountdown:()=>{o.showEvaluateCountdown=!1,v.value||(o.banSubmit=!0,E(),l.warning({title:"温馨提示",content:"测评时间到了,结束测评!",maskClosable:!1,positiveText:"确定",onPositiveClick:()=>({})}))},showEvaTipModal:async e=>{var a;if(o.evatipMap[e.id])return void C(o.evatipMap[e.id]);const t="getSubjectAnswer",n=(null==(a=i.scaleApiConfig)?void 0:a[t])||null;if(!n||"function"!=typeof n)return void r.error(`${t} Is not a function`);const s=await n(e.id);s&&(o.evatipMap[e.id]||(o.evatipMap[e.id]=s,C(s)))}}};export{i as ScaleViewMethods};
1
+ import{h as e}from"vue";import{useDialog as a,useMessage as t}from"naive-ui";const i=(i,o,n,l)=>{const s=a(),r=t(),{nextLogicEvent:c,handleDynamicDataRelation:u,isPreviewScale:v,submitMethod:E,isEvaluetaResSituation:d,handleScoreJson:p,disableEdit:f}=l,C=a=>{s.warning({title:"提示",content:()=>e("div",{class:"evatip-container"},[e("span","答案解析:"),e("p",a)]),class:"c-evatip-dialog-wrap",showIcon:!1,positiveText:"确定",negativeText:"关闭",maskClosable:!1,onPositiveClick(){},onNegativeClick(){}})};return{scaleChange:(e,a,t)=>{const{choiceObj:n,isSetObj:l}=t||{};switch(a.type.includes("SELECT")||(o.form[a.val_key]=e),a.type){case"SELECT":case"EVALUATE_SELECT":{const{value:t,list:i=[]}=e;o.form[a.val_key]=t,c(e,a,o.formArray),u(i,a,o.formArray)}break;case"RADIO_BLOCK":case"CHECKBOX_BLOCK":l&&(o.choiceComObj[a.val_key]=n),c(e,a,o.formArray);break;case"EVALUATE_RADIO_BLOCK":case"EVALUATE_CHECKBOX_BLOCK":c(e,a,o.formArray);break;case"DATE":case"TIME":case"DATETIME":case"SEARCH_CASCADE":o.submitForm[a.val_key]=e}!f.value&&d.value&&a.type.includes("EVALUATE_")&&(async()=>{var e;const a=null==(e=i.scaleApiConfig)?void 0:e.getEvaluateResult;if(!a||"function"!=typeof a)return void r.error("getEvaluateResult Is not a function");const{guageId:t}=o.config;if(!t)return;const n=p(),l={gaugeId:t,scoreJson:JSON.stringify(n)},s=await a(l);if(!s)return;const c={...s};delete c.itemScoreMap,o.evaResultObj=c})()},labelChange:(e,a)=>{o.form[a.val_key]=((e,a)=>{const t=a.val_key;if(!e||!e.length)return t&&(o.labelSelectedListObj[t]=[]),{labelStr:"",labels:[]};const i=e||[],n=[],l=[];return i.forEach((e=>{l.push(e),n.push(e.labelName)})),o.labelSelectedList=i,t&&(o.labelSelectedListObj[t]=i),{labelStr:n.join(","),labels:l}})(e,a)},vodFileList:(e,a)=>{o.form[a.val_key]=e},writeGuage:e=>{o.showEvaluateSettingWrap=!1,o.showEvaluateCountdown=!!e,n("startWriteScale")},closeEvaluateCountdown:()=>{o.showEvaluateCountdown=!1,v.value||(o.banSubmit=!0,E(),s.warning({title:"温馨提示",content:"测评时间到了,结束测评!",maskClosable:!1,positiveText:"确定",onPositiveClick:()=>({})}))},showEvaTipModal:async e=>{var a;if(o.evatipMap[e.id])return void C(o.evatipMap[e.id]);const t="getSubjectAnswer",n=(null==(a=i.scaleApiConfig)?void 0:a[t])||null;if(!n||"function"!=typeof n)return void r.error(`${t} Is not a function`);const l=await n(e.id);l&&(o.evatipMap[e.id]||(o.evatipMap[e.id]=l,C(l)))}}};export{i as ScaleViewMethods};
@@ -10,6 +10,7 @@ export declare const getScaleViewState: () => {
10
10
  mapVisible: boolean;
11
11
  mapLocation: string;
12
12
  labelSelectedList: never[];
13
+ labelSelectedListObj: {};
13
14
  defaultFormArray: never[];
14
15
  fontSize: string;
15
16
  filterArr: string[];
@@ -1 +1 @@
1
- import a from"moment";const e=()=>({ScaleViewState:{other:"",form:{},submitForm:{},rules:{},config:{},formArray:[],mapVisible:!1,mapLocation:"",labelSelectedList:[],defaultFormArray:[],fontSize:"",filterArr:["SUCCESS_TIP","CALLBACK_INTERFACE","SPREAD_PARAMS","REDIRECT","FRONT_ADDRESS","RETURN_PATH"],spinning:!1,indicator:"",totalScore:void 0,shareId:"",currentTime:a(),showEvaluatePage:!1,showEvaluateSettingWrap:!0,showEvaluateCountdownWrap:!1,showEvaluateCountdown:!1,banSubmit:!1,isFinished:!1,maxScore:0,originConfig:{},paramsEvaluate:null,hasFrontAddress:!0,choiceComObj:{},evatipMap:{},evaResultObj:{}}});export{e as getScaleViewState};
1
+ import e from"moment";const a=()=>({ScaleViewState:{other:"",form:{},submitForm:{},rules:{},config:{},formArray:[],mapVisible:!1,mapLocation:"",labelSelectedList:[],labelSelectedListObj:{},defaultFormArray:[],fontSize:"",filterArr:["SUCCESS_TIP","CALLBACK_INTERFACE","SPREAD_PARAMS","REDIRECT","FRONT_ADDRESS","RETURN_PATH"],spinning:!1,indicator:"",totalScore:void 0,shareId:"",currentTime:e(),showEvaluatePage:!1,showEvaluateSettingWrap:!0,showEvaluateCountdownWrap:!1,showEvaluateCountdown:!1,banSubmit:!1,isFinished:!1,maxScore:0,originConfig:{},paramsEvaluate:null,hasFrontAddress:!0,choiceComObj:{},evatipMap:{},evaResultObj:{}}});export{a as getScaleViewState};
@@ -415,11 +415,11 @@ export declare const componentMap: {
415
415
  ADDRESS: import("vue").ShallowRef<import("vue").DefineComponent<{
416
416
  form: {
417
417
  type: ObjectConstructor;
418
- default: () => void;
418
+ default: () => {};
419
419
  };
420
420
  item: {
421
421
  type: ObjectConstructor;
422
- default: () => void;
422
+ default: () => {};
423
423
  };
424
424
  isLock: {
425
425
  type: BooleanConstructor;
@@ -428,11 +428,11 @@ export declare const componentMap: {
428
428
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "scaleChange"[], "scaleChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
429
429
  form: {
430
430
  type: ObjectConstructor;
431
- default: () => void;
431
+ default: () => {};
432
432
  };
433
433
  item: {
434
434
  type: ObjectConstructor;
435
- default: () => void;
435
+ default: () => {};
436
436
  };
437
437
  isLock: {
438
438
  type: BooleanConstructor;
@@ -501,6 +501,10 @@ export declare const componentMap: {
501
501
  type: import("vue").PropType<any[]>;
502
502
  default: () => never[];
503
503
  };
504
+ selectedListObj: {
505
+ type: ObjectConstructor;
506
+ default: () => {};
507
+ };
504
508
  item: {
505
509
  type: import("vue").PropType<any>;
506
510
  default: () => {};
@@ -551,6 +555,10 @@ export declare const componentMap: {
551
555
  type: import("vue").PropType<any[]>;
552
556
  default: () => never[];
553
557
  };
558
+ selectedListObj: {
559
+ type: ObjectConstructor;
560
+ default: () => {};
561
+ };
554
562
  item: {
555
563
  type: import("vue").PropType<any>;
556
564
  default: () => {};
@@ -615,6 +623,7 @@ export declare const componentMap: {
615
623
  };
616
624
  updateCommonChecked: (value: boolean, item: any) => void;
617
625
  item_is_edit: import("vue").ComputedRef<any>;
626
+ curSelectedList: import("vue").ComputedRef<any>;
618
627
  hadleCommonlabels: (commonLabelList: any[], selectList: any[]) => void;
619
628
  getCommonlabelsList: (type: any) => Promise<void>;
620
629
  closeTag: (d: {
@@ -960,6 +969,10 @@ export declare const componentMap: {
960
969
  type: import("vue").PropType<any[]>;
961
970
  default: () => never[];
962
971
  };
972
+ selectedListObj: {
973
+ type: ObjectConstructor;
974
+ default: () => {};
975
+ };
963
976
  item: {
964
977
  type: import("vue").PropType<any>;
965
978
  default: () => {};
@@ -1009,6 +1022,7 @@ export declare const componentMap: {
1009
1022
  }, {
1010
1023
  item: any;
1011
1024
  selectedList: any[];
1025
+ selectedListObj: Record<string, any>;
1012
1026
  isDetail: boolean;
1013
1027
  isLock: boolean;
1014
1028
  sourceType: string;
@@ -1,5 +1,5 @@
1
1
  export declare const isOnlyOptions: (e: string) => boolean;
2
- export declare const isSortItem: (item: any) => boolean;
2
+ export declare const isSortItem: (item: any) => any;
3
3
  export declare const isCollection: (e: string) => boolean;
4
4
  export declare const isEvaluation: (e: string) => boolean;
5
5
  export declare const handleQueryParams: () => {};
@@ -1 +1 @@
1
- const e=e=>["RADIO_BLOCK","CHECKBOX_BLOCK"].includes(e),t=e=>{const{type:t,targetSource:d}=e;return!!["CHECKBOX_BLOCK","EVALUATE_CHECKBOX_BLOCK"].includes(t)||"SELECT"===t&&!(null==d?void 0:d.target_id)},d=e=>["TITLE","LINEBAR","PROMPT","IMGCARD","RICH_TEXT"].includes(e),r=e=>["EVALUATE_RADIO_BLOCK","EVALUATE_CHECKBOX_BLOCK","EVALUATE_SELECT","EVALUATE_INPUT"].includes(e),a=()=>{var e,t;const d={};let r=(null==(e=window.location.search.split("?"))?void 0:e[1])||(null==(t=window.location.hash.split("?"))?void 0:t[1]);if(!r)return{};"string"==typeof r&&(r=r.replace(/&quot;/g,'"').replace(/%25/g,"%").replace(/%23/g,"#").replace(/%26/g,"&").replace(/%3D/g,"=").replace(/%3F/g,"?").replace(/%2F/g,"/").replace(/\+/g,"%20"));for(const[e,t]of new URLSearchParams(r).entries())d[e]=decodeURIComponent(t);return d},o=(e,t,d)=>{let r={};return r="layout"==t.source?d:a()||{},r&&r[e]||!1},i={datetime:"yyyy-MM-dd HH:mm:ss",datehour:"yyyy-MM-dd HH:mm",date:"yyyy-MM-dd",time:"HH:mm:ss",hour:"HH:mm"},u={datetime:/^(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2})$/,datehour:/^(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2})$/,date:/^(\d{4})-(\d{2})-(\d{2})$/,time:/^(\d{2}):(\d{2}):(\d{2})$/,hour:/^(\d{2}):(\d{2})$/},l=new Map([["datetime",["datetime","datehour","date","time","hour"]],["datehour",["datetime","datehour","date","time","hour"]],["date",["date"]],["time",["time","hour"]],["hour",["time","hour"]]]);export{i as formatMap,o as getQueryVariable,a as handleQueryParams,d as isCollection,r as isEvaluation,e as isOnlyOptions,t as isSortItem,l as transDbvalueFormat,u as valueReg};
1
+ const e=e=>["RADIO_BLOCK","CHECKBOX_BLOCK"].includes(e),t=e=>{const{type:t,targetSource:d,setting:r}=e;return!!["CHECKBOX_BLOCK","EVALUATE_CHECKBOX_BLOCK"].includes(t)||"SELECT"===t&&(!(null==d?void 0:d.target_id)&&(null==r?void 0:r.isMultiple))},d=e=>["TITLE","LINEBAR","PROMPT","IMGCARD","RICH_TEXT"].includes(e),r=e=>["EVALUATE_RADIO_BLOCK","EVALUATE_CHECKBOX_BLOCK","EVALUATE_SELECT","EVALUATE_INPUT"].includes(e),o=()=>{var e,t;const d={};let r=(null==(e=window.location.search.split("?"))?void 0:e[1])||(null==(t=window.location.hash.split("?"))?void 0:t[1]);if(!r)return{};"string"==typeof r&&(r=r.replace(/&quot;/g,'"').replace(/%25/g,"%").replace(/%23/g,"#").replace(/%26/g,"&").replace(/%3D/g,"=").replace(/%3F/g,"?").replace(/%2F/g,"/").replace(/\+/g,"%20"));for(const[e,t]of new URLSearchParams(r).entries())d[e]=decodeURIComponent(t);return d},a=(e,t,d)=>{let r={};return r="layout"==t.source?d:o()||{},r&&r[e]||!1},i={datetime:"yyyy-MM-dd HH:mm:ss",datehour:"yyyy-MM-dd HH:mm",date:"yyyy-MM-dd",time:"HH:mm:ss",hour:"HH:mm"},l={datetime:/^(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2}):(\d{2})$/,datehour:/^(\d{4})-(\d{2})-(\d{2}) (\d{2}):(\d{2})$/,date:/^(\d{4})-(\d{2})-(\d{2})$/,time:/^(\d{2}):(\d{2}):(\d{2})$/,hour:/^(\d{2}):(\d{2})$/},u=new Map([["datetime",["datetime","datehour","date","time","hour"]],["datehour",["datetime","datehour","date","time","hour"]],["date",["date"]],["time",["time","hour"]],["hour",["time","hour"]]]);export{i as formatMap,a as getQueryVariable,o as handleQueryParams,d as isCollection,r as isEvaluation,e as isOnlyOptions,t as isSortItem,u as transDbvalueFormat,l as valueReg};
@@ -1 +1 @@
1
- @font-face{font-family:scale-view-iconfont;src:url(scale-view-iconfont.ttf?t=1682489008262) format("truetype")}.scale-view-iconfont{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:scale-view-iconfont!important;font-size:14px;font-style:normal}.icon-scale-view-menzhenyishengzhanxitongtubiaoguanbi:before{content:"\e76e"}.icon-scale-view-menzhenyishengzhanxitongtubiaozuixiaohua2:before{content:"\e778"}.icon-scale-view-menzhenyishengzhanxitongtubiaozuidahua:before{content:"\e779"}.icon-scale-view-shijian:before{content:"\e8c5"}.icon-scale-view-qianming:before{content:"\e6ca"}.icon-scale-view-cuo:before{content:"\e6e5"}.icon-scale-view-dui:before{content:"\e7c8"}.icon-scale-view-dengpao:before{content:"\e719"}.c-scale-view-block .c-choice-wrap{display:flex;flex-wrap:wrap;width:100%}.c-scale-view-block .c-choice-wrap .c-choice-radio-div{align-items:center;display:flex;flex-wrap:wrap}.c-scale-view-block .c-choice-wrap .n-radio-input{height:14px;width:14px}.c-scale-view-block .c-choice-wrap .scale-choice-img-wrap{background:#fff;border:1px solid #d5d5d5;border-radius:4px;display:inline-block;height:62px;margin-right:16px;min-width:74px;position:relative;width:74px}.c-scale-view-block .c-choice-wrap .scale-choice-img-wrap:hover .scale-preview-wrap{display:flex}.c-scale-view-block .c-choice-wrap .scale-choice-img-wrap>img{height:100%;object-fit:cover;width:100%}.c-scale-view-block .c-choice-wrap .scale-choice-img-wrap .scale-preview-wrap{align-items:center;background:rgba(0,0,0,.75);border-radius:8px;bottom:0;display:none;font-size:20px;justify-content:center;left:0;position:absolute;right:0;top:0}.c-scale-view-block .c-choice-wrap .scale-choice-img-wrap .scale-preview-wrap i.anticon{color:#fff;margin:0}.c-scale-view-block .c-choice-wrap .presuffix-wrap{align-items:center;display:inline-flex;white-space:normal;width:100%}.c-scale-view-block .c-choice-wrap .n-input{border-bottom:1px solid #d9d9d9;flex:1;max-width:300px}.c-scale-view-block .c-choice-wrap .choose-other{flex:1}.c-scale-view-block .c-choice-wrap .other-span{word-break:break-all}.c-scale-view-block .c-choice-wrap.choice-wrap-1 .c-choice-radio-div{width:100%}.c-scale-view-block .c-choice-wrap.choice-wrap-1 .c-choice-radio-div .n-input{max-width:300px}.c-scale-view-block .c-choice-wrap.choice-wrap-2 .c-choice-radio-div{width:50%}.c-scale-view-block .c-choice-wrap.choice-wrap-3 .c-choice-radio-div{width:33%}.c-scale-view-block .c-choice-wrap.choice-wrap-4 .c-choice-radio-div{width:25%}.c-scale-view-block .c-choice-wrap label{align-items:center;display:inline-flex;margin:4px 0}.c-scale-view-block .c-choice-wrap label .n-radio__label{align-items:center;display:inline-flex;flex:1;white-space:normal}.c-scale-view-block .c-choice-wrap .n-checkbox{align-items:center;display:inline-flex;margin:4px 0}.c-scale-view-block .c-choice-wrap .n-checkbox .n-checkbox__label{align-items:center;display:inline-flex;flex:1;white-space:normal}.c-scale-view-block{box-sizing:border-box;color:rgba(0,0,0,.65);height:100%;overflow:hidden;padding-top:4px;position:relative;text-align:left;width:100%}.c-scale-view-block-hasfooter{padding-bottom:50px}.c-scale-view-block .scale-container{box-sizing:border-box;height:100%;overflow-y:auto;transform-origin:0 0;width:100%}.c-scale-view-block .scale-container.scale-container-nopadding{display:flex;flex-direction:column;height:100%}.c-scale-view-block .scale-container::-webkit-scrollbar{background-color:#f5f5f5;height:6px;width:10px}.c-scale-view-block .scale-container::-webkit-scrollbar-track{background-color:#f2f2f2;border-radius:10px}.c-scale-view-block .scale-container::-webkit-scrollbar-thumb{background-color:#dbdcdc;border-radius:10px}.c-scale-view-block .lb-title{text-align:center}.c-scale-view-block .map-container{cursor:pointer}.c-scale-view-block .linebar-div{margin-top:24px;text-align:center;width:100%}.c-scale-view-block .linebar-div .n-divider{margin-top:4px}.c-scale-view-block .my-prompt{background-color:#fff;border-radius:4px;box-shadow:0 5px 13px rgba(0,0,0,.14);padding:10px}.c-scale-view-block .img-card{width:100%}.c-scale-view-block .main{box-sizing:border-box}.c-scale-view-block .main .scale-label-required{font-weight:700}.c-scale-view-block .main .required-text{color:#e02828;font-weight:700}.c-scale-view-block .main .score-i{word-break:keep-all}.c-scale-view-block .main .evalute-label{background:rgba(45,122,255,.1);border:1px solid rgba(45,122,255,.5);border-radius:4px;color:#2d7aff;display:inline-block;font-size:12px;height:20px;line-height:20px;margin-left:4px;padding:0 5px}.c-scale-view-block .main .evalute-tip{background:rgba(255,194,0,.15);border-radius:2px;color:#fe9626;cursor:pointer;display:inline-block;margin-left:8px;padding:0 5px}.c-scale-view-block .footer{align-items:center;background:#fff;border-top:1px solid #e8e8e8;bottom:0;box-sizing:border-box;display:flex;flex-basis:50px;height:50px;left:0;position:absolute;width:100%}.c-scale-view-block .footer .n-button+.n-button{margin-left:8px}.n-dialog.n-modal.c-evatip-dialog-wrap{max-height:unset;overflow-y:hidden;padding:0;width:494px!important}.n-dialog.n-modal.c-evatip-dialog-wrap .n-dialog__title{border-bottom:1px solid #e8e8e8;font-weight:600;height:52px;line-height:52px;padding-left:16px}.n-dialog.n-modal.c-evatip-dialog-wrap .n-base-icon{color:#666;margin:0;position:absolute}.n-dialog.n-modal.c-evatip-dialog-wrap .n-dialog__content{margin:0}.n-dialog.n-modal.c-evatip-dialog-wrap .evatip-container{color:#2e2e2e;font-size:16px;max-height:60vh;min-height:100px;overflow-y:auto;padding:26px 16px}.n-dialog.n-modal.c-evatip-dialog-wrap .evatip-container p{border:1px solid hsla(0,0%,84%,.6);border-radius:4px;font-size:14px;margin-bottom:0;margin-top:12px;padding:16px}.n-dialog.n-modal.c-evatip-dialog-wrap .n-dialog__action{border-top:1px solid #e8e8e8;box-sizing:border-box;display:block;padding:10px 16px;text-align:right;width:100%}.c-scale-view-block .c-answerParse{background:hsla(0,64%,98%,.6);border-radius:8px;color:#2e2e2e;margin-bottom:12px;margin-top:6px;padding:16px}.c-scale-view-block .c-answerParse .answer-res-wrap{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.c-scale-view-block .c-answerParse .answer-res-wrap .answer-res{align-items:center;background:#f06f64;border-radius:18px;color:#fff;display:inline-flex;font-weight:700;line-height:36px;padding:0 18px}.c-scale-view-block .c-answerParse .answer-res-wrap .answer-res svg{font-size:16px;margin-right:8px}.c-scale-view-block .c-answerParse .answer-res-wrap .answer-score{color:#2e2e2e;font-size:14px;font-weight:600}.c-scale-view-block .c-answerParse .correct-answer{line-height:20px;margin-bottom:16px}.c-scale-view-block .c-answerParse .correct-answer p{display:inline-block;font-weight:700}.c-scale-view-block .c-answerParse .correct-answer span{color:#91c850;font-size:16px;word-break:break-all}.c-scale-view-block .c-answerParse .answer-key{line-height:20px}.c-scale-view-block .c-answerParse .answer-key p{font-weight:700;line-height:20px;margin-bottom:16px}.c-scale-view-block .c-answerParse .answer-key span{word-break:break-all}.c-scale-view-block .c-answerParse.answerParse-success{background:rgba(234,251,228,.6)}.c-scale-view-block .c-answerParse.answerParse-success .answer-res{background:#91c850}.c-scale-view-block .c-evaluateCountdown{background:#f2f2f4;border-radius:8px;color:#212121;min-width:166px;padding:8px 12px;position:absolute;right:0;text-align:center;top:0;z-index:1}.c-scale-view-block .c-evaluateCountdown .evaluate-toggle-icon{cursor:pointer;font-size:16px;position:absolute;right:10px;top:11px}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-hasTime:not(.evaluateCountdown-EvaluetaResSituation):hover{background:#f1f1f4;padding:8px 32px}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-hasTime:not(.evaluateCountdown-EvaluetaResSituation):hover .countdown{font-size:26px;line-height:40px}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-hasTime:not(.evaluateCountdown-EvaluetaResSituation):hover .countdown span{line-height:unset}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-hasTime:not(.evaluateCountdown-EvaluetaResSituation):hover .countdown svg{display:none}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-hasTime:not(.evaluateCountdown-EvaluetaResSituation):hover .answered-wrap{display:block}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-hasTime:not(.evaluateCountdown-EvaluetaResSituation) .answered-wrap{display:none}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-EvaluetaResSituation{text-align:left}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-EvaluetaResSituation.evaluateCountdown-hasTime{padding:8px 32px}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-EvaluetaResSituation.evaluateCountdown-hasTime .evaluate-toggle-icon{font-size:18px;right:8px;top:18px}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-EvaluetaResSituation .countdown{font-size:26px;line-height:40px}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-EvaluetaResSituation .countdown span{line-height:unset}.c-scale-view-block .c-evaluateCountdown .countdown{align-items:center;color:#000;display:flex;font-size:14px;justify-content:center}.c-scale-view-block .c-evaluateCountdown .countdown span{line-height:18px}.c-scale-view-block .c-evaluateCountdown .countdown svg{color:#969696;font-size:16px;margin-left:8px}.c-scale-view-block .c-evaluateCountdown .countdown.countdown-red{color:#ff1818}.c-scale-view-block .c-evaluateCountdown .answered-blue{color:#2d7aff}.c-scale-view-block .c-evaluateCountdown .answered-blod{font-weight:700}.c-scale-view-block .c-evaluate-page{align-items:center;display:flex;height:100%;justify-content:center;width:100%}.c-scale-view-block .c-evaluate-page .evaluate-container{border:1px solid #e0e0e0;border-radius:15px;padding:45px 32px;text-align:center;width:620px}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-name{color:#212121;font-size:20px;line-height:28px;margin-bottom:10px;max-height:88px;overflow-y:auto;word-break:break-all}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-explain{background:#f2f2f4;border-radius:8px;margin-bottom:24px;overflow:hidden;padding:12px 22px 12px 30px;text-align:left}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-explain>div{max-height:206px;overflow-y:auto;padding-right:8px;word-break:break-all}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-score{display:flex;margin-bottom:24px}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-score li+li{border-left:1px solid hsla(0,0%,84%,.6)}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-score li{flex:1}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-score li div{color:#000;font-size:36px;line-height:50px}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-score li span{color:rgba(0,0,0,.6);font-size:14px;line-height:20px}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-time-range{color:#000;font-size:14px;line-height:20px;margin-bottom:20px}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-btn{border-radius:8px;color:#fff;font-size:18px;height:unset;padding:16px 0;text-align:center;width:380px}.c-scale-view-block .c-totalScore-warp{background:#f2f2f4;border-radius:6px;color:#666;font-size:14px;font-weight:400;margin-bottom:16px;padding:16px}.c-scale-view-block .c-totalScore-warp div+div{margin-top:4px}.c-scale-view-block .c-totalScore-warp span{color:#090909;font-weight:500}.c-scale-view-block .c-totalScore-warp .score-result{color:#2d7aff}.c-scale-view-block .c-sign-wrap .sigan-content-wrap{display:flex;flex-wrap:wrap}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .sign-item{border:1px solid #d5d5d5;border-radius:4px;box-sizing:border-box;height:96px;margin-right:16px;overflow:hidden;position:relative;width:200px}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .sign-item>img{height:100%;width:100%}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .sign-item:hover>div{display:flex}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .sign-item>div{align-items:center;background:rgba(0,0,0,.8);border-radius:4px;bottom:0;display:none;justify-content:center;left:0;position:absolute;right:0;top:0}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .sign-item>div .n-icon{color:#fff;cursor:pointer;font-size:18px}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .sign-item>div .n-icon+.n-icon{margin-left:20px}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .add-sign-wrap{align-items:center;background:#fafafa;border:1px dashed #d5d5d5;border-radius:4px;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;height:96px;justify-content:center;width:200px}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .add-sign-wrap .scale-view-iconfont{color:#000;font-size:32px}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .add-sign-wrap span,.c-scale-view-block .sign-com-wrap>span{color:#585858}.c-scale-view-block .sign-com-wrap .sign-canvas{border:1px solid hsla(0,0%,84%,.6);border-radius:4px;margin-top:16px}.c-scale-view-block li,.c-scale-view-block ul{list-style:none;margin:0;padding:0}.c-scale-view-block .n-input{text-align:left;width:100%}.c-scale-view-block .n-form-item{--n-label-height:unset!important}.c-scale-view-block .c-scle-form-item>.n-form-item-blank{display:block}.c-scale-view-block .no-data-tip{align-items:center;color:#333;display:flex;flex-direction:column;font-size:22px;height:100%;justify-content:center;width:100%}.c-scale-view-block .no-data-tip>img{max-width:70%;width:260px}.c-scale-view-block .no-data-tip>p{color:rgba(0,0,0,.8);font-size:16px;margin-bottom:0;margin-top:12px}.c-scale-view-block .no-data-tip>span{color:rgba(0,0,0,.4);font-size:14px;margin-top:6px}.c-scale-view-block .c-scale-address{max-width:500px}.c-scale-view-block .c-scale-address .field-row{display:flex;overflow:hidden;width:100%}.c-scale-view-block .c-scale-address .field-row .n-select{flex:1;padding:0 5px 5px 0;width:100%}.c-scale-view-block .c-scale-address .field-row .n-select:last-child{padding-right:0}.c-scale-view-block .c-scale-collection,.c-scale-view-block .c-scale-collection .img-card{width:100%}.c-scale-view-block .c-scale-collection.scale-collection-title{text-align:center}.c-scale-view-block .c-scale-collection.scale-collection-title h1{font-weight:500}.c-scale-view-block .c-scale-collection.prompt-message{background-color:#fff;border-radius:4px;box-shadow:0 5px 13px rgba(0,0,0,.14);color:#666;padding:10px;position:relative}.c-scale-view-block .c-scale-collection.prompt-message.is-weak{color:#999}.c-scale-view-block .c-scale-collection.prompt-message.is-strong{color:#ff1818;padding:8px 8px 8px 35px}.c-scale-view-block .c-scale-collection.prompt-message .prompt-icon{font-size:18px;left:8px;position:absolute;top:8px}.c-scale-view-block .c-scale-collection.prompt-message .prompt-message-content{font-size:14px;line-height:16px;word-break:break-all}.c-scale-view-block .c-time-range{align-items:center;display:flex}.c-scale-view-block .c-map-container{cursor:pointer;width:100%}.c-scale-view-block .c-map-container .n-input.map-input .n-input__prefix{transform:rotate(180deg)}.c-scale-view-block .c-map-container .n-input.map-input .n-input__prefix .n-icon{color:rgba(0,0,0,.65)}.c-scale-view-block .c-map-container .n-input.map-input.n-input--disabled .n-input__input-el{background-color:#fff;color:rgba(0,0,0,.65);cursor:pointer}.c-scale-view-block .c-scale-upload{width:100%}.c-scale-view-block .c-scale-upload .n-upload-file-list{display:flex}.c-scale-view-block .c-scale-upload .n-upload-file-list .n-upload-file .n-upload-file-info .n-upload-file-info__action.n-upload-file-info__action--image-card-type{background:rgba(0,0,0,.5);box-sizing:border-box}.c-scale-view-block .c-scale-upload .n-upload-file-list .n-upload-file .n-upload-file-info .n-upload-file-info__action.n-upload-file-info__action--image-card-type span.n-button__icon{color:#fff}.c-scale-view-block .c-scale-upload .n-upload-file-list .n-upload-trigger.n-upload-trigger--image-card{background-color:#fafafa;border-color:#d5d5d5;height:184px;width:184px}.c-scale-view-block .c-scale-upload .n-upload-file-list .n-upload-file.n-upload-file--image-card-type{background-color:#fafafa;border-color:#d5d5d5;height:184px;padding:8px;width:184px}.c-scale-view-block .c-scale-upload .n-upload-file-list .n-upload-file.n-upload-file--image-card-type .n-image{height:100%}.c-scale-view-block .c-scale-upload .n-upload-file-list .n-upload-file.n-upload-file--image-card-type img{object-fit:cover!important}.c-scale-view-block .c-scale-upload .upload-img-wrap{align-items:center;display:flex;flex-direction:column}.c-scale-view-block .c-scale-upload .dragger-upload-text{align-items:center;display:flex}.c-scale-view-block .c-scale-upload.scale-upload-file .n-upload-dragger{padding:16px 0}.c-scale-view-block .c-scale-upload.scale-upload-file .n-upload{--n-item-disabled-opacity:1!important;opacity:1!important}.c-scale-view-block .c-scale-upload.scale-upload-file .dragger-upload-text{color:rgba(0,0,0,.65)}.c-scale-view-block .c-scale-upload.scale-upload-file .n-upload-file-list{display:flex;flex-direction:column;width:100%}.c-scale-view-block .c-scale-upload.scale-upload-file .n-upload-file-list .n-upload-file{width:100%}.c-scale-view-block .c-scale-upload.scale-upload-file .n-upload-trigger{background:#fafafa;border-color:#d5d5d5;width:100%}.c-scale-view-block .text-over-tooltip-components{display:inline-block;max-width:98%}.c-scale-view-block .text-over-tooltip-components .ellipsis{color:#35393c;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-scale-view-block .text-over-tooltip-components .ellipsis i{font-style:normal;white-space:nowrap;word-break:keep-all}.c-scale-view-block .text-over-tooltip-components .fs20{color:green;font-size:20px;font-weight:600;line-height:22px}.c-scale-view-block .text-over-tooltip-components .fs12{color:orange;font-size:12px;font-weight:400;line-height:14px}.c-scale-view-block .des-content-wrap{padding:0 16px}.c-scale-view-block .des-content-wrap .des-content-div{padding-bottom:24px;text-align:left;white-space:break-spaces;word-break:break-word}.c-scale-view-block .des-content-wrap .des-content-div img,.c-scale-view-block .des-content-wrap .des-content-div video{max-width:100%}.c-scale-view-block .des-content-wrap .des-content-div p{margin:0}.c-scale-map-modal .n-card__content{overflow:hidden}.c-scale-modal-container.n-dialog{display:flex;flex-direction:column;height:60vh}.c-scale-modal-container.n-dialog.n-modal{min-width:560px;padding:0;width:50vw}.c-scale-modal-container.n-dialog .n-dialog__title{background:#fff;border-bottom:1px solid #e8e8e8;border-radius:8px 8px 0 0;box-sizing:border-box;height:52px;line-height:52px;padding:14px 16px}.c-scale-modal-container.n-dialog .n-dialog__title .n-dialog__title-content{align-items:center;color:#000;display:flex;font-size:16px;height:100%;justify-content:space-between;overflow:hidden;width:100%}.c-scale-modal-container.n-dialog .n-dialog__title .n-dialog__title-content .modal-title-drag{flex:1}.c-scale-modal-container.n-dialog .n-dialog__title .n-dialog__title-content .svg-wrap{right:16px}.c-scale-modal-container.n-dialog .n-dialog__title .n-dialog__title-content .svg-wrap svg{cursor:pointer;font-size:14px}.c-scale-modal-container.n-dialog .n-dialog__title .n-dialog__title-content .svg-wrap svg+svg{margin-left:16px}.c-scale-modal-container.n-dialog .n-dialog__content{height:100%;margin:0;overflow:hidden;padding:16px}.c-scale-modal-container.n-dialog .n-dialog__action{background:transparent;border-radius:0 0 8px 8px;border-top:1px solid #e8e8e8;box-sizing:border-box;height:52px;padding:10px 16px;text-align:right}
1
+ @font-face{font-family:scale-view-iconfont;src:url(scale-view-iconfont.ttf?t=1682489008262) format("truetype")}.scale-view-iconfont{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:scale-view-iconfont!important;font-size:14px;font-style:normal}.icon-scale-view-menzhenyishengzhanxitongtubiaoguanbi:before{content:"\e76e"}.icon-scale-view-menzhenyishengzhanxitongtubiaozuixiaohua2:before{content:"\e778"}.icon-scale-view-menzhenyishengzhanxitongtubiaozuidahua:before{content:"\e779"}.icon-scale-view-shijian:before{content:"\e8c5"}.icon-scale-view-qianming:before{content:"\e6ca"}.icon-scale-view-cuo:before{content:"\e6e5"}.icon-scale-view-dui:before{content:"\e7c8"}.icon-scale-view-dengpao:before{content:"\e719"}.c-scale-view-block .c-choice-wrap{display:flex;flex-wrap:wrap;width:100%}.c-scale-view-block .c-choice-wrap .c-choice-radio-div{align-items:center;display:flex;flex-wrap:wrap}.c-scale-view-block .c-choice-wrap .c-choice-radio-div .n-input.n-input--disabled{background:#fff}.c-scale-view-block .c-choice-wrap .c-choice-radio-div .n-checkbox--disabled,.c-scale-view-block .c-choice-wrap .c-choice-radio-div .n-radio--disabled{border:1px solid transparent;padding-left:4px}.c-scale-view-block .c-choice-wrap .c-choice-radio-div .n-checkbox--disabled.n-checkbox--checked,.c-scale-view-block .c-choice-wrap .c-choice-radio-div .n-radio--disabled.n-radio--checked{border-color:#2d7aff;border-radius:4px;color:#000!important;font-weight:700;padding-bottom:4px;padding-top:4px}.c-scale-view-block .c-choice-wrap .c-choice-radio-div .n-checkbox--disabled.n-checkbox--checked .other-span,.c-scale-view-block .c-choice-wrap .c-choice-radio-div .n-radio--disabled.n-radio--checked .other-span{color:#000!important}.c-scale-view-block .c-choice-wrap .c-choice-radio-div .n-checkbox--disabled.n-checkbox--checked .n-radio__dot,.c-scale-view-block .c-choice-wrap .c-choice-radio-div .n-radio--disabled.n-radio--checked .n-radio__dot{background-color:var(--n-color-active);box-shadow:var(--n-box-shadow-active)}.c-scale-view-block .c-choice-wrap .c-choice-radio-div .n-checkbox--disabled.n-checkbox--checked .n-radio__dot:before,.c-scale-view-block .c-choice-wrap .c-choice-radio-div .n-radio--disabled.n-radio--checked .n-radio__dot:before{background:var(--n-dot-color-active)}.c-scale-view-block .c-choice-wrap .c-choice-radio-div .n-checkbox--disabled.n-checkbox--checked .n-checkbox-box,.c-scale-view-block .c-choice-wrap .c-choice-radio-div .n-radio--disabled.n-radio--checked .n-checkbox-box{background-color:var(--n-color-checked)}.c-scale-view-block .c-choice-wrap .c-choice-radio-div .n-checkbox--disabled.n-checkbox--checked .n-checkbox-box .n-checkbox-box__border,.c-scale-view-block .c-choice-wrap .c-choice-radio-div .n-radio--disabled.n-radio--checked .n-checkbox-box .n-checkbox-box__border{border-color:#2d7aff}.c-scale-view-block .c-choice-wrap .c-choice-radio-div .n-checkbox--disabled.n-checkbox--checked .n-checkbox-box .n-checkbox-icon .check-icon,.c-scale-view-block .c-choice-wrap .c-choice-radio-div .n-checkbox--disabled.n-checkbox--checked .n-checkbox-box .n-checkbox-icon .line-icon,.c-scale-view-block .c-choice-wrap .c-choice-radio-div .n-radio--disabled.n-radio--checked .n-checkbox-box .n-checkbox-icon .check-icon,.c-scale-view-block .c-choice-wrap .c-choice-radio-div .n-radio--disabled.n-radio--checked .n-checkbox-box .n-checkbox-icon .line-icon{fill:var(--n-check-mark-color)}.c-scale-view-block .c-choice-wrap .n-radio-input{height:14px;width:14px}.c-scale-view-block .c-choice-wrap .scale-choice-img-wrap{background:#fff;border:1px solid #d5d5d5;border-radius:4px;display:inline-block;height:62px;margin-right:16px;min-width:74px;position:relative;width:74px}.c-scale-view-block .c-choice-wrap .scale-choice-img-wrap:hover .scale-preview-wrap{display:flex}.c-scale-view-block .c-choice-wrap .scale-choice-img-wrap>img{height:100%;object-fit:cover;width:100%}.c-scale-view-block .c-choice-wrap .scale-choice-img-wrap .scale-preview-wrap{align-items:center;background:rgba(0,0,0,.75);border-radius:8px;bottom:0;display:none;font-size:20px;justify-content:center;left:0;position:absolute;right:0;top:0}.c-scale-view-block .c-choice-wrap .scale-choice-img-wrap .scale-preview-wrap i.anticon{color:#fff;margin:0}.c-scale-view-block .c-choice-wrap .presuffix-wrap{align-items:center;display:inline-flex;white-space:normal;width:100%}.c-scale-view-block .c-choice-wrap .n-input{border-bottom:1px solid #d9d9d9;flex:1;max-width:300px}.c-scale-view-block .c-choice-wrap .choose-other{flex:1}.c-scale-view-block .c-choice-wrap .other-span{word-break:break-all}.c-scale-view-block .c-choice-wrap.choice-wrap-1 .c-choice-radio-div{width:100%}.c-scale-view-block .c-choice-wrap.choice-wrap-1 .c-choice-radio-div .n-input{max-width:300px}.c-scale-view-block .c-choice-wrap.choice-wrap-2 .c-choice-radio-div{width:50%}.c-scale-view-block .c-choice-wrap.choice-wrap-3 .c-choice-radio-div{width:33%}.c-scale-view-block .c-choice-wrap.choice-wrap-4 .c-choice-radio-div{width:25%}.c-scale-view-block .c-choice-wrap label{align-items:center;display:inline-flex;margin:4px 0}.c-scale-view-block .c-choice-wrap label .n-radio__label{align-items:center;display:inline-flex;flex:1;white-space:normal}.c-scale-view-block .c-choice-wrap .n-checkbox{align-items:center;display:inline-flex;margin:4px 0}.c-scale-view-block .c-choice-wrap .n-checkbox .n-checkbox__label{align-items:center;display:inline-flex;flex:1;white-space:normal}.c-scale-view-block{box-sizing:border-box;color:rgba(0,0,0,.65);height:100%;overflow:hidden;padding-top:4px;position:relative;text-align:left;width:100%}.c-scale-view-block-hasfooter{padding-bottom:50px}.c-scale-view-block .scale-container{box-sizing:border-box;height:100%;overflow-y:auto;transform-origin:0 0;width:100%}.c-scale-view-block .scale-container.scale-container-nopadding{display:flex;flex-direction:column;height:100%}.c-scale-view-block .scale-container::-webkit-scrollbar{background-color:#f5f5f5;height:6px;width:10px}.c-scale-view-block .scale-container::-webkit-scrollbar-track{background-color:#f2f2f2;border-radius:10px}.c-scale-view-block .scale-container::-webkit-scrollbar-thumb{background-color:#dbdcdc;border-radius:10px}.c-scale-view-block .scale-container .n-base-selection--selected.n-base-selection--disabled .n-base-selection-overlay__wrapper{color:#000;font-weight:700}.c-scale-view-block .scale-container .n-base-selection--selected.n-base-selection--disabled.n-base-selection--multiple .n-base-selection-tag-wrapper .n-tag.n-tag--disabled{--n-border:1px solid #2d7aff!important;--n-border-radius:4px!important;--n-opacity-disabled:1!important;border-color:#2d7aff!important;color:#000;font-weight:700}.c-scale-view-block .scale-container .n-base-selection--selected.n-base-selection--disabled.n-base-selection--multiple .n-base-selection-tag-wrapper .n-tag.n-tag--disabled .n-base-close{display:none}.c-scale-view-block .scale-container .n-input.n-input--disabled .n-input__input-el,.c-scale-view-block .scale-container .n-input.n-input--disabled .n-input__textarea-el{color:#000;font-weight:700}.c-scale-view-block .lb-title{text-align:center}.c-scale-view-block .map-container{cursor:pointer}.c-scale-view-block .linebar-div{margin-top:24px;text-align:center;width:100%}.c-scale-view-block .linebar-div .n-divider{margin-top:4px}.c-scale-view-block .my-prompt{background-color:#fff;border-radius:4px;box-shadow:0 5px 13px rgba(0,0,0,.14);padding:10px}.c-scale-view-block .img-card{width:100%}.c-scale-view-block .main{box-sizing:border-box}.c-scale-view-block .main .scale-label-required{font-weight:700}.c-scale-view-block .main .required-text{color:#e02828;font-weight:700}.c-scale-view-block .main .score-i{word-break:keep-all}.c-scale-view-block .main .evalute-label{background:rgba(45,122,255,.1);border:1px solid rgba(45,122,255,.5);border-radius:4px;color:#2d7aff;display:inline-block;font-size:12px;height:20px;line-height:20px;margin-left:4px;padding:0 5px}.c-scale-view-block .main .evalute-tip{background:rgba(255,194,0,.15);border-radius:2px;color:#fe9626;cursor:pointer;display:inline-block;margin-left:8px;padding:0 5px}.c-scale-view-block .footer{align-items:center;background:#fff;border-top:1px solid #e8e8e8;bottom:0;box-sizing:border-box;display:flex;flex-basis:50px;height:50px;left:0;position:absolute;width:100%}.c-scale-view-block .footer .n-button+.n-button{margin-left:8px}.n-dialog.n-modal.c-evatip-dialog-wrap{max-height:unset;overflow-y:hidden;padding:0;width:494px!important}.n-dialog.n-modal.c-evatip-dialog-wrap .n-dialog__title{border-bottom:1px solid #e8e8e8;font-weight:600;height:52px;line-height:52px;padding-left:16px}.n-dialog.n-modal.c-evatip-dialog-wrap .n-base-icon{color:#666;margin:0;position:absolute}.n-dialog.n-modal.c-evatip-dialog-wrap .n-dialog__content{margin:0}.n-dialog.n-modal.c-evatip-dialog-wrap .evatip-container{color:#2e2e2e;font-size:16px;max-height:60vh;min-height:100px;overflow-y:auto;padding:26px 16px}.n-dialog.n-modal.c-evatip-dialog-wrap .evatip-container p{border:1px solid hsla(0,0%,84%,.6);border-radius:4px;font-size:14px;margin-bottom:0;margin-top:12px;padding:16px}.n-dialog.n-modal.c-evatip-dialog-wrap .n-dialog__action{border-top:1px solid #e8e8e8;box-sizing:border-box;display:block;padding:10px 16px;text-align:right;width:100%}.c-scale-view-block .c-answerParse{background:hsla(0,64%,98%,.6);border-radius:8px;color:#2e2e2e;margin-bottom:12px;margin-top:6px;padding:16px}.c-scale-view-block .c-answerParse .answer-res-wrap{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.c-scale-view-block .c-answerParse .answer-res-wrap .answer-res{align-items:center;background:#f06f64;border-radius:18px;color:#fff;display:inline-flex;font-weight:700;line-height:36px;padding:0 18px}.c-scale-view-block .c-answerParse .answer-res-wrap .answer-res svg{font-size:16px;margin-right:8px}.c-scale-view-block .c-answerParse .answer-res-wrap .answer-score{color:#2e2e2e;font-size:14px;font-weight:600}.c-scale-view-block .c-answerParse .correct-answer{line-height:20px;margin-bottom:16px}.c-scale-view-block .c-answerParse .correct-answer p{display:inline-block;font-weight:700}.c-scale-view-block .c-answerParse .correct-answer span{color:#91c850;font-size:16px;word-break:break-all}.c-scale-view-block .c-answerParse .answer-key{line-height:20px}.c-scale-view-block .c-answerParse .answer-key p{font-weight:700;line-height:20px;margin-bottom:16px}.c-scale-view-block .c-answerParse .answer-key span{word-break:break-all}.c-scale-view-block .c-answerParse.answerParse-success{background:rgba(234,251,228,.6)}.c-scale-view-block .c-answerParse.answerParse-success .answer-res{background:#91c850}.c-scale-view-block .c-evaluateCountdown{background:#f2f2f4;border-radius:8px;color:#212121;min-width:166px;padding:8px 12px;position:absolute;right:0;text-align:center;top:0;z-index:1}.c-scale-view-block .c-evaluateCountdown .evaluate-toggle-icon{cursor:pointer;font-size:16px;position:absolute;right:10px;top:11px}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-hasTime:not(.evaluateCountdown-EvaluetaResSituation):hover{background:#f1f1f4;padding:8px 32px}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-hasTime:not(.evaluateCountdown-EvaluetaResSituation):hover .countdown{font-size:26px;line-height:40px}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-hasTime:not(.evaluateCountdown-EvaluetaResSituation):hover .countdown span{line-height:unset}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-hasTime:not(.evaluateCountdown-EvaluetaResSituation):hover .countdown svg{display:none}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-hasTime:not(.evaluateCountdown-EvaluetaResSituation):hover .answered-wrap{display:block}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-hasTime:not(.evaluateCountdown-EvaluetaResSituation) .answered-wrap{display:none}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-EvaluetaResSituation{text-align:left}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-EvaluetaResSituation.evaluateCountdown-hasTime{padding:8px 32px}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-EvaluetaResSituation.evaluateCountdown-hasTime .evaluate-toggle-icon{font-size:18px;right:8px;top:18px}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-EvaluetaResSituation .countdown{font-size:26px;line-height:40px}.c-scale-view-block .c-evaluateCountdown.evaluateCountdown-EvaluetaResSituation .countdown span{line-height:unset}.c-scale-view-block .c-evaluateCountdown .countdown{align-items:center;color:#000;display:flex;font-size:14px;justify-content:center}.c-scale-view-block .c-evaluateCountdown .countdown span{line-height:18px}.c-scale-view-block .c-evaluateCountdown .countdown svg{color:#969696;font-size:16px;margin-left:8px}.c-scale-view-block .c-evaluateCountdown .countdown.countdown-red{color:#ff1818}.c-scale-view-block .c-evaluateCountdown .answered-blue{color:#2d7aff}.c-scale-view-block .c-evaluateCountdown .answered-blod{font-weight:700}.c-scale-view-block .c-evaluate-page{align-items:center;display:flex;height:100%;justify-content:center;width:100%}.c-scale-view-block .c-evaluate-page .evaluate-container{border:1px solid #e0e0e0;border-radius:15px;padding:45px 32px;text-align:center;width:620px}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-name{color:#212121;font-size:20px;line-height:28px;margin-bottom:10px;max-height:88px;overflow-y:auto;word-break:break-all}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-explain{background:#f2f2f4;border-radius:8px;margin-bottom:24px;overflow:hidden;padding:12px 22px 12px 30px;text-align:left}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-explain>div{max-height:206px;overflow-y:auto;padding-right:8px;word-break:break-all}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-score{display:flex;margin-bottom:24px}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-score li+li{border-left:1px solid hsla(0,0%,84%,.6)}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-score li{flex:1}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-score li div{color:#000;font-size:36px;line-height:50px}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-score li span{color:rgba(0,0,0,.6);font-size:14px;line-height:20px}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-time-range{color:#000;font-size:14px;line-height:20px;margin-bottom:20px}.c-scale-view-block .c-evaluate-page .evaluate-container .evaluate-btn{border-radius:8px;color:#fff;font-size:18px;height:unset;padding:16px 0;text-align:center;width:380px}.c-scale-view-block .c-totalScore-warp{background:#f2f2f4;border-radius:6px;color:#666;font-size:14px;font-weight:400;margin-bottom:16px;padding:16px}.c-scale-view-block .c-totalScore-warp div+div{margin-top:4px}.c-scale-view-block .c-totalScore-warp span{color:#090909;font-weight:500}.c-scale-view-block .c-totalScore-warp .score-result{color:#2d7aff}.c-scale-view-block .c-sign-wrap .sigan-content-wrap{display:flex;flex-wrap:wrap}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .sign-item{border:1px solid #d5d5d5;border-radius:4px;box-sizing:border-box;height:96px;margin-right:16px;overflow:hidden;position:relative;width:200px}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .sign-item>img{height:100%;width:100%}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .sign-item:hover>div{display:flex}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .sign-item>div{align-items:center;background:rgba(0,0,0,.8);border-radius:4px;bottom:0;display:none;justify-content:center;left:0;position:absolute;right:0;top:0}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .sign-item>div .n-icon{color:#fff;cursor:pointer;font-size:18px}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .sign-item>div .n-icon+.n-icon{margin-left:20px}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .add-sign-wrap{align-items:center;background:#fafafa;border:1px dashed #d5d5d5;border-radius:4px;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;height:96px;justify-content:center;width:200px}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .add-sign-wrap .scale-view-iconfont{color:#000;font-size:32px}.c-scale-view-block .c-sign-wrap .sigan-content-wrap .add-sign-wrap span,.c-scale-view-block .sign-com-wrap>span{color:#585858}.c-scale-view-block .sign-com-wrap .sign-canvas{border:1px solid hsla(0,0%,84%,.6);border-radius:4px;margin-top:16px}.c-scale-view-block li,.c-scale-view-block ul{list-style:none;margin:0;padding:0}.c-scale-view-block .n-input{text-align:left;width:100%}.c-scale-view-block .n-form-item{--n-label-height:unset!important}.c-scale-view-block .c-scle-form-item>.n-form-item-blank{display:block}.c-scale-view-block .no-data-tip{align-items:center;color:#333;display:flex;flex-direction:column;font-size:22px;height:100%;justify-content:center;width:100%}.c-scale-view-block .no-data-tip>img{max-width:70%;width:260px}.c-scale-view-block .no-data-tip>p{color:rgba(0,0,0,.8);font-size:16px;margin-bottom:0;margin-top:12px}.c-scale-view-block .no-data-tip>span{color:rgba(0,0,0,.4);font-size:14px;margin-top:6px}.c-scale-view-block .c-scale-address{max-width:500px}.c-scale-view-block .c-scale-address .field-row{display:flex;overflow:hidden;width:100%}.c-scale-view-block .c-scale-address .field-row .n-select{flex:1;padding:0 5px 5px 0;width:100%}.c-scale-view-block .c-scale-address .field-row .n-select:last-child{padding-right:0}.c-scale-view-block .c-scale-collection,.c-scale-view-block .c-scale-collection .img-card{width:100%}.c-scale-view-block .c-scale-collection.scale-collection-title{text-align:center}.c-scale-view-block .c-scale-collection.scale-collection-title h1{font-weight:500}.c-scale-view-block .c-scale-collection.prompt-message{background-color:#fff;border-radius:4px;box-shadow:0 5px 13px rgba(0,0,0,.14);color:#666;padding:10px;position:relative}.c-scale-view-block .c-scale-collection.prompt-message.is-weak{color:#999}.c-scale-view-block .c-scale-collection.prompt-message.is-strong{color:#ff1818;padding:8px 8px 8px 35px}.c-scale-view-block .c-scale-collection.prompt-message .prompt-icon{font-size:18px;left:8px;position:absolute;top:8px}.c-scale-view-block .c-scale-collection.prompt-message .prompt-message-content{font-size:14px;line-height:16px;word-break:break-all}.c-scale-view-block .c-time-range{align-items:center;display:flex}.c-scale-view-block .c-map-container{cursor:pointer;width:100%}.c-scale-view-block .c-map-container .n-input.map-input .n-input__prefix{transform:rotate(180deg)}.c-scale-view-block .c-map-container .n-input.map-input .n-input__prefix .n-icon{color:rgba(0,0,0,.65)}.c-scale-view-block .c-map-container .n-input.map-input.n-input--disabled .n-input__input-el{background-color:#fff;color:rgba(0,0,0,.65);cursor:pointer}.c-scale-view-block .c-scale-upload{width:100%}.c-scale-view-block .c-scale-upload .n-upload-file-list{display:flex}.c-scale-view-block .c-scale-upload .n-upload-file-list .n-upload-file .n-upload-file-info .n-upload-file-info__action.n-upload-file-info__action--image-card-type{background:rgba(0,0,0,.5);box-sizing:border-box}.c-scale-view-block .c-scale-upload .n-upload-file-list .n-upload-file .n-upload-file-info .n-upload-file-info__action.n-upload-file-info__action--image-card-type span.n-button__icon{color:#fff}.c-scale-view-block .c-scale-upload .n-upload-file-list .n-upload-trigger.n-upload-trigger--image-card{background-color:#fafafa;border-color:#d5d5d5;height:184px;width:184px}.c-scale-view-block .c-scale-upload .n-upload-file-list .n-upload-file.n-upload-file--image-card-type{background-color:#fafafa;border-color:#d5d5d5;height:184px;padding:8px;width:184px}.c-scale-view-block .c-scale-upload .n-upload-file-list .n-upload-file.n-upload-file--image-card-type .n-image{height:100%}.c-scale-view-block .c-scale-upload .n-upload-file-list .n-upload-file.n-upload-file--image-card-type img{object-fit:cover!important}.c-scale-view-block .c-scale-upload .upload-img-wrap{align-items:center;display:flex;flex-direction:column}.c-scale-view-block .c-scale-upload .dragger-upload-text{align-items:center;display:flex}.c-scale-view-block .c-scale-upload.scale-upload-file .n-upload-dragger{padding:16px 0}.c-scale-view-block .c-scale-upload.scale-upload-file .n-upload{--n-item-disabled-opacity:1!important;opacity:1!important}.c-scale-view-block .c-scale-upload.scale-upload-file .dragger-upload-text{color:rgba(0,0,0,.65)}.c-scale-view-block .c-scale-upload.scale-upload-file .n-upload-file-list{display:flex;flex-direction:column;width:100%}.c-scale-view-block .c-scale-upload.scale-upload-file .n-upload-file-list .n-upload-file{width:100%}.c-scale-view-block .c-scale-upload.scale-upload-file .n-upload-trigger{background:#fafafa;border-color:#d5d5d5;width:100%}.c-scale-view-block .text-over-tooltip-components{display:inline-block;max-width:98%}.c-scale-view-block .text-over-tooltip-components .ellipsis{color:#35393c;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-scale-view-block .text-over-tooltip-components .ellipsis i{font-style:normal;white-space:nowrap;word-break:keep-all}.c-scale-view-block .text-over-tooltip-components .fs20{color:green;font-size:20px;font-weight:600;line-height:22px}.c-scale-view-block .text-over-tooltip-components .fs12{color:orange;font-size:12px;font-weight:400;line-height:14px}.c-scale-view-block .des-content-wrap{padding:0 16px}.c-scale-view-block .des-content-wrap .des-content-div{padding-bottom:24px;text-align:left;white-space:break-spaces;word-break:break-word}.c-scale-view-block .des-content-wrap .des-content-div img,.c-scale-view-block .des-content-wrap .des-content-div video{max-width:100%}.c-scale-view-block .des-content-wrap .des-content-div p{margin:0}.c-scale-map-modal .n-card__content{overflow:hidden}.c-scale-modal-container.n-dialog{display:flex;flex-direction:column;height:60vh}.c-scale-modal-container.n-dialog.n-modal{min-width:560px;padding:0;width:50vw}.c-scale-modal-container.n-dialog .n-dialog__title{background:#fff;border-bottom:1px solid #e8e8e8;border-radius:8px 8px 0 0;box-sizing:border-box;height:52px;line-height:52px;padding:14px 16px}.c-scale-modal-container.n-dialog .n-dialog__title .n-dialog__title-content{align-items:center;color:#000;display:flex;font-size:16px;height:100%;justify-content:space-between;overflow:hidden;width:100%}.c-scale-modal-container.n-dialog .n-dialog__title .n-dialog__title-content .modal-title-drag{flex:1}.c-scale-modal-container.n-dialog .n-dialog__title .n-dialog__title-content .svg-wrap{right:16px}.c-scale-modal-container.n-dialog .n-dialog__title .n-dialog__title-content .svg-wrap svg{cursor:pointer;font-size:14px}.c-scale-modal-container.n-dialog .n-dialog__title .n-dialog__title-content .svg-wrap svg+svg{margin-left:16px}.c-scale-modal-container.n-dialog .n-dialog__content{height:100%;margin:0;overflow:hidden;padding:16px}.c-scale-modal-container.n-dialog .n-dialog__action{background:transparent;border-radius:0 0 8px 8px;border-top:1px solid #e8e8e8;box-sizing:border-box;height:52px;padding:10px 16px;text-align:right}
@@ -4,6 +4,10 @@ declare const SelectLabel: SFCWithInstall<import("vue").DefineComponent<{
4
4
  type: import("vue").PropType<any[]>;
5
5
  default: () => never[];
6
6
  };
7
+ selectedListObj: {
8
+ type: ObjectConstructor;
9
+ default: () => {};
10
+ };
7
11
  item: {
8
12
  type: import("vue").PropType<any>;
9
13
  default: () => {};
@@ -54,6 +58,10 @@ declare const SelectLabel: SFCWithInstall<import("vue").DefineComponent<{
54
58
  type: import("vue").PropType<any[]>;
55
59
  default: () => never[];
56
60
  };
61
+ selectedListObj: {
62
+ type: ObjectConstructor;
63
+ default: () => {};
64
+ };
57
65
  item: {
58
66
  type: import("vue").PropType<any>;
59
67
  default: () => {};
@@ -118,6 +126,7 @@ declare const SelectLabel: SFCWithInstall<import("vue").DefineComponent<{
118
126
  };
119
127
  updateCommonChecked: (value: boolean, item: any) => void;
120
128
  item_is_edit: import("vue").ComputedRef<any>;
129
+ curSelectedList: import("vue").ComputedRef<any>;
121
130
  hadleCommonlabels: (commonLabelList: any[], selectList: any[]) => void;
122
131
  getCommonlabelsList: (type: any) => Promise<void>;
123
132
  closeTag: (d: {
@@ -463,6 +472,10 @@ declare const SelectLabel: SFCWithInstall<import("vue").DefineComponent<{
463
472
  type: import("vue").PropType<any[]>;
464
473
  default: () => never[];
465
474
  };
475
+ selectedListObj: {
476
+ type: ObjectConstructor;
477
+ default: () => {};
478
+ };
466
479
  item: {
467
480
  type: import("vue").PropType<any>;
468
481
  default: () => {};
@@ -512,6 +525,7 @@ declare const SelectLabel: SFCWithInstall<import("vue").DefineComponent<{
512
525
  }, {
513
526
  item: any;
514
527
  selectedList: any[];
528
+ selectedListObj: Record<string, any>;
515
529
  isDetail: boolean;
516
530
  isLock: boolean;
517
531
  sourceType: string;
@@ -5,6 +5,10 @@ declare const _default: import("vue").DefineComponent<{
5
5
  type: PropType<any[]>;
6
6
  default: () => never[];
7
7
  };
8
+ selectedListObj: {
9
+ type: ObjectConstructor;
10
+ default: () => {};
11
+ };
8
12
  item: {
9
13
  type: PropType<any>;
10
14
  default: () => {};
@@ -55,6 +59,10 @@ declare const _default: import("vue").DefineComponent<{
55
59
  type: PropType<any[]>;
56
60
  default: () => never[];
57
61
  };
62
+ selectedListObj: {
63
+ type: ObjectConstructor;
64
+ default: () => {};
65
+ };
58
66
  item: {
59
67
  type: PropType<any>;
60
68
  default: () => {};
@@ -119,6 +127,7 @@ declare const _default: import("vue").DefineComponent<{
119
127
  };
120
128
  updateCommonChecked: (value: boolean, item: any) => void;
121
129
  item_is_edit: import("vue").ComputedRef<any>;
130
+ curSelectedList: import("vue").ComputedRef<any>;
122
131
  hadleCommonlabels: (commonLabelList: any[], selectList: any[]) => void;
123
132
  getCommonlabelsList: (type: any) => Promise<void>;
124
133
  closeTag: (d: {
@@ -464,6 +473,10 @@ declare const _default: import("vue").DefineComponent<{
464
473
  type: PropType<any[]>;
465
474
  default: () => never[];
466
475
  };
476
+ selectedListObj: {
477
+ type: ObjectConstructor;
478
+ default: () => {};
479
+ };
467
480
  item: {
468
481
  type: PropType<any>;
469
482
  default: () => {};
@@ -513,6 +526,7 @@ declare const _default: import("vue").DefineComponent<{
513
526
  }, {
514
527
  item: any;
515
528
  selectedList: any[];
529
+ selectedListObj: Record<string, any>;
516
530
  isDetail: boolean;
517
531
  isLock: boolean;
518
532
  sourceType: string;
@@ -1 +1 @@
1
- import{defineComponent as e,ref as l,reactive as t,computed as a,onMounted as i,watch as o,openBlock as s,createElementBlock as n,Fragment as d,createElementVNode as c,createBlock as b,unref as m,withCtx as r,renderList as p,normalizeStyle as u,createVNode as L,toDisplayString as h,withDirectives as y,normalizeClass as C,createTextVNode as f,vShow as g,createCommentVNode as v,mergeProps as I,nextTick as w}from"vue";import{NSpace as x,NTag as S,NTooltip as k,NIcon as O,NModal as j}from"naive-ui";import{AddCircleOutline as N}from"@vicons/ionicons5";import W from"./LabelFormContent.vue.js";import{handleLabelColor as P}from"../../../shared/utils/vexutils.js";import _ from"../../../shared/utils/vexutilsExpand.js";const B={class:"c-select-label"},E=c("span",null,"常用",-1),A={key:2,class:"outexplicit"},H=c("span",null,"选择标签",-1),z={class:"svg-wrap"};var F=e({__name:"SelectLabel",props:{selectedList:{type:Array,default:()=>[]},item:{type:Object,default:()=>({})},isDetail:{type:Boolean,default:!1},isLock:{type:Boolean,default:!1},sourceType:{type:String,default:""},explicit:{type:Boolean,default:!1},getLabelList:{type:Function,default:()=>Promise.resolve({rows:[]})},queryCommonlabels:{type:Function,default:()=>Promise.resolve({data:{}})},deleteLabel:{type:Function,default:()=>Promise.resolve({status:!0})},saveLabelItem:{type:Function,default:()=>Promise.resolve({status:!0})}},emits:["onChange"],setup(e,{emit:F}){const V=e,T=l(null),U=t({labelVisible:!1,editLabelItem:{},labelSelectedList:[],labelSelectedEdit:[],inited:!1,isChangeWindow:!1,modalWidth:"763px",modalHeight:"404px",maxHeight:"404px",commonLabelList:[],multipleChoiceConfig:{}});const D=a((()=>{const e=(null==V?void 0:V.item)||{};return(1==e.is_edit||e.isShow)&&!V.isDetail})),$=(e,l)=>{e.length&&e.forEach((e=>{let t=l.some((l=>l.labelId==e.labelId));e.isSelect=t}))},q=(e,l)=>{let t=U.multipleChoiceConfig,a=U.labelSelectedList||[];if(e){if(a.some((e=>e.labelId==l.labelId)))return;"2"==t[l.typeId]&&(a=a.filter((e=>e.typeId!==l.typeId))),a.push(l)}else{const e=a.findIndex((e=>e.labelId==l.labelId));-1!=e&&a.splice(e,1)}F("onChange",[...a]),U.labelSelectedList=a},J=e=>{V.isLock||(V.explicit||"init"===e||(U.labelVisible=!0),M(V.item))},R=()=>{var e;V.explicit||(null==(e=T.value)||e.resetShowAdd(),U.editLabelItem.showAdd=!1,U.editLabelItem={},U.inited=!1,U.modalWidth="763px",U.modalHeight="404px",U.maxHeight="404px",U.isChangeWindow=!1,U.labelVisible=!1)},K=()=>{U.isChangeWindow=!U.isChangeWindow;let e=document.body.clientHeight;U.modalWidth="763px"===U.modalWidth?"100%":"763px",U.modalHeight="404px"===U.modalHeight?e-110+"px":"404px",U.maxHeight="auto"===U.modalHeight?"404px":"none"},G=()=>{var e;null==(e=T.value)||e.handleLabelForm((e=>{F("onChange",[...e]),U.labelSelectedList=e,$(U.commonLabelList,e),R()}))},M=async(e,l)=>{const{rows:t,results:a}=await V.getLabelList(e,{update:l}),i=t||[],o={},s=`${e.val_key}_${e.name}`,n=l?[...U.labelSelectedEdit||[]]:[...U.labelSelectedList||[]];i.forEach((e=>{e.cacheKey=s,e.isSelect=!1,o[e.typeName]?o[e.typeName].itemList.push({...e}):o[e.typeName]={itemList:[{...e}],showAdd:!1,addVal:"",typeName:e.typeName,typeId:e.typeId}})),a&&(e.labelObj=o,e.labelList=i),l&&(U.labelSelectedEdit=n),U.editLabelItem=e,Q(a)},Q=e=>{if(!e)return!1;let l=Object.keys(e),t={},a=(e.typeList||[]).reduce(((e,l)=>(t[l.typeId]=l.multipleChoice,e[l.typeName]={multipleChoice:l.multipleChoice,parentColor:l.parentColor,allowCreateByPersonal:l.allowCreateByPersonal},e)),{});V.explicit&&(U.multipleChoiceConfig=t),l.forEach((l=>{var t,i,o,s,n,d,c;"typeList"!==l&&("emptyTypes"!==l?_.isPlainObject(e[l])?U.editLabelItem.labelObj[l]?(U.editLabelItem.labelObj[l].isNoAdd=!0,U.editLabelItem.labelObj[l].multipleChoice=null==(i=a[l])?void 0:i.multipleChoice,U.editLabelItem.labelObj[l].allowCreateByPersonal=null==(o=a[l])?void 0:o.allowCreateByPersonal,U.editLabelItem.labelObj[l].parentColor=null==(s=a[l])?void 0:s.parentColor):U.editLabelItem.labelObj[l]={addVal:"",showAdd:!1,itemList:!1,typeId:"",typeName:l,allowCreateByPersonal:null==(t=a[l])?void 0:t.allowCreateByPersonal,...a[l]||{}}:(U.editLabelItem.labelObj[l].multipleChoice=null==(n=a[l])?void 0:n.multipleChoice,U.editLabelItem.labelObj[l].allowCreateByPersonal=null==(d=a[l])?void 0:d.allowCreateByPersonal,U.editLabelItem.labelObj[l].parentColor=null==(c=a[l])?void 0:c.parentColor):e[l].forEach((e=>{U.editLabelItem.labelObj[e.typeName]={addVal:"",showAdd:!1,itemList:[],typeId:e.typeId,typeName:e.typeName,allowCreateByPersonal:e.allowCreateByPersonal,...a[e.typeName]||{}}})))}))},X=()=>{M(V.item,!0)},Y=()=>{G()},Z=(e,l)=>{V.explicit&&w((()=>{var t;null==(t=T.value)||t.hanldeSetLabelItem(e,l)}))};return i((()=>{V.explicit?J():(async e=>{const{rows:l,results:t}=await V.getLabelList(e);if(!t)return!1;let a=(t.typeList||[]).reduce(((e,l)=>(e[l.typeId]=l.multipleChoice,e)),{});U.multipleChoiceConfig=a})(V.item)})),o((()=>V.selectedList),(e=>{if(e){let l=Array.isArray(e)?e:[];U.labelSelectedList=JSON.parse(JSON.stringify(l)),$(U.commonLabelList,U.labelSelectedList)}}),{immediate:!0,deep:!0}),o((()=>{var e;return null==(e=V.item)?void 0:e.label_type}),(e=>{e&&"form"==V.sourceType&&(async e=>{var l;let{data:t={}}=await V.queryCommonlabels(e)||{};if("SUCCESS"!==t.result)return;let a=(null==(l=t.map)?void 0:l.rows)||[];$(a,U.labelSelectedList),U.commonLabelList=a})(e)}),{immediate:!0,deep:!0}),(l,t)=>(s(),n(d,null,[c("div",B,[e.explicit?v("v-if",!0):(s(),b(m(x),{key:0,align:"center"},{default:r((()=>[(s(!0),n(d,null,p(U.labelSelectedList,(e=>(s(),b(m(S),{bordered:!1,key:e.labelId,style:u(m(P)(e,!0)),closable:m(D),onClose:l=>(e=>{const l=U.labelSelectedList||[],t=l.findIndex((l=>l.labelId==e.labelId));-1!=t&&l.splice(t,1),F("onChange",[...l]),U.labelSelectedList=l,Z(e.labelId,!1)})(e),size:"small"},{default:r((()=>[L(m(k),{placement:"top-start"},{trigger:r((()=>[c("span",null,h(e.labelName),1)])),default:r((()=>[c("span",null,h(e.labelName),1)])),_:2},1024)])),_:2},1032,["style","closable","onClose"])))),128)),e.explicit?v("v-if",!0):y((s(),n("span",{key:0,class:C(["form-add-icon form-add-icon-label",{disable:e.isLock}]),onClick:J},[L(m(O),{class:"add-icon",component:m(N)},null,8,["component"]),f(" 新增 ")],2)),[[g,m(D)]])])),_:1})),"form"==e.sourceType&&U.commonLabelList.length&&m(D)&&!e.explicit?(s(),b(m(x),{key:1,align:"center",class:"common-label"},{default:r((()=>[E,(s(!0),n(d,null,p(U.commonLabelList,((e,l)=>(s(),b(m(S),{checkable:"",checked:e.isSelect,"onUpdate:checked":l=>function(e,l){l.isSelect=e,q(e,l)}(l,e),key:l,style:u(m(P)(e)),size:"small"},{default:r((()=>[L(m(k),{placement:"top-start"},{trigger:r((()=>[c("span",null,h(e.labelName),1)])),default:r((()=>[c("span",null,h(e.labelName),1)])),_:2},1024)])),_:2},1032,["checked","onUpdate:checked","style"])))),128))])),_:1})):v("v-if",!0),e.explicit&&m(D)?(s(),n("div",A,[L(W,I(l.$attrs,{ref_key:"labelFormContentRef",ref:T,explicit:e.explicit,labelSelectedList:U.labelSelectedList,isChangeWindow:U.isChangeWindow,labelOptions:U.editLabelItem.labelObj,deleteLabel:e.deleteLabel,saveLabelItem:e.saveLabelItem,onUpdateLabelData:X,onExplicitOnChange:Y}),null,16,["explicit","labelSelectedList","isChangeWindow","labelOptions","deleteLabel","saveLabelItem"])])):v("v-if",!0)]),v(" 弹窗 "),L(m(j),{preset:"dialog",class:C(["label-form-modal-wrap modal-wrap standard-modal standard-modal-white",{"modal-screen":U.isChangeWindow}]),show:U.labelVisible,"onUpdate:show":t[0]||(t[0]=e=>U.labelVisible=e),onPositiveClick:G,onNegativeClick:R,onClose:R,"mask-closable":!1,"close-on-esc":!1,"show-icon":!1,"negative-text":"取消","positive-text":"确定",style:u({width:U.modalWidth})},{header:r((()=>[H,c("div",z,[c("i",{onClick:K,class:C(["iconfont-select-label",U.isChangeWindow?"icon-select-label-menzhenyishengzhanxitongtubiaozuixiaohua2":"icon-select-label-menzhenyishengzhanxitongtubiaozuidahua"])},null,2)])])),default:r((()=>[L(W,I(l.$attrs,{ref_key:"labelFormContentRef",ref:T,labelSelectedList:U.labelSelectedList,isChangeWindow:U.isChangeWindow,labelOptions:U.editLabelItem.labelObj,sourceType:e.sourceType,deleteLabel:e.deleteLabel,saveLabelItem:e.saveLabelItem,onUpdateLabelData:X}),null,16,["labelSelectedList","isChangeWindow","labelOptions","sourceType","deleteLabel","saveLabelItem"])])),_:1},8,["show","class","style"])],64))}});export{F as default};
1
+ import{defineComponent as e,ref as l,reactive as t,computed as a,onMounted as i,watch as o,openBlock as s,createElementBlock as n,Fragment as d,createElementVNode as c,createBlock as b,unref as r,withCtx as m,renderList as p,normalizeStyle as u,createVNode as L,toDisplayString as y,withDirectives as h,normalizeClass as C,createTextVNode as f,vShow as v,createCommentVNode as g,mergeProps as I,nextTick as w}from"vue";import{NSpace as x,NTag as S,NTooltip as O,NIcon as k,NModal as j}from"naive-ui";import{AddCircleOutline as N}from"@vicons/ionicons5";import W from"./LabelFormContent.vue.js";import{handleLabelColor as P}from"../../../shared/utils/vexutils.js";import _ from"../../../shared/utils/vexutilsExpand.js";const B={class:"c-select-label"},E=c("span",null,"常用",-1),A={key:2,class:"outexplicit"},H=c("span",null,"选择标签",-1),z={class:"svg-wrap"};var F=e({__name:"SelectLabel",props:{selectedList:{type:Array,default:()=>[]},selectedListObj:{type:Object,default:()=>({})},item:{type:Object,default:()=>({})},isDetail:{type:Boolean,default:!1},isLock:{type:Boolean,default:!1},sourceType:{type:String,default:""},explicit:{type:Boolean,default:!1},getLabelList:{type:Function,default:()=>Promise.resolve({rows:[]})},queryCommonlabels:{type:Function,default:()=>Promise.resolve({data:{}})},deleteLabel:{type:Function,default:()=>Promise.resolve({status:!0})},saveLabelItem:{type:Function,default:()=>Promise.resolve({status:!0})}},emits:["onChange"],setup(e,{emit:F}){const V=e,T=l(null),U=t({labelVisible:!1,editLabelItem:{},labelSelectedList:[],labelSelectedEdit:[],inited:!1,isChangeWindow:!1,modalWidth:"763px",modalHeight:"404px",maxHeight:"404px",commonLabelList:[],multipleChoiceConfig:{}});const D=a((()=>{const e=(null==V?void 0:V.item)||{};return(1==e.is_edit||e.isShow)&&!V.isDetail})),$=a((()=>{var e,l;let t=null==(e=V.item)?void 0:e.val_key;if(!t||!V.selectedListObj)return V.selectedList;let a=null==(l=V.selectedListObj)?void 0:l[t];return a||V.selectedList})),q=(e,l)=>{e.length&&e.forEach((e=>{let t=l.some((l=>l.labelId==e.labelId));e.isSelect=t}))},J=(e,l)=>{let t=U.multipleChoiceConfig,a=U.labelSelectedList||[];if(e){if(a.some((e=>e.labelId==l.labelId)))return;"2"==t[l.typeId]&&(a=a.filter((e=>e.typeId!==l.typeId))),a.push(l)}else{const e=a.findIndex((e=>e.labelId==l.labelId));-1!=e&&a.splice(e,1)}F("onChange",[...a]),U.labelSelectedList=a},R=e=>{V.isLock||(V.explicit||"init"===e||(U.labelVisible=!0),Q(V.item))},K=()=>{var e;V.explicit||(null==(e=T.value)||e.resetShowAdd(),U.editLabelItem.showAdd=!1,U.editLabelItem={},U.inited=!1,U.modalWidth="763px",U.modalHeight="404px",U.maxHeight="404px",U.isChangeWindow=!1,U.labelVisible=!1)},G=()=>{U.isChangeWindow=!U.isChangeWindow;let e=document.body.clientHeight;U.modalWidth="763px"===U.modalWidth?"100%":"763px",U.modalHeight="404px"===U.modalHeight?e-110+"px":"404px",U.maxHeight="auto"===U.modalHeight?"404px":"none"},M=()=>{var e;null==(e=T.value)||e.handleLabelForm((e=>{F("onChange",[...e]),U.labelSelectedList=e,q(U.commonLabelList,e),K()}))},Q=async(e,l)=>{const{rows:t,results:a}=await V.getLabelList(e,{update:l}),i=t||[],o={},s=`${e.val_key}_${e.name}`,n=l?[...U.labelSelectedEdit||[]]:[...U.labelSelectedList||[]];i.forEach((e=>{e.cacheKey=s,e.isSelect=!1,o[e.typeName]?o[e.typeName].itemList.push({...e}):o[e.typeName]={itemList:[{...e}],showAdd:!1,addVal:"",typeName:e.typeName,typeId:e.typeId}})),a&&(e.labelObj=o,e.labelList=i),l&&(U.labelSelectedEdit=n),U.editLabelItem=e,X(a)},X=e=>{if(!e)return!1;let l=Object.keys(e),t={},a=(e.typeList||[]).reduce(((e,l)=>(t[l.typeId]=l.multipleChoice,e[l.typeName]={multipleChoice:l.multipleChoice,parentColor:l.parentColor,allowCreateByPersonal:l.allowCreateByPersonal},e)),{});V.explicit&&(U.multipleChoiceConfig=t),l.forEach((l=>{var t,i,o,s,n,d,c;"typeList"!==l&&("emptyTypes"!==l?_.isPlainObject(e[l])?U.editLabelItem.labelObj[l]?(U.editLabelItem.labelObj[l].isNoAdd=!0,U.editLabelItem.labelObj[l].multipleChoice=null==(i=a[l])?void 0:i.multipleChoice,U.editLabelItem.labelObj[l].allowCreateByPersonal=null==(o=a[l])?void 0:o.allowCreateByPersonal,U.editLabelItem.labelObj[l].parentColor=null==(s=a[l])?void 0:s.parentColor):U.editLabelItem.labelObj[l]={addVal:"",showAdd:!1,itemList:!1,typeId:"",typeName:l,allowCreateByPersonal:null==(t=a[l])?void 0:t.allowCreateByPersonal,...a[l]||{}}:(U.editLabelItem.labelObj[l].multipleChoice=null==(n=a[l])?void 0:n.multipleChoice,U.editLabelItem.labelObj[l].allowCreateByPersonal=null==(d=a[l])?void 0:d.allowCreateByPersonal,U.editLabelItem.labelObj[l].parentColor=null==(c=a[l])?void 0:c.parentColor):e[l].forEach((e=>{U.editLabelItem.labelObj[e.typeName]={addVal:"",showAdd:!1,itemList:[],typeId:e.typeId,typeName:e.typeName,allowCreateByPersonal:e.allowCreateByPersonal,...a[e.typeName]||{}}})))}))},Y=()=>{Q(V.item,!0)},Z=()=>{M()},ee=(e,l)=>{V.explicit&&w((()=>{var t;null==(t=T.value)||t.hanldeSetLabelItem(e,l)}))};return i((()=>{V.explicit?R():(async e=>{const{rows:l,results:t}=await V.getLabelList(e);if(!t)return!1;let a=(t.typeList||[]).reduce(((e,l)=>(e[l.typeId]=l.multipleChoice,e)),{});U.multipleChoiceConfig=a})(V.item)})),o((()=>$.value),(e=>{if(e){let l=Array.isArray(e)?e:[];U.labelSelectedList=JSON.parse(JSON.stringify(l)),q(U.commonLabelList,U.labelSelectedList)}}),{immediate:!0,deep:!0}),o((()=>{var e;return null==(e=V.item)?void 0:e.label_type}),(e=>{e&&"form"==V.sourceType&&(async e=>{var l;let{data:t={}}=await V.queryCommonlabels(e)||{};if("SUCCESS"!==t.result)return;let a=(null==(l=t.map)?void 0:l.rows)||[];q(a,U.labelSelectedList),U.commonLabelList=a})(e)}),{immediate:!0,deep:!0}),(l,t)=>(s(),n(d,null,[c("div",B,[e.explicit?g("v-if",!0):(s(),b(r(x),{key:0,align:"center"},{default:m((()=>[(s(!0),n(d,null,p(U.labelSelectedList,(l=>(s(),b(r(S),{bordered:!1,key:l.labelId,style:u(r(P)(l,!0)),closable:r(D)&&!e.isLock,onClose:e=>(e=>{const l=U.labelSelectedList||[],t=l.findIndex((l=>l.labelId==e.labelId));-1!=t&&l.splice(t,1),F("onChange",[...l]),U.labelSelectedList=l,ee(e.labelId,!1)})(l),size:"small"},{default:m((()=>[L(r(O),{placement:"top-start"},{trigger:m((()=>[c("span",null,y(l.labelName),1)])),default:m((()=>[c("span",null,y(l.labelName),1)])),_:2},1024)])),_:2},1032,["style","closable","onClose"])))),128)),e.explicit||e.isLock?g("v-if",!0):h((s(),n("span",{key:0,class:C(["form-add-icon form-add-icon-label",{disable:e.isLock}]),onClick:R},[L(r(k),{class:"add-icon",component:r(N)},null,8,["component"]),f(" 新增 ")],2)),[[v,r(D)]])])),_:1})),"form"==e.sourceType&&U.commonLabelList.length&&r(D)&&!e.explicit?(s(),b(r(x),{key:1,align:"center",class:"common-label"},{default:m((()=>[E,(s(!0),n(d,null,p(U.commonLabelList,((e,l)=>(s(),b(r(S),{checkable:"",checked:e.isSelect,"onUpdate:checked":l=>function(e,l){l.isSelect=e,J(e,l)}(l,e),key:l,style:u(r(P)(e)),size:"small"},{default:m((()=>[L(r(O),{placement:"top-start"},{trigger:m((()=>[c("span",null,y(e.labelName),1)])),default:m((()=>[c("span",null,y(e.labelName),1)])),_:2},1024)])),_:2},1032,["checked","onUpdate:checked","style"])))),128))])),_:1})):g("v-if",!0),e.explicit&&r(D)?(s(),n("div",A,[L(W,I(l.$attrs,{ref_key:"labelFormContentRef",ref:T,explicit:e.explicit,labelSelectedList:U.labelSelectedList,isChangeWindow:U.isChangeWindow,labelOptions:U.editLabelItem.labelObj,deleteLabel:e.deleteLabel,saveLabelItem:e.saveLabelItem,onUpdateLabelData:Y,onExplicitOnChange:Z}),null,16,["explicit","labelSelectedList","isChangeWindow","labelOptions","deleteLabel","saveLabelItem"])])):g("v-if",!0)]),g(" 弹窗 "),L(r(j),{preset:"dialog",class:C(["label-form-modal-wrap modal-wrap standard-modal standard-modal-white",{"modal-screen":U.isChangeWindow}]),show:U.labelVisible,"onUpdate:show":t[0]||(t[0]=e=>U.labelVisible=e),onPositiveClick:M,onNegativeClick:K,onClose:K,"mask-closable":!1,"close-on-esc":!1,"show-icon":!1,"negative-text":"取消","positive-text":"确定",style:u({width:U.modalWidth})},{header:m((()=>[H,c("div",z,[c("i",{onClick:G,class:C(["iconfont-select-label",U.isChangeWindow?"icon-select-label-menzhenyishengzhanxitongtubiaozuixiaohua2":"icon-select-label-menzhenyishengzhanxitongtubiaozuidahua"])},null,2)])])),default:m((()=>[L(W,I(l.$attrs,{ref_key:"labelFormContentRef",ref:T,labelSelectedList:U.labelSelectedList,isChangeWindow:U.isChangeWindow,labelOptions:U.editLabelItem.labelObj,sourceType:e.sourceType,deleteLabel:e.deleteLabel,saveLabelItem:e.saveLabelItem,onUpdateLabelData:Y}),null,16,["labelSelectedList","isChangeWindow","labelOptions","sourceType","deleteLabel","saveLabelItem"])])),_:1},8,["show","class","style"])],64))}});export{F as default};
@@ -1 +1 @@
1
- var e="@cnhis-design-vue/shared",s="3.1.48-release.4",i="index.ts",n={"naive-ui":"^2.30.0",vue:"^3.2.0"},a={"@vicons/ionicons5":"^0.12.0","lodash-es":"^4.17.21",moment:"^2.29.1","video.js":"^7.19.2","videojs-contrib-hls":"^5.15.0",viewerjs:"^1.10.5","xe-utils":"^3.5.4"},d={name:e,version:"3.1.48-release.4",private:!0,main:"index.ts",peerDependencies:n,dependencies:a};export{d as default,a as dependencies,i as main,e as name,n as peerDependencies,s as version};
1
+ var e="@cnhis-design-vue/shared",s="3.1.48-release.6",i="index.ts",n={"naive-ui":"^2.30.0",vue:"^3.2.0"},a={"@vicons/ionicons5":"^0.12.0","lodash-es":"^4.17.21",moment:"^2.29.1","video.js":"^7.19.2","videojs-contrib-hls":"^5.15.0",viewerjs:"^1.10.5","xe-utils":"^3.5.4"},d={name:e,version:"3.1.48-release.6",private:!0,main:"index.ts",peerDependencies:n,dependencies:a};export{d as default,a as dependencies,i as main,e as name,n as peerDependencies,s as version};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "3.1.48-release.4",
3
+ "version": "3.1.48-release.6",
4
4
  "license": "ISC",
5
5
  "module": "./es/components/index.js",
6
6
  "main": "./es/components/index.js",
@@ -63,5 +63,5 @@
63
63
  "iOS 7",
64
64
  "last 3 iOS versions"
65
65
  ],
66
- "gitHead": "a8f7d7cdca3113620c2a7b0dbaf062673dfc51cc"
66
+ "gitHead": "6f4c2935ed70217eda4027f4cad1f6fcc6252ddc"
67
67
  }