web-core-tcm 0.0.71 → 0.0.73

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 (96) hide show
  1. package/dist/src/api/algorithm/alova/implement/lisemsAlgorithm.js +10 -6
  2. package/dist/src/api/algorithm/pulsationsAlgorithm.js +1 -1
  3. package/dist/src/api/authorization/alova/index.d.ts +2 -3
  4. package/dist/src/api/authorization/alova/index.js +13 -16
  5. package/dist/src/api/authorization/authorization.d.ts +1 -1
  6. package/dist/src/api/authorization/index.js +6 -9
  7. package/dist/src/api/check/alova/index.d.ts +2 -1
  8. package/dist/src/api/check/alova/index.js +11 -10
  9. package/dist/src/api/check/check.d.ts +1 -1
  10. package/dist/src/api/check/index.js +10 -9
  11. package/dist/src/api/config/alova/index.js +10 -10
  12. package/dist/src/api/config/index.d.ts +3 -1
  13. package/dist/src/api/config/index.js +21 -9
  14. package/dist/src/api/core/core.d.ts +1 -1
  15. package/dist/src/api/doctor/alova/index.d.ts +2 -1
  16. package/dist/src/api/doctor/alova/index.js +8 -7
  17. package/dist/src/api/doctor/doctor.d.ts +1 -1
  18. package/dist/src/api/doctor/index.js +7 -6
  19. package/dist/src/api/index.d.ts +1 -0
  20. package/dist/src/api/index.js +2 -0
  21. package/dist/src/api/manager/alova/apiDefinitions.d.ts +77 -0
  22. package/dist/src/api/manager/alova/apiDefinitions.js +65 -0
  23. package/dist/src/api/manager/alova/createApis.d.ts +10 -0
  24. package/dist/src/api/manager/alova/createApis.js +49 -0
  25. package/dist/src/api/manager/alova/globals.d.ts +5524 -0
  26. package/dist/src/api/manager/alova/implement/department.d.ts +15 -0
  27. package/dist/src/api/manager/alova/implement/department.js +71 -0
  28. package/dist/src/api/manager/alova/implement/division.d.ts +15 -0
  29. package/dist/src/api/manager/alova/implement/division.js +71 -0
  30. package/dist/src/api/manager/alova/implement/hospital.d.ts +15 -0
  31. package/dist/src/api/manager/alova/implement/hospital.js +72 -0
  32. package/dist/src/api/manager/alova/implement/index.d.ts +3 -0
  33. package/dist/src/api/manager/alova/implement/index.js +8 -0
  34. package/dist/src/api/manager/alova/index.d.ts +7 -0
  35. package/dist/src/api/manager/alova/index.js +21 -0
  36. package/dist/src/api/manager/department.d.ts +23 -0
  37. package/dist/src/api/manager/department.js +49 -0
  38. package/dist/src/api/manager/division.d.ts +23 -0
  39. package/dist/src/api/manager/division.js +44 -0
  40. package/dist/src/api/manager/hospital.d.ts +24 -0
  41. package/dist/src/api/manager/hospital.js +51 -0
  42. package/dist/src/api/manager/index.d.ts +4 -0
  43. package/dist/src/api/manager/index.js +18 -0
  44. package/dist/src/api/metric/alova/implement/metric.d.ts +1 -1
  45. package/dist/src/api/metric/metric.d.ts +2 -2
  46. package/dist/src/api/oauth/alova/index.d.ts +2 -1
  47. package/dist/src/api/oauth/alova/index.js +12 -11
  48. package/dist/src/api/oauth/index.js +6 -5
  49. package/dist/src/api/outpatient/alova/index.d.ts +2 -1
  50. package/dist/src/api/outpatient/alova/index.js +11 -10
  51. package/dist/src/api/outpatient/index.js +10 -9
  52. package/dist/src/api/outpatient/outpatient.d.ts +1 -1
  53. package/dist/src/api/patient/alova/implement/meta.d.ts +1 -1
  54. package/dist/src/api/patient/alova/index.d.ts +2 -1
  55. package/dist/src/api/patient/alova/index.js +11 -10
  56. package/dist/src/api/patient/index.js +27 -26
  57. package/dist/src/api/patient/meta.d.ts +1 -1
  58. package/dist/src/api/patient/patient.d.ts +1 -1
  59. package/dist/src/api/prescription/alova/implement/prescription.d.ts +0 -1
  60. package/dist/src/api/prescription/alova/implement/prescription.js +9 -17
  61. package/dist/src/api/prescription/alova/index.d.ts +2 -1
  62. package/dist/src/api/prescription/alova/index.js +2 -1
  63. package/dist/src/api/prescription/herbal.d.ts +1 -1
  64. package/dist/src/api/prescription/index.js +12 -11
  65. package/dist/src/api/prescription/prescription.d.ts +1 -2
  66. package/dist/src/api/prescription/prescription.js +9 -12
  67. package/dist/src/api/scientist/alova/index.d.ts +2 -1
  68. package/dist/src/api/scientist/alova/index.js +6 -5
  69. package/dist/src/api/scientist/index.js +8 -7
  70. package/dist/src/api/scientist/scientist.d.ts +1 -1
  71. package/dist/src/api/user/alova/apiDefinitions.d.ts +26 -0
  72. package/dist/src/api/user/alova/apiDefinitions.js +14 -0
  73. package/dist/src/api/user/alova/createApis.d.ts +10 -0
  74. package/dist/src/api/user/alova/createApis.js +49 -0
  75. package/dist/src/api/user/alova/globals.d.ts +529 -0
  76. package/dist/src/api/user/alova/implement/index.d.ts +1 -0
  77. package/dist/src/api/user/alova/implement/index.js +1 -0
  78. package/dist/src/api/user/alova/implement/user.d.ts +10 -0
  79. package/dist/src/api/user/alova/index.d.ts +7 -0
  80. package/dist/src/api/user/alova/index.js +21 -0
  81. package/dist/src/api/user/index.d.ts +2 -0
  82. package/dist/src/api/user/index.js +8 -0
  83. package/dist/src/api/user/user.d.ts +23 -0
  84. package/dist/src/api/user/user.js +52 -0
  85. package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.d.ts +14 -3
  86. package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue.js +2 -2
  87. package/dist/src/components/tcm/inquirise/ComplaintViewCollected.vue2.js +117 -129
  88. package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.d.ts +14 -3
  89. package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue.js +2 -2
  90. package/dist/src/components/tcm/inquirise/ComplaintsRecognitionCollected.vue2.js +123 -139
  91. package/dist/src/components/tcm/lisems/EPPCollected.vue.js +1 -1
  92. package/dist/src/components/tcm/palpations/PulsationCollect.vue.js +2 -2
  93. package/dist/src/components/tcm/palpations/PulsationCollect.vue2.js +51 -54
  94. package/dist/src/index.js +42 -40
  95. package/dist/web-core-tcm.css +1 -1
  96. package/package.json +11 -1
