apply-clients 3.5.4-74 → 3.5.4-76

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 (36) hide show
  1. package/build/dev-server.js +10 -7
  2. package/package.json +1 -1
  3. package/src/apply.js +137 -137
  4. package/src/components/android/AppCheckTakePic.vue +168 -168
  5. package/src/components/android/Process/AppServiceControl.vue +1755 -1755
  6. package/src/components/product/PcZhihuanManagement.vue +160 -160
  7. package/src/components/product/Supervisory/SupervisoryControl.vue +141 -141
  8. package/src/components/product/Supervisory/SupervisoryList.vue +452 -452
  9. package/src/filiale/fugou/android/AppAddMaterialScience.vue +448 -442
  10. package/src/filiale/fugou/android/AppAddReplacement.vue +341 -0
  11. package/src/filiale/fugou/android/AppServiceControl.vue +1843 -1827
  12. package/src/filiale/fugou/android/AppZhihuanManagement.vue +191 -191
  13. package/src/filiale/fugou/android.js +15 -14
  14. package/src/filiale/fugou/pc/AddReplacement.vue +340 -0
  15. package/src/filiale/fugou/pc/InstallationDetails.vue +646 -647
  16. package/src/filiale/fugou/pc/ServiceControl.vue +1704 -1702
  17. package/src/filiale/fugou/pc/addMaterialScience.vue +481 -482
  18. package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -0
  19. package/src/filiale/fugou/pc.js +12 -10
  20. package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +518 -518
  21. package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +1087 -1087
  22. package/src/filiale/yangchunboneng/android/AppSuperServiceControl.vue +1524 -1524
  23. package/src/filiale/yangchunboneng/android/AppUpload.vue +205 -205
  24. package/src/filiale/yangchunboneng/android/MaterIialOne.vue +156 -156
  25. package/src/filiale/yangchunboneng/android.js +20 -20
  26. package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +392 -392
  27. package/src/filiale/yangchunboneng/pc/ExplorationUser.vue +191 -191
  28. package/src/filiale/yangchunboneng/pc/InstallInfoSelect.vue +365 -365
  29. package/src/filiale/yangchunboneng/pc/SupervisoryControlNew.vue +142 -142
  30. package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +590 -590
  31. package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +628 -628
  32. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControl.vue +902 -902
  33. package/src/filiale/yangchunboneng/pc/SupervisoryServiceControlNew.vue +901 -901
  34. package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1117 -1117
  35. package/src/filiale/yangchunboneng/pc.js +24 -24
  36. package/src/main.js +1 -2
