manage-client 4.0.95 → 4.1.1

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.
File without changes
Binary file
@@ -11,17 +11,17 @@ var compiler = webpack(config)
11
11
  // Define HTTP proxies to your custom API backend
12
12
  // https://github.com/chimurai/http-proxy-middleware
13
13
  // var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
14
- var shaoguan = 'http://192.168.50.67:31567/'
15
- var qtx = 'http://192.168.50.67:31567/'
14
+ var shaoguan = 'http://119.146.1.106:8300/'
15
+ var qtx = 'http://36.103.222.144:6300/'
16
16
  // var bendi = 'http://220.194.141.253:8600/'
17
17
  // var bendi = 'http://203.57.101.233:9001'
18
18
  // var bendi = 'http://172.168.1.11:9001/'
19
19
  // var bendi = 'http://203.57.101.233:9001/'
20
20
  // var bendi = 'http://121.36.106.17:8400/'
21
21
  // var fuwu = 'http://203.57.101.233:9001'
22
- var bendi = 'http://192.168.50.67:31567/'
22
+ var bendi = 'http://203.57.101.233:9001/'
23
23
  // var bendi = 'http://119.187.112.234:8400/'
24
- var wode = 'http://192.168.50.67:31567/'
24
+ var wode = 'http://203.57.101.233:9001/'
25
25
  // 192.168.
26
26
  // var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
27
27
  // var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
@@ -30,20 +30,20 @@ var proxyTable = {
30
30
  target: bendi
31
31
  },
32
32
  '/dataManage': {
33
- target: 'http://192.168.50.67:31567/'
33
+ target: 'http://203.57.101.233:9001/'
34
34
 
35
35
  },
36
36
  '/api/af-revenue/sql/WeChatPaydetail': {
37
37
  pathRewrite: {
38
38
  '^/api/af-revenue': '/rs'
39
39
  },
40
- target: 'http://192.168.50.67:31567/'
40
+ target: 'http://127.0.0.1:8080/'
41
41
  },
42
42
  '/api/af-revenue/sql/WeChatPayment': {
43
43
  pathRewrite: {
44
44
  '^/api/af-revenue': '/rs'
45
45
  },
46
- target: 'http://192.168.50.67:31567/'
46
+ target: 'http://127.0.0.1:8080/'
47
47
  },
48
48
  '/api': {
49
49
  target: 'http://192.168.50.67:31567/'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "4.0.95",
3
+ "version": "4.1.1",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -639,7 +639,7 @@
639
639
  }
640
640
  const defectData = JSON.parse(defectContent);
