widget.qw 1.0.53 → 1.0.55

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/build/style.css CHANGED
@@ -1,36 +1,36 @@
1
- @charset "UTF-8";.widget[data-v-aec89184] {
1
+ @charset "UTF-8";.widget[data-v-e593b77c] {
2
2
  text-align: center;
3
3
  padding: 15px 15px;
4
4
  }
5
- .memo[data-v-aec89184] {
5
+ .memo[data-v-e593b77c] {
6
6
  margin-bottom: 15px;
7
7
  }
8
- .refuse-btn[data-v-aec89184] {
8
+ .refuse-btn[data-v-e593b77c] {
9
9
  width: 120px;
10
10
  margin-right: 15px;
11
11
  }
12
- .pass-btn[data-v-aec89184] {
12
+ .pass-btn[data-v-e593b77c] {
13
13
  width: 120px;
14
14
  }
15
- .apply-btn[data-v-aec89184] {
15
+ .apply-btn[data-v-e593b77c] {
16
16
  width: 60vw;
17
17
  }
18
- .task-list[data-v-aec89184] {
18
+ .task-list[data-v-e593b77c] {
19
19
  margin-top: 15px;
20
20
  }
21
- .task-title[data-v-aec89184] {
21
+ .task-title[data-v-e593b77c] {
22
22
  font-size: 14px;
23
23
  font-weight: bold;
24
24
  color: #333;
25
25
  text-align: left;
26
26
  }
27
- .task-user[data-v-aec89184] {
27
+ .task-user[data-v-e593b77c] {
28
28
  font-size: 13px;
29
29
  color: #666;
30
30
  text-align: left;
31
31
  margin-top: 5px;
32
32
  }
33
- .audit-title[data-v-aec89184] {
33
+ .audit-title[data-v-e593b77c] {
34
34
  padding: 25px 15px 0 15px;
35
35
  font-size: 16px;
36
36
  font-weight: bold;
@@ -840,13 +840,13 @@
840
840
  }
841
841
  .widget .readonly-field[data-v-0c8e09c0] {
842
842
  margin: 4px 0;
843
- }.widget[data-v-c76ccd6e] {
843
+ }.widget[data-v-60000b36] {
844
844
  background: #fff;
845
845
  box-sizing: border-box;
846
846
  height: 100%;
847
847
  text-align: left;
848
848
  }
849
- .widget .option[data-v-c76ccd6e] {
849
+ .widget .option[data-v-60000b36] {
850
850
  margin: 0 8px 8px 0;
851
851
  padding: 5px 5px;
852
852
  border-radius: 4px;
@@ -855,6 +855,6 @@
855
855
  display: inline-block;
856
856
  position: relative;
857
857
  }
858
- [data-v-c76ccd6e] .van-field__label {
858
+ [data-v-60000b36] .van-field__label {
859
859
  margin: auto;
860
860
  }
@@ -3309,6 +3309,13 @@ const qw_department_children = (data2) => {
3309
3309
  data: data2
3310
3310
  });
3311
3311
  };
3312
+ const reform_detail = (data2) => {
3313
+ return service$3({
3314
+ url: vm.urlCallback() + "/ac-api/reform/detail",
3315
+ method: "POST",
3316
+ data: data2
3317
+ });
3318
+ };
3312
3319
  var ApiUtil = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3313
3320
  __proto__: null,
3314
3321
  process_can_apply,
@@ -3327,7 +3334,8 @@ var ApiUtil = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePropert
3327
3334
  auth_get_user_info,
3328
3335
  part_children,
3329
3336
  part_detail,
3330
- qw_department_children
3337
+ qw_department_children,
3338
+ reform_detail
3331
3339
  }, Symbol.toStringTag, { value: "Module" }));
3332
3340
  function noop() {
3333
3341
  }
@@ -15766,7 +15774,7 @@ var lodash$1 = { exports: {} };
15766
15774
  }).call(commonjsGlobal);
15767
15775
  })(lodash$1, lodash$1.exports);
15768
15776
  var lodash = lodash$1.exports;
15769
- var AuditBar_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-aec89184] {\n text-align: center;\n padding: 15px 15px;\n}\n.memo[data-v-aec89184] {\n margin-bottom: 15px;\n}\n.refuse-btn[data-v-aec89184] {\n width: 120px;\n margin-right: 15px;\n}\n.pass-btn[data-v-aec89184] {\n width: 120px;\n}\n.apply-btn[data-v-aec89184] {\n width: 60vw;\n}\n.task-list[data-v-aec89184] {\n margin-top: 15px;\n}\n.task-title[data-v-aec89184] {\n font-size: 14px;\n font-weight: bold;\n color: #333;\n text-align: left;\n}\n.task-user[data-v-aec89184] {\n font-size: 13px;\n color: #666;\n text-align: left;\n margin-top: 5px;\n}\n.audit-title[data-v-aec89184] {\n padding: 25px 15px 0 15px;\n font-size: 16px;\n font-weight: bold;\n color: #666;\n text-align: left;\n}")();
15777
+ var AuditBar_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-e593b77c] {\n text-align: center;\n padding: 15px 15px;\n}\n.memo[data-v-e593b77c] {\n margin-bottom: 15px;\n}\n.refuse-btn[data-v-e593b77c] {\n width: 120px;\n margin-right: 15px;\n}\n.pass-btn[data-v-e593b77c] {\n width: 120px;\n}\n.apply-btn[data-v-e593b77c] {\n width: 60vw;\n}\n.task-list[data-v-e593b77c] {\n margin-top: 15px;\n}\n.task-title[data-v-e593b77c] {\n font-size: 14px;\n font-weight: bold;\n color: #333;\n text-align: left;\n}\n.task-user[data-v-e593b77c] {\n font-size: 13px;\n color: #666;\n text-align: left;\n margin-top: 5px;\n}\n.audit-title[data-v-e593b77c] {\n padding: 25px 15px 0 15px;\n font-size: 16px;\n font-weight: bold;\n color: #666;\n text-align: left;\n}")();
15770
15778
  var AuditBar_vue_vue_type_style_index_1_lang = /* @__PURE__ */ (() => "\n:root:root {\r\n --van-popover-action-width: 70vw;\n}\r\n")();
15771
15779
  var _export_sfc = (sfc, props) => {
15772
15780
  const target = sfc.__vccOpts || sfc;
@@ -15876,7 +15884,7 @@ const _sfc_main$v = {
15876
15884
  const res = yield util.process_detail(params);
15877
15885
  if (res.code != 200)
15878
15886
  return;
15879
- if (params.processId != props.processId && props.processId && !params.processId)
15887
+ if (params.id != props.processId && props.processId && !params.id)
15880
15888
  return;
15881
15889
  data2.process = res.data;
15882
15890
  });
@@ -15948,9 +15956,9 @@ const _sfc_main$v = {
15948
15956
  let res = yield util.process_can_apply(params);
15949
15957
  if (res.code != 200)
15950
15958
  return;
15951
- if (params.mouldId != props.mouldId)
15959
+ if (params.mouldId != props.mouldId && props.mouldId && !params.mouldId)
15952
15960
  return;
15953
- if (params.userId != props.userId)
15961
+ if (params.userId != props.userId && props.userId && !params.userId)
15954
15962
  return;
15955
15963
  if (params.form != props.form && !params.form && props.form)
15956
15964
  return;
@@ -16125,7 +16133,7 @@ const _sfc_main$v = {
16125
16133
  };
16126
16134
  }
16127
16135
  };
16128
- var AuditBar = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-aec89184"]]);
16136
+ var AuditBar = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-e593b77c"]]);
16129
16137
  const isClient = typeof window !== "undefined" && typeof document !== "undefined";
16130
16138
  typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
16131
16139
  const isDef = (val) => typeof val !== "undefined";
@@ -20918,7 +20926,7 @@ const _sfc_main$1 = {
20918
20926
  }
20919
20927
  };