@@ -1,191 +1,191 @@
1
- <template>
2
- <div class="flex-row" style="overflow: auto">
3
- <div class="basic-main">
4
- <div :class="showData ? 'top' : 'auto'" v-show="showQuery">
5
- <exploration-select v-ref:query :show-data="showData"></exploration-select>
6
- </div>
7
- <div v-if="showtotal" style="height: 89%">
8
- <tabset v-ref:tabs :close="false">
9
- <tab :header='selectdata.defname'>
10
- <service-control v-ref:service :selectdata="selectdata"></service-control>
11
- </tab>
12
- <tab header='附件'>
13
- <apply-upload
14
- :blodid="selectdata.f_process_id"
15
- :pblobid="selectdata.f_parent_process_id"
16
- :isupload = "true"
17
- :isdelete="true"
18
- :isusetype="true"
19
- :isremark = "true"
20
- :takeimg="false"
21
- :issearch="true"
22
- :defname="selectdata.defname">
23
- </apply-upload>
24
- </tab>
25
- </tabset>
26
- </div>
27
-
28
- <validator name="v">
29
- <modal v-if="showLater" :show.sync="showLater" v-ref:modal :large="true" :backdrop="false" title="稍后处理">
30
- <header slot="modal-header" class="modal-header">
31
- <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
32
- <h4 class="modal-title">稍后处理</h4>
33
- </header>
34
-
35
- <article slot="modal-body" class="modal-body clearfix">
36
- <div class="form-group col-sm-12">
37
- <label class="col-sm-2 control-label">稍后处理备注:</label>
38
- <div class="col-sm-10">
39
- <input type="textarea"
40
- class="form-control input_view"
41
- style="width: 100%"
42
- v-model="laterapply.f_later_remarks" />
43
- </div>
44
- </div>
45
- </article>
46
-
47
- <footer slot="modal-footer" class="modal-footer">
48
- <button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="later()">稍后处理</button>
49
- </footer>
50
- </modal>
51
- </validator>
52
- </div>
53
- </div>
54
- </template>
55
- <script>
56
- import Vue from 'vue'
57
- import {HttpResetClass} from 'vue-client'
58
- export default {
59
- title: '报建流程',
60
- data () {
61
- return {
62
- showQuery: true, // 控制查询页
63
- showData: true, // 控制列表数据
64
- showtotal: false, // 详情显示
65
- selectdata: {},
66
- xmlname: '', // 配置文件名
67
- showLater: false,
68
- laterapply: {}
69
- }
70
- },
71
- ready () {
72
- },
73
- methods: {
74
- // 获取页面配置json文件
75
- async loadName () {
76
-
77
- let data = {
78
- workname: this.selectdata.processname
79
- }
80
- let http = new HttpResetClass()
81
- let res = await http.load(
82
- 'POST',
83
- 'rs/logic/ApplyGetConfigs',
84
- {data: data},
85
- {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
86
- )
87
-
88
- Vue.prototype.$workflow_vue = res.data
89
- },
90
- async later () {
91
- let http = new HttpResetClass()
92
- let data = {
93
- laterapply: this.laterapply,
94
- selectdata: this.selectdata,
95
- user: this.$login.f
96
- }
97
- let res = await http.load('POST', 'rs/logic/laterprocessing', {data:data}, {
98
- resolveMsg: null,
99
- rejectMsg: '稍后处理记录保存失败!!!'
100
- })
101
- this.closeModal()
102
- },
103
- closeModal () {
104
- this.selectdata = null
105
- this.showLater = false
106
- this.laterapply = {}
107
-
108
- this.$refs.query.loadPage()
109
- }
110
- },
111
- events: {
112
- 'onMessage' (data) {
113
- console.log('接收消息')
114
- console.log(data)
115
- if (data.type === 'apply-task') {
116
- this.$refs.query.$refs.cp.$refs.cri.search()
117
- }
118
- },
119
- // 刷新控制层
120
- async 'breakControl' (servicedata) {
121
-
122
- if (servicedata.id) {
123
- let data = {
124
- condition: `u.id = ${servicedata.id}`,
125
- data: {
126
- id: this.$login.f.id,
127
- orgid: this.$login.f.orgid
128
- }
129
- }
130
- let res = await this.$resetpost(
131
- 'rs/sql/checkuser',
132
- {data: data},
133
- {resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
134
- )
135
-
136
- this.selectdata = res.data[0]
137
- } else {
138
- this.selectdata = servicedata
139
- }
140
-
141
- this.showtotal = false
142
- this.$nextTick(() => {
143
- this.showtotal = true
144
- })
145
-
146
- },
147
- async openLater (row) {
148
- this.selectdata = row
149
- this.showLater = true
150
- },
151
- // 初始化
152
- async 'apply' (val) {
153
- this.showtotal = false
154
- this.selectdata = val
155
-
156
- // 次方法必须同步执行,否则后续会出问题
157
- // 获取页面json配置文件
158
- await this.loadName()
159
-
160
- // 显示详细
161
- this.showtotal = true
162
- // 关闭列表数据
163
- this.showData = false
164
- // 关闭分页
165
- this.$refs.query.$refs.cp.pager = false
166
- },
167
- 'search' () {
168
- // 关闭详细
169
- this.showtotal = false
170
- // 显示列表数据
171
- this.showData = true
172
- // 显示分页
173
- this.$refs.query.$refs.cp.pager = true
174
- // 调用查询
175
- this.$refs.query.$refs.cp.$refs.cri.search()
176
- },
177
- 'loadPage' () {
178
- // 关闭详细
179
- this.showtotal = false
180
- // 显示列表数据
181
- this.showData = true
182
- // 显示分页
183
- this.$refs.query.$refs.cp.pager = true
184
- // 调用查询
185
- this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
186
- }
187
- },
188
- watch: {
189
- }
190
- }
191
- </script>
1
+ <template>
2
+ <div class="flex-row" style="overflow: auto">
3
+ <div class="basic-main">
4
+ <div :class="showData ? 'top' : 'auto'" v-show="showQuery">
5
+ <exploration-select v-ref:query :show-data="showData"></exploration-select>
6
+ </div>
7
+ <div v-if="showtotal" style="height: 89%">
8
+ <tabset v-ref:tabs :close="false">
9
+ <tab :header='selectdata.defname'>
10
+ <service-control v-ref:service :selectdata="selectdata"></service-control>
11
+ </tab>
12
+ <tab header='附件'>
13
+ <apply-upload
14
+ :blodid="selectdata.f_process_id"
15
+ :pblobid="selectdata.f_parent_process_id"
16
+ :isupload = "true"
17
+ :isdelete="true"
18
+ :isusetype="true"
19
+ :isremark = "true"
20
+ :takeimg="false"
21
+ :issearch="true"
22
+ :defname="selectdata.defname">
23
+ </apply-upload>
24
+ </tab>
25
+ </tabset>
26
+ </div>
27
+
28
+ <validator name="v">
29
+ <modal v-if="showLater" :show.sync="showLater" v-ref:modal :large="true" :backdrop="false" title="稍后处理">
30
+ <header slot="modal-header" class="modal-header">
31
+ <button type="button" class="close" @click="closeModal"><span>&times;</span></button>
32
+ <h4 class="modal-title">稍后处理</h4>
33
+ </header>
34
+
35
+ <article slot="modal-body" class="modal-body clearfix">
36
+ <div class="form-group col-sm-12">
37
+ <label class="col-sm-2 control-label">稍后处理备注:</label>
38
+ <div class="col-sm-10">
39
+ <input type="textarea"
40
+ class="form-control input_view"
41
+ style="width: 100%"
42
+ v-model="laterapply.f_later_remarks" />
43
+ </div>
44
+ </div>
45
+ </article>
46
+
47
+ <footer slot="modal-footer" class="modal-footer">
48
+ <button type="button" class="btn btn-primary" :disabled='!$v.valid' @click="later()">稍后处理</button>
49
+ </footer>
50
+ </modal>
51
+ </validator>
52
+ </div>
53
+ </div>
54
+ </template>
55
+ <script>
56
+ import Vue from 'vue'
57
+ import {HttpResetClass} from 'vue-client'
58
+ export default {
59
+ title: '报建流程',
60
+ data () {
61
+ return {
62
+ showQuery: true, // 控制查询页
63
+ showData: true, // 控制列表数据
64
+ showtotal: false, // 详情显示
65
+ selectdata: {},
66
+ xmlname: '', // 配置文件名
67
+ showLater: false,
68
+ laterapply: {}
69
+ }
70
+ },
71
+ ready () {
72
+ },
73
+ methods: {
74
+ // 获取页面配置json文件
75
+ async loadName () {
76
+
77
+ let data = {
78
+ workname: this.selectdata.processname
79
+ }
80
+ let http = new HttpResetClass()
81
+ let res = await http.load(
82
+ 'POST',
83
+ 'rs/logic/ApplyGetConfigs',
84
+ {data: data},
85
+ {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
86
+ )
87
+
88
+ Vue.prototype.$workflow_vue = res.data
89
+ },
90
+ async later () {
91
+ let http = new HttpResetClass()
92
+ let data = {
93
+ laterapply: this.laterapply,
94
+ selectdata: this.selectdata,
95
+ user: this.$login.f
96
+ }
97
+ let res = await http.load('POST', 'rs/logic/laterprocessing', {data:data}, {
98
+ resolveMsg: null,
99
+ rejectMsg: '稍后处理记录保存失败!!!'
100
+ })
101
+ this.closeModal()
102
+ },
103
+ closeModal () {
104
+ this.selectdata = null
105
+ this.showLater = false
106
+ this.laterapply = {}
107
+
108
+ this.$refs.query.loadPage()
109
+ }
110
+ },
111
+ events: {
112
+ 'onMessage' (data) {
113
+ console.log('接收消息')
114
+ console.log(data)
115
+ if (data.type === 'apply-task') {
116
+ this.$refs.query.$refs.cp.$refs.cri.search()
117
+ }
118
+ },
119
+ // 刷新控制层
120
+ async 'breakControl' (servicedata) {
121
+
122
+ if (servicedata.id) {
123
+ let data = {
124
+ condition: `u.id = ${servicedata.id}`,
125
+ data: {
126
+ id: this.$login.f.id,
127
+ orgid: this.$login.f.orgid
128
+ }
129
+ }
130
+ let res = await this.$resetpost(
131
+ 'rs/sql/checkuser',
132
+ {data: data},
133
+ {resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
134
+ )
135
+
136
+ this.selectdata = res.data[0]
137
+ } else {
138
+ this.selectdata = servicedata
139
+ }
140
+
141
+ this.showtotal = false
142
+ this.$nextTick(() => {
143
+ this.showtotal = true
144
+ })
145
+
146
+ },
147
+ async openLater (row) {
148
+ this.selectdata = row
149
+ this.showLater = true
150
+ },
151
+ // 初始化
152
+ async 'apply' (val) {
153
+ this.showtotal = false
154
+ this.selectdata = val
155
+
156
+ // 次方法必须同步执行,否则后续会出问题
157
+ // 获取页面json配置文件
158
+ await this.loadName()
159
+
160
+ // 显示详细
161
+ this.showtotal = true
162
+ // 关闭列表数据
163
+ this.showData = false
164
+ // 关闭分页
165
+ this.$refs.query.$refs.cp.pager = false
166
+ },
167
+ 'search' () {
168
+ // 关闭详细
169
+ this.showtotal = false
170
+ // 显示列表数据
171
+ this.showData = true
172
+ // 显示分页
173
+ this.$refs.query.$refs.cp.pager = true
174
+ // 调用查询
175
+ this.$refs.query.$refs.cp.$refs.cri.search()
176
+ },
177
+ 'loadPage' () {
178
+ // 关闭详细
179
+ this.showtotal = false
180
+ // 显示列表数据
181
+ this.showData = true
182
+ // 显示分页
183
+ this.$refs.query.$refs.cp.pager = true
184
+ // 调用查询
185
+ this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
186
+ }
187
+ },
188
+ watch: {
189
+ }
190
+ }
191
+ </script>