apply-clients 3.4.1 → 3.4.2-FuGu-7

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 (136) hide show
  1. package/android.html +23 -23
  2. package/build/css-loaders.js +34 -0
  3. package/build/dev-android.js +101 -0
  4. package/build/dev-client.js +8 -0
  5. package/build/dev-server-app.js +76 -0
  6. package/build/dev-server.js +119 -0
  7. package/build/example-server.js +80 -0
  8. package/build/release.sh +28 -0
  9. package/build/utils.js +80 -0
  10. package/build/webpack.base.conf.js +85 -0
  11. package/build/webpack.baseandroid.conf.js +84 -0
  12. package/build/webpack.dev.conf.js +51 -0
  13. package/build/webpack.devandroid.conf.js +34 -0
  14. package/build/webpack.example.conf.js +49 -0
  15. package/build/webpack.prod.conf.js +60 -0
  16. package/build/webpack.prodandroid.conf.js +60 -0
  17. package/build/webpack.test.conf.js +31 -0
  18. package/dingding.html +23 -0
  19. package/dist-android/static/doc.jpg +0 -0
  20. package/dist-android/static/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
  21. package/dist-android/static/images/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
  22. package/dist-android/static/images/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
  23. package/dist-android/static/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
  24. package/dist-android/static/images/lefticon//345/233/276/345/261/202577.png +0 -0
  25. package/dist-android/static/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
  26. package/dist-android/static/images/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
  27. package/dist-android/static/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
  28. package/dist-android/static/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
  29. package/dist-android/static/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
  30. package/dist-android/static/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
  31. package/dist-android/static/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
  32. package/dist-android/static/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
  33. package/dist-android/static/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
  34. package/dist-android/static/images/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
  35. package/dist-android/static/images/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
  36. package/dist-android/static/images/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
  37. package/dist-android/static/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
  38. package/dist-android/static/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
  39. package/dist-android/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
  40. package/dist-android/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
  41. package/dist-android/static/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
  42. package/dist-android/static/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
  43. package/dist-android/static/imgerror.jpg +0 -0
  44. package/dist-android/static/newStyle/clear.png +0 -0
  45. package/dist-android/static/newStyle/fife.png +0 -0
  46. package/dist-android/static/newStyle/hidden.png +0 -0
  47. package/dist-android/static/newStyle/label-clear.png +0 -0
  48. package/dist-android/static/newStyle/left-img.png +0 -0
  49. package/dist-android/static/newStyle/list_ok.png +0 -0
  50. package/dist-android/static/newStyle/login-check.png +0 -0
  51. package/dist-android/static/newStyle/login-con.png +0 -0
  52. package/dist-android/static/newStyle/login-do.gif +0 -0
  53. package/dist-android/static/newStyle/login-f.png +0 -0
  54. package/dist-android/static/newStyle/login-info.png +0 -0
  55. package/dist-android/static/newStyle/login-left.png +0 -0
  56. package/dist-android/static/newStyle/login-org.png +0 -0
  57. package/dist-android/static/newStyle/login-pwd.png +0 -0
  58. package/dist-android/static/newStyle/login-user.png +0 -0
  59. package/dist-android/static/newStyle/loginbg.gif +0 -0
  60. package/dist-android/static/newStyle/loginbg1280.gif +0 -0
  61. package/dist-android/static/newStyle/loginbg1366.gif +0 -0
  62. package/dist-android/static/newStyle/setting.png +0 -0
  63. package/dist-android/static/newStyle/setting1.png +0 -0
  64. package/dist-android/static/newStyle/shirk.png +0 -0
  65. package/dist-android/static/newStyle/stretch_bottom.png +0 -0
  66. package/dist-android/static/newStyle/stretch_left.png +0 -0
  67. package/dist-android/static/newStyle/stretch_right.png +0 -0
  68. package/dist-android/static/newStyle/stretch_top.png +0 -0
  69. package/dist-android/static/newStyle/system-off.png +0 -0
  70. package/dist-android/static/pdf.jpg +0 -0
  71. package/index.html +33 -33
  72. package/package.json +2 -1
  73. package/src/AndroidApp.vue +35 -35
  74. package/src/App.vue +20 -20
  75. package/src/DingDingApp.vue +51 -0
  76. package/src/android.js +21 -21
  77. package/src/apply.js +75 -81
  78. package/src/applyAndroid.js +25 -31
  79. package/src/applyDingDing.js +12 -0
  80. package/src/components/android/AppOnetomany.vue +301 -301
  81. package/src/components/android/AppServiceView.vue +566 -566
  82. package/src/components/android/AppSign.vue +142 -142
  83. package/src/components/android/AppTakePic.vue +143 -143
  84. package/src/components/android/Process/AppExplorationUser.vue +320 -320
  85. package/src/components/android/Process/AppServiceControl.vue +757 -757
  86. package/src/components/android/Process/Processes/AppInstallationDetails.vue +456 -456
  87. package/src/components/android/ProgressReport/ProgressReportDetail.vue +64 -64
  88. package/src/components/android/Supervisory/AppSupervisoryCart.vue +121 -121
  89. package/src/components/android/TaskGraph.vue +125 -125
  90. package/src/components/build/Install/ExplorationUser.vue +304 -0
  91. package/src/components/build/Install/Process/zhongran/ZR_Design.vue +537 -0
  92. package/src/components/product/{Process/Processes/Print → ApplyCharge}/printCharge.vue +142 -142
  93. package/src/components/product/Function/InstallFunction.vue +131 -125
  94. package/src/components/product/Function/InstallInfoSelect.vue +21 -13
  95. package/src/components/product/Function/Service/FunctionServiceControl.vue +420 -222
  96. package/src/components/product/Onetomany.vue +377 -377
  97. package/src/components/product/Process/ExplorationSelect.vue +401 -410
  98. package/src/components/product/Process/ExplorationUser.vue +138 -138
  99. package/src/components/product/Process/Processes/InstallationDetails.vue +592 -592
  100. package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +207 -207
  101. package/src/components/product/Process/Processes/chargeManagement.vue +634 -639
  102. package/src/components/product/Process/Service/ServiceControl.vue +58 -63
  103. package/src/components/product/Process/Service/ShowBackReason.vue +33 -33
  104. package/src/components/product/ServiceView.vue +631 -631
  105. package/src/components/product/Stop/StopApply.vue +105 -103
  106. package/src/components/product/Stop/StopApplyList.vue +269 -269
  107. package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +7 -0
  108. package/src/components/product/Supervisory/SupervisoryControl.vue +10 -0
  109. package/src/components/product/Supervisory/SupervisoryList.vue +6 -2
  110. package/src/components/product/Supervisory/SupervisoryhCart.vue +110 -107
  111. package/src/components/product/VueUtils/ApplyUpload.vue +273 -273
  112. package/src/components/product/VueUtils/HighMeter.vue +208 -208
  113. package/src/dingding.js +20 -0
  114. package/src/expandcssAndroid.less +1034 -1034
  115. package/src/main.js +23 -23
  116. package/src/components/product/Function/StopApplyCrrdList.vue +0 -176
  117. package/src/components/product/Function/functions/ApplyRecordCancel.vue +0 -102
  118. package/src/components/product/Function/functions/StopInstall.vue +0 -106
  119. package/src/components/product/Process/Processes/Print/img/10101.png +0 -0
  120. package/src/components/product/Process/Processes/Print/img/1010109.png +0 -0
  121. package/src/components/product/Process/Processes/Print/img/1010110.png +0 -0
  122. package/src/components/product/Process/Processes/Print/img/1010111.png +0 -0
  123. package/src/components/product/Process/Processes/Print/img/1010112.png +0 -0
  124. package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +0 -548
  125. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +0 -754
  126. package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +0 -60
  127. package/src/filiale/yuchuan/android.js +0 -7
  128. package/src/filiale/yuchuan/pc/Order/OrderApply.vue +0 -528
  129. package/src/filiale/yuchuan/pc/Order/OrderApplyList.vue +0 -343
  130. package/src/filiale/yuchuan/pc/Process/ExplorationSelect.vue +0 -395
  131. package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +0 -147
  132. package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +0 -66
  133. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +0 -759
  134. package/src/filiale/yuchuan/pc/Process/Processes/chargeManagement.vue +0 -470
  135. package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +0 -879
  136. package/src/filiale/yuchuan/pc.js +0 -11
