manage-client-xy 3.2.0 → 3.2.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.
Files changed (27) hide show
  1. package/build/dev-server.js +11 -17
  2. package/package.json +1 -1
  3. package/src/components/ManageHome/ImportSupplygas/UpdateSupply.vue +187 -187
  4. package/src/components/ManageHomeCS/ImportSupplygas/UpdateSupply.vue +187 -187
  5. package/src/components/sale/businessquery/AttachmentViewer.vue +252 -0
  6. package/src/components/sale/businessquery/ChangeMeterQuery.vue +22 -0
  7. package/src/components/sale/businessquery/ChargeQuery.vue +28 -4
  8. package/src/components/sale/businessquery/DisableQuery.vue +22 -0
  9. package/src/components/sale/businessquery/EnableQuery.vue +22 -0
  10. package/src/components/sale/businessquery/FillCardQuery.vue +22 -0
  11. package/src/components/sale/businessquery/FillGasQuery.vue +22 -0
  12. package/src/components/sale/businessquery/MoveQuery.vue +22 -3
  13. package/src/components/sale/businessquery/OtherChargeQuery.vue +20 -3
  14. package/src/components/sale/businessquery/RecordQuery.vue +22 -0
  15. package/src/components/sale/businessquery/TransferQuery.vue +23 -2
  16. package/src/components/sale/businessquery/cancelAccountQuery.vue +488 -488
  17. package/src/components/sale/report/aode/DayReport.vue +50 -50
  18. package/src/components/sale/report/aode/DayReportSummary.vue +75 -75
  19. package/src/components/sale/report/aode/widget/LifeDayReportListPrint.vue +189 -189
  20. package/src/components/sale/report/aode/widget/LifeMonthPrint.vue +153 -153
  21. package/src/components/sale/report/aode/widget/LifeYearPrint.vue +143 -143
  22. package/src/components/sale/report/aode/widget/MonthByChargePrint.vue +236 -236
  23. package/src/components/sale/report/aode/widget/MonthByUserPrint.vue +232 -232
  24. package/src/plugins/FileDownloadR.js +61 -0
  25. package/src/saleManage.js +40 -40
  26. package/static/qh.json +2410 -2410
  27. package/webstorm.config.js +13 -13
@@ -11,28 +11,22 @@ 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 bendi = 'http://127.0.0.1:9019/'
15
- ,fuwu ='http://172.16.16.163:8300/'
14
+ var bendi = 'http://192.168.13.135:8300/'
15
+ , fuwu = 'http://192.168.13.135:8300/'
16
16
  // ,fuwu = 'http://172.16.16.163:8300/'