@@ -1,48 +1,45 @@
1
- import c from "../../../../node_modules/quasar/src/components/card/QCard.js";
1
+ import d from "../../../../node_modules/quasar/src/components/card/QCard.js";
2
2
  import Q from "../../../../node_modules/quasar/src/components/scroll-area/QScrollArea.js";
3
3
  import v from "../../../../node_modules/quasar/src/components/btn/QBtn.js";
4
- import Y from "../../../../node_modules/quasar/src/components/chip/QChip.js";
4
+ import Z from "../../../../node_modules/quasar/src/components/chip/QChip.js";
5
5
  import L from "../../../../node_modules/quasar/src/components/item/QItem.js";
6
6
  import A from "../../../../node_modules/quasar/src/components/card/QCardSection.js";
7
- import Z from "../../../../node_modules/quasar/src/components/card/QCardActions.js";
8
- import T from "../../../../node_modules/quasar/src/components/dialog/QDialog.js";
9
- import ee from "../../../../node_modules/quasar/src/components/space/QSpace.js";
10
- import te from "../../../../node_modules/quasar/src/components/icon/QIcon.js";
7
+ import ee from "../../../../node_modules/quasar/src/components/card/QCardActions.js";
8
+ import I from "../../../../node_modules/quasar/src/components/dialog/QDialog.js";
9
+ import te from "../../../../node_modules/quasar/src/components/space/QSpace.js";
10
+ import le from "../../../../node_modules/quasar/src/components/icon/QIcon.js";
11
11
  import oe from "../../../../node_modules/quasar/src/components/item/QItemSection.js";