20920
20928
  var SingleApiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-0c8e09c0"]]);
20921
- var ObjsEditor_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-c76ccd6e] {\n background: #fff;\n box-sizing: border-box;\n height: 100%;\n text-align: left;\n}\n.widget .option[data-v-c76ccd6e] {\n margin: 0 8px 8px 0;\n padding: 5px 5px;\n border-radius: 4px;\n background-color: rgb(217, 236, 255);\n color: #409eff;\n display: inline-block;\n position: relative;\n}\n[data-v-c76ccd6e] .van-field__label {\n margin: auto;\n}")();
20929
+ var ObjsEditor_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-60000b36] {\n background: #fff;\n box-sizing: border-box;\n height: 100%;\n text-align: left;\n}\n.widget .option[data-v-60000b36] {\n margin: 0 8px 8px 0;\n padding: 5px 5px;\n border-radius: 4px;\n background-color: rgb(217, 236, 255);\n color: #409eff;\n display: inline-block;\n position: relative;\n}\n[data-v-60000b36] .van-field__label {\n margin: auto;\n}")();
20922
20930
  const _hoisted_1 = {
20923
20931
  class: "widget"
20924
20932
  };
@@ -21022,7 +21030,6 @@ const _sfc_main = {
21022
21030
  let formatValues = v.map((e) => {
21023
21031
  let kvs = Object.keys(e).map((k) => {
21024
21032
  var _a2, _b2, _c2, _d2;
21025
- console.log("1111111");
21026
21033
  console.log(props.schema[key]);
21027
21034
  console.log(key);
21028
21035
  console.log(v);
@@ -21213,7 +21220,7 @@ const _sfc_main = {
21213
21220
  };
21214
21221
  }
21215
21222
  };
21216
- var ObjsEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c76ccd6e"]]);
21223
+ var ObjsEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-60000b36"]]);
21217
21224
  const secret_notify = () => {
21218
21225
  showNotify({ type: "danger", message: "\u4E25\u683C\u6267\u884C\u4FE1\u606F\u4FDD\u5BC6\u8981\u6C42\uFF0C\u5207\u5B9E\u9632\u8303\u4F01\u4E1A\u6CC4\u5BC6\u98CE\u9669", duration: 3e3 });
21219
21226
  };
@@ -3312,6 +3312,13 @@ var __async = (__this, __arguments, generator) => {
3312
3312
  data: data2
3313
3313
  });
3314
3314
  };
3315
+ const reform_detail = (data2) => {
3316
+ return service$3({
3317
+ url: vm.urlCallback() + "/ac-api/reform/detail",
3318
+ method: "POST",
3319
+ data: data2
3320
+ });
3321
+ };
3315
3322
  var ApiUtil = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3316
3323
  __proto__: null,
3317
3324
  process_can_apply,
@@ -3330,7 +3337,8 @@ var __async = (__this, __arguments, generator) => {
3330
3337
  auth_get_user_info,
3331
3338
  part_children,
3332
3339
  part_detail,
3333
- qw_department_children
3340
+ qw_department_children,
3341
+ reform_detail
3334
3342
  }, Symbol.toStringTag, { value: "Module" }));