17
17
  var proxyTable = {
18
-
19
- // '/rs/logic/exportfile': {
20
- // target: 'http://127.0.0.1:9014/'
21
- // },
22
- '/rs/sql/cancelAccountQuery': {
23
- target: 'http://127.0.0.1:9019/'
24
- },
25
- '/rs/sql/cancelAccountQuery/': {
26
- target: 'http://127.0.0.1:9019/'
18
+ '/resource': {
19
+ target: 'http://192.168.13.135:31577/'
27
20
  },
28
- '/rs/sql/GMHgasQuery/': {
21
+
22
+ '/rs/logic/exportfile': {
29
23
  target: bendi
30
24
  },
31
25
  '/files': {
32
26
  target: fuwu
33
27
  },
34
28
  '/rs/sql': {
35
- target: fuwu
29
+ target: bendi
36
30
  },
37
31
  // 查找资源服务数据
38
32
  '/rs/search': {
@@ -46,7 +40,7 @@ var proxyTable = {
46
40
  '/rs/logic/getInitData': {
47
41
  target: fuwu
48
42
  },
49
- '/rs/logic/getSaleInitData':{
43
+ '/rs/logic/getSaleInitData': {
50
44
  target: fuwu
51
45
  },
52
46
  // 用户登录服务地址
@@ -75,7 +69,7 @@ var proxyTable = {
75
69
  target: fuwu
76
70
  },
77
71
  '/rs/report': {
78
- target: fuwu
72
+ target: bendi
79
73
  },
80
74
  '/rs/vue': {
81
75
  target: fuwu
@@ -83,11 +77,11 @@ var proxyTable = {
83
77
  '/rs/file': {
84
78
  target: fuwu
85
79
  },
86
- '/rs/logic/SumSettleFileImport':{
80
+ '/rs/logic/SumSettleFileImport': {
87
81
  target: 'http://127.0.0.1:8087'
88
82
  },
89
83
  '/rs': {
90
- target: fuwu
84
+ target: fuwu
91
85
  }
92
86
  }
93
87
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client-xy",
3
- "version": "3.2.00",
3
+ "version": "3.2.1",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1,187 +1,187 @@
1
- <template>
2
- <div class="auto select-overspread">
3
- <div class="panel panel-info">
4
- <div class="panel-heading">
5
- <h3 class="panel-title">修改用户信息</h3>
6
- </div>
7
- </div>
8
- <validator name="v">
9
- <form class="form-horizontal">
10
- <div class="col-sm-12 form-group" style="margin-top: 100px;">
11
- <div class="col-sm-4" :class="[$v.f_gasmun.required ? 'has-error': '']">
12
- <label class="col-sm-6 control-label">供气量:</label>
13
- <div class="col-sm-4">
14
- <input type="text" onkeyup="value=value.replace(/[^\.\d]/g,'')" onblur="value=value.replace(/[^\.\d]/g,'')" onblur="this.v();" class="form-control" v-model="model.f_gasmun" v-validate:f_gasmun='{required: true }'/>
15
- </div>
16
- </div>
17
- <div class="col-sm-4" :class="[$v.f_gasunits.required ? 'has-error': '']">
18
- <label class="col-sm-6 control-label">供气单位:</label>
19
- <div class="col-sm-4">
20
- <input type="text" class="form-control" v-model="model.f_gasunits" v-validate:f_gasunits='{required: true }'/>
21
- </div>
22
- </div>
23
- <!--<div class="col-sm-4" :class="[$v.fcredentials.required ? 'has-error select-error': '']">-->
24
- <!--<label class="col-sm-6 control-label">证件类型:</label>-->
25
- <!--<div class="col-sm-4">-->
26
- <!--<input type="text" v-show="false" v-model="$refs.fcredentials.value[0]" v-validate:fcredentials='{required: true }'>-->
27
- <!--<v-select :value.sync="model.f_credentials" v-model="model.f_credentials" v-ref:fcredentials :options='credentials'-->
28
- <!--placeholder='请选择' close-on-select></v-select>-->
29
- <!--</div>-->
30
- <!--</div>-->
31
- <!--//<div class="col-sm-4" :class="[$v.f_gasdate.required ? 'has-error select-error': '']"></div>-->
32
- <div class="col-sm-4">
33
- <label for="startDate" class="col-sm-6 control-label">供气时间:</label>
34
- <div class="col-sm-4" >
35
- <datepicker id="startDate" placeholder="开始日期"
36
- v-model="model.f_gasdate"
37
- :value.sync="model.f_gasdate"
38
- :disabled-days-of-Week="[]"
39
- :format="'yyyy-MM-dd'"
40
- :show-reset-button="reset">
41
- </datepicker>
42
- </div>
43
- </div>
44
-
45
-
46
- </div>
47
- <div class="col-sm-12 form-group">
48
-
49
- <div class="col-sm-4" :class="[$v.f_department.required ? 'has-error': '']">
50
- <label class="col-sm-6 control-label">操作部门:</label>
51
- <div class="col-sm-4">
52
- <input type="text" class="form-control" v-model="model.f_department" v-validate:f_department='{required: true }'/>
53
- </div>
54
- </div>
55
- <!--<div class="col-sm-4" :class="[$v.f_password.required ? 'has-error': '']">-->
56
- <!--<label class="col-sm-6 control-label">密码:</label>-->
57
- <!--<div class="col-sm-4">-->
58
- <!--<input type="text" class="form-control" v-model="model.f_password" v-validate:f_password='{required: true }'/>-->
59
- <!--</div>-->
60
- <!--</div>-->
61
- </div>
62
- <div class="col-sm-12 form-group">
63
-
64
-
65
- </div>
66
- <div class="col-sm-12 form-group">
67
- <div class="col-sm-4">
68
- <label class="col-sm-6 control-label">分公司:</label>
69
- <div class="col-sm-4">
70
- <input type="text" class="form-control" v-model="model.f_filiale" disabled/>
71
- </div>
72
- </div>
73
- <div class="col-sm-4">
74
- <label class="col-sm-6 control-label">操作时间:</label>
75
- <div class="col-sm-4">
76
- <input type="text" class="form-control" v-model="model.f_date" disabled/>
77
- </div>
78
- </div>
79
- <div class="col-sm-4">
80
- <label class="col-sm-6 control-label">操作人:</label>
81
- <div class="col-sm-4">
82
- <input type="text" class="form-control" v-model="model.f_operator" disabled/>
83
- </div>
84
- </div>
85
- </div>
86
- </form>
87
- </validator>
88
- <div class="col-sm-12 form-group" style="margin-top: 40px;">
89
- <center>
90
- <button type="button" @click="confirm()" class="btn btn-primary" style="width:80px; margin-left:40px;" :disabled='$v.invalid'>
91
- 保存
92
- </button>
93
- <button type="button" @click="reset()" class="btn btn-warning" style="width:80px; margin-left:40px;">
94
- 撤销
95
- </button>
96
- </center>
97
- </div>
98
- </div>
99
- </template>
100
- <script>
101
- import * as Util from '../../../stores/Util'
102
- //import AppData from '../../../../stores/AppData'
103
- export default {
104
- title: '添加人员信息',
105
- data () {
106
- return {
107
- model: {
108
- //f_filiale: Util. f.f_fengongsi,
109
- //id: 185,
110
- f_filiale: null,
111
- f_date: Util.toStandardDateString(),
112
- // f_operator: Util.f.name,
113
- f_operator: null,
114
- f_gasdate: Util.toStandardDateString(),
115
- f_gasmun : null,
116
- f_gasunits : null,
117
- f_department : null
118
- }
119
- }
120
- },
121
- props: ['upperson'],
122
- ready () {
123
- this.$nextTick(() => {
124
- this.$dispatch('hiddenpaged')
125
- // this.upperson.f_credentials = this.upperson.f_credentials ? this.upperson.f_credentials : this.model.f_credentials
126
- // this.upperson.f_inputtor_type = this.upperson.f_inputtor_type ? this.upperson.f_inputtor_type : this.model.f_inputtor_type
127
- // this.upperson.f_parentname = this.upperson.f_parentname ? this.upperson.f_parentname : this.model.f_parentname
128
- // this.model = Object.assign({}, this.model, this.upperson)
129
- // this.model.f_credentials = [this.model.f_credentials]
130
- // this.model.f_inputtor_type = [this.model.f_inputtor_type]
131
- // this.model.f_parentname = [this.model.f_parentname]
132
- console.log("组件之间的传值 f_gasmun,f_gasunits,f_department")
133
- this.model = Object.assign({}, this.model, this.upperson) //添加id,识别是否为更新操作
134
- console.log(this.upperson.f_gasmun);
135
- console.log(this.model.f_gasmun);
136
- console.log(this.upperson.f_gasunits);
137
- console.log(this.upperson.f_department)
138
- //thi.model.id = this.upperson.id
139
- this.model.f_gasmun = this.upperson.f_gasmun //? this.upperson.f_gasmun :this.model.f_gasmun;
140
- this.model.f_gasunits = this.upperson.f_gasunits //? this.upperson.f_gasunits :this.model.f_gasunits;
141
- this.model.f_department = this.upperson.f_department //? this.upperson.f_department :this.model.f_department;
142
- })
143
- },
144
- methods: {
145
- confirm() {
146
- console.log(this.model),
147
- this.model.f_gasdate //= this.model.startDate;//供气时间赋值
148
- //姓名相同所以不需要赋值
149
- this.model.f_department=this.model.f_department;//操作部门
150
- this.model.f_filiale //= this.model.f_fengongsi;//分公司赋值
151
- this.model.f_date //= this.model.f_operator_date;//操作日期赋值
152
- this.$resetpost('rs/entity/t_supplygas', this.model).then(() => {
153
- this.reset()
154
- })
155
- },
156
- reset () {
157
- this.$dispatch('close')
158
- }
159
- },
160
- watch: {
161
- 'upperson' () {
162
- this.$nextTick(() => {
163
- this.$dispatch('hiddenpaged')
164
- // this.upperson.f_credentials = this.upperson.f_credentials ? this.upperson.f_credentials : this.model.f_credentials
165
- // this.upperson.f_inputtor_type = this.upperson.f_inputtor_type ? this.upperson.f_inputtor_type : this.model.f_inputtor_type
166
- // this.upperson.f_parentname = this.upperson.f_parentname ? this.upperson.f_parentname : this.model.f_parentname
167
- // this.model = Object.assign({}, this.model, this.upperson)
168
- this.model.f_gasmun = [this.model.f_gasmun]
169
- this.model.f_gasunits = [this.model.f_gasunits]
170
- this.model.f_date = [this.model.f_date]
171
- })
172
- }
173
- },
174
- computed: {
175
- // credentials (){
176
- // return AppData.getParam("证件类型")
177
- // },
178
- // inputtortype () {
179
- // return AppData.getParam("角色类型")
180
- // },
181
- // parentname () {
182
- // return AppData.getParam("营业网点")
183
- // }
184
- }
185
- }
186
- </script>
187
-
1
+ <template>
2
+ <div class="auto select-overspread">
3
+ <div class="panel panel-info">
4
+ <div class="panel-heading">
5
+ <h3 class="panel-title">修改用户信息</h3>
6
+ </div>
7
+ </div>
8
+ <validator name="v">
9
+ <form class="form-horizontal">
10
+ <div class="col-sm-12 form-group" style="margin-top: 100px;">
11
+ <div class="col-sm-4" :class="[$v.f_gasmun.required ? 'has-error': '']">
12
+ <label class="col-sm-6 control-label">供气量:</label>
13
+ <div class="col-sm-4">
14
+ <input type="text" onkeyup="value=value.replace(/[^\.\d]/g,'')" onblur="value=value.replace(/[^\.\d]/g,'')" onblur="this.v();" class="form-control" v-model="model.f_gasmun" v-validate:f_gasmun='{required: true }'/>
15
+ </div>
16
+ </div>
17
+ <div class="col-sm-4" :class="[$v.f_gasunits.required ? 'has-error': '']">
18
+ <label class="col-sm-6 control-label">供气单位:</label>
19
+ <div class="col-sm-4">
20
+ <input type="text" class="form-control" v-model="model.f_gasunits" v-validate:f_gasunits='{required: true }'/>
21
+ </div>
22
+ </div>
23
+ <!--<div class="col-sm-4" :class="[$v.fcredentials.required ? 'has-error select-error': '']">-->
24
+ <!--<label class="col-sm-6 control-label">证件类型:</label>-->
25
+ <!--<div class="col-sm-4">-->
26
+ <!--<input type="text" v-show="false" v-model="$refs.fcredentials.value[0]" v-validate:fcredentials='{required: true }'>-->
27
+ <!--<v-select :value.sync="model.f_credentials" v-model="model.f_credentials" v-ref:fcredentials :options='credentials'-->
28
+ <!--placeholder='请选择' close-on-select></v-select>-->
29
+ <!--</div>-->
30
+ <!--</div>-->
31
+ <!--//<div class="col-sm-4" :class="[$v.f_gasdate.required ? 'has-error select-error': '']"></div>-->
32
+ <div class="col-sm-4">
33
+ <label for="startDate" class="col-sm-6 control-label">供气时间:</label>
34
+ <div class="col-sm-4" >
35
+ <datepicker id="startDate" placeholder="开始日期"
36
+ v-model="model.f_gasdate"
37
+ :value.sync="model.f_gasdate"
38
+ :disabled-days-of-Week="[]"
39
+ :format="'yyyy-MM-dd'"
40
+ :show-reset-button="reset">
41
+ </datepicker>
42
+ </div>
43
+ </div>
44
+
45
+
46
+ </div>
47
+ <div class="col-sm-12 form-group">
48
+
49
+ <div class="col-sm-4" :class="[$v.f_department.required ? 'has-error': '']">
50
+ <label class="col-sm-6 control-label">操作部门:</label>
51
+ <div class="col-sm-4">
52
+ <input type="text" class="form-control" v-model="model.f_department" v-validate:f_department='{required: true }'/>
53
+ </div>
54
+ </div>
55
+ <!--<div class="col-sm-4" :class="[$v.f_password.required ? 'has-error': '']">-->
56
+ <!--<label class="col-sm-6 control-label">密码:</label>-->
57
+ <!--<div class="col-sm-4">-->
58
+ <!--<input type="text" class="form-control" v-model="model.f_password" v-validate:f_password='{required: true }'/>-->
59
+ <!--</div>-->
60
+ <!--</div>-->
61
+ </div>
62
+ <div class="col-sm-12 form-group">
63
+
64
+
65
+ </div>
66
+ <div class="col-sm-12 form-group">
67
+ <div class="col-sm-4">
68
+ <label class="col-sm-6 control-label">分公司:</label>
69
+ <div class="col-sm-4">
70
+ <input type="text" class="form-control" v-model="model.f_filiale" disabled/>
71
+ </div>
72
+ </div>
73
+ <div class="col-sm-4">
74
+ <label class="col-sm-6 control-label">操作时间:</label>
75
+ <div class="col-sm-4">
76
+ <input type="text" class="form-control" v-model="model.f_date" disabled/>
77
+ </div>
78
+ </div>
79
+ <div class="col-sm-4">
80
+ <label class="col-sm-6 control-label">操作人:</label>
81
+ <div class="col-sm-4">
82
+ <input type="text" class="form-control" v-model="model.f_operator" disabled/>
83
+ </div>
84
+ </div>
85
+ </div>
86
+ </form>
87
+ </validator>
88
+ <div class="col-sm-12 form-group" style="margin-top: 40px;">
89
+ <center>
90
+ <button type="button" @click="confirm()" class="btn btn-primary" style="width:80px; margin-left:40px;" :disabled='$v.invalid'>
91
+ 保存
92
+ </button>
93
+ <button type="button" @click="reset()" class="btn btn-warning" style="width:80px; margin-left:40px;">
94
+ 撤销
95
+ </button>
96
+ </center>
97
+ </div>
98
+ </div>
99
+ </template>
100
+ <script>
101
+ import * as Util from '../../../stores/Util'
102
+ //import AppData from '../../../../stores/AppData'
103
+ export default {
104
+ title: '添加人员信息',
105
+ data () {
106
+ return {
107
+ model: {
108
+ //f_filiale: Util. f.f_fengongsi,
109
+ //id: 185,
110
+ f_filiale: null,
111
+ f_date: Util.toStandardDateString(),
112
+ // f_operator: Util.f.name,
113
+ f_operator: null,
114
+ f_gasdate: Util.toStandardDateString(),
115
+ f_gasmun : null,
116
+ f_gasunits : null,
117
+ f_department : null
118
+ }
119
+ }
120
+ },
121
+ props: ['upperson'],
122
+ ready () {
123
+ this.$nextTick(() => {
124
+ this.$dispatch('hiddenpaged')
125
+ // this.upperson.f_credentials = this.upperson.f_credentials ? this.upperson.f_credentials : this.model.f_credentials
126
+ // this.upperson.f_inputtor_type = this.upperson.f_inputtor_type ? this.upperson.f_inputtor_type : this.model.f_inputtor_type
127
+ // this.upperson.f_parentname = this.upperson.f_parentname ? this.upperson.f_parentname : this.model.f_parentname
128
+ // this.model = Object.assign({}, this.model, this.upperson)
129
+ // this.model.f_credentials = [this.model.f_credentials]
130
+ // this.model.f_inputtor_type = [this.model.f_inputtor_type]
131
+ // this.model.f_parentname = [this.model.f_parentname]
132
+ console.log("组件之间的传值 f_gasmun,f_gasunits,f_department")
133
+ this.model = Object.assign({}, this.model, this.upperson) //添加id,识别是否为更新操作
134
+ console.log(this.upperson.f_gasmun);
135
+ console.log(this.model.f_gasmun);
136
+ console.log(this.upperson.f_gasunits);
137
+ console.log(this.upperson.f_department)
138
+ //thi.model.id = this.upperson.id
139
+ this.model.f_gasmun = this.upperson.f_gasmun //? this.upperson.f_gasmun :this.model.f_gasmun;
140
+ this.model.f_gasunits = this.upperson.f_gasunits //? this.upperson.f_gasunits :this.model.f_gasunits;
141
+ this.model.f_department = this.upperson.f_department //? this.upperson.f_department :this.model.f_department;
142
+ })
143
+ },
144
+ methods: {
145
+ confirm() {
146
+ console.log(this.model),
147
+ this.model.f_gasdate //= this.model.startDate;//供气时间赋值
148
+ //姓名相同所以不需要赋值
149
+ this.model.f_department=this.model.f_department;//操作部门
150
+ this.model.f_filiale //= this.model.f_fengongsi;//分公司赋值
151
+ this.model.f_date //= this.model.f_operator_date;//操作日期赋值
152
+ this.$resetpost('rs/entity/t_supplygas', this.model).then(() => {
153
+ this.reset()
154
+ })
155
+ },
156
+ reset () {
157
+ this.$dispatch('close')
158
+ }
159
+ },
160
+ watch: {
161
+ 'upperson' () {
162
+ this.$nextTick(() => {
163
+ this.$dispatch('hiddenpaged')
164
+ // this.upperson.f_credentials = this.upperson.f_credentials ? this.upperson.f_credentials : this.model.f_credentials
165
+ // this.upperson.f_inputtor_type = this.upperson.f_inputtor_type ? this.upperson.f_inputtor_type : this.model.f_inputtor_type
166
+ // this.upperson.f_parentname = this.upperson.f_parentname ? this.upperson.f_parentname : this.model.f_parentname
167
+ // this.model = Object.assign({}, this.model, this.upperson)
168
+ this.model.f_gasmun = [this.model.f_gasmun]
169
+ this.model.f_gasunits = [this.model.f_gasunits]
170
+ this.model.f_date = [this.model.f_date]
171
+ })
172
+ }
173
+ },
174
+ computed: {
175
+ // credentials (){
176
+ // return AppData.getParam("证件类型")
177
+ // },
178
+ // inputtortype () {
179
+ // return AppData.getParam("角色类型")
180
+ // },
181
+ // parentname () {
182
+ // return AppData.getParam("营业网点")
183
+ // }
184
+ }
185
+ }
186
+ </script>
187
+