12
- import le from "../../../../node_modules/quasar/src/components/select/QSelect.js";
13
- import se from "../../../../node_modules/quasar/src/directives/close-popup/ClosePopup.js";
14
- import { defineComponent as ie, ref as a, reactive as ne, computed as re, onMounted as ae, watch as de, createElementBlock as x, openBlock as u, Fragment as w, createElementVNode as i, createVNode as l, withCtx as s, unref as ce, createTextVNode as b, toDisplayString as y, renderList as D, createBlock as j, normalizeClass as ue, withDirectives as me } from "vue";
15
- import fe from "../../../assets/priclose.png.js";
16
- import { symptomsState as pe, removeSymptom as he, addSymptom as I } from "./symptoms.js";
12
+ import se from "../../../../node_modules/quasar/src/components/select/QSelect.js";
13
+ import ne from "../../../../node_modules/quasar/src/directives/close-popup/ClosePopup.js";
14
+ import { defineComponent as ie, ref as r, reactive as re, computed as ae, onMounted as de, watch as ce, createElementBlock as x, openBlock as c, Fragment as w, createElementVNode as n, createVNode as l, withCtx as s, unref as ue, createTextVNode as _, toDisplayString as y, renderList as q, createBlock as D, normalizeClass as me, withDirectives as fe } from "vue";
15
+ import pe from "../../../assets/priclose.png.js";
16
+ import { symptomsState as N, removeSymptom as he, addSymptom as P } from "./symptoms.js";
17
17
  import "../../../api/algorithm/index.js";
18
18
  import ve from "../../../assets/body_1.svg.js";