3335
3343
  function noop() {
3336
3344
  }
@@ -15769,7 +15777,7 @@ var __async = (__this, __arguments, generator) => {
15769
15777
  }).call(commonjsGlobal);
15770
15778
  })(lodash$1, lodash$1.exports);
15771
15779
  var lodash = lodash$1.exports;
15772
- var AuditBar_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-aec89184] {\n text-align: center;\n padding: 15px 15px;\n}\n.memo[data-v-aec89184] {\n margin-bottom: 15px;\n}\n.refuse-btn[data-v-aec89184] {\n width: 120px;\n margin-right: 15px;\n}\n.pass-btn[data-v-aec89184] {\n width: 120px;\n}\n.apply-btn[data-v-aec89184] {\n width: 60vw;\n}\n.task-list[data-v-aec89184] {\n margin-top: 15px;\n}\n.task-title[data-v-aec89184] {\n font-size: 14px;\n font-weight: bold;\n color: #333;\n text-align: left;\n}\n.task-user[data-v-aec89184] {\n font-size: 13px;\n color: #666;\n text-align: left;\n margin-top: 5px;\n}\n.audit-title[data-v-aec89184] {\n padding: 25px 15px 0 15px;\n font-size: 16px;\n font-weight: bold;\n color: #666;\n text-align: left;\n}")();
15780
+ var AuditBar_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-e593b77c] {\n text-align: center;\n padding: 15px 15px;\n}\n.memo[data-v-e593b77c] {\n margin-bottom: 15px;\n}\n.refuse-btn[data-v-e593b77c] {\n width: 120px;\n margin-right: 15px;\n}\n.pass-btn[data-v-e593b77c] {\n width: 120px;\n}\n.apply-btn[data-v-e593b77c] {\n width: 60vw;\n}\n.task-list[data-v-e593b77c] {\n margin-top: 15px;\n}\n.task-title[data-v-e593b77c] {\n font-size: 14px;\n font-weight: bold;\n color: #333;\n text-align: left;\n}\n.task-user[data-v-e593b77c] {\n font-size: 13px;\n color: #666;\n text-align: left;\n margin-top: 5px;\n}\n.audit-title[data-v-e593b77c] {\n padding: 25px 15px 0 15px;\n font-size: 16px;\n font-weight: bold;\n color: #666;\n text-align: left;\n}")();
15773
15781
  var AuditBar_vue_vue_type_style_index_1_lang = /* @__PURE__ */ (() => "\n:root:root {\r\n --van-popover-action-width: 70vw;\n}\r\n")();
15774
15782
  var _export_sfc = (sfc, props) => {
15775
15783
  const target = sfc.__vccOpts || sfc;
@@ -15879,7 +15887,7 @@ var __async = (__this, __arguments, generator) => {
15879
15887
  const res = yield util.process_detail(params);
15880
15888
  if (res.code != 200)
15881
15889
  return;
15882
- if (params.processId != props.processId && props.processId && !params.processId)
15890
+ if (params.id != props.processId && props.processId && !params.id)
15883
15891
  return;
15884
15892
  data2.process = res.data;
15885
15893
  });
@@ -15951,9 +15959,9 @@ var __async = (__this, __arguments, generator) => {
15951
15959
  let res = yield util.process_can_apply(params);
15952
15960
  if (res.code != 200)
15953
15961
  return;
15954
- if (params.mouldId != props.mouldId)
15962
+ if (params.mouldId != props.mouldId && props.mouldId && !params.mouldId)
15955
15963
  return;
15956
- if (params.userId != props.userId)
15964
+ if (params.userId != props.userId && props.userId && !params.userId)
15957
15965
  return;
15958
15966
  if (params.form != props.form && !params.form && props.form)
15959
15967
  return;
@@ -16128,7 +16136,7 @@ var __async = (__this, __arguments, generator) => {
16128
16136
  };
16129
16137
  }
16130
16138
  };
