qgb-process 0.1.81 → 0.1.82

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.81",
3
+ "version": "0.1.82",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "author": "",
@@ -118,7 +118,6 @@ export default {
118
118
  }
119
119
  }
120
120
  },
121
-
122
121
  // 用户信息
123
122
  userInfo: {
124
123
  type: Object,
@@ -129,11 +128,13 @@ export default {
129
128
  }
130
129
  }
131
130
  },
132
- // 对应环境接口
133
- env:{
131
+ // formBuilder
132
+ formBuilder:{
134
133
  type:Object,
135
134
  default:()=>{
136
- return {}
135
+ return {
136
+ formDesId:""
137
+ }
137
138
  }
138
139
  }
139
140
  },
@@ -157,16 +158,12 @@ export default {
157
158
  processId: null // 流程ID
158
159
  };
159
160
  },
160
- mounted() {
161
- window.process = this.env
162
- console.log(window.process)
163
- },
161
+ mounted() {},
164
162
  created() {
165
163
  // 获取审批流程数据
166
164
  this.getProcessSet()
167
165
  // 设置类型
168
- // todo: 修改 this.$store.state.formBuilder.formDesId
169
- // this.type = this.path == "/index" ? "customForm_" + this.$store.state.formBuilder.formDesId : this.queryInfo.type;
166
+ this.type = this.path == "/index" ? "customForm_" + this.formBuilder.formDesId : this.queryInfo.type;
170
167
  },
171
168
  methods: {
172
169
  // 初始化数据