apply-clients 4.1.10-11 → 4.1.10-weinan

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 (70) hide show
  1. package/index.html +30 -21
  2. package/package.json +10 -7
  3. package/src/AndroidApp.vue +1 -1
  4. package/src/apply.js +16 -7
  5. package/src/applyAndroid.js +43 -50
  6. package/src/components/Table.js +13 -13
  7. package/src/components/app_apply/AppChargeManagement.vue +622 -0
  8. package/src/components/app_apply/ApplyInfo.vue +56 -56
  9. package/src/components/app_apply/ApplyToDoList.vue +144 -165
  10. package/src/components/app_apply/FieldExploration.vue +3 -3
  11. package/src/components/app_apply/PlaceControler.vue +255 -258
  12. package/src/components/app_apply/ServiceControl.vue +289 -267
  13. package/src/components/app_apply/ServiceView.vue +363 -355
  14. package/src/components/app_apply/ToolsPage.vue +1 -1
  15. package/src/components/app_apply/Ventilation.vue +10 -10
  16. package/src/components/app_apply/materialshoufei.vue +184 -0
  17. package/src/components/product/ApplyCharge/ApplyChargeList.vue +251 -251
  18. package/src/components/product/Function/InstallFunction.vue +120 -95
  19. package/src/components/product/Function/InstallInfoSelect.vue +268 -206
  20. package/src/components/product/Function/Service/FunctionServiceControl.vue +206 -386
  21. package/src/components/product/Function/StopApplyCrrdList.vue +1 -1
  22. package/src/components/product/Function/functions/StopInstall.vue +7 -1
  23. package/src/components/product/Process/ExplorationSelect.vue +377 -501
  24. package/src/components/product/Process/ExplorationUser.vue +100 -133
  25. package/src/components/product/Process/Processes/InstallationDetails.vue +276 -246
  26. package/src/components/product/Process/Processes/UserFireInfo.vue +409 -0
  27. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +1458 -99
  28. package/src/components/product/Process/Processes/addressAndUserinfoManagementPro.vue +1221 -0
  29. package/src/components/product/Process/Processes/chargeManagement.vue +545 -552
  30. package/src/components/product/Process/Processes/devicesDetails.vue +834 -0
  31. package/src/components/product/Process/Processes/materialshoufei.vue +182 -0
  32. package/src/components/product/Process/Processes/printCharge.vue +12 -8
  33. package/src/components/product/Process/Processes/recordcancel.vue +50 -0
  34. package/src/components/product/Process/Processes/selectUserinfo.vue +199 -0
  35. package/src/components/product/Process/Processes/splitMaterial.vue +358 -0
  36. package/src/components/product/Process/Service/ServiceControl.vue +1236 -726
  37. package/src/components/product/Process/ShowBackReason.vue +21 -6
  38. package/src/components/product/ServiceView.vue +557 -575
  39. package/src/components/product/Stop/StopApply.vue +101 -0
  40. package/src/components/product/Stop/StopApplyList.vue +257 -0
  41. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +150 -210
  42. package/src/components/product/Supervisory/SupervisoryControl.vue +124 -173
  43. package/src/components/product/Supervisory/SupervisoryList.vue +191 -310
  44. package/src/components/product/Supervisory/SupervisoryhCart.vue +76 -99
  45. package/src/components/product/Test.vue +8 -4
  46. package/src/components/product/VueUtils/ApplyUpload.vue +4 -4
  47. package/src/components/product/VueUtils/ToolsPage.vue +1 -1
  48. package/src/main.js +25 -32
  49. package/static/images/lefticon//347/237/251/345/275/2421183.png +0 -0
  50. package/src/components/app_apply/android/ExplorationSelectApp.vue +0 -404
  51. package/src/components/app_apply/android/ExplorationUserApp.vue +0 -189
  52. package/src/components/app_apply/android/ServiceControlApp.vue +0 -714
  53. package/src/components/app_apply/android/ServiceViewApp.vue +0 -736
  54. package/src/components/product/Function/OrderCenter/Step.vue +0 -153
  55. package/src/components/product/Function/OrderCenter/download.png +0 -0
  56. package/src/components/product/Function/OrderCenter/orderApplyDispose.vue +0 -203
  57. package/src/components/product/Function/OrderCenter/orderCenter.vue +0 -41
  58. package/src/components/product/Function/OrderCenter/orderList.vue +0 -265
  59. package/src/components/product/Function/functions/InstallFee.vue +0 -1047
  60. package/src/components/product/Function/functions/PrestoreFee.vue +0 -630
  61. package/src/components/product/Procedures/ProceduresDataGrid.vue +0 -1022
  62. package/src/components/product/Process/ModifyUserFiles.vue +0 -452
  63. package/src/components/product/Process/ProcessInfo/history_control.vue +0 -135
  64. package/src/components/product/Process/Processes/CustomerMaterialMessage.vue +0 -1073
  65. package/src/components/product/Process/Processes/CustomerRecordMessage.vue +0 -949
  66. package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +0 -203
  67. package/src/components/product/Process/Processes/Service/GasStop.vue +0 -96
  68. package/src/components/product/Process/Processes/Service/ServiceControl.vue +0 -2569
  69. package/src/components/product/ReportForm/WaterReport.vue +0 -359
  70. package/src/components/product/VueUtils/rightview/InstallCardList2.vue +0 -261