16131
- var AuditBar = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-aec89184"]]);
16139
+ var AuditBar = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__scopeId", "data-v-e593b77c"]]);
16132
16140
  const isClient = typeof window !== "undefined" && typeof document !== "undefined";
16133
16141
  typeof WorkerGlobalScope !== "undefined" && globalThis instanceof WorkerGlobalScope;
16134
16142
  const isDef = (val) => typeof val !== "undefined";
@@ -20921,7 +20929,7 @@ var __async = (__this, __arguments, generator) => {
20921
20929
  }
20922
20930
  };
20923
20931
  var SingleApiPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-0c8e09c0"]]);
20924
- var ObjsEditor_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-c76ccd6e] {\n background: #fff;\n box-sizing: border-box;\n height: 100%;\n text-align: left;\n}\n.widget .option[data-v-c76ccd6e] {\n margin: 0 8px 8px 0;\n padding: 5px 5px;\n border-radius: 4px;\n background-color: rgb(217, 236, 255);\n color: #409eff;\n display: inline-block;\n position: relative;\n}\n[data-v-c76ccd6e] .van-field__label {\n margin: auto;\n}")();
20932
+ var ObjsEditor_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".widget[data-v-60000b36] {\n background: #fff;\n box-sizing: border-box;\n height: 100%;\n text-align: left;\n}\n.widget .option[data-v-60000b36] {\n margin: 0 8px 8px 0;\n padding: 5px 5px;\n border-radius: 4px;\n background-color: rgb(217, 236, 255);\n color: #409eff;\n display: inline-block;\n position: relative;\n}\n[data-v-60000b36] .van-field__label {\n margin: auto;\n}")();
20925
20933
  const _hoisted_1 = {
20926
20934
  class: "widget"
20927
20935
  };
