apply-clients 3.3.207 → 3.3.212

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "3.3.207",
3
+ "version": "3.3.212",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -49,7 +49,7 @@ export default {
49
49
 
50
50
  let data = {
51
51
  tablename: 't_files',
52
- condition: `id = '${this.id}' order by f_uploaddate desc `
52
+ condition: `f_blobid = '${this.blobid}' order by f_uploaddate desc`
53
53
  }
54
54
  let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`, {data: data}, {
55
55
  // let res = await http.load('POST', `rs/sql/singleTable`, {data: data}, {
@@ -65,6 +65,7 @@ export default {
65
65
 
66
66
  this.fileList = res.data
67
67
  },
68
+
68
69
  delfile (file, index) {
69
70
  this.$resetdelete(`${this.$androidUtil.getProxyUrl()}/rs/entity/t_files`, {id: file.id}, {resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
70
71
  this.$dispatch("delResid", file.id)
Binary file
@@ -1,74 +1,73 @@
1
- <template>
2
-
3
- <div style="margin-left: 50%;margin-top: 10px"> <button class="btn btn-primary"@click.prevent="showPrintModal()">打印告知单</button> </div>
4
-
5
- <modal :show.sync="showQuery">
6
- <header slot="modal-header" class="modal-header">
7
- <h3 style="color:black" class="modal-title">告知单打印</h3>
8
- </header>
9
- <article slot="modal-body" class="modal-body">
10
- <div id="printi">
11
- <h3> </h3><br>
12
- <h3 style="margin-left: 22%">{{selectdata.f_apply_type}}天然气用户用气安装标准</h3>
13
- {{{ model.data }}}
14
- </div>
15
-
16
- </article>
17
-
18
- <footer slot="modal-footer" class="modal-footer">
19
- <print-element v-ref:print v-show="false" id='printi' styleid='style'
20
- top='10' left='60' width='100%' height='100%'>
21
- </print-element>
22
- <button type="button" class="btn btn-primary" @click="print()">打印</button>
23
- </footer>
24
-
25
- </modal>
26
-
27
-
28
- </template>
29
-
30
- <script>
31
- import Vue from 'vue'
32
- import {HttpResetClass} from 'vue-client'
33
- export default {
34
- title: '打印任务单',
35
- props:{
36
- selectdata: {
37
- type :Object
38
- }
39
- },
40
-
41
- data () {
42
- return {
43
- showQuery: false,
44
- model: '',
45
- showPrint: false,
46
- }
47
- },
48
- methods: {
49
-
50
- // 获取页面配置json文件
51
- async loadName () {
52
- let http = new HttpResetClass()
53
- let response = await http.load('POST', 'rs/report/inform', {data: {bid:this.$parent.data.f_process_id}},{resolveMsg: null, rejectMsg: null})
54
- this.model=response
55
- console.log('-------------',this.model)
56
- },
57
- async showPrintModal () {
58
- this.showQuery=! this.showQuery
59
- console.log('-------------',this.selectdata)
60
- await this.loadName()
61
- }
62
- , print () {
63
- this.$refs.print.PrintTable()
64
- },
65
- closeModal () {
66
- this.showPrint = false
67
- }
68
- }
69
- }
70
- </script>
71
-
72
- <style scoped>
73
-
74
- </style>
1
+ <template>
2
+ <div style="margin-left: 50%;margin-top: 10px"> <button class="btn btn-primary"@click.prevent="showPrintModal()">打印告知单</button> </div>
3
+
4
+ <modal :show.sync="showQuery">
5
+ <header slot="modal-header" class="modal-header">
6
+ <h3 style="color:black" class="modal-title">告知单打印</h3>
7
+ </header>
8
+ <article slot="modal-body" class="modal-body">
9
+ <div id="printi">
10
+ <br>
11
+ <font style="text-align: center; margin-left:5px ;font-style: normal;font-size: 30px">{{selectdata.f_apply_type}}天然气用户用气安装标准告知</font>
12
+ {{{ model.data }}}
13
+ </div>
14
+
15
+ </article>
16
+
17
+ <footer slot="modal-footer" class="modal-footer">
18
+ <print-element v-ref:print v-show="false" id='printi' styleid='style1'
19
+ top='10' left='60' width='100%' height='100%'>
20
+ </print-element>
21
+ <button type="button" class="btn btn-primary" @click="print()">打印</button>
22
+ </footer>
23
+
24
+ </modal>
25
+
26
+
27
+ </template>
28
+
29
+ <script>
30
+ import Vue from 'vue'
31
+ import {HttpResetClass} from 'vue-client'
32
+ export default {
33
+ title: '打印任务单',
34
+ props:{
35
+ selectdata: {
36
+ type :Object
37
+ }
38
+ },
39
+
40
+ data () {
41
+ return {
42
+ showQuery: false,
43
+ model: '',
44
+ showPrint: false,
45
+ }
46
+ },
47
+ methods: {
48
+
49
+ // 获取页面配置json文件
50
+ async loadName () {
51
+ let http = new HttpResetClass()
52
+ let response = await http.load('POST', 'rs/report/inform', {data: {bid:this.$parent.data.f_process_id}},{resolveMsg: null, rejectMsg: null})
53
+ this.model=response
54
+ console.log('-------------',this.model)
55
+ },
56
+ async showPrintModal () {
57
+ this.showQuery=! this.showQuery
58
+ console.log('-------------',this.selectdata)
59
+ await this.loadName()
60
+ }
61
+ , print () {
62
+ this.$refs.print.PrintTable()
63
+ },
64
+ closeModal () {
65
+ this.showPrint = false
66
+ }
67
+ }
68
+ }
69
+ </script>
70
+
71
+ <style scoped>
72
+
73
+ </style>