apply-clients 5.0.35-54 → 5.0.35-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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "5.0.35-54",
3
+ "version": "5.0.35-55",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -90,7 +90,7 @@
90
90
  "style": "0.0.3",
91
91
  "style-loader": "^0.20.3",
92
92
  "system-clients": "1.6.38",
93
- "system-phone": "1.2.76-13-ezhou",
93
+ "system-phone": "1.2.76-14-ezhou",
94
94
  "url-loader": "^0.5.7",
95
95
  "vue-client": "1.23.10",
96
96
  "vue-hot-reload-api": "^1.2.0",
@@ -9,12 +9,15 @@
9
9
  <div class=" row">
10
10
  待办工程<span v-if="rows">({{ rows.length }}单)</span>
11
11
  <span v-if="!rows">(暂无待处理工程单)</span>
12
+ <button class="btn btn-primary btn-sm" type="button" style="float:right"
13
+ @click="addactive('踏勘、建立工程编号')">
14
+ <span class="glyphicon glyphicon-plus" ></span>新增流程
15
+ </button>
12
16
  <img @click="search" src="../../assets/shuaxindaiban1.png" style="width: 40px;padding: 5px; float:right">
13
17
  <div style="margin-right: 3%;float:right;height: 30px " class="button_spacing"
14
18
  :class="{'button_shrink_top':criteriaShow,'button_shrink_bottom':!criteriaShow}" @click="hidden()"></div>
15
19
 
16
20
  </div>
17
-
18
21
  </blockquote>
19
22
 
20
23
  </div>
@@ -184,18 +187,22 @@ export default {
184
187
  upload() {
185
188
  this.$goto('up-load')
186
189
  },
187
- addactive(modify) {
188
- this.$workflow_vue.start_activity = modify
190
+ addactive(modify) {
191
+ var processid = ''
189
192
  let http = new HttpResetClass()
190
- let res = http.load('POST',`${this.$androidUtil.getProxyUrl()}/rs/logic/ApplyGetProcessID`,{data:{filename:this.$workflow_vue.workflow_xmlfilename,start_activity:this.$workflow_vue.start_activity}}, {resolveMsg: null, rejectMsg: '获取流程ID失败,请联系开发人员'})
193
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/ApplyGetProcessID`, {data: {filename: '鄂州报建流程', start_activity: modify}}).then(res => {
194
+ processid = res.data.f_process_id
195
+ })
191
196
  let data = {
192
- f_process_id: res.data.f_process_id,
193
- f_product_id: res.data.f_product_id,
194
- start_activity:this.$workflow_vue.start_activity,
195
- user:Vue.user
197
+ f_process_id: processid,
198
+ f_product_id: 1,
199
+ start_activity: modify,
200
+ user: Vue.user
196
201
  }
197
- http.load('POST',`${this.$androidUtil.getProxyUrl()}/rs/logic/newaddApplyproduct`,{data:data}, {resolveMsg: null, rejectMsg: '转发失败,请联系开发人员'})
198
- },
202
+ setTimeout(() => {
203
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/newaddApplyproduct`, {data: data})
204
+ }, 200)
205
+ }
199
206
  },
200
207
  ready() {
201
208
  this.search()
@@ -33,7 +33,7 @@
33
33
  import Vue from 'vue'
34
34
  import {HttpResetClass} from 'vue-client'
35
35
  export default {
36
- title: '流程监控',
36
+ title: '工程流程监控',
37
37
  props: [ 'defname'],
38
38
  data() {
39
39
  return {