qgb-process 0.1.61 → 0.1.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qgb-process",
3
- "version": "0.1.61",
3
+ "version": "0.1.65",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "author": "",
@@ -120,7 +120,8 @@ export default {
120
120
  // 获取审批流程数据
121
121
  this.getProcessSet()
122
122
  // 设置类型
123
- this.type = this.$route.path == "/index" ? "customForm_" + this.$store.state.formBuilder.formDesId : this.$route.query.type;
123
+ // todo: 修改 this.$store.state.formBuilder.formDesId
124
+ // this.type = this.$route.path == "/index" ? "customForm_" + this.$store.state.formBuilder.formDesId : this.$route.query.type;
124
125
  },
125
126
  methods: {
126
127
  // 初始化数据
@@ -139,7 +140,9 @@ export default {
139
140
 
140
141
  // 获取审批流程数据
141
142
  async getProcessSet() {
142
- const param = { companyId: this.$store.state.user.companyNo, type: this.$route.query.type };
143
+ // this.$store.state.user.companyNo
144
+ // this.$route.query.type
145
+ const param = { companyId: "", type: "" };
143
146
  const result = await api.queryProcessByType(param);
144
147
  const { state, data } = result.data
145
148
  if (state == "ok" && data) {
@@ -321,11 +324,11 @@ export default {
321
324
  ...this.processConfig,
322
325
  "switchOn": this.workFlowDef.switchOn ? 1 : 0, // 审批状态
323
326
  "automaticPass": this.workFlowDef.automaticPass ? 1 : 0, // 重复审批人问题
324
- "creator": this.$store.state.user.no, // 用户no
325
- "companyId": this.$store.state.user.companyNo, // 公司id
326
- "type": this.$route.query.type, // 流程类型
327
- "processName": this.$route.query.name, // 流程名称
328
- "describe": this.$route.query.name // 流程描述
327
+ "creator": "", // 用户no this.$store.state.user.no
328
+ "companyId": "", // 公司id this.$store.state.user.companyNo
329
+ "type": "", // 流程类型 this.$route.query.type
330
+ "processName": "", // 流程名称 ""this.$route.query.name
331
+ "describe": "" // 流程描述 this.$route.query.name
329
332
  }
330
333
 
331
334
 
Binary file