dw-test-form 1.0.19 → 1.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dw-test-form.js CHANGED
@@ -3797,13 +3797,15 @@ function YCe(e) {
3797
3797
  const ICe = {
3798
3798
  __name: "Demo",
3799
3799
  setup(e) {
3800
- const i = { sid: "hg5jvbm3ew", answerId: null, anPwd: null }, t = {
3801
- hideSubmitBtn: !0,
3802
- isPreview: !0,
3803
- readonly: !0,
3800
+ const i = { sid: "vjgrn68t47c", answerId: null, anPwd: null }, t = {
3801
+ hideSubmitBtn: !1,
3802
+ // isPreview: true,
3803
+ // readonly: true,
3804
3804
  hideFooter: !0,
3805
3805
  anBodyStyle: { minHeight: "400px", height: "auto" },
3806
- showAnswerDesc: !0
3806
+ showAnswerDesc: !0,
3807
+ isToRouter: !0,
3808
+ toRouter: "/v8/diaowen/exam"
3807
3809
  };
3808
3810
  return (o, l) => {
3809
3811
  const s = F("DwAnswerSurvey");
@@ -19905,7 +19907,8 @@ const rV = { dwUpSurveyStyleMain: lWe, dwUpImgSrcVar: Fre, dwUpAnswerStyleVar: R
19905
19907
  this.$message.success(this.$t("survey.dwDesign.dwEdit.answerSheet.message.submitSuccess"));
19906
19908
  const A = this;
19907
19909
  setTimeout(function() {
19908
- A.extProps.isToRouter ? A.$router.push(A.extProps.toRouter) : A.$router.push(`/v6/diaowen/an/review/${e}/${u}`);
19910
+ var E;
19911
+ (E = A.extProps) != null && E.isToRouter ? A.$router.push(A.extProps.toRouter) : A.$router.push(`/v6/diaowen/an/review/${e}/${u}`);
19909
19912
  }, 1500);
19910
19913
  }
19911
19914
  } else if (r.hasOwnProperty("anCheckResultMsg")) {
@@ -20082,21 +20085,24 @@ function fWe(e, i, t, o, l, s) {
20082
20085
  I("div", null, [
20083
20086
  Y(rN, null, {
20084
20087
  default: d(() => [
20085
- (B(!0), Z(de, null, Ui(s.surveyObj.questions, (M, g) => (B(), Z("div", {
20086
- key: `surveyQu${g}`,
20087
- ref_for: !0,
20088
- ref: "designQuestionRoot"
20089
- }, [
20090
- Y(c, {
20088
+ (B(!0), Z(de, null, Ui(s.surveyObj.questions, (M, g) => {
20089
+ var h, y, x;
20090
+ return B(), Z("div", {
20091
+ key: `surveyQu${g}`,
20091
20092
  ref_for: !0,
20092
- ref: "designQuestion",
20093
- survey: s.surveyObj,
20094
- "onUpdate:survey": i[0] || (i[0] = (h) => s.surveyObj = h),
20095
- index: g,
20096
- item: M
20097
- }, null, 8, ["survey", "index", "item"]),
20098
- t.extProps.isPreview && t.extProps.readonly && t.extProps.showAnswerDesc ? (B(), Z("div", UWe, "题目解析:" + K(M.quAttr.quScoreDesc), 1)) : _("", !0)
20099
- ]))), 128))
20093
+ ref: "designQuestionRoot"
20094
+ }, [
20095
+ Y(c, {
20096
+ ref_for: !0,
20097
+ ref: "designQuestion",
20098
+ survey: s.surveyObj,
20099
+ "onUpdate:survey": i[0] || (i[0] = (w) => s.surveyObj = w),
20100
+ index: g,
20101
+ item: M
20102
+ }, null, 8, ["survey", "index", "item"]),
20103
+ (h = t.extProps) != null && h.isPreview && ((y = t.extProps) != null && y.readonly) && ((x = t.extProps) != null && x.showAnswerDesc) ? (B(), Z("div", UWe, "题目解析:" + K(M.quAttr.quScoreDesc), 1)) : _("", !0)
20104
+ ]);
20105
+ }), 128))
20100
20106
  ]),
20101
20107
  _: 1
20102
20108
  })
@@ -20250,7 +20256,7 @@ function fWe(e, i, t, o, l, s) {
20250
20256
  ])) : _("", !0)
20251
20257
  ]);
20252
20258
  }
20253
- const HWe = /* @__PURE__ */ Ee(sWe, [["render", fWe], ["__scopeId", "data-v-61af1010"]]), XWe = {
20259
+ const HWe = /* @__PURE__ */ Ee(sWe, [["render", fWe], ["__scopeId", "data-v-d78b7744"]]), XWe = {
20254
20260
  name: "DwFooterSm",
20255
20261
  data() {
20256
20262
  return {