@@ -1,119 +1,96 @@
1
1
  <template>
2
- <div class="text-center" style="padding-top: 1%" >
3
- <div class="chart text-center" v-for=" row in defnames">
4
- <div style="padding-top: 5px;margin-bottom: 0px;padding-bottom: 0px" @click="getdefname(row)">{{row.defname}}</div>
5
- <div class="to_bottom" v-if="$index != defnames.length-1"></div>
2
+ <div style="overflow: auto;background-color: #FFFFFF;margin-top: 20px">
3
+ <div class="row" v-for="(i,row) in defnames">
4
+ <div :class="row.id === selectdata.actid ? 'item selectIndex' : 'item'" @click="getdefname(row)" >
5
+ {{row.defname}}
6
+ <br>
7
+ {{i === (defnames.length) - 1 ? row.sendtime : row.finishtime}}
8
+ </div>
9
+ <div class="arrow glyphicon glyphicon-menu-down" v-if="i != defnames.length-1" aria-hidden="true"></div>
6
10
  </div>
7
11
  </div>
8
12
  </template>
9
13
 
10
14
  <script>
11
15
  import {HttpResetClass} from 'vue-client'
12
- export default {
13
- title: "流程节点",
14
- props:['selectdata'],
15
- data(){
16
- return{
17
- defnames:[],
18
- defname : ''
19
- }
20
- },
21
- methods :{
22
- //点击获取节点名
23
- getdefname(row){
24
- // if(row.defname === this.$supervisory_vue.start_activity){
25
- // row = Object.assign({},this.selectdata,row)
26
- // this.$dispatch('check', row)
27
- // }else if(row.actorexpression){
28
- // row = Object.assign({},this.selectdata,row)
29
- // this.$dispatch('check', row)
30
- // }else{
31
- // this.$showMessage("对不起,您没有查看此节点的权限!")
16
+ export default {
17
+ title: "流程节点",
18
+ props:['selectdata'],
19
+ data(){
20
+ return{
21
+ defnames: [] // 所有节点
22
+ }
23
+ },
24
+ created () {
25
+ this.initial()
26
+ },
27
+ methods :{
28
+ async initial() {
29
+ // 获取流程节点信息
30
+ let http = new HttpResetClass()
31
+ let temp = []
32
+ if(this.selectdata && this.selectdata.f_process_id){
33
+ let res = await http.load('POST','rs/sql/getAllNode',{data:{processid: this.selectdata.f_process_id}},{resolveMsg:null, rejectMsg:null})
34
+ //循环去除回退导致重复的节点
35
+ // for (let i = 0; i < res.data.length; i++) {
36
+ // let flag = true
37
+ // for (let j = 0; j < temp.length; j++) {
38
+ // if (res.data[i].defname === temp[j].defname) {
39
+ // flag = false
40
+ // }
41
+ // }
42
+ // if(flag){
43
+ // temp.push(res.data[i])
44
+ // }
32
45
  // }
33
- // 检测是否有权限
34
- if (row.defname === '合同信息') {
35
- if (this.$login.f.f_parentname === '工程部') {
36
- row = Object.assign({},this.selectdata,row)
37
- this.$dispatch('check', row)
38
- }else {
39
- this.$showMessage('请注意!该部门无当前状态/节点的查看权限!')
40
- return
41
- }
42
- }else if (row.defname === '收款') {
43
- if (this.$login.f.f_parentname === '财务部') {
44
- row = Object.assign({},this.selectdata,row)
45
- this.$dispatch('check', row)
46
- }else {
47
- this.$showMessage('请注意!该角色无当前状态/节点的查看权限!')
48
- return
49
- }
50
- }else {
51
- row = Object.assign({},this.selectdata,row)
52
- this.$dispatch('check', row)
53
- }
54
- },
55
- // 检测是否有权限
56
- check(actorexpression){
57
- let array = this.$login.f.rolesnames.split(',')
58
- for(let i=0;i<array.length;i++){
59
- if(array[i] && actorexpression.includes(array[i])){
60
- return true
61
- }else if(actorexpression.includes(this.$login.f.id)){ // P(张三) // 张三
62
- return true
63
- }else if(array[i]=='报装流程监控'){
64
- return true
65
- }
66
- }
67
- return false
46
+ this.defnames = res.data
68
47
  }
69
48
  },
70
- watch:{
71
- async 'selectdata'(){
72
- // 获取流程节点信息
73
- let http = new HttpResetClass()
74
- var temp = []
75
- if(this.selectdata){
76
- let res = await http.load('POST','rs/sql/getdefname',{data:{processid:this.selectdata.f_process_id}},{resolveMsg:null, rejectMsg:null})
77
- //循环去除回退导致重复的节点
78
- for (var i = 0; i < res.data.length; i++) {
79
- var flag = true
80
- for (var j = 0; j< temp.length; j++){
81
- if(res.data[i].defname == temp[j].defname){
82
- // 获取每个满足条件节点信息的人的分公司和部门
83
-
84
- http = new HttpResetClass()
85
-
86
- flag = false
87
- }
88
- }
89
- if(flag){
90
- temp.push(res.data[i])
91
- }
92
- }
93
- this.defnames = temp
94
- }
49
+ //点击获取节点名
50
+ getdefname(row){
51
+ row = Object.assign({},this.selectdata,row)
52
+ this.$dispatch('apply', row)
53
+ },
54
+ // 检测是否有权限
55
+ check(actorexpression){
56
+ let sign = actorexpression.charAt(0)
57
+ let str = actorexpression.substring(2,actorexpression.length-1)
58
+ let flag = false
59
+ if (sign === 'D' && this.$login.f.f_department_name.includes(str)) {
60
+ flag = true
61
+ }
62
+ if (sign === 'R' && this.$login.f.f_role_name.includes(str)) {
63
+ flag = true
95
64
  }
65
+ if (sign === 'P' && this.$login.f.id.includes(str)) {
66
+ flag = true
67
+ }
68
+ return flag
96
69
  }
70
+ },
71
+ watch:{
97
72
  }
73
+ }
98
74
  </script>
99
75
 
100
76
  <style scoped>
101
- .chart{
102
- /*display: inline-block;*/
103
- width: 10em;
104
- height: 3em;
105
- background-color: whitesmoke;
106
- border-radius: 4em;
77
+ .row{
78
+ text-align: center;
79
+ height: auto;
80
+ margin-right: 20px;
81
+ }
82
+ .item{
83
+ border-radius: 2em;
107
84
  border: 1px solid silver;
108
- margin: 15px auto;
85
+ line-height: 25px;
109
86
  }
110
- .to_bottom {
111
- width: 0;
112
- height: 0;
113
- margin-left: 38%;
114
- margin-top: 5%;
115
- border-top: 5px solid skyblue;
116
- border-left: 15px solid transparent;
117
- border-right: 15px solid transparent;
87
+ .arrow{
88
+ width: 100%;
89
+ color: #5ac0d9;
90
+ font-weight: bold;
118
91
  }
92
+ .selectIndex{
93
+ background-color: #5ac0d9;
94
+ color: #ffffff;
95
+ }
119
96
  </style>
@@ -1,7 +1,5 @@
1
1
  <template>
2
- <div class="basic-main" style="height: 100%">
3
- {{{ model }}}
4
- </div>
2
+
5
3
  </template>
6
4
 
7
5
  <script>
@@ -32,5 +30,11 @@
32
30
  </script>
33
31
 
34
32
  <style scoped>
35
-
33
+ .my-swipe .van-swipe-item {
34
+ color: #fff;
35
+ font-size: 20px;
36
+ line-height: 150px;
37
+ text-align: center;
38
+ background-color: #39a9ed;
39
+ }
36
40
  </style>
@@ -35,7 +35,7 @@
35
35
  <div class="right col-sm-7">
36
36
  <p :title="row.f_filename" class="clears"><strong>文件名:</strong>{{row.f_filename}}</p>
37
37
  <p :title="row.f_username" class="clears"><strong>操作员:</strong><span>{{row.f_username}}</span></p>
38
- <p :title="row.fusetype" class="clears"><strong>使用类型:</strong><span>{{row.fusetype}}</span></p>
38
+ <p :title="row.fusetype" class="clears"><strong>文件类型:</strong><span>{{row.fusetype}}</span></p>
39
39
  <p :title="row.f_uploaddate" class="clears"><strong>上传时间:</strong><span>{{row.f_uploaddate}}</span></p>
40
40
  <p :title="row.fremarks" class="clears"><strong>文件说明:</strong>{{row.fremarks}}</p>
41
41
  <p class="clears">
@@ -66,7 +66,7 @@
66
66
  class="select select_list"
67
67
  :value.sync="headers.fusetype"
68
68
  v-model="headers.fusetype"
69
- :options="$appdata.getParam('使用类型')"
69
+ :options="$appdata.getParam('文件类型')"
70
70
  :valueSingle="true"></input-select>
71
71
  </div>
72
72
  </div>
@@ -151,7 +151,7 @@ export default {
151
151
  })
152
152
 
153
153
  for (var i = 0; i < getFile.data.length; i++) {
154
- // 如果使用类型包含导入字样,则是execl文件导入的,不做显示
154
+ // 如果文件类型包含导入字样,则是execl文件导入的,不做显示
155
155
  if(getFile.data[i].fusetype&&(getFile.data[i].fusetype.includes('execl导入'))){
156
156
  getFile.data.splice(i,1)
157
157
  i--
@@ -208,7 +208,7 @@ export default {
208
208
  },
209
209
  computed: {
210
210
  typeOfUse () {
211
- return [{label: '全部', value: ''}, ...this.$appdata.getParam('使用类型')]
211
+ return [{label: '全部', value: ''}, ...this.$appdata.getParam('文件类型')]
212
212
  }
213
213
  },
214
214
  events: {
@@ -15,7 +15,7 @@
15
15
  props: {
16
16
  title: {
17
17
  type: String,
18
- default: '供水应用'
18
+ default: '燃气应用'
19
19
  },
20
20
  needBack: {
21
21
  type: Boolean,
package/src/main.js CHANGED
@@ -1,32 +1,25 @@
1
- import Vue from 'vue'
2
- import App from './App'
3
- import { all } from 'vue-client'
4
- import {ldap} from 'ldap-clients'
5
- import {system} from 'system-clients'
6
- import {sale} from 'sale-client'
7
- import {material} from 'material-client'
8
-
9
- import apply from './apply'
10
- //import applyAndroid from './applyAndroid'
11
- import 'lib-flexible/flexible.js'
12
- /*import vueBubble from 'vue-bubble'
13
- Vue.use(vueBubble)*/
14
- // import AndroidPlugin from './AndroidPlugin.js'
15
- import {systemphonegrid} from 'system-phone'
16
- // var Verificationfalg = false
17
- // system(Verificationfalg)
18
- all()
19
- system(false)
20
- apply()
21
- ldap()
22
- sale()
23
- material()
24
-
25
- // applyAndroid()
26
- // Vue.use(AndroidPlugin)
27
- require('./bootstrap/less/bootstrap.less')
28
-
29
- new Vue({
30
- el: 'body',
31
- components: { App }
32
- })
1
+ import Vue from 'vue'
2
+ import App from './App'
3
+ import { all } from 'vue-client'
4
+ import {ldap} from 'ldap-clients'
5
+ import {system} from 'system-clients'
6
+ import {sale} from 'sale-client'
7
+ import {material} from 'material-client'
8
+
9
+ import apply from './apply'
10
+ import applyAndroid from './applyAndroid'
11
+
12
+ applyAndroid()
13
+ all()
14
+ apply()
15
+ ldap()
16
+ sale()
17
+ material()
18
+ system(false)
19
+
20
+ require('system-clients/src/styles/less/bootstrap.less')
21
+ require('./expandcss.less')
22
+ new Vue({
23
+ el: 'body',
24
+ components: { App }
25
+ })