19
- import "../../../api/patient/index.js";
20
- import { ComplaintMeta as ye } from "../../../api/patient/meta.js";
21
- import { Tag as ge, Annotation as xe } from "../../../api/core/core.js";
22
- import { InquiriesAlgorithm as M } from "../../../api/algorithm/inquiriesAlgorithm.js";
23
- const we = {
19
+ import { InquiriesAlgorithm as T } from "../../../api/algorithm/inquiriesAlgorithm.js";
20
+ const ye = {
24
21
  class: "flex",
25
22
  style: { width: "100%", display: "flex", "flex-direction": "row", "flex-wrap": "nowrap", "justify-content": "space-around" }
26
- }, be = { class: "flex" }, _e = ["innerHTML"], ke = {
23
+ }, ge = { class: "flex" }, xe = ["innerHTML"], we = {
27
24
  class: "column",
28
25
  style: { width: "35%", "box-shadow": "0 0 12px 0 rgba(5, 96, 78, 0.05)" }
29
- }, Ce = { style: { "border-radius": "6px" } }, Se = { class: "part_symptoms" }, Ve = {
26
+ }, _e = { style: { "border-radius": "6px" } }, be = { class: "part_symptoms" }, ke = {
30
27
  class: "flex justify-between",
31
28
  style: { "flex-direction": "column", background: "#fff", height: "100%" }
32
- }, Ee = {
29
+ }, Ce = {
33
30
  class: "column justify-center",
34
31
  style: {}
35
- }, Fe = {
32
+ }, Se = {
36
33
  class: "row justify-start",
37
34
  style: { padding: "2%" }
38
- }, Qe = ["onClick"], Ae = { class: "q-ml-sm" }, De = { class: "select-input" }, je = {
35
+ }, Ve = ["onClick"], Ee = { class: "q-ml-sm" }, Fe = { class: "select-input" }, Qe = {
39
36
  class: "dia-chip-container",
40
37
  style: {}
41
- }, qe = { class: "text-center" }, lt = /* @__PURE__ */ ie({
38
+ }, Ae = { class: "text-center" }, Xe = /* @__PURE__ */ ie({
42
39
  __name: "ComplaintViewCollected",
43
40
  emits: ["collected"],
44
- setup(Be, { emit: N }) {
45
- const _ = a(null), P = ve.replace(/<\?xml.*?\?>/g, "").replace(/^\ufeff/, "").trim(), d = ne(pe), g = re(() => d.symptoms), k = a([""]), m = a(null), q = a([]), f = a([]), B = a("usually"), C = a("常见症状"), O = a({
41
+ setup(qe, { emit: M }) {
42
+ const b = r(null), O = ve.replace(/<\?xml.*?\?>/g, "").replace(/^\ufeff/, "").trim(), u = re(N), g = ae(() => u.symptoms), k = r([""]), m = r(null), j = r([]), f = r([]), B = r("usually"), C = r("常见症状"), R = r({
46
43
  nose: "鼻子",
47
44
  defecation: "大小便",
48
45
  chest: "腹部",
@@ -61,25 +58,16 @@ const we = {
61
58
  leg: "腿部",
62
59
  flank: "胁肋",
63
60
  waist: "腰部"
64
- }), S = a(!1), p = a({ show: !1 }), h = a(null), V = {
61
+ }), S = r(!1), p = r({ show: !1 }), h = r(null), V = {
65
62
  right: "2px",
66
63
  borderRadius: "5px",
67
64
  backgroundColor: "#CFCFCF",
68
65
  width: "5px",
69
66
  opacity: "0.75"
70
- }, R = N, U = () => {
71
- let o = "[主诉]" + d.text_details;
72
- d.remark !== "" && (o += "[备注]" + d.remark), ye.builder().build().inject(o).then((e) => {
73
- const t = Date.now().toString();
74
- d.symptoms.forEach((n) => {
75
- const r = ge.builder().build();
76
- r.key = "症状", r.annotations = [xe.builder().value(n).actor("问诊算法").timestamp(t).build()], e.tags.push(r);
77
- }), R("collected", e), console.log("!!!", e);
78
- }).catch((e) => {
79
- console.log(e);
80
- });
67
+ }, U = M, z = () => {
68
+ U("collected", u), console.log("提交症状描述:", N);
81
69
  };
82
- function z(o, e) {
70
+ function G(o, e) {
83
71
  if (o === "") {
84
72
  e(() => {
85
73
  k.value = [];
@@ -88,7 +76,7 @@ const we = {
88
76
  }
89
77
  try {
90
78
  e(async () => {
91
- k.value = await M.complaintsSearch(o);
79
+ k.value = await T.complaintsSearch(o);
92
80
  });
93
81
  } catch (t) {
94
82
  return console.error("Error fetching options:", t), [];
@@ -96,8 +84,8 @@ const we = {
96
84
  }
97
85
  const E = (o) => {
98
86
  try {
99
- M.complaintsView(o).then((e) => {
100
- q.value = e.symptoms;
87
+ T.complaintsView(o).then((e) => {
88
+ j.value = e.symptoms;
101
89
  });
102
90
  } catch (e) {
103
91
  console.error("Error fetching symptoms:", e);
@@ -106,54 +94,54 @@ const we = {
106
94
  function $(o) {
107
95
  return f.value.includes(o);
108
96
  }
109
- function G(o) {
110
- $(o) ? (f.value = f.value.filter((e) => e !== o), he(o)) : (f.value.push(o), I(o), console.log(d.symptoms));
111
- }
112
97
  function H(o) {
113
- console.log("点击外部", o), [...document.querySelectorAll("#cards_symptoms")].some((n) => n.contains(o.target)) || (C.value = "常见症状", E("usually"));
98
+ $(o) ? (f.value = f.value.filter((e) => e !== o), he(o)) : (f.value.push(o), P(o), console.log(u.symptoms));
99
+ }
100
+ function J(o) {
101
+ console.log("点击外部", o), [...document.querySelectorAll("#cards_symptoms")].some((i) => i.contains(o.target)) || (C.value = "常见症状", E("usually"));
114
102
  }
115
- ae(() => {
116
- if (!_.value) return;
117
- const o = _.value.querySelector("svg");
103
+ de(() => {
104
+ if (!b.value) return;
105
+ const o = b.value.querySelector("svg");
118
106
  if (!o) {
119
107
  console.error("SVG 根元素未找到");
120
108
  return;
121
109
  }
122
110
  o.querySelectorAll("g").forEach((t) => {
123
111
  if (t.id === "emg_1") return;
124
- t.querySelectorAll("path").forEach((r) => {
125
- console.log("更改圆点透明度", r), r.style.cssText = `
112
+ t.querySelectorAll("path").forEach((a) => {
113
+ console.log("更改圆点透明度", a), a.style.cssText = `
126
114
  r: 8px !important;
127
115
  fill: grey !important;
128
116
  stroke: #000 !important;
129
117
  stroke-width: 1px !important;
130
118
  opacity: 0.5 !important;
131
119
  `;
132
- }), t.removeEventListener("click", n), t.addEventListener("click", n);
133
- function n(r) {
134
- r.stopPropagation(), B.value = t.id, console.log("点击部位:", t.id), C.value = O.value[t.id], E(t.id);
120
+ }), t.removeEventListener("click", i), t.addEventListener("click", i);
121
+ function i(a) {
122
+ a.stopPropagation(), B.value = t.id, console.log("点击部位:", t.id), C.value = R.value[t.id], E(t.id);
135
123
  }
136
- }), console.log("界面初始化"), document.body.style.backgroundColor = "#F9F9F9", E(B.value), f.value = d.symptoms, console.log("初始症状列表:", d.symptoms), X();
137
- }), de(m, () => {
138
- m.value !== null && (I(m.value), m.value = null);
124
+ }), console.log("界面初始化"), document.body.style.backgroundColor = "#F9F9F9", E(B.value), f.value = u.symptoms, console.log("初始症状列表:", u.symptoms), Y();
125
+ }), ce(m, () => {
126
+ m.value !== null && (P(m.value), m.value = null);
139
127
  });
140
128
  function F(o) {
141
129
  h.value = g.value[o], p.value.show = !0;
142
130
  }
143
- function J() {
131
+ function K() {
144
132
  p.value.show = !1, h.value = null;
145
133
  }
146
- function K() {
134
+ function W() {
147
135
  const o = g.value.indexOf(h.value);
148
136
  o !== -1 && g.value.splice(o, 1), p.value.show = !1, h.value = null;
149
137
  }
150
- const W = a(!1);
151
- function X() {
152
- W.value = !0;
138
+ const X = r(!1);
139
+ function Y() {
140
+ X.value = !0;
153
141
  }
154
- return (o, e) => (u(), x(w, null, [
155
- i("div", {
156
- onClick: H,
142
+ return (o, e) => (c(), x(w, null, [
143
+ n("div", {
144
+ onClick: J,
157
145
  style: { width: "100%" }
158
146
  }, [
159
147
  l(L, {
@@ -161,33 +149,33 @@ const we = {
161
149
  style: { height: "100%", padding: "0" }
162
150
  }, {
163
151
  default: s(() => [
164
- i("div", we, [
165
- i("div", be, [
166
- i("div", {
152
+ n("div", ye, [
153
+ n("div", ge, [
154
+ n("div", {
167
155
  class: "svg-container",
168
156
  style: { width: "15vw", height: "80vh", "margin-top": "1vh", "margin-left": "1vw", "margin-right": "1vw", "border-radius": "20px", overflow: "hidden" },
169
- innerHTML: ce(P),
157
+ innerHTML: ue(O),
170
158
  ref_key: "svgRoot",
171
- ref: _
172
- }, null, 8, _e)
159
+ ref: b
160
+ }, null, 8, xe)
173
161
  ]),
174
- i("div", ke, [
175
- l(c, {
162
+ n("div", we, [
163
+ l(d, {
176
164
  id: "cards_symptoms",
177
165
  class: "column text-center",
178
166
  style: { width: "100%", "background-color": "#fff", "border-radius": "6px" },
179
167
  flat: ""
180
168
  }, {
181
169
  default: s(() => [
182
- i("div", Ce, [
183
- l(c, {
170
+ n("div", _e, [
171
+ l(d, {
184
172
  class: "flex column",
185
173
  id: "parts",
186
174
  flat: ""
187
175
  }, {
188
176
  default: s(() => [
189
- e[5] || (e[5] = i("span", { class: "" }, "当前部位:", -1)),
190
- b(y(C.value), 1)
177
+ e[5] || (e[5] = n("span", { class: "" }, "当前部位:", -1)),
178
+ _(y(C.value), 1)
191
179
  ]),
192
180
  _: 1
193
181
  }),
@@ -196,15 +184,15 @@ const we = {
196
184
  "thumb-style": V
197
185
  }, {
198
186
  default: s(() => [
199
- i("div", Se, [
200
- (u(!0), x(w, null, D(q.value, (t, n) => (u(), j(c, {
201
- key: n,
202
- class: ue([{ highlighted: $(t) }, "body_part flex justify-center"]),
187
+ n("div", be, [
188
+ (c(!0), x(w, null, q(j.value, (t, i) => (c(), D(d, {
189
+ key: i,
190
+ class: me([{ highlighted: $(t) }, "body_part flex column justify-center"]),
203
191
  flat: "",
204
- onClick: (r) => G(t)
192
+ onClick: (a) => H(t)
205
193
  }, {
206
194
  default: s(() => [
207
- b(y(t), 1)
195
+ _(y(t), 1)
208
196
  ]),
209
197
  _: 2
210
198
  }, 1032, ["class", "onClick"]))), 128))
@@ -216,7 +204,7 @@ const we = {
216
204
  ]),
217
205
  _: 1
218
206
  }),
219
- i("div", null, [
207
+ n("div", null, [
220
208
  l(v, {
221
209
  class: "start-button",
222
210
  label: "如若病症不全可点击搜索症状添加",
@@ -224,44 +212,44 @@ const we = {
224
212
  })
225
213
  ])
226
214
  ]),
227
- l(c, {
215
+ l(d, {
228
216
  id: "symptom-card",
229
217
  flat: "",
230
218
  style: { "box-shadow": "0 0 12px 0 rgba(5, 96, 78, 0.05)" }
231
219
  }, {
232
220
  default: s(() => [
233
- l(c, {
221
+ l(d, {
234
222
  id: "symptom-card-title",
235
223
  class: "flex justify-center"
236
224
  }, {
237
225
  default: s(() => [...e[6] || (e[6] = [
238
- i("div", { class: "text-center" }, "已确认的症状", -1)
226
+ n("div", { class: "text-center" }, "已确认的症状", -1)
239
227
  ])]),
240
228
  _: 1
241
229
  }),
242
- i("div", Ve, [
230
+ n("div", ke, [
243
231
  l(Q, {
244
232
  style: { height: "30vh", width: "100%" },
245
233
  "thumb-style": V
246
234
  }, {
247
235
  default: s(() => [
248
- i("div", Ee, [
249
- i("div", Fe, [
250
- (u(!0), x(w, null, D(g.value, (t, n) => (u(), j(Y, {
236
+ n("div", Ce, [
237
+ n("div", Se, [
238
+ (c(!0), x(w, null, q(g.value, (t, i) => (c(), D(Z, {
251
239
  class: "body_part cursor-pointer",
252
240
  style: { "border-radius": "3px", padding: "1% 4%", border: "1px solid #55a489", color: "#55a489" },
253
- key: n,
254
- onClick: (r) => F(n),
241
+ key: i,
242
+ onClick: (a) => F(i),
255
243
  "remove-icon": ""
256
244
  }, {
257
245
  default: s(() => [
258
- b(y(t) + " ", 1),
259
- i("img", {
260
- src: fe,
246
+ _(y(t) + " ", 1),
247
+ n("img", {
248
+ src: pe,
261
249
  alt: "close",
262
- onClick: (r) => F(n),
250
+ onClick: (a) => F(i),
263
251
  style: { position: "relative", right: "-5px", width: "8px", height: "8px", "margin-left": "3px", cursor: "pointer" }
264
- }, null, 8, Qe)
252
+ }, null, 8, Ve)
265
253
  ]),
266
254
  _: 2
267
255
  }, 1032, ["onClick"]))), 128))
@@ -269,14 +257,14 @@ const we = {
269
257
  ])
270
258
  ]),
271
259
  _: 1
260
+ }),
261
+ l(v, {
262
+ class: "next-button text-bold text-h5",
263
+ style: { height: "7vh" },
264
+ label: "提交主诉",
265
+ onClick: e[1] || (e[1] = (t) => z())
272
266
  })
273
- ]),
274
- l(v, {
275
- class: "next-button text-bold",
276
- style: { height: "7vh", "margin-top": "2vh" },
277
- label: "提交主诉",
278
- onClick: e[1] || (e[1] = (t) => U())
279
- })
267
+ ])
280
268
  ]),
281
269
  _: 1
282
270
  })
@@ -285,33 +273,33 @@ const we = {
285
273
  _: 1
286
274
  })
287
275
  ]),
288
- l(T, {
276
+ l(I, {
289
277
  modelValue: p.value.show,
290
278
  "onUpdate:modelValue": e[2] || (e[2] = (t) => p.value.show = t),
291
279
  persistent: ""
292
280
  }, {
293
281
  default: s(() => [
294
- l(c, { style: { width: "700px", "max-width": "80vw" } }, {
282
+ l(d, { style: { width: "700px", "max-width": "80vw" } }, {
295
283
  default: s(() => [
296
284
  l(A, { class: "row items-center" }, {
297
285
  default: s(() => [
298
- i("span", Ae, "确认要删除" + y(h.value) + "吗?", 1)
286
+ n("span", Ee, "确认要删除" + y(h.value) + "吗?", 1)
299
287
  ]),
300
288
  _: 1
301
289
  }),
302
- l(Z, { align: "right" }, {
290
+ l(ee, { align: "right" }, {
303
291
  default: s(() => [
304
292
  l(v, {
305
293
  flat: "",
306
294
  label: "取消",
307
- onClick: J,
295
+ onClick: K,
308
296
  color: "grey-4"
309
297
  }),
310
298
  l(v, {
311
299
  flat: "",
312
300
  color: "red",
313
301
  label: "删除",
314
- onClick: K
302
+ onClick: W
315
303
  })
316
304
  ]),
317
305
  _: 1
@@ -322,38 +310,38 @@ const we = {
322
310
  ]),
323
311
  _: 1
324
312
  }, 8, ["modelValue"]),
325
- l(T, {
313
+ l(I, {
326
314
  modelValue: S.value,
327
315
  "onUpdate:modelValue": e[4] || (e[4] = (t) => S.value = t),
328
316
  class: "flex",
329
317
  "full-width": ""
330
318
  }, {
331
319
  default: s(() => [
332
- l(c, null, {
320
+ l(d, null, {
333
321
  default: s(() => [
334
322
  l(A, { class: "row items-center" }, {
335
323
  default: s(() => [
336
- e[7] || (e[7] = i("div", { class: "text-h6 -text" }, "症状搜索", -1)),
337
- l(ee),
338
- me(l(v, {
324
+ e[7] || (e[7] = n("div", { class: "text-h6 -text" }, "症状搜索", -1)),
325
+ l(te),
326
+ fe(l(v, {
339
327
  icon: "close",
340
328
  flat: "",
341
329
  round: "",
342
330
  dense: ""
343
331
  }, null, 512), [
344
- [se]
332
+ [ne]
345
333
  ])
346
334
  ]),
347
335
  _: 1
348
336
  }),
349
337
  l(A, { class: "dia-content flex" }, {
350
338
  default: s(() => [
351
- e[10] || (e[10] = i("div", {
339
+ e[10] || (e[10] = n("div", {
352
340
  class: "col top-title",
353
341
  style: { "text-align": "center" }
354
342
  }, "您的症状是什么?", -1)),
355
- i("div", De, [
356
- l(le, {
343
+ n("div", Fe, [
344
+ l(se, {
357
345
  class: "search-input",
358
346
  dense: "",
359
347
  style: { width: "100%" },
@@ -365,13 +353,13 @@ const we = {
365
353
  modelValue: m.value,
366
354
  "onUpdate:modelValue": e[3] || (e[3] = (t) => m.value = t),
367
355
  options: k.value,
368
- onFilter: z,
356
+ onFilter: G,
369
357
  color: "#55A489",
370
358
  behavior: "menu",
371
359
  "max-height": "50px"
372
360
  }, {
373
361
  prepend: s(() => [
374
- l(te, {
362
+ l(le, {
375
363
  name: "search",
376
364
  size: "30px",
377
365
  color: "#1946FF"
@@ -382,7 +370,7 @@ const we = {
382
370
  default: s(() => [
383
371
  l(oe, { class: "text-grey" }, {
384
372
  default: s(() => [...e[8] || (e[8] = [
385
- b(" No results ", -1)
373
+ _(" No results ", -1)
386
374
  ])]),
387
375
  _: 1
388
376
  })
@@ -393,25 +381,25 @@ const we = {
393
381
  _: 1
394
382
  }, 8, ["modelValue", "options"])
395
383
  ]),
396
- i("div", null, [
397
- e[9] || (e[9] = i("div", { style: { width: "100%", "padding-left": "2%", "padding-bottom": "1%" } }, "病症显示区", -1)),
384
+ n("div", null, [
385
+ e[9] || (e[9] = n("div", { style: { width: "100%", "padding-left": "2%", "padding-bottom": "1%" } }, "病症显示区", -1)),
398
386
  l(Q, {
399
387
  style: { height: "25vh", width: "100%", "max-width": "100%", "background-color": "aquamarine" },
400
388
  "thumb-style": V
401
389
  }, {
402
390
  default: s(() => [
403
- i("div", je, [
404
- (u(!0), x(w, null, D(d.symptoms, (t, n) => (u(), j(c, {
391
+ n("div", Qe, [
392
+ (c(!0), x(w, null, q(u.symptoms, (t, i) => (c(), D(d, {
405
393
  flat: "",
406
- key: n,
394
+ key: i,
407
395
  label: t,
408
396
  "text-color": "black",
409
397
  style: { width: "12%", height: "18%", padding: "1% 2%" },
410
398
  class: "list_symptoms bg-white",
411
- onClick: (r) => F(n)
399
+ onClick: (a) => F(i)
412
400
  }, {
413
401
  default: s(() => [
414
- i("div", qe, y(t), 1)
402
+ n("div", Ae, y(t), 1)
415
403
  ]),
416
404
  _: 2
417
405
  }, 1032, ["label", "onClick"]))), 128))
@@ -433,5 +421,5 @@ const we = {
433
421
  }
434
422
  });
435
423
  export {
436
- lt as default
424
+ Xe as default
437
425
  };
@@ -1,7 +1,18 @@
1
- import { ComplaintMeta } from '../../../api/patient';
2
1
  declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
3
- collected: (complaintMeta: ComplaintMeta) => any;
2
+ collected: (symptomsStateCollected: {
3
+ symptoms: string[];
4
+ text_details: string;
5
+ remark: string;
6
+ text_label: string[];
7
+ dialog_history: string[];
8
+ }) => any;
4
9
  }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
5
- onCollected?: (complaintMeta: ComplaintMeta) => any;
10
+ onCollected?: (symptomsStateCollected: {
11
+ symptoms: string[];
12
+ text_details: string;
13
+ remark: string;
14
+ text_label: string[];
15
+ dialog_history: string[];
16
+ }) => any;
6
17
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
7
18
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import o from "./ComplaintsRecognitionCollected.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f150b4b3"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-43609bcb"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };