manage-client 3.2.14 → 3.2.15

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 (47) hide show
  1. package/.gradle/{7.1 → 5.4.1}/fileChanges/last-build.bin +0 -0
  2. package/.gradle/5.4.1/fileHashes/fileHashes.lock +0 -0
  3. package/.gradle/{7.1/dependencies-accessors → 5.4.1}/gc.properties +0 -0
  4. package/build/dev-server.js +24 -7
  5. package/package.json +1 -1
  6. package/src/.idea/misc.xml +9 -0
  7. package/src/.idea/modules.xml +8 -0
  8. package/src/.idea/src.iml +9 -0
  9. package/src/.idea/vcs.xml +6 -0
  10. package/src/.idea/workspace.xml +93 -0
  11. package/src/components/SellReport/CivilGasReport.vue +194 -0
  12. package/src/components/SellReport/UnCivilGasReport.vue +194 -0
  13. package/src/components/sale/businessquery/BusinesQuery.vue +348 -348
  14. package/src/components/sale/businessquery/SalesGasClassification.vue +168 -168
  15. package/src/components/sale/businessquery/iotStateSearch/iotStateQuery.vue +308 -308
  16. package/src/components/sale/config/exportConfig.js +887 -887
  17. package/src/components/sale/report/aode/YearByUserType.vue +272 -272
  18. package/src/filiale/WEINAN/OtherChargeQuery.vue +521 -521
  19. package/src/filiale/WEINAN/ReportDataQuery.vue +249 -249
  20. package/src/filiale/WEINAN/config/tableConfig.js +20 -20
  21. package/src/filiale/jingwei/RecordInfoQuery.vue +1142 -1142
  22. package/src/filiale/meihekou/CardHandplanQuery.vue +618 -541
  23. package/src/filiale/meihekou/RecordInfoQuery.vue +1158 -1158
  24. package/src/filiale/meihekou/config/exportConfig.js +804 -804
  25. package/src/filiale/pingxiang/sale.js +9 -9
  26. package/src/filiale/qingtongxia/sale.js +13 -13
  27. package/src/filiale/rongcheng/UserQuery.vue +827 -827
  28. package/src/filiale/shaoguan/HandplanQuery.vue +1314 -1314
  29. package/src/filiale/shaoguan/TransferQuery.vue +403 -403
  30. package/src/filiale/shaoguan/config/exportConfig.js +433 -433
  31. package/src/filiale/shaoguan/errorHandplanQuery.vue +366 -366
  32. package/src/filiale/shaoguan/sale/businessquery/ExemptQuery.vue +314 -314
  33. package/src/filiale/shaoguan/sale/businessquery/FMYGasQuery.vue +687 -687
  34. package/src/filiale/shaoguan/sale/businessquery/PaymentChangeQuery.vue +338 -338
  35. package/src/filiale/shaoguan/sale/businessquery/ReconcileQuery.vue +426 -426
  36. package/src/filiale/shaoguan/sale/businessquery/oldMeterList.vue +295 -295
  37. package/src/filiale/tongchuan/config/exportConfig.js +857 -857
  38. package/src/main.js +4 -4
  39. package/src/reportManage.js +8 -0
  40. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  41. package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
  42. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  43. package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
  44. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  45. package/.gradle/7.1/gc.properties +0 -0
  46. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  47. package/.gradle/configuration-cache/gc.properties +0 -0
@@ -11,17 +11,27 @@ 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://119.146.1.106:8300/'
14
+ //韶关
15
+ // var fuwu='http://119.146.1.106:8300/'
15
16
  var qtx='http://36.103.222.144:6300/'