641
641
  if (defectData.result === '正常') {
642
- return '没问题';
642
+ return '正常';
643
643
  } else {
644
644
  // 显示数组第一个值
645
645
  if (defectData.data && defectData.data.length > 0) {
package/src/main.js CHANGED
@@ -7,6 +7,7 @@ import { system } from 'system-clients'
7
7
  import { ldap } from 'ldap-clients'
8
8
  import saleManage from './saleManage'
9
9
  import ShanXianSaleManage from './filiale/rongcheng/sale'
10
+ import ShanXianwebSaleManage from './filiale/rongcheng/webmeterManage'
10
11
  import webmeterManage from './webmeterManage'
11
12
  import reportManage from './reportManage'
12
13
  import newmanage from './newmanage'
@@ -48,6 +49,7 @@ saleManage()
48
49
  webmeterManage()
49
50
  ManageHome()
50
51
  newmanage()
52
+ ShanXianwebSaleManage()
51
53
  reportManage()
52
54
  ShanXianSaleManage()
53
55
  require('system-clients/src/styles/less/bootstrap.less')
@@ -882,8 +882,4 @@ export default function () {
882
882
  Vue.component('tc_user_summary_report', (resolve) => {
883
883
  require(['./components/SellReport/tongchuan/tcUserSummaryReport'], resolve)
884
884
  })
885
- // 报表展示组件(荣浩-月用气量报表)
886
- Vue.component('rh-month-gas', (resolve) => {
887
- require(['./components/SellReport/ronghao/rhMonthGas'], resolve)
888
- })
889
885
  }
@@ -1,167 +0,0 @@
1
- <template>
2
- <div class="basic-main" style="height: 100%">
3
- <criteria-paged :model="model" :pager='false' v-ref:paged>
4
- <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
5
- <div novalidate class="form-horizontal select-overspread container-fluid auto" partial >
6
- <div class="row">
7
- <div class="col-sm-2 form-group" >
8
- <label class="font_normal_body" for="startDate">开始日期:</label>
9
- <datepicker id="startDate" placeholder="开始日期" style="width: 60%"
10
- v-model="model.startDate"
11
- :value.sync="model.startDate"
12
- :disabled-days-of-Week="[]"
13
- :format="'yyyy-MM-dd HH:mm:ss'"
14
- :show-reset-button="reset">
15
- </datepicker>
16
- </div>
17
- <div class="col-sm-2 form-group" >
18
- <label class="font_normal_body" for="endDate">结束日期:</label>
19
- <datepicker id="endDate" placeholder="结束日期" style="width: 60%"
20
- v-model="model.endDate"
21
- :value.sync="model.endDate"
22
- :disabled-days-of-Week="[]"
23
- :format="'yyyy-MM-dd HH:mm:ss'"
24
- :show-reset-button="reset">
25
- </datepicker>
26
- </div>
27
- <res-select-group :show-component="$parent.$parent.resshow" :selectin="true" :initres="$parent.$parent.initres" :cascade =true @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
28
- </div>
29
- <div class="span" style = "float:right;">
30
- <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
31
- <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
32
- <report-excel id='gasprice'></report-excel>
33
- </div>
34
- </div>
35
- </criteria>
36
- <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
37
- <table class='tableprint' style="margin: 0px auto">
38
- <thead>
39
- <tr>
40
- <th :colspan='$parent.spans' style="font-weight: normal; text-align: left;">
41
- <h3 style="text-align: center">月用气量报表</h3>
42
- </th>
43
- </tr>
44
- <tr>
45
- <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
46
- 开始时间:{{model.model.startDate}}&nbsp;&nbsp;&nbsp;
47
- 结束时间:{{ model.model.endDate }}&nbsp;&nbsp;<br/>
48
- <!--打印时间:{{{$parent.printTime}}}-->
49
- 打印时间:{{$parent.printTime}}
50
- <!--收费员:{{// $parent.operatorname}}-->
51
- </th>
52
- </tr>
53
- <tr>
54
- <th :colspan='$parent.spans' style="font-weight: normal; text-align: center;">
55
- <div>
56
- <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname">公司:{{$parent.orgname}}</span>
57
- <span v-show="$parent.depname"> 部门:{{$parent.depname}}</span>
58
- </th>
59
- </tr>
60
- </thead>
61
- <tr>
62
- <td :colspan='$parent.spans' class="noborder">
63
- {{{ model.data.substring(26,model.data.length-8) }}}
64
- </td>
65
- </tr>
66
- <tfoot>
67
- </tfoot>
68
- </table>
69
- {{{ $parent.reportStr}}}
70
- </div>
71
- </criteria-paged>
72
- </div>
73
- </template>
74
-
75
- <script>
76
- import { DataModel } from 'vue-client'
77
- import co from 'co'
78
- export default {
79
- title: '月用气量报表',
80
- props: ['data'],
81
- data () {
82
- return {
83
- printTime: this.$login.toStandardTimeString(),
84
- depresid: [],
85
- userresid: [],
86
- f_orgid: this.$login.f.orgid,
87
- f_depid: this.$login.f.depids,
88
- // f_operatorid: this.$login.f.id,
89
- operatorid: [],
90
- depid: [],
91
- orgname: '',
92
- depname: '',
93
- criteriaShow: false,
94
- operatorname: '',
95
- orgCondtionStr: '1=1',
96
- f_user_type: '',
97
- f_state: ['有效'],
98
- model: new DataModel('api/af-revenue/report/rh_month_gas', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
99
- f_orgid: 'this.model.f_orgid'}),
100
- reportStr: null,
101
- resshow: ['company', 'department', 'operator'],
102
- spans: 0,
103
- initres: {
104
- org: [this.$login.f.orgid],
105
- dep: [],
106
- user: []
107
- }
108
- }
109
- },
110
- ready () {
111
- this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
112
- this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
113
- },
114
- methods: {
115
- searchData () {
116
- this.$refs.paged.$refs.criteria.search()
117
- },
118
- selfSearch (args) {
119
- this.printTime = this.$login.toStandardTimeString()
120
- let orgcondition = '1=1'
121
- let orgstr = this.orgCondtionStr
122
- orgcondition = orgcondition + orgstr
123
- this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
124
- this.$refs.paged.search(args)
125
- },
126
-
127
- hidden () {
128
- this.criteriaShow = !this.criteriaShow
129
- },
130
- getRes (condition, obj) {
131
- this.orgCondtionStr = condition
132
- this.orgname = obj.orgnames[0]
133
- this.depname = obj.depnames[0]
134
- this.operatorname = obj.operatornames[0]
135
- },
136
- getdep (obj, val) {
137
- this.depname = val[0]
138
- this.userresid = obj
139
- this.f_depid = obj
140
- },
141
- getuser ( obj, val) {
142
- this.operatorname = val[0]
143
- this.f_operatorid = obj
144
- }
145
- },
146
- watch: {
147
- 'model.data' (val) {
148
- let len=0
149
- let a=val.split('</tr>')
150
- for(let i=0;i<a.length;i++){
151
- if(a[i].split('</td>').length-1>len){
152
- len=a[i].split('</td>').length-1
153
- }
154
- }
155
- this.spans = len
156
- }
157
- },
158
- computed: {
159
-
160
- }
161
- }
162
- </script>
163
- <style scoped>
164
- .noborder{
165
- border: none;
166
- }
167
- </style>