@@ -1,142 +1,142 @@
1
- <template>
2
- <style id="printChargeStyle">
3
- td{
4
- height: 30px;
5
- text-align: center;
6
- }
7
- table{
8
- margin: auto;
9
- /*width: 100%;*/
10
- border-collapse:collapse;
11
- border: 1px solid black;
12
- }
13
- h1,h2,h3,h4,h5,h6 {
14
- text-align: center;
15
- }
16
- .orgs {
17
- border-bottom: 2px solid;
18
- padding: 5px;
19
- }
20
- .date {
21
- float: left;
22
- padding-left: 10px;
23
- }
24
- .status {
25
- float: right;
26
- padding-right: 10px;
27
- }
28
- .seal {
29
- position: absolute;
30
- right: 100px;
31
- top: 120px;
32
- width: 150px;
33
- height: 150px;
34
- /*opacity: 0.5;*/
35
- z-index: -1;
36
- }
37
- </style>
38
- <div id="printCharge">
39
- <h4>
40
- <span class="orgs">
41
- {{orgs}}统一收据
42
- </span>
43
- </h4>
44
- <table border="1" width="100%">
45
- <tr>
46
- <td colspan="2" style="border: none">
47
- 开票日期:{{ new Date().Format('yyyy年MM月dd日') }}
48
- </td>
49
- <td colspan="2" style="border: none">
50
- 收据编码:{{ charge.f_charge_number }}
51
- </td>
52
- <td colspan="2" style="border: none">
53
- 状态:{{ charge.f_charge_status }}
54
- </td>
55
- </tr>
56
- <tr>
57
- <td style="width: 17%">用户姓名</td>
58
- <td colspan="2" style="width: 33%">{{ selectdata.f_user_name }}</td>
59
- <td style="width: 17%">用户编号</td>
60
- <td colspan="2" style="width: 33%">{{ selectdata.f_userinfo_code }}</td>
61
- </tr>
62
- <tr>
63
- <td>用户地址</td>
64
- <td colspan="5">{{ selectdata.f_address }}</td>
65
- </tr>
66
- <tr>
67
- <td>收款项目</td>
68
- <td colspan="2">{{ charge.f_payment_term }}</td>
69
- <td>收款方式</td>
70
- <td colspan="2">{{ charge.f_payment_method }}</td>
71
- </tr>
72
- <tr>
73
- <td>金额</td>
74
- <td colspan="2">{{ charge.f_charge_money }}</td>
75
- <td>金额大写</td>
76
- <td colspan="2">{{ charge.f_amount_words }}</td>
77
- </tr>
78
- <tr>
79
- <td>收款人</td>
80
- <td colspan="2">{{ charge.f_charge_collectors }}</td>
81
- <td>销售方(章)</td>
82
- <td colspan="2"></td>
83
- </tr>
84
- <tr>
85
- <td>备&emsp;&emsp;注</td>
86
- <td colspan="5">{{ charge.f_charge_remarks }}</td>
87
- </tr>
88
- <tr>
89
- <td colspan="6">
90
- 请持此收据到{{orgs}}营业厅换取发票
91
- </td>
92
- </tr>
93
- </table>
94
- <img class="seal" border="0" :src="src" alt="">
95
- </div>
96
-
97
- <print-element v-show="false" v-ref:print id='printCharge' styleid='printChargeStyle'
98
- top='20' left='30' width='100%' height='100%'>
99
- </print-element>
100
- </template>
101
-
102
- <script>
103
- import { isEmpty } from '../../../../Util'
104
- Date.prototype.Format = function (fmt) {
105
- var o = {
106
- "M+": this.getMonth() + 1, //月份
107
- "d+": this.getDate(), //日
108
- "H+": this.getHours(), //小时
109
- "m+": this.getMinutes(), //分
110
- "s+": this.getSeconds(), //秒
111
- "q+": Math.floor((this.getMonth() + 3) / 3), //季度
112
- "S": this.getMilliseconds() //毫秒
113
- };
114
- if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
115
- for (var k in o)
116
- if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
117
- return fmt;
118
- }
119
- export default {
120
- title: '打印收费票据',
121
- props: ['selectdata', 'charge'],
122
- data () {
123
- return {}
124
- },
125
- ready () {
126
- },
127
- methods: {
128
- },
129
- computed: {
130
- orgs () {
131
- return this.$login.f.orgs
132
- },
133
- src () {
134
- return require(`./img/${this.$login.f.number}.png`)
135
- }
136
- }
137
- }
138
- </script>
139
-
140
- <style scoped>
141
-
142
- </style>
1
+ <template>
2
+ <style id="printChargeStyle">
3
+ td{
4
+ height: 30px;
5
+ text-align: center;
6
+ }
7
+ table{
8
+ margin: auto;
9
+ /*width: 100%;*/
10
+ border-collapse:collapse;
11
+ border: 1px solid black;
12
+ }
13
+ h1,h2,h3,h4,h5,h6 {
14
+ text-align: center;
15
+ }
16
+ .orgs {
17
+ border-bottom: 2px solid;
18
+ padding: 5px;
19
+ }
20
+ .date {
21
+ float: left;
22
+ padding-left: 10px;
23
+ }
24
+ .status {
25
+ float: right;
26
+ padding-right: 10px;
27
+ }
28
+ .seal {
29
+ position: absolute;
30
+ right: 100px;
31
+ top: 120px;
32
+ width: 150px;
33
+ height: 150px;
34
+ /*opacity: 0.5;*/
35
+ z-index: -1;
36
+ }
37
+ </style>
38
+ <div id="printCharge">
39
+ <h4>
40
+ <span class="orgs">
41
+ {{orgs}}统一收据
42
+ </span>
43
+ </h4>
44
+ <table border="1" width="100%">
45
+ <tr>
46
+ <td colspan="2" style="border: none">
47
+ 开票日期:{{ new Date().Format('yyyy年MM月dd日') }}
48
+ </td>
49
+ <td colspan="2" style="border: none">
50
+ 收据编码:{{ charge.f_charge_number }}
51
+ </td>
52
+ <td colspan="2" style="border: none">
53
+ 状态:{{ charge.f_charge_status }}
54
+ </td>
55
+ </tr>
56
+ <tr>
57
+ <td style="width: 17%">用户姓名</td>
58
+ <td colspan="2" style="width: 33%">{{ selectdata.f_user_name }}</td>
59
+ <td style="width: 17%">用户编号</td>
60
+ <td colspan="2" style="width: 33%">{{ selectdata.f_userinfo_code }}</td>
61
+ </tr>
62
+ <tr>
63
+ <td>用户地址</td>
64
+ <td colspan="5">{{ selectdata.f_address }}</td>
65
+ </tr>
66
+ <tr>
67
+ <td>收款项目</td>
68
+ <td colspan="2">{{ charge.f_payment_term }}</td>
69
+ <td>收款方式</td>
70
+ <td colspan="2">{{ charge.f_payment_method }}</td>
71
+ </tr>
72
+ <tr>
73
+ <td>金额</td>
74
+ <td colspan="2">{{ charge.f_charge_money }}</td>
75
+ <td>金额大写</td>
76
+ <td colspan="2">{{ charge.f_amount_words }}</td>
77
+ </tr>
78
+ <tr>
79
+ <td>收款人</td>
80
+ <td colspan="2">{{ charge.f_charge_collectors }}</td>
81
+ <td>销售方(章)</td>
82
+ <td colspan="2"></td>
83
+ </tr>
84
+ <tr>
85
+ <td>备&emsp;&emsp;注</td>
86
+ <td colspan="5">{{ charge.f_charge_remarks }}</td>
87
+ </tr>
88
+ <tr>
89
+ <td colspan="6">
90
+ 请持此收据到{{orgs}}营业厅换取发票
91
+ </td>
92
+ </tr>
93
+ </table>
94
+ <img class="seal" border="0" :src="src" alt="">
95
+ </div>
96
+
97
+ <print-element v-show="false" v-ref:print id='printCharge' styleid='printChargeStyle'
98
+ top='20' left='30' width='100%' height='100%'>
99
+ </print-element>
100
+ </template>
101
+
102
+ <script>
103
+ import { isEmpty } from '../../Util'
104
+ Date.prototype.Format = function (fmt) {
105
+ var o = {
106
+ "M+": this.getMonth() + 1, //月份
107
+ "d+": this.getDate(), //日
108
+ "H+": this.getHours(), //小时
109
+ "m+": this.getMinutes(), //分
110
+ "s+": this.getSeconds(), //秒
111
+ "q+": Math.floor((this.getMonth() + 3) / 3), //季度
112
+ "S": this.getMilliseconds() //毫秒
113
+ };
114
+ if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
115
+ for (var k in o)
116
+ if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
117
+ return fmt;
118
+ }
119
+ export default {
120
+ title: '打印收费票据',
121
+ props: ['selectdata', 'charge'],
122
+ data () {
123
+ return {}
124
+ },
125
+ ready () {
126
+ },
127
+ methods: {
128
+ },
129
+ computed: {
130
+ orgs () {
131
+ return this.$login.f.orgs
132
+ },
133
+ src () {
134
+ // return require(`./img/${this.$login.f.number}.png`)
135
+ }
136
+ }
137
+ }
138
+ </script>
139
+
140
+ <style scoped>
141
+
142
+ </style>
@@ -1,125 +1,131 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main">
4
- <div :class="showData ? 'top' : 'auto'">
5
- <installinfoselect :show-data="showData" v-ref:query></installinfoselect>
6
- </div>
7
- <div v-if="showtotal" class="panel panel-info" style="height: 90%;">
8
- <tabset v-ref:tabs :close="false">
9
- <tab :header='selectdata.title'>
10
- <function-service-control v-ref:service :selectdata="selectdata"></function-service-control>
11
- </tab>
12
- <tab header='附件'>
13
- <apply-upload :blodid="show_data.f_process_id"
14
- :isupload = "true"
15
- :isdelete="true"
16
- :isusetype="true"
17
- :isremark = "true"
18
- :takeimg="false"
19
- :issearch="true"
20
- :defname="show_data.defname"
21
- >
22
- </apply-upload>
23
- </tab>
24
- </tabset>
25
- <!-- <div class="panel-heading head" style="background-color: #e8f4ff">{{funcdata.title}}</div>-->
26
- <!-- <div class="panel-body" style="height: 89%">-->
27
- <!-- <function-service-control v-ref:func :funcdata="funcdata" :selectdata="selectdata"></function-service-control>-->
28
- <!-- </div>-->
29
- </div>
30
- </div>
31
- </div>
32
-
33
- </template>
34
- <script>
35
- import Vue from 'vue'
36
- import {HttpResetClass} from 'vue-client'
37
- export default {
38
- title: '报建业务',
39
- data () {
40
- return {
41
- selectdata: null,
42
- showtotal: false, // 控制详情显示
43
- showData: true // 控制列表数据
44
- }
45
- },
46
- created () {
47
- this.getConfig()
48
- },
49
- methods: {
50
- // 获取功能配置
51
- async getConfig () {
52
- let res = await this.$resetpost(
53
- 'rs/logic/ApplyGetFunction',
54
- null,
55
- {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
56
- )
57
- Vue.prototype.$function_vue = res.data
58
- }
59
- },
60
- events: {
61
- // 刷新控制层
62
- async 'breakControl' (servicedata) {
63
- let http = new HttpResetClass()
64
- let data = {
65
- condition: `u.id = ${servicedata.id}`,
66
- data: {
67
- id: this.$login.f.id,
68
- orgid: this.$login.f.orgid
69
- }
70
- }
71
-
72
- try {
73
- let res = await http.load('POST', 'rs/sql/checkuserfunction', {data: data}, {resolveMsg: null, rejectMsg: null})
74
-
75
- this.showtotal = false
76
- this.selectdata = res.data[0]
77
- this.$nextTick(() => {
78
- this.showtotal = true
79
- })
80
- } catch (e) {
81
- this.$showAlert('数据更新失败,请手查询更新!!!', 'danger', 3000)
82
- }
83
- },
84
- // 查询
85
- 'search' () {
86
- // 关闭详细
87
- this.showtotal = false
88
- // 显示列表数据
89
- this.showData = true
90
- // 显示分页
91
- this.$refs.query.$refs.cp.pager = true
92
- // 调用查询
93
- this.$refs.query.$refs.cp.$refs.cri.search()
94
- },
95
- // 点击功能操作
96
- 'func' (funcdata, row) {
97
- this.selectdata = Object.assign({}, funcdata, row)
98
-
99
- // 关闭分页
100
- this.$refs.query.$refs.cp.pager = false
101
- // 关闭列表数据
102
- this.showData = false
103
-
104
- this.$nextTick(() => {
105
- this.showtotal = true
106
- })
107
- }
108
- }
109
- }
110
- </script>
111
- <style scoped>
112
- /*清除浮动*/
113
- .clearfix:after,.clearfix:before{
114
- display: table;
115
- }
116
- .clearfix:after{
117
- clear: both;
118
- }
119
- .head{
120
- height: auto;
121
- font-weight: bold;
122
- color: #000000;
123
- font-family: 微软雅黑;
124
- }
125
- </style>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <div :class="showData ? 'top' : 'auto'">
5
+ <installinfoselect :show-data="showData" v-ref:query></installinfoselect>
6
+ </div>
7
+ <div v-if="showtotal" class="panel panel-info" style="height: 90%;">
8
+ <tabset v-ref:tabs :close="false">
9
+ <tab :header='selectdata.title'>
10
+ <function-service-control v-ref:service :selectdata="selectdata"></function-service-control>
11
+ </tab>
12
+ <tab header='附件'>
13
+ <apply-upload :blodid="show_data.f_process_id"
14
+ :isupload = "true"
15
+ :isdelete="true"
16
+ :isusetype="true"
17
+ :isremark = "true"
18
+ :takeimg="false"
19
+ :issearch="true"
20
+ :defname="show_data.defname"
21
+ >
22
+ </apply-upload>
23
+ </tab>
24
+ </tabset>
25
+ </div>
26
+ </div>
27
+ </div>
28
+
29
+ </template>
30
+ <script>
31
+ import Vue from 'vue'
32
+ import {HttpResetClass} from 'vue-client'
33
+ export default {
34
+ title: '报建业务',
35
+ data () {
36
+ return {
37
+ selectdata: null,
38
+ showtotal: false, // 控制详情显示
39
+ showData: true // 控制列表数据
40
+ }
41
+ },
42
+ ready () {
43
+ this.getConfig()
44
+ },
45
+ methods: {
46
+ // 获取功能配置
47
+ async getConfig () {
48
+ let res = await this.$resetpost(
49
+ 'rs/logic/ApplyGetFunction',
50
+ null,
51
+ {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
52
+ )
53
+ Vue.prototype.$function_vue = res.data
54
+ }
55
+ },
56
+ events: {
57
+ // 刷新控制层
58
+ async 'breakControl' (servicedata) {
59
+ let http = new HttpResetClass()
60
+ let data = {
61
+ condition: `u.id = ${servicedata.id}`,
62
+ data: {
63
+ orgid: this.$login.f.orgid
64
+ }
65
+ }
66
+
67
+ let res = await http.load('POST', 'rs/sql/checkuserfunction', {data:data}, {
68
+ resolveMsg: null,
69
+ rejectMsg: '数据更新失败!!!'
70
+ })
71
+
72
+ this.showtotal = false
73
+
74
+ this.selectdata = Object.assign({}, this.selectdata, res.data[0])
75
+
76
+ this.$nextTick(() => {
77
+ this.showtotal = true
78
+ })
79
+ },
80
+ // 查询
81
+ 'search' () {
82
+ // 关闭详细
83
+ this.showtotal = false
84
+ // 显示列表数据
85
+ this.showData = true
86
+ // 显示分页
87
+ this.$refs.query.$refs.cp.pager = true
88
+ // 调用查询
89
+ this.$refs.query.$refs.cp.$refs.cri.search()
90
+ },
91
+ 'loadPage' () {
92
+ // 关闭详细
93
+ this.showtotal = false
94
+ // 显示列表数据
95
+ this.showData = true
96
+ // 显示分页
97
+ this.$refs.query.$refs.cp.pager = true
98
+ // 调用查询
99
+ this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
100
+ },
101
+ // 点击功能操作
102
+ 'func' (funcdata, row) {
103
+ this.selectdata = Object.assign({}, funcdata, row)
104
+
105
+ // 关闭分页
106
+ this.$refs.query.$refs.cp.pager = false
107
+ // 关闭列表数据
108
+ this.showData = false
109
+
110
+ this.$nextTick(() => {
111
+ this.showtotal = true
112
+ })
113
+ }
114
+ }
115
+ }
116
+ </script>
117
+ <style scoped>
118
+ /*清除浮动*/
119
+ .clearfix:after,.clearfix:before{
120
+ display: table;
121
+ }
122
+ .clearfix:after{
123
+ clear: both;
124
+ }
125
+ .head{
126
+ height: auto;
127
+ font-weight: bold;
128
+ color: #000000;
129
+ font-family: 微软雅黑;
130
+ }
131
+ </style>
@@ -26,6 +26,7 @@
26
26
  </div>
27
27
  <div class="form-group col-sm-3 button-range">
28
28
  <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
29
+ <button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
29
30
  <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
30
31
  <div
31
32
  :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
@@ -119,7 +120,7 @@
119
120
  <tr class="title">
120
121
  <th style="white-space: nowrap;">序号</th>
121
122
  <th style="white-space: nowrap;">报建编号</th>
122
- <th style="white-space: nowrap;">项目名称/客户名称/联系人</th>
123
+ <th style="white-space: nowrap;">客户名称/联系人</th>
123
124
  <th style="white-space: nowrap;">合同编号</th>
124
125
  <th style="white-space: nowrap;">电话</th>
125
126
  <th style="white-space: nowrap;">地址</th>
@@ -132,34 +133,34 @@
132
133
  </template>
133
134
  <template partial='body'>
134
135
  <tr>
135
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
136
+ <td style="text-align: center;">
136
137
  <nobr>{{$index+1}}</nobr>
137
138
  </td>
138
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
139
+ <td style="text-align: center;">
139
140
  <nobr>{{row.f_apply_num}}</nobr>
140
141
  </td>
141
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
142
- <nobr>{{row.f_entry_name}}/{{row.f_user_name}}/{{row.f_contact}}</nobr>
142
+ <td style="text-align: center;">
143
+ <nobr>{{row.f_user_name}}/{{row.f_contact}}</nobr>
143
144
  </td>
144
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
145
+ <td style="text-align: center;">
145
146
  <nobr>{{row.f_contract_number}}</nobr>
146
147
  </td>
147
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
148
+ <td style="text-align: center;">
148
149
  <nobr>{{row.f_phone}}</nobr>
149
150
  </td>
150
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
151
+ <td style="text-align: center;">
151
152
  <nobr>{{row.f_address}}</nobr>
152
153
  </td>
153
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
154
+ <td style="text-align: center;">
154
155
  <nobr>{{row.f_apply_type}}</nobr>
155
156
  </td>
156
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
157
+ <td style="text-align: center;">
157
158
  <nobr>{{row.defname}}</nobr>
158
159
  </td>
159
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
160
+ <td style="text-align: center;">
160
161
  <nobr>{{row.f_sub_state}}</nobr>
161
162
  </td>
162
- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
163
+ <td style="text-align: center;">
163
164
  <nobr>{{row.f_apply_date}}</nobr>
164
165
  </td>
165
166
  <td style="text-align: center;">
@@ -209,11 +210,14 @@
209
210
  search () {
210
211
  this.$dispatch('search')
211
212
  },
213
+ loadPage () {
214
+ this.$dispatch('loadPage')
215
+ },
212
216
  // 获取配置
213
217
  async checkfuncs (row) {
214
218
 
215
219
  this.funcs = []
216
- let functions = this.$function_vue.functions
220
+ let functions = JSON.parse(JSON.stringify(this.$function_vue.functions))
217
221
 
218
222
  for (const item of functions) {
219
223
  // 显示类型
@@ -228,6 +232,10 @@
228
232
  continue
229
233
  }
230
234
  }
235
+ // 显示设备
236
+ if (item.device && item.device !== 'pc') {
237
+ continue
238
+ }
231
239
  this.funcs.push(item)
232
240
  }
233
241
  },