16
- var bendi = 'http://139.214.92.34:8301', fuwu_login = 'http://192.168.50.4:8400'
17
- var fuwu = 'http://139.214.92.34:8301'
18
- var system = 'http://139.214.92.34:8301'
17
+ var bendi = 'http://127.0.0.1:8083/'
18
+ var fuwu_login = 'http://192.168.50.4:8400'
19
+ //公司
20
+ var fuwu='http://192.168.50.4:8400/'
21
+ // var fuwu='http://61.134.55.234:8600/'
22
+ // var fuwu='http://172.168.1.11:8400/'
23
+ // var fuwu='http://172.168.1.11:9001/'
24
+ //经纬
25
+ // var fuwu='http://60.222.250.39:8300/'
19
26
  //192.168.
20
27
  // var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
21
28
  // var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
22
29
  var proxyTable = {
23
30
  '/rs/logic/exportfile': {
24
- target: fuwu
31
+ target: bendi
32
+ },
33
+ '/rs/entity':{
34
+ target:'http://127.0.0.1:8080'
25
35
  },
26
36
  '/files': {
27
37
  target: fuwu
@@ -67,7 +77,7 @@ var proxyTable = {
67
77
  target: fuwu
68
78
  },
69
79
  '/rs/report': {
70
- target: fuwu
80
+ target: bendi
71
81
  },
72
82
  '/rs/vue': {
73
83
  target: fuwu
@@ -78,8 +88,15 @@ var proxyTable = {
78
88
  '/rs/logic/SumSettleFileImport': {
79
89
  target: 'http://127.0.0.1:8080'
80
90
  },
91
+ '/rs/logic/getBatchOperaPro':{
92
+ target: 'http://127.0.0.1:8080'
93
+ },
94
+ '/rs/logic/machineChargePay':{
95
+ target: 'http://127.0.0.1:8080'
96
+ },
81
97
  '/rs': {
82
- target: bendi
98
+ target: 'http://127.0.0.1:8079'
99
+ // target: fuwu
83
100
  }
84
101
  }
85
102
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.2.14",
3
+ "version": "3.2.15",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="JavaScriptSettings">
4
+ <option name="languageLevel" value="ES6" />
5
+ </component>
6
+ <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK">
7
+ <output url="file://$PROJECT_DIR$/out" />
8
+ </component>
9
+ </project>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/src.iml" filepath="$PROJECT_DIR$/.idea/src.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="JAVA_MODULE" version="4">
3
+ <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+ <exclude-output />
5
+ <content url="file://$MODULE_DIR$" />
6
+ <orderEntry type="inheritedJdk" />
7
+ <orderEntry type="sourceFolder" forTests="false" />
8
+ </component>
9
+ </module>
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$/.." vcs="Git" />
5
+ </component>
6
+ </project>
@@ -0,0 +1,93 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="BranchesTreeState">
4
+ <expand>
5
+ <path>
6
+ <item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
7
+ <item name="LOCAL_ROOT" type="e8cecc67:BranchNodeDescriptor" />
8
+ </path>
9
+ <path>
10
+ <item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
11
+ <item name="REMOTE_ROOT" type="e8cecc67:BranchNodeDescriptor" />
12
+ </path>
13
+ <path>
14
+ <item name="ROOT" type="e8cecc67:BranchNodeDescriptor" />
15
+ <item name="REMOTE_ROOT" type="e8cecc67:BranchNodeDescriptor" />
16
+ <item name="GROUP_NODE:origin" type="e8cecc67:BranchNodeDescriptor" />
17
+ </path>
18
+ </expand>
19
+ <select />
20
+ </component>
21
+ <component name="ChangeListManager">
22
+ <list default="true" id="2087ff6c-d9e6-466c-b193-f0d5d2482d6c" name="Default Changelist" comment="">
23
+ <change beforePath="$PROJECT_DIR$/../build/dev-server.js" beforeDir="false" afterPath="$PROJECT_DIR$/../build/dev-server.js" afterDir="false" />
24
+ <change beforePath="$PROJECT_DIR$/main.js" beforeDir="false" afterPath="$PROJECT_DIR$/main.js" afterDir="false" />
25
+ </list>
26
+ <option name="SHOW_DIALOG" value="false" />
27
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
28
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
29
+ <option name="LAST_RESOLUTION" value="IGNORE" />
30
+ </component>
31
+ <component name="Git.Settings">
32
+ <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/.." />
33
+ </component>
34
+ <component name="ProjectId" id="1sTJyFXFMzYrD44cO32T0JVBAbk" />
35
+ <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
36
+ <component name="ProjectViewState">
37
+ <option name="hideEmptyMiddlePackages" value="true" />
38
+ <option name="showLibraryContents" value="true" />
39
+ </component>
40
+ <component name="PropertiesComponent">
41
+ <property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
42
+ <property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
43
+ <property name="WebServerToolWindowFactoryState" value="false" />
44
+ <property name="aspect.path.notification.shown" value="true" />
45
+ <property name="last_opened_file_path" value="$PROJECT_DIR$" />
46
+ </component>
47
+ <component name="SvnConfiguration">
48
+ <configuration />
49
+ </component>
50
+ <component name="TaskManager">
51
+ <task active="true" id="Default" summary="Default task">
52
+ <changelist id="2087ff6c-d9e6-466c-b193-f0d5d2482d6c" name="Default Changelist" comment="" />
53
+ <created>1620890898982</created>
54
+ <option name="number" value="Default" />
55
+ <option name="presentableId" value="Default" />
56
+ <updated>1620890898982</updated>
57
+ <workItem from="1620890900685" duration="47000" />
58
+ </task>
59
+ <servers />
60
+ </component>
61
+ <component name="TypeScriptGeneratedFilesManager">
62
+ <option name="version" value="2" />
63
+ </component>
64
+ <component name="Vcs.Log.Tabs.Properties">
65
+ <option name="TAB_STATES">
66
+ <map>
67
+ <entry key="MAIN">
68
+ <value>
69
+ <State>
70
+ <option name="FILTERS">
71
+ <map>
72
+ <entry key="text">
73
+ <value>
74
+ <list>
75
+ <option value="流水查询" />
76
+ </list>
77
+ </value>
78
+ </entry>
79
+ </map>
80
+ </option>
81
+ </State>
82
+ </value>
83
+ </entry>
84
+ </map>
85
+ </option>
86
+ </component>
87
+ <component name="WindowStateProjectService">
88
+ <state x="468" y="125" width="600" height="584" key="find.popup" timestamp="1620890946519">
89
+ <screen x="0" y="0" width="1536" height="834" />
90
+ </state>
91
+ <state x="468" y="125" width="600" height="584" key="find.popup/0.0.1536.834@0.0.1536.834" timestamp="1620890946519" />
92
+ </component>
93
+ </project>
@@ -0,0 +1,194 @@
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
+ <div class="col-sm-2 form-group" >
28
+ <label class="font_normal_body" for="org">公&emsp;&emsp;司:</label>
29
+ <right-tree id="org" @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>
30
+ </div>
31
+ <div class="col-sm-2 form-group">
32
+ <label class="font_normal_body" for="dep" >部&emsp;&emsp;门:</label>
33
+ <res-select id="dep" restype='department' style="width: 60%"
34
+ is-mul="false"
35
+ @res-select="$parent.$parent.getdep"
36
+ :parentresid="$parent.$parent.depresid"
37
+ :initresid='$parent.$parent.depid' >
38
+ </res-select>
39
+
40
+ </div>
41
+ <div class="col-sm-2 form-group">
42
+ <label class="font_normal_body" for="oper">人&emsp;&emsp;员:</label>
43
+ <res-select id="oper" restype='user' style="width: 60%"
44
+ is-mul="false"
45
+ @res-select="$parent.$parent.getuser"
46
+ :parentresid="$parent.$parent.userresid"
47
+ :initresid='$parent.$parent.operatorid'>
48
+ </res-select>
49
+ </div>
50
+ </div>
51
+ <div class="span" style = "float:right;">
52
+ <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
53
+ <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
54
+ <report-excel id='gasprice'></report-excel>
55
+ </div>
56
+ </div>
57
+ </criteria>
58
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
59
+ <table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
60
+ <thead>
61
+ <tr>
62
+ <th :colspan='$parent.tablen' style="font-weight: normal; text-align: left;">
63
+ <h3 style="text-align: center">民用气量统计表</h3>
64
+ </th>
65
+ </tr>
66
+ <tr>
67
+ <th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
68
+ 时间区间:{{$refs.criteria.model.startDate}} - {{ $refs.criteria.model.endDate }}<br/>
69
+ 打印时间:{{$parent.printTime}}
70
+ </th>
71
+ </tr>
72
+ <tr>
73
+ <th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
74
+ <div>
75
+ <span v-show="$parent.orgname[0]">公司:{{$parent.orgname}}</span>
76
+ <span v-show="$parent.depname[0]"> 部门:{{$parent.depname}}</span>
77
+ <span v-show="$parent.operatorname[0]">人员:{{$parent.operatorname}}</span>
78
+ </div>
79
+ </th>
80
+ </tr>
81
+ </thead>
82
+ <tr>
83
+ <td :colspan='$parent.tablen' class="noborder">
84
+ {{{ model.data.substring(26,model.data.length-8) }}}
85
+ </td>
86
+ </tr>
87
+ <tfoot>
88
+ <tr style="text-align: left">
89
+ <th :colspan='Math.floor($parent.tablen/3)'>财务审核:</th>
90
+ <th :colspan='Math.round($parent.tablen/3)'>收款审核:</th>
91
+ <th :colspan='Math.round($parent.tablen/3)'>收款员:</th>
92
+ </tr>
93
+ </tfoot>
94
+ </table>
95
+ </div>
96
+ </criteria-paged>
97
+ </div>
98
+ </template>
99
+
100
+ <script>
101
+ import { DataModel } from 'vue-client'
102
+ export default {
103
+ title: '民用气量统计表',
104
+ props: ['data'],
105
+ data () {
106
+ return {
107
+ printTime: this.$login.toStandardTimeString(),
108
+ depresid: [],
109
+ userresid: [],
110
+ f_orgid: this.$login.f.orgid,
111
+ f_depid: this.$login.f.depids,
112
+ f_operatorid: this.$login.f.id,
113
+ operatorid: [],
114
+ depid: [],
115
+ tablen:0,
116
+ orgname: '',
117
+ depname: '',
118
+ operatorname: '',
119
+ orgCondtionStr: '1=1',
120
+ model: new DataModel('rs/report/CivilGasStatistics', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
121
+ f_orgid: 'this.model.f_orgid'}),
122
+ reportStr: null,
123
+ show: false,
124
+ }
125
+ },
126
+ ready () {
127
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
128
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
129
+ console.log(this.$login.f)
130
+ },
131
+ methods: {
132
+ searchData () {
133
+ this.$refs.paged.$refs.criteria.search()
134
+ },
135
+ selfSearch (args) {
136
+ this.printTime = this.$login.toStandardTimeString()
137
+ let orgcondition = '1=1'
138
+ if (this.f_orgid && this.f_orgid[0]) {
139
+ orgcondition += ` and f_orgid in(${this.f_orgid.toString()})`
140
+ }
141
+ if (this.f_depid && this.f_depid[0]) {
142
+ orgcondition += ` and f_orgid in(${this.f_depid.toString()})`
143
+ }
144
+ if(this.f_operatorid && this.f_operatorid[0]) {
145
+ orgcondition += ` and f_orgid in(${this.f_operatorid.toString()})`
146
+ }
147
+ this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
148
+ this.$refs.paged.search(args)
149
+ },
150
+ getRes (obj) {
151
+ this.orgname = obj.res[0]
152
+ this.depresid = obj.resids
153
+ this.userresid = obj.resids
154
+ this.f_orgid = obj.resids
155
+ },
156
+ getdep (obj, val) {
157
+ this.depname = val[0]
158
+ // this.userresid = obj
159
+ this.f_depid = obj
160
+ },
161
+ getuser ( obj, val) {
162
+ this.operatorname = val[0]
163
+ this.f_operatorid = obj
164
+ }
165
+ },
166
+ watch: {
167
+ 'data' (val) {
168
+ if (val.f_files_path) {
169
+ this.getFileContent(val.f_files_path)
170
+ } else {
171
+ this.reportStr = null
172
+ }
173
+ },
174
+ 'model.data' (val) {
175
+ let len=0
176
+ let a=val.split('</tr>')
177
+ for(let i=0;i<a.length;i++){
178
+ if(a[i].split('</td>').length-1>len){
179
+ len=a[i].split('</td>').length-1
180
+ }
181
+ continue
182
+ }
183
+ this.tablen=len
184
+ }
185
+ },
186
+ computed: {
187
+ }
188
+ }
189
+ </script>
190
+ <style scoped>
191
+ .noborder{
192
+ border: none;
193
+ }
194
+ </style>
@@ -0,0 +1,194 @@
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
+ <div class="col-sm-2 form-group" >
28
+ <label class="font_normal_body" for="org">公&emsp;&emsp;司:</label>
29
+ <right-tree id="org" @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>
30
+ </div>
31
+ <div class="col-sm-2 form-group">
32
+ <label class="font_normal_body" for="dep" >部&emsp;&emsp;门:</label>
33
+ <res-select id="dep" restype='department' style="width: 60%"
34
+ is-mul="false"
35
+ @res-select="$parent.$parent.getdep"
36
+ :parentresid="$parent.$parent.depresid"
37
+ :initresid='$parent.$parent.depid' >
38
+ </res-select>
39
+
40
+ </div>
41
+ <div class="col-sm-2 form-group">
42
+ <label class="font_normal_body" for="oper">人&emsp;&emsp;员:</label>
43
+ <res-select id="oper" restype='user' style="width: 60%"
44
+ is-mul="false"
45
+ @res-select="$parent.$parent.getuser"
46
+ :parentresid="$parent.$parent.userresid"
47
+ :initresid='$parent.$parent.operatorid'>
48
+ </res-select>
49
+ </div>
50
+ </div>
51
+ <div class="span" style = "float:right;">
52
+ <button class="button_search" @click="$parent.$parent.searchData()">查询</button>
53
+ <report-print id='gasprice' top='3cm' left='0' width='100%' height='100%' :preview="true"></report-print>
54
+ <report-excel id='gasprice'></report-excel>
55
+ </div>
56
+ </div>
57
+ </criteria>
58
+ <div partial='list' v-el:handcollect id='gasprice' style="overflow-y: scroll">
59
+ <table class='tableprint' style="margin: 0px auto" v-if="!$parent.data.f_files_path">
60
+ <thead>
61
+ <tr>
62
+ <th :colspan='$parent.tablen' style="font-weight: normal; text-align: left;">
63
+ <h3 style="text-align: center">非民用气量统计表</h3>
64
+ </th>
65
+ </tr>
66
+ <tr>
67
+ <th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
68
+ 时间区间:{{$refs.criteria.model.startDate}} - {{ $refs.criteria.model.endDate }}<br/>
69
+ 打印时间:{{$parent.printTime}}
70
+ </th>
71
+ </tr>
72
+ <tr>
73
+ <th :colspan='$parent.tablen' style="font-weight: normal; text-align: center;">
74
+ <div>
75
+ <span v-show="$parent.orgname[0]">公司:{{$parent.orgname}}</span>
76
+ <span v-show="$parent.depname[0]"> 部门:{{$parent.depname}}</span>
77
+ <span v-show="$parent.operatorname[0]">人员:{{$parent.operatorname}}</span>
78
+ </div>
79
+ </th>
80
+ </tr>
81
+ </thead>
82
+ <tr>
83
+ <td :colspan='$parent.tablen' class="noborder">
84
+ {{{ model.data.substring(26,model.data.length-8) }}}
85
+ </td>
86
+ </tr>
87
+ <tfoot>
88
+ <tr style="text-align: left">
89
+ <th :colspan='Math.floor($parent.tablen/3)'>财务审核:</th>
90
+ <th :colspan='Math.round($parent.tablen/3)'>收款审核:</th>
91
+ <th :colspan='Math.round($parent.tablen/3)'>收款员:</th>
92
+ </tr>
93
+ </tfoot>
94
+ </table>
95
+ </div>
96
+ </criteria-paged>
97
+ </div>
98
+ </template>
99
+
100
+ <script>
101
+ import { DataModel } from 'vue-client'
102
+ export default {
103
+ title: '非民用气量统计表',
104
+ props: ['data'],
105
+ data () {
106
+ return {
107
+ printTime: this.$login.toStandardTimeString(),
108
+ depresid: [],
109
+ userresid: [],
110
+ f_orgid: this.$login.f.orgid,
111
+ f_depid: this.$login.f.depids,
112
+ f_operatorid: this.$login.f.id,
113
+ operatorid: [],
114
+ depid: [],
115
+ tablen:0,
116
+ orgname: '',
117
+ depname: '',
118
+ operatorname: '',
119
+ orgCondtionStr: '1=1',
120
+ model: new DataModel('rs/report/UnCivilGasStatistics', {startDate: 'this.model.startDate', endDate: 'this.model.endDate',
121
+ f_orgid: 'this.model.f_orgid'}),
122
+ reportStr: null,
123
+ show: false,
124
+ }
125
+ },
126
+ ready () {
127
+ this.$refs.paged.$refs.criteria.model.startDate = this.$login.toStandardDateString() + ' 00:00:00'
128
+ this.$refs.paged.$refs.criteria.model.endDate = this.$login.toStandardDateString() + ' 23:59:59'
129
+ console.log(this.$login.f)
130
+ },
131
+ methods: {
132
+ searchData () {
133
+ this.$refs.paged.$refs.criteria.search()
134
+ },
135
+ selfSearch (args) {
136
+ this.printTime = this.$login.toStandardTimeString()
137
+ let orgcondition = '1=1'
138
+ if (this.f_orgid && this.f_orgid[0]) {
139
+ orgcondition += ` and f_orgid in(${this.f_orgid.toString()})`
140
+ }
141
+ if (this.f_depid && this.f_depid[0]) {
142
+ orgcondition += ` and f_orgid in(${this.f_depid.toString()})`
143
+ }
144
+ if(this.f_operatorid && this.f_operatorid[0]) {
145
+ orgcondition += ` and f_orgid in(${this.f_operatorid.toString()})`
146
+ }
147
+ this.$refs.paged.$refs.criteria.model.f_orgid = orgcondition
148
+ this.$refs.paged.search(args)
149
+ },
150
+ getRes (obj) {
151
+ this.orgname = obj.res[0]
152
+ this.depresid = obj.resids
153
+ this.userresid = obj.resids
154
+ this.f_orgid = obj.resids
155
+ },
156
+ getdep (obj, val) {
157
+ this.depname = val[0]
158
+ // this.userresid = obj
159
+ this.f_depid = obj
160
+ },
161
+ getuser ( obj, val) {
162
+ this.operatorname = val[0]
163
+ this.f_operatorid = obj
164
+ }
165
+ },
166
+ watch: {
167
+ 'data' (val) {
168
+ if (val.f_files_path) {
169
+ this.getFileContent(val.f_files_path)
170
+ } else {
171
+ this.reportStr = null
172
+ }
173
+ },
174
+ 'model.data' (val) {
175
+ let len=0
176
+ let a=val.split('</tr>')
177
+ for(let i=0;i<a.length;i++){
178
+ if(a[i].split('</td>').length-1>len){
179
+ len=a[i].split('</td>').length-1
180
+ }
181
+ continue
182
+ }
183
+ this.tablen=len
184
+ }
185
+ },
186
+ computed: {
187
+ }
188
+ }
189
+ </script>
190
+ <style scoped>
191
+ .noborder{
192
+ border: none;
193
+ }
194
+ </style>