apply-clients 3.5.3-83 → 3.5.3-85
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.
- package/package.json +3 -3
- package/src/filiale/gongyi/android/AppAddLogs.vue +206 -0
- package/src/filiale/gongyi/android/AppServiceControl.vue +1 -1
- package/src/filiale/gongyi/android.js +1 -0
- package/src/filiale/gongyi/pc/PcAddLogs.vue +209 -0
- package/src/filiale/gongyi/pc/ServiceControl.vue +7 -2
- package/src/filiale/gongyi/pc.js +1 -0
- package/src/filiale/hongda/pc/printChargepc.vue +114 -114
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "apply-clients",
|
|
3
|
-
"version": "3.5.3-
|
|
3
|
+
"version": "3.5.3-85",
|
|
4
4
|
"description": "报建前端模块",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"directories": {
|
|
@@ -95,10 +95,10 @@
|
|
|
95
95
|
"sinon-chai": "^2.8.0",
|
|
96
96
|
"style": "0.0.3",
|
|
97
97
|
"style-loader": "^0.20.3",
|
|
98
|
-
"system-clients": "3.
|
|
98
|
+
"system-clients": "3.2.61",
|
|
99
99
|
"system-phone": "1.2.80-49",
|
|
100
100
|
"url-loader": "^0.5.7",
|
|
101
|
-
"vue-client": "1.
|
|
101
|
+
"vue-client": "1.24.94",
|
|
102
102
|
"vue-hot-reload-api": "^1.2.0",
|
|
103
103
|
"vue-html-loader": "^1.0.0",
|
|
104
104
|
"vue-loader": "^8.2.1",
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<data-grid :model="onetomany" class="list_area table_sy">
|
|
4
|
+
<template partial='head'>
|
|
5
|
+
<tr>
|
|
6
|
+
<th class="textNoLineBreak">日期</th>
|
|
7
|
+
<th class="textNoLineBreak">内容</th>
|
|
8
|
+
<th class="textNoLineBreak">
|
|
9
|
+
<button type="button" class="btn btn-primary" @click="$parent.$parent.openMaterialModal()">添加日志
|
|
10
|
+
</button>
|
|
11
|
+
</th>
|
|
12
|
+
</tr>
|
|
13
|
+
</template>
|
|
14
|
+
<template partial='body'>
|
|
15
|
+
<tr>
|
|
16
|
+
<td style="text-align: center;">
|
|
17
|
+
<nobr>{{row.f_operation_date}}</nobr>
|
|
18
|
+
</td>
|
|
19
|
+
<td style="text-align: center;">
|
|
20
|
+
<nobr>{{ row.f_log_content.length > 20 ? row.f_log_content.substring(0, 50) + '...' : row.f_log_content }}</nobr>
|
|
21
|
+
</td>
|
|
22
|
+
<td style="text-align: center;">
|
|
23
|
+
<button type="button" class="button_delete button_spacing" @click="$parent.$parent.deletelogs(row)">删除
|
|
24
|
+
</button>
|
|
25
|
+
<button type="button" class="button_delete button_spacing" @click="$parent.$parent.look(row)">查看
|
|
26
|
+
</button>
|
|
27
|
+
</td>
|
|
28
|
+
</tr>
|
|
29
|
+
</template>
|
|
30
|
+
</data-grid>
|
|
31
|
+
<modal v-if="showMaterialModal" :show.sync="showMaterialModal" v-ref:modal :large="true"
|
|
32
|
+
:backdrop="false" :title="title">
|
|
33
|
+
<header slot="modal-header" class="modal-header">
|
|
34
|
+
<button type="button" class="close" @click="closeMaterials"><span>×</span></button>
|
|
35
|
+
<h4 class="modal-title">{{title}}</h4>
|
|
36
|
+
</header>
|
|
37
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
38
|
+
<div v-for="(i,item) in materials" class="form-group col-sm-12 panel panel-info">
|
|
39
|
+
<div class="form-group col-sm-6">
|
|
40
|
+
<label class="col-sm-4 control-label">日志类型:</label>
|
|
41
|
+
<div class="col-sm-8">
|
|
42
|
+
<input-select
|
|
43
|
+
class="select select_list"
|
|
44
|
+
:value.sync="item.f_log_type"
|
|
45
|
+
v-model="item.f_log_type"
|
|
46
|
+
:options="logOptions"
|
|
47
|
+
:disable="mark === 1"
|
|
48
|
+
:valueSingle="true"></input-select>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
<div class="form-group col-sm-6">
|
|
52
|
+
<label class="col-sm-4 control-label">内容:</label>
|
|
53
|
+
<textarea
|
|
54
|
+
class="form-control"
|
|
55
|
+
v-model="item.f_log_content"
|
|
56
|
+
rows="3"
|
|
57
|
+
:readonly="mark === 1"
|
|
58
|
+
></textarea>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
</article>
|
|
62
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
63
|
+
<template v-if="mark!== 1">
|
|
64
|
+
<button type="button" class="btn btn-primary" v-if="title==='新增'" @click="addlogs()"
|
|
65
|
+
:disabled="!$v.valid">确认
|
|
66
|
+
</button>
|
|
67
|
+
<button type="button" class="btn btn-primary" v-if="title==='查看'" @click="changelogs()"
|
|
68
|
+
:disabled="!$v.valid">修改
|
|
69
|
+
</button>
|
|
70
|
+
</template>
|
|
71
|
+
</footer>
|
|
72
|
+
</modal>
|
|
73
|
+
</div>
|
|
74
|
+
</template>
|
|
75
|
+
|
|
76
|
+
<script>
|
|
77
|
+
import Vue from 'vue'
|
|
78
|
+
import {HttpResetClass} from 'vue-client'
|
|
79
|
+
|
|
80
|
+
export default {
|
|
81
|
+
name: 'addlogs',
|
|
82
|
+
props: {
|
|
83
|
+
selectdata: {
|
|
84
|
+
type: Object
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
data() {
|
|
88
|
+
return {
|
|
89
|
+
onetomany: {
|
|
90
|
+
rows: []
|
|
91
|
+
},
|
|
92
|
+
logOptions: this.$appdata.getParam('日志类型'),
|
|
93
|
+
title: '新增',
|
|
94
|
+
showMaterialModal: false,
|
|
95
|
+
materials: [
|
|
96
|
+
{
|
|
97
|
+
|
|
98
|
+
}
|
|
99
|
+
],
|
|
100
|
+
meterialOptions: [],
|
|
101
|
+
row: {},
|
|
102
|
+
bjqChecklag:[],
|
|
103
|
+
fmaterialname:{}
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
ready() {
|
|
107
|
+
this.getOnetoManyData()
|
|
108
|
+
},
|
|
109
|
+
methods: {
|
|
110
|
+
look(row){
|
|
111
|
+
this.title = '查看'
|
|
112
|
+
this.materials = [
|
|
113
|
+
{
|
|
114
|
+
id: row.id,
|
|
115
|
+
f_log_type:row.f_log_type,
|
|
116
|
+
f_log_content:row.f_log_content
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
this.showMaterialModal = true
|
|
120
|
+
},
|
|
121
|
+
|
|
122
|
+
changelogs(){
|
|
123
|
+
let http = new HttpResetClass()
|
|
124
|
+
let data = {
|
|
125
|
+
data: {
|
|
126
|
+
id: this.materials[0].id,
|
|
127
|
+
f_process_id:this.selectdata.f_process_id,
|
|
128
|
+
f_log_type:this.materials[0].f_log_type,
|
|
129
|
+
f_log_content:this.materials[0].f_log_content,
|
|
130
|
+
user:Vue.user
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
http.load(
|
|
134
|
+
'POST',
|
|
135
|
+
`${this.$androidUtil.getProxyUrl()}/rs/logic/addLogs`,
|
|
136
|
+
data,
|
|
137
|
+
{resolveMsg: '修改成功', rejectMsg: '添加失败'}
|
|
138
|
+
).then(res => {
|
|
139
|
+
this.closeMaterials()
|
|
140
|
+
})
|
|
141
|
+
},
|
|
142
|
+
addlogs(){
|
|
143
|
+
let http = new HttpResetClass()
|
|
144
|
+
let data = {
|
|
145
|
+
data: {
|
|
146
|
+
f_process_id:this.selectdata.f_process_id,
|
|
147
|
+
f_log_type:this.materials[0].f_log_type,
|
|
148
|
+
f_log_content:this.materials[0].f_log_content,
|
|
149
|
+
user:Vue.user
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
http.load(
|
|
153
|
+
'POST',
|
|
154
|
+
`${this.$androidUtil.getProxyUrl()}/rs/logic/addLogs`,
|
|
155
|
+
data,
|
|
156
|
+
{resolveMsg: '添加成功', rejectMsg: '添加失败'}
|
|
157
|
+
).then(res => {
|
|
158
|
+
this.closeMaterials()
|
|
159
|
+
})
|
|
160
|
+
},
|
|
161
|
+
deletelogs(row){
|
|
162
|
+
this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
|
|
163
|
+
if (res === 'confirm') {
|
|
164
|
+
this.$resetdelete('rs/entity/t_logs_apply', {id: row.id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
|
|
165
|
+
this.getOnetoManyData()
|
|
166
|
+
})
|
|
167
|
+
}
|
|
168
|
+
})
|
|
169
|
+
},
|
|
170
|
+
async getOnetoManyData () {
|
|
171
|
+
let http = new HttpResetClass()
|
|
172
|
+
let data = {
|
|
173
|
+
tablename: `t_logs_apply`,
|
|
174
|
+
condition: `f_process_id='${this.selectdata.f_process_id}'`
|
|
175
|
+
}
|
|
176
|
+
let res = await http.load(
|
|
177
|
+
'POST',
|
|
178
|
+
`${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable?aaa=123`,
|
|
179
|
+
{data: data},
|
|
180
|
+
{resolveMsg: null, rejectMsg: 'onetomany查询失败'}
|
|
181
|
+
)
|
|
182
|
+
this.onetomany.rows = res.data
|
|
183
|
+
},
|
|
184
|
+
async openMaterialModal() {
|
|
185
|
+
this.title = '新增'
|
|
186
|
+
this.materials = [
|
|
187
|
+
{
|
|
188
|
+
f_log_type:'',
|
|
189
|
+
f_logs_content:''
|
|
190
|
+
}
|
|
191
|
+
],
|
|
192
|
+
this.showMaterialModal = true
|
|
193
|
+
},
|
|
194
|
+
|
|
195
|
+
closeMaterials() {
|
|
196
|
+
this.getOnetoManyData()
|
|
197
|
+
this.showMaterialModal = false
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
</script>
|
|
203
|
+
|
|
204
|
+
<style scoped>
|
|
205
|
+
|
|
206
|
+
</style>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<app-sign :blobid="selectdata.f_process_id" :defname="selectdata.defname" @sign-success="signSuccess" :file-path="selectdata.f_process_id"@sign-clean="signClean"></app-sign>
|
|
13
13
|
</panel>
|
|
14
14
|
<panel header="图片" :is-open="false" type="primary" v-if="selectdata.f_process_id">
|
|
15
|
-
<app-
|
|
15
|
+
<app-upload :blobid="selectdata.f_process_id" :defname="selectdata.defname" :file-path="selectdata.f_process_id" :istakepic=true ></app-upload>
|
|
16
16
|
</panel>
|
|
17
17
|
</accordion>
|
|
18
18
|
</div>
|
|
@@ -7,5 +7,6 @@ let specialComp = {
|
|
|
7
7
|
'app-service-control': (resolve) => { require(['./android/AppServiceControl.vue'], resolve) },
|
|
8
8
|
'app-sign': (resolve) => { require(['./android/AppSign'], resolve) },
|
|
9
9
|
'app-take-pic': (resolve) => { require(['./android/AppTakePic'], resolve) },
|
|
10
|
+
'app-add-logs': (resolve) => { require(['./android/AppAddLogs'], resolve) }
|
|
10
11
|
}
|
|
11
12
|
exports.specialComp = specialComp
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<data-grid :model="onetomany" class="list_area table_sy">
|
|
4
|
+
<template partial='head'>
|
|
5
|
+
<tr>
|
|
6
|
+
<th class="textNoLineBreak">日期</th>
|
|
7
|
+
<th class="textNoLineBreak">内容</th>
|
|
8
|
+
<th class="textNoLineBreak">
|
|
9
|
+
<button type="button" class="btn btn-primary" @click="$parent.$parent.openMaterialModal()">添加日志
|
|
10
|
+
</button>
|
|
11
|
+
</th>
|
|
12
|
+
</tr>
|
|
13
|
+
</template>
|
|
14
|
+
<template partial='body'>
|
|
15
|
+
<tr>
|
|
16
|
+
<td style="text-align: center;">
|
|
17
|
+
<nobr>{{row.f_operation_date}}</nobr>
|
|
18
|
+
</td>
|
|
19
|
+
<td style="text-align: center;">
|
|
20
|
+
<nobr>{{ row.f_log_content.length > 20 ? row.f_log_content.substring(0, 50) + '...' : row.f_log_content }}</nobr>
|
|
21
|
+
</td>
|
|
22
|
+
<td style="text-align: center;">
|
|
23
|
+
<button type="button" class="button_delete button_spacing" @click="$parent.$parent.deletelogs(row)">删除
|
|
24
|
+
</button>
|
|
25
|
+
<button type="button" class="button_delete button_spacing" @click="$parent.$parent.look(row)">查看
|
|
26
|
+
</button>
|
|
27
|
+
</td>
|
|
28
|
+
</tr>
|
|
29
|
+
</template>
|
|
30
|
+
</data-grid>
|
|
31
|
+
<modal v-if="showMaterialModal" :show.sync="showMaterialModal" v-ref:modal :large="true"
|
|
32
|
+
:backdrop="false" :title="title">
|
|
33
|
+
<header slot="modal-header" class="modal-header">
|
|
34
|
+
<button type="button" class="close" @click="closeMaterials"><span>×</span></button>
|
|
35
|
+
<h4 class="modal-title">{{title}}</h4>
|
|
36
|
+
</header>
|
|
37
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
38
|
+
<div v-for="(i,item) in materials" class="form-group col-sm-12 panel panel-info">
|
|
39
|
+
<div class="row">
|
|
40
|
+
<div class="form-group col-sm-4">
|
|
41
|
+
<label class="col-sm-4 control-label">日志类型:</label>
|
|
42
|
+
<div class="col-sm-4">
|
|
43
|
+
<input-select
|
|
44
|
+
class="select select_list"
|
|
45
|
+
:value.sync="item.f_log_type"
|
|
46
|
+
v-model="item.f_log_type"
|
|
47
|
+
:options="logOptions"
|
|
48
|
+
:disable="mark === 1"
|
|
49
|
+
:valueSingle="true"></input-select>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="form-group col-sm-6">
|
|
53
|
+
<label class="col-sm-4 control-label">内容:</label>
|
|
54
|
+
<textarea
|
|
55
|
+
class="form-control"
|
|
56
|
+
v-model="item.f_log_content"
|
|
57
|
+
rows="3"
|
|
58
|
+
:readonly="mark === 1"
|
|
59
|
+
></textarea>
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
</div>
|
|
65
|
+
</article>
|
|
66
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
67
|
+
<template v-if="mark!== 1">
|
|
68
|
+
<button type="button" class="btn btn-primary" v-if="title==='新增'" @click="addlogs()"
|
|
69
|
+
:disabled="!$v.valid">确认
|
|
70
|
+
</button>
|
|
71
|
+
<button type="button" class="btn btn-primary" v-if="title==='查看'" @click="changelogs()"
|
|
72
|
+
:disabled="!$v.valid">修改
|
|
73
|
+
</button>
|
|
74
|
+
</template>
|
|
75
|
+
</footer>
|
|
76
|
+
</modal>
|
|
77
|
+
</div>
|
|
78
|
+
</template>
|
|
79
|
+
|
|
80
|
+
<script>
|
|
81
|
+
import {HttpResetClass} from 'vue-client'
|
|
82
|
+
|
|
83
|
+
export default {
|
|
84
|
+
name: 'addlogs',
|
|
85
|
+
props: {
|
|
86
|
+
selectdata: {
|
|
87
|
+
type: Object
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
data() {
|
|
91
|
+
return {
|
|
92
|
+
onetomany: {
|
|
93
|
+
rows: []
|
|
94
|
+
},
|
|
95
|
+
logOptions: this.$appdata.getParam('日志类型'),
|
|
96
|
+
title: '新增',
|
|
97
|
+
showMaterialModal: false,
|
|
98
|
+
materials: [
|
|
99
|
+
{
|
|
100
|
+
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
meterialOptions: [],
|
|
104
|
+
row: {},
|
|
105
|
+
bjqChecklag:[],
|
|
106
|
+
fmaterialname:{}
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
ready() {
|
|
110
|
+
this.getOnetoManyData()
|
|
111
|
+
},
|
|
112
|
+
methods: {
|
|
113
|
+
look(row){
|
|
114
|
+
this.title = '查看'
|
|
115
|
+
this.materials = [
|
|
116
|
+
{
|
|
117
|
+
id: row.id,
|
|
118
|
+
f_log_type:row.f_log_type,
|
|
119
|
+
f_log_content:row.f_log_content
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
this.showMaterialModal = true
|
|
123
|
+
},
|
|
124
|
+
|
|
125
|
+
changelogs(){
|
|
126
|
+
let http = new HttpResetClass()
|
|
127
|
+
let data = {
|
|
128
|
+
data: {
|
|
129
|
+
id: this.materials[0].id,
|
|
130
|
+
f_process_id:this.selectdata.f_process_id,
|
|
131
|
+
f_log_type:this.materials[0].f_log_type,
|
|
132
|
+
f_log_content:this.materials[0].f_log_content,
|
|
133
|
+
user:this.$login.f
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
http.load(
|
|
137
|
+
'POST',
|
|
138
|
+
`/rs/logic/addLogs`,
|
|
139
|
+
data,
|
|
140
|
+
{resolveMsg: '修改成功', rejectMsg: '添加失败'}
|
|
141
|
+
).then(res => {
|
|
142
|
+
this.closeMaterials()
|
|
143
|
+
})
|
|
144
|
+
},
|
|
145
|
+
addlogs(){
|
|
146
|
+
let http = new HttpResetClass()
|
|
147
|
+
let data = {
|
|
148
|
+
data: {
|
|
149
|
+
f_process_id:this.selectdata.f_process_id,
|
|
150
|
+
f_log_type:this.materials[0].f_log_type,
|
|
151
|
+
f_log_content:this.materials[0].f_log_content,
|
|
152
|
+
user:this.$login.f
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
http.load(
|
|
156
|
+
'POST',
|
|
157
|
+
`/rs/logic/addLogs`,
|
|
158
|
+
data,
|
|
159
|
+
{resolveMsg: '添加成功', rejectMsg: '添加失败'}
|
|
160
|
+
).then(res => {
|
|
161
|
+
this.closeMaterials()
|
|
162
|
+
})
|
|
163
|
+
},
|
|
164
|
+
deletelogs(row){
|
|
165
|
+
this.$showMessage('删除后不可恢复,确认删除吗?', ['confirm', 'cancel']).then((res) => {
|
|
166
|
+
if (res === 'confirm') {
|
|
167
|
+
this.$resetdelete('rs/entity/t_logs_apply', {id: row.id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
|
|
168
|
+
this.getOnetoManyData()
|
|
169
|
+
})
|
|
170
|
+
}
|
|
171
|
+
})
|
|
172
|
+
},
|
|
173
|
+
async getOnetoManyData () {
|
|
174
|
+
let http = new HttpResetClass()
|
|
175
|
+
let data = {
|
|
176
|
+
tablename: `t_logs_apply`,
|
|
177
|
+
condition: `f_process_id='${this.selectdata.f_process_id}'`
|
|
178
|
+
}
|
|
179
|
+
let res = await http.load(
|
|
180
|
+
'POST',
|
|
181
|
+
`/rs/sql/apply_singleTable?aaa=123`,
|
|
182
|
+
{data: data},
|
|
183
|
+
{resolveMsg: null, rejectMsg: 'onetomany查询失败'}
|
|
184
|
+
)
|
|
185
|
+
this.onetomany.rows = res.data
|
|
186
|
+
},
|
|
187
|
+
async openMaterialModal() {
|
|
188
|
+
this.title = '新增'
|
|
189
|
+
this.materials = [
|
|
190
|
+
{
|
|
191
|
+
f_log_type:'',
|
|
192
|
+
f_logs_content:''
|
|
193
|
+
}
|
|
194
|
+
],
|
|
195
|
+
this.showMaterialModal = true
|
|
196
|
+
},
|
|
197
|
+
|
|
198
|
+
closeMaterials() {
|
|
199
|
+
this.getOnetoManyData()
|
|
200
|
+
this.showMaterialModal = false
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
</script>
|
|
206
|
+
|
|
207
|
+
<style scoped>
|
|
208
|
+
|
|
209
|
+
</style>
|
|
@@ -183,8 +183,13 @@
|
|
|
183
183
|
item.options = await this.getDesignerPeople1(item.role)
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
|
|
187
|
-
|
|
186
|
+
if(item.rolename){
|
|
187
|
+
//判断当前用户是否有这个角色
|
|
188
|
+
if(!this.$login.f.rolestr.includes(item.rolename)){
|
|
189
|
+
item.readonly=true
|
|
190
|
+
item.disabled=true
|
|
191
|
+
}
|
|
192
|
+
}
|
|
188
193
|
if (item.type === 'checkbox') {
|
|
189
194
|
if (this.selectdata[item.field]) {
|
|
190
195
|
item.value = JSON.parse(this.selectdata[item.field])
|
package/src/filiale/gongyi/pc.js
CHANGED
|
@@ -14,5 +14,6 @@ let specialComp = {
|
|
|
14
14
|
'exploration-user': (resolve) => { require(['./pc/ExplorationUser'], resolve) },
|
|
15
15
|
'exploration-select': (resolve) => { require(['./pc/ExplorationSelect'], resolve) },
|
|
16
16
|
'supervisory-service-control': (resolve) => { require(['./pc/SupervisoryServiceControl'], resolve) },
|
|
17
|
+
'pc-add-logs': (resolve) => { require(['./pc/PcAddLogs'], resolve) }
|
|
17
18
|
}
|
|
18
19
|
exports.specialComp = specialComp
|
|
@@ -1,114 +1,114 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<style id="printChargeStyle">
|
|
3
|
-
td{
|
|
4
|
-
height: 30px;
|
|
5
|
-
width: 12.5%;
|
|
6
|
-
}
|
|
7
|
-
table{
|
|
8
|
-
margin: auto;
|
|
9
|
-
border-collapse:collapse;
|
|
10
|
-
border: none;
|
|
11
|
-
}
|
|
12
|
-
h1,h2,h3,h4,h5,h6 {
|
|
13
|
-
text-align: center;
|
|
14
|
-
}
|
|
15
|
-
</style>
|
|
16
|
-
<div style="margin-bottom: 20px">
|
|
17
|
-
<span style="font-size: 20px">{{ charge.f_payment_term }}预览</span>
|
|
18
|
-
</div>
|
|
19
|
-
<div id="printCharge">
|
|
20
|
-
<table >
|
|
21
|
-
<tr>
|
|
22
|
-
<td v-for="index in 8"></td>
|
|
23
|
-
</tr>
|
|
24
|
-
<tr>
|
|
25
|
-
<td v-for="index in 8"></td>
|
|
26
|
-
</tr>
|
|
27
|
-
<tr>
|
|
28
|
-
<td></td>
|
|
29
|
-
<td colspan="2">{{selectdata.f_userinfo_code}}</td>
|
|
30
|
-
<td colspan="3">{{ getdate() }}</td>
|
|
31
|
-
<td colspan="2"></td>
|
|
32
|
-
</tr>
|
|
33
|
-
<tr>
|
|
34
|
-
<td></td>
|
|
35
|
-
<td colspan="2">{{selectdata.f_user_name}}</td>
|
|
36
|
-
<td colspan="2">协议单号</td>
|
|
37
|
-
<td colspan="3">{{selectdata.
|
|
38
|
-
</tr>
|
|
39
|
-
<tr>
|
|
40
|
-
<td></td>
|
|
41
|
-
<td colspan="7">{{selectdata.f_address}}</td>
|
|
42
|
-
</tr>
|
|
43
|
-
<tr>
|
|
44
|
-
</tr>
|
|
45
|
-
<tr>
|
|
46
|
-
<td></td>
|
|
47
|
-
<td colspan="2">收费明细</td>
|
|
48
|
-
<td colspan="3">{{ charge.f_payment_term }}</td>
|
|
49
|
-
<td colspan="2">{{ charge.f_charge_money }}</td>
|
|
50
|
-
</tr>
|
|
51
|
-
<tr>
|
|
52
|
-
<td></td>
|
|
53
|
-
<td>合计</td>
|
|
54
|
-
<td colspan="2">{{ charge.f_charge_money }}</td>
|
|
55
|
-
<td colspan="2">{{ charge.f_amount_words }}</td>
|
|
56
|
-
<td rowspan="2" colspan="2"></td>
|
|
57
|
-
</tr>
|
|
58
|
-
<tr>
|
|
59
|
-
<td></td>
|
|
60
|
-
</tr>
|
|
61
|
-
<tr>
|
|
62
|
-
<td></td>
|
|
63
|
-
<td colspan="5">湖南鸿达燃气有限公司</td>
|
|
64
|
-
</tr>
|
|
65
|
-
<tr>
|
|
66
|
-
<td></td>
|
|
67
|
-
</tr>
|
|
68
|
-
<tr>
|
|
69
|
-
<td v-for="index in 4"></td>
|
|
70
|
-
<td colspan="2">{{ charge.f_charge_collectors }}</td>
|
|
71
|
-
<td v-for="index in 2"></td>
|
|
72
|
-
</tr>
|
|
73
|
-
<tr>
|
|
74
|
-
<td colspan="8"></td>
|
|
75
|
-
</tr>
|
|
76
|
-
</table>
|
|
77
|
-
</div>
|
|
78
|
-
<div style="margin-top: 20px">
|
|
79
|
-
<span :style="billnum.isOk?'color: blue;font-weight: bold':'color: red;font-weight: bold'">{{billnum.msg}}</span>
|
|
80
|
-
</div>
|
|
81
|
-
<print-element v-show="false" type="PRINT" v-ref:print id='printCharge' styleid='printChargeStyle'
|
|
82
|
-
top='20' left='30' width='100%' height='100%'>
|
|
83
|
-
</print-element>
|
|
84
|
-
</template>
|
|
85
|
-
|
|
86
|
-
<script>
|
|
87
|
-
import { toStandardTimeString } from '../../../components/Util'
|
|
88
|
-
import {HttpResetClass} from 'vue-client'
|
|
89
|
-
export default {
|
|
90
|
-
title: '打印收费票据',
|
|
91
|
-
props: ['selectdata', 'charge', 'billnum'],
|
|
92
|
-
data () {
|
|
93
|
-
return {
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
ready () {
|
|
97
|
-
},
|
|
98
|
-
methods: {
|
|
99
|
-
// 获取当前时间 格式 2023-07-09 23:59:59
|
|
100
|
-
getdate () {
|
|
101
|
-
return toStandardTimeString()
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
computed: {
|
|
105
|
-
orgs () {
|
|
106
|
-
return this.$login.f.orgs
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
</script>
|
|
111
|
-
|
|
112
|
-
<style scoped>
|
|
113
|
-
|
|
114
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<style id="printChargeStyle">
|
|
3
|
+
td{
|
|
4
|
+
height: 30px;
|
|
5
|
+
width: 12.5%;
|
|
6
|
+
}
|
|
7
|
+
table{
|
|
8
|
+
margin: auto;
|
|
9
|
+
border-collapse:collapse;
|
|
10
|
+
border: none;
|
|
11
|
+
}
|
|
12
|
+
h1,h2,h3,h4,h5,h6 {
|
|
13
|
+
text-align: center;
|
|
14
|
+
}
|
|
15
|
+
</style>
|
|
16
|
+
<div style="margin-bottom: 20px">
|
|
17
|
+
<span style="font-size: 20px">{{ charge.f_payment_term }}预览</span>
|
|
18
|
+
</div>
|
|
19
|
+
<div id="printCharge">
|
|
20
|
+
<table >
|
|
21
|
+
<tr>
|
|
22
|
+
<td v-for="index in 8"></td>
|
|
23
|
+
</tr>
|
|
24
|
+
<tr>
|
|
25
|
+
<td v-for="index in 8"></td>
|
|
26
|
+
</tr>
|
|
27
|
+
<tr>
|
|
28
|
+
<td></td>
|
|
29
|
+
<td colspan="2">{{selectdata.f_userinfo_code}}</td>
|
|
30
|
+
<td colspan="3">{{ getdate() }}</td>
|
|
31
|
+
<td colspan="2"></td>
|
|
32
|
+
</tr>
|
|
33
|
+
<tr>
|
|
34
|
+
<td></td>
|
|
35
|
+
<td colspan="2">{{selectdata.f_user_name}}</td>
|
|
36
|
+
<td colspan="2">协议单号</td>
|
|
37
|
+
<td colspan="3">{{selectdata.f_contract_number}}</td>
|
|
38
|
+
</tr>
|
|
39
|
+
<tr>
|
|
40
|
+
<td></td>
|
|
41
|
+
<td colspan="7">{{selectdata.f_address}}</td>
|
|
42
|
+
</tr>
|
|
43
|
+
<tr>
|
|
44
|
+
</tr>
|
|
45
|
+
<tr>
|
|
46
|
+
<td></td>
|
|
47
|
+
<td colspan="2">收费明细</td>
|
|
48
|
+
<td colspan="3">{{ charge.f_payment_term }}</td>
|
|
49
|
+
<td colspan="2">{{ charge.f_charge_money }}</td>
|
|
50
|
+
</tr>
|
|
51
|
+
<tr>
|
|
52
|
+
<td></td>
|
|
53
|
+
<td>合计</td>
|
|
54
|
+
<td colspan="2">{{ charge.f_charge_money }}</td>
|
|
55
|
+
<td colspan="2">{{ charge.f_amount_words }}</td>
|
|
56
|
+
<td rowspan="2" colspan="2"></td>
|
|
57
|
+
</tr>
|
|
58
|
+
<tr>
|
|
59
|
+
<td></td>
|
|
60
|
+
</tr>
|
|
61
|
+
<tr>
|
|
62
|
+
<td></td>
|
|
63
|
+
<td colspan="5">湖南鸿达燃气有限公司</td>
|
|
64
|
+
</tr>
|
|
65
|
+
<tr>
|
|
66
|
+
<td></td>
|
|
67
|
+
</tr>
|
|
68
|
+
<tr>
|
|
69
|
+
<td v-for="index in 4"></td>
|
|
70
|
+
<td colspan="2">{{ charge.f_charge_collectors }}</td>
|
|
71
|
+
<td v-for="index in 2"></td>
|
|
72
|
+
</tr>
|
|
73
|
+
<tr>
|
|
74
|
+
<td colspan="8"></td>
|
|
75
|
+
</tr>
|
|
76
|
+
</table>
|
|
77
|
+
</div>
|
|
78
|
+
<div style="margin-top: 20px">
|
|
79
|
+
<span :style="billnum.isOk?'color: blue;font-weight: bold':'color: red;font-weight: bold'">{{billnum.msg}}</span>
|
|
80
|
+
</div>
|
|
81
|
+
<print-element v-show="false" type="PRINT" v-ref:print id='printCharge' styleid='printChargeStyle'
|
|
82
|
+
top='20' left='30' width='100%' height='100%'>
|
|
83
|
+
</print-element>
|
|
84
|
+
</template>
|
|
85
|
+
|
|
86
|
+
<script>
|
|
87
|
+
import { toStandardTimeString } from '../../../components/Util'
|
|
88
|
+
import {HttpResetClass} from 'vue-client'
|
|
89
|
+
export default {
|
|
90
|
+
title: '打印收费票据',
|
|
91
|
+
props: ['selectdata', 'charge', 'billnum'],
|
|
92
|
+
data () {
|
|
93
|
+
return {
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
ready () {
|
|
97
|
+
},
|
|
98
|
+
methods: {
|
|
99
|
+
// 获取当前时间 格式 2023-07-09 23:59:59
|
|
100
|
+
getdate () {
|
|
101
|
+
return toStandardTimeString()
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
computed: {
|
|
105
|
+
orgs () {
|
|
106
|
+
return this.$login.f.orgs
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
</script>
|
|
111
|
+
|
|
112
|
+
<style scoped>
|
|
113
|
+
|
|
114
|
+
</style>
|