@@ -21025,7 +21033,6 @@ var __async = (__this, __arguments, generator) => {
21025
21033
  let formatValues = v.map((e) => {
21026
21034
  let kvs = Object.keys(e).map((k) => {
21027
21035
  var _a2, _b2, _c2, _d2;
21028
- console.log("1111111");
21029
21036
  console.log(props.schema[key]);
21030
21037
  console.log(key);
21031
21038
  console.log(v);
@@ -21216,7 +21223,7 @@ var __async = (__this, __arguments, generator) => {
21216
21223
  };
21217
21224
  }
21218
21225
  };
21219
- var ObjsEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c76ccd6e"]]);
21226
+ var ObjsEditor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-60000b36"]]);
21220
21227
  const secret_notify = () => {
21221
21228
  showNotify({ type: "danger", message: "\u4E25\u683C\u6267\u884C\u4FE1\u606F\u4FDD\u5BC6\u8981\u6C42\uFF0C\u5207\u5B9E\u9632\u8303\u4F01\u4E1A\u6CC4\u5BC6\u98CE\u9669", duration: 3e3 });
21222
21229
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "widget.qw",
3
3
  "private": false,
4
- "version": "1.0.53",
4
+ "version": "1.0.55",
5
5
  "description": "marqstree Vue3组件库",
6
6
  "main": "build/widget.qw.es.js",
7
7
  "keywords": [
package/src/api/index.js CHANGED
@@ -147,4 +147,12 @@ export const qw_department_children = (data) => {
147
147
  method: "POST",
148
148
  data: data,
149
149
  })
150
+ }
151
+
152
+ export const reform_detail = (data) => {
153
+ return request_json({
154
+ url: vm.urlCallback() + "/ac-api/reform/detail",
155
+ method: "POST",
156
+ data: data,
157
+ })
150
158
  }
@@ -131,7 +131,7 @@ const queryDetail = async () => {
131
131
 
132
132
  //防止网络请求先发后返回
133
133
  //参数变化时,扔掉返回
134
- if (params.processId != props.processId && props.processId && !params.processId)
134
+ if (params.id != props.processId && props.processId && !params.id)
135
135
  return
136
136
 
137
137
  data.process = res.data
@@ -230,10 +230,10 @@ const updateCanApply = async () => {
230
230
 
231
231
  //防止网络请求先发后返回
232
232
  //参数变化时,扔掉返回
233
- if (params.mouldId != props.mouldId)
233
+ if (params.mouldId != props.mouldId && props.mouldId && !params.mouldId)
234
234
  return
235
235
 
236
- if (params.userId != props.userId)
236
+ if (params.userId != props.userId && props.userId && !params.userId)
237
237
  return
238
238
 
239
239
  if (params.form != props.form && !params.form && props.form)
@@ -147,7 +147,6 @@ const key2value = (key, item) => {
147
147
  if (Array.isArray(v)) {
148
148
  let formatValues = v.map(e => {
149
149
  let kvs = Object.keys(e).map(k => {
150
- console.log('1111111')
151
150
  console.log(props.schema[key])
152
151
  console.log(key)
153
152
  console.log(v)
@@ -7,288 +7,32 @@
7
7
 
8
8
  <script setup>
9
9
  import { onMounted, reactive } from "vue";
10
+ import util from '@/util'
10
11
 
11
12
  const data = reactive({
12
- processId: 46, // 流程ID
13
- // processId: null, // 流程ID
13
+ // processId: 46, // 流程ID
14
+ processId: 0, // 流程ID
14
15
  mouldId: 70, // 模板ID
15
16
  userId: 'HouMuXiaoHao',
16
- form:{
17
- "createTime": "2025-08-30 16:11:59",
18
- "updateTime": "2025-08-30 16:11:59",
19
- "id": "JGYlNy5l",
20
- "no": "250830001",
21
- "processId": 46,
22
- "projectId": "qWnOdjlZ",
23
- "applicantId": "HouMu",
24
- "partId": "gUxSbWTX",
25
- "stageId": "5dnwEcR1",
26
- "jobId": "kLhCnx6j",
27
- "workerId": "HouMuXiaoHao",
28
- "files": [
29
- "http://www.zjpsjdsb.online/static//i9zX2twr.jpg"
30
- ],
31
- "price": 100.00,
32
- "endTime": "2025-08-30 16:11:42",
33
- "isPenalty": true,
34
- "remark": "",
35
- "isCancel": false,
36
- "salaryId": null,
37
- "project": {
38
- "createTime": "2025-08-24 14:08:30",
39
- "updateTime": "2025-08-24 14:08:30",
40
- "id": "qWnOdjlZ",
41
- "name": "银沙滩",
42
- "files": null,
43
- "price": 100000.00,
44
- "pay": 10000.00,
45
- "pays": [
46
- {
47
- "label": "首付款",
48
- "value": 10000.00,
49
- "time": "2025-08-27 11:26:17"
50
- }
51
- ],
52
- "missions": [
53
- {
54
- "id": "eec37433",
55
- "title": "点工",
56
- "amount": 1000.00,
57
- "finishAmount": 18.00,
58
- "unit": "小时",
59
- "unitPrice": 30.00,
60
- "dayMax": 18.00
61
- },
62
- {
63
- "id": "eec2a5d3",
64
- "title": "卸货",
65
- "amount": 2000.00,
66
- "finishAmount": 0.00,
67
- "unit": "个",
68
- "unitPrice": 20.00,
69
- "dayMax": 50.00
70
- }
71
- ],
72
- "managerIds": [
73
- "HouMu"
74
- ],
75
- "workerIds": [
76
- "HouMu",
77
- "HouMuXiaoHao",
78
- "LiuXiaoYu"
79
- ],
80
- "remark": null
81
- },
82
- "applicant": {
83
- "createTime": "2025-08-22 11:39:58",
84
- "updateTime": "2025-08-22 11:39:58",
85
- "userid": "HouMu",
86
- "name": "侯木",
87
- "position": "大工",
88
- "gender": "",
89
- "mainDepartment": "2",
90
- "deptIds": [
91
- "2"
92
- ],
93
- "mobile": null,
94
- "telephone": "",
95
- "avatar": "",
96
- "address": "",
97
- "status": 1,
98
- "isleader": 0,
99
- "idCardNo": null,
100
- "salary": 100.00,
101
- "roleIds": [
102
- "项目经理",
103
- "admin"
104
- ]
105
- },
106
- "part": {
107
- "createTime": "2025-08-26 11:07:27",
108
- "updateTime": "2025-08-26 11:07:27",
109
- "id": "gUxSbWTX",
110
- "projectId": "qWnOdjlZ",
111
- "treeCode": "01-01-02-01-02",
112
- "level": 5,
113
- "parentId": "bgNDb1vZ",
114
- "name": "外机",
115
- "quantity": 1,
116
- "hasChildren": false,
117
- "type": "空调",
118
- "isOwnerModified": false,
119
- "remark": null,
120
- "state": "已开始",
121
- "formatName": "外机空调",
122
- "children": null,
123
- "path": "1栋>1单元>12层>1201室>外机空调",
124
- "paths": null
125
- },
126
- "stage": {
127
- "createTime": "2025-08-26 11:09:10",
128
- "updateTime": "2025-08-26 11:09:10",
129
- "id": "5dnwEcR1",
130
- "projectId": "qWnOdjlZ",
131
- "partId": "gUxSbWTX",
132
- "name": "连接外机喇叭口",
133
- "orderIndex": 1,
134
- "state": "已完成",
135
- "quantity": 1,
136
- "finishQuantity": 1,
137
- "remainQuantity": 0,
138
- "unitPrice": 1.00,
139
- "remark": null
140
- },
141
- "job": {
142
- "createTime": "2025-08-30 16:04:56",
143
- "updateTime": "2025-08-30 16:04:56",
144
- "id": "kLhCnx6j",
145
- "projectId": "qWnOdjlZ",
146
- "partId": "gUxSbWTX",
147
- "stageId": "5dnwEcR1",
148
- "workerId": "HouMuXiaoHao",
149
- "finishQuantity": 1,
150
- "unitPrice": 1.00,
151
- "pay": 1.00,
152
- "images": [],
153
- "remark": "",
154
- "salaryId": null,
155
- "worker": {
156
- "createTime": "2025-08-22 11:39:58",
157
- "updateTime": "2025-08-22 11:39:58",
158
- "userid": "HouMuXiaoHao",
159
- "name": "侯木小号",
160
- "position": "小工",
161
- "gender": "",
162
- "mainDepartment": "2",
163
- "deptIds": [
164
- "2"
165
- ],
166
- "mobile": null,
167
- "telephone": "",
168
- "avatar": "",
169
- "address": "",
170
- "status": 1,
171
- "isleader": 0,
172
- "idCardNo": null,
173
- "salary": 1000.00,
174
- "roleIds": [
175
- "项目经理"
176
- ]
177
- },
178
- "project": {
179
- "createTime": "2025-08-24 14:08:30",
180
- "updateTime": "2025-08-24 14:08:30",
181
- "id": "qWnOdjlZ",
182
- "name": "银沙滩",
183
- "files": null,
184
- "price": 100000.00,
185
- "pay": 10000.00,
186
- "pays": [
187
- {
188
- "label": "首付款",
189
- "value": 10000.00,
190
- "time": "2025-08-27 11:26:17"
191
- }
192
- ],
193
- "missions": [
194
- {
195
- "id": "eec37433",
196
- "title": "点工",
197
- "amount": 1000.00,
198
- "finishAmount": 18.00,
199
- "unit": "小时",
200
- "unitPrice": 30.00,
201
- "dayMax": 18.00
202
- },
203
- {
204
- "id": "eec2a5d3",
205
- "title": "卸货",
206
- "amount": 2000.00,
207
- "finishAmount": 0.00,
208
- "unit": "个",
209
- "unitPrice": 20.00,
210
- "dayMax": 50.00
211
- }
212
- ],
213
- "managerIds": [
214
- "HouMu"
215
- ],
216
- "workerIds": [
217
- "HouMu",
218
- "HouMuXiaoHao",
219
- "LiuXiaoYu"
220
- ],
221
- "remark": null
222
- }
223
- },
224
- "worker": {
225
- "createTime": "2025-08-22 11:39:58",
226
- "updateTime": "2025-08-22 11:39:58",
227
- "userid": "HouMuXiaoHao",
228
- "name": "侯木小号",
229
- "position": "小工",
230
- "gender": "",
231
- "mainDepartment": "2",
232
- "deptIds": [
233
- "2"
234
- ],
235
- "mobile": null,
236
- "telephone": "",
237
- "avatar": "",
238
- "address": "",
239
- "status": 1,
240
- "isleader": 0,
241
- "idCardNo": null,
242
- "salary": 1000.00,
243
- "roleIds": [
244
- "项目经理"
245
- ]
246
- },
247
- "process": {
248
- "id": 46,
249
- "formId": "JGYlNy5l",
250
- "formNo": "250830001",
251
- "templateId": 238,
252
- "mouldId": 70,
253
- "mouldTitle": "整改单",
254
- "startUserId": "HouMu",
255
- "startUserName": "侯木",
256
- "form": {
257
- "id": "JGYlNy5l",
258
- "no": "250830001",
259
- "files": [
260
- "http://www.zjpsjdsb.online/static//i9zX2twr.jpg"
261
- ],
262
- "jobId": "kLhCnx6j",
263
- "price": 100,
264
- "partId": "gUxSbWTX",
265
- "remark": "",
266
- "endTime": "2025-08-30 16:11:42",
267
- "stageId": "5dnwEcR1",
268
- "isCancel": false,
269
- "salaryId": null,
270
- "workerId": "HouMuXiaoHao",
271
- "creatorId": null,
272
- "isPenalty": true,
273
- "processId": 46,
274
- "projectId": "qWnOdjlZ",
275
- "updaterId": "HouMu",
276
- "createTime": "2025-08-30 16:11:59",
277
- "updateTime": "2025-08-30 16:11:59",
278
- "applicantId": "HouMu"
279
- },
280
- "state": "started",
281
- "finishedAt": null,
282
- "createdAt": "2025-08-30 16:11:59",
283
- "updatedAt": "2025-08-30 16:19:12",
284
- "deletedAt": null,
285
- "loginUserState": "started",
286
- "loginUserStateLabel": "待审核",
287
- "stateLabel": "进行中"
288
- }
289
- }
17
+ form:null
290
18
  })
291
19
 
20
+ onMounted(()=>{
21
+ query()
22
+ })
23
+
24
+ const query = async () => {
25
+ console.log("-------------------query.id-----------------------", util.getQueryParams().id);
26
+ let id = util.getQueryParams().id.toString() || '';
27
+ console.log("-------------------id-----------------------", id);
28
+ let res = await util.reform_detail({ id });
29
+ console.log("-------------------TargetData-----------------------", res);
30
+ if (res.code == 200) {
31
+ data.processId = res.data.processId
32
+ data.form = res.data
33
+ }
34
+ }
35
+
292
36
  const onApply = (e) => {
293
37
  console.log('onApply',e)
294
38
  // e: {