apply-clients 6.0.6 → 6.0.7

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.
@@ -1,77 +1,77 @@
1
- <template>
2
- <div class="auto">
3
- <partial-view v-ref:pv>
4
- <!-- <div class="row"> -->
5
- <!-- <label class = " col-sm-3 control-label">用户姓名:</label> -->
6
- <!-- <span style="padding:0" class = " col-sm-3">{{model[0].f_user_name}}</span> -->
7
- <!-- <label class = "col-sm-3 control-label">操作人:</label>
8
- <span class = "col-sm-3">{{model.f_operator}}</span> -->
9
- <!-- </div> -->
10
- <table class="table table-bordered table-condensed self-table" id="table" >
11
- <!-- <tr>
12
- <td><b>享受减免账户</b></td>
13
- <td>{{data.f_user_name}}</td>
14
- </tr> -->
15
- <tr>
16
- <td><b>减免科目</b></td>
17
- <td>{{model.f_subject}}</td>
18
- </tr>
19
- <tr>
20
- <td><b>减免金额</b></td>
21
- <td>{{model.f_fee}}</td>
22
- </tr>
23
- <tr>
24
- <td><b>审核领导</b></td>
25
- <td>{{model.f_leader}}</td>
26
- </tr>
27
- <tr>
28
- <td><b>操作日期</b></td>
29
- <td>{{model.f_date}}</td>
30
- </tr>
31
- </table>
32
-
33
- </partial-view>
34
- </div>
35
- </template>
36
-
37
- <script>
38
- import Table from '../../../../Table'
39
- export default {
40
- title: '报建费用减免',
41
- props: ['data'],
42
- data () {
43
- return {
44
- model: {}
45
- }
46
- },
47
- ready () {
48
- console.log('dadddddddddddddddddddddreduce', this.data)
49
- let sql = 'singleTable_OrderBy'
50
- let condition = {
51
- items: '*',
52
- tablename: 't_costreduction',
53
- condition: 'id = ' + this.data.id,
54
- orderitem: 'id'
55
- }
56
- this.$info(`加载数据中..., sql:${sql}`)
57
- this.$refs.pv.load('rs/sql/singleTable', {data:condition}).then((a) => {
58
- this.$info(`成功获取到数据!, data:${JSON.stringify(a.data)}`)
59
- this.model = a.data
60
- console.log('1111111model', this.model)
61
- console.log('1111111data', a.data)
62
- }).catch((error) => {
63
- if (error.status) {
64
- this.$warn(`加载数据出错, ${JSON.stringify(error)}`)
65
- return
66
- }
67
- throw error
68
- })
69
- },
70
- methods: {
71
- // 获取表中字段对应的中文名
72
- getValue (key) {
73
- return Table.data[key]
74
- }
75
- }
76
- }
77
- </script>
1
+ <template>
2
+ <div class="auto">
3
+ <partial-view v-ref:pv>
4
+ <!-- <div class="row"> -->
5
+ <!-- <label class = " col-sm-3 control-label">用户姓名:</label> -->
6
+ <!-- <span style="padding:0" class = " col-sm-3">{{model[0].f_user_name}}</span> -->
7
+ <!-- <label class = "col-sm-3 control-label">操作人:</label>
8
+ <span class = "col-sm-3">{{model.f_operator}}</span> -->
9
+ <!-- </div> -->
10
+ <table class="table table-bordered table-condensed self-table" id="table" >
11
+ <!-- <tr>
12
+ <td><b>享受减免账户</b></td>
13
+ <td>{{data.f_user_name}}</td>
14
+ </tr> -->
15
+ <tr>
16
+ <td><b>减免科目</b></td>
17
+ <td>{{model.f_subject}}</td>
18
+ </tr>
19
+ <tr>
20
+ <td><b>减免金额</b></td>
21
+ <td>{{model.f_fee}}</td>
22
+ </tr>
23
+ <tr>
24
+ <td><b>审核领导</b></td>
25
+ <td>{{model.f_leader}}</td>
26
+ </tr>
27
+ <tr>
28
+ <td><b>操作日期</b></td>
29
+ <td>{{model.f_date}}</td>
30
+ </tr>
31
+ </table>
32
+
33
+ </partial-view>
34
+ </div>
35
+ </template>
36
+
37
+ <script>
38
+ import Table from '../../../../Table'
39
+ export default {
40
+ title: '报建费用减免',
41
+ props: ['data'],
42
+ data () {
43
+ return {
44
+ model: {}
45
+ }
46
+ },
47
+ ready () {
48
+ console.log('dadddddddddddddddddddddreduce', this.data)
49
+ let sql = 'singleTable_OrderBy'
50
+ let condition = {
51
+ items: '*',
52
+ tablename: 't_costreduction',
53
+ condition: 'id = ' + this.data.id,
54
+ orderitem: 'id'
55
+ }
56
+ this.$info(`加载数据中..., sql:${sql}`)
57
+ this.$resetpost('rs/sql/singleTable', {data:condition}).then((a) => {
58
+ this.$info(`成功获取到数据!, data:${JSON.stringify(a.data)}`)
59
+ this.model = a.data
60
+ console.log('1111111model', this.model)
61
+ console.log('1111111data', a.data)
62
+ }).catch((error) => {
63
+ if (error.status) {
64
+ this.$warn(`加载数据出错, ${JSON.stringify(error)}`)
65
+ return
66
+ }
67
+ throw error
68
+ })
69
+ },
70
+ methods: {
71
+ // 获取表中字段对应的中文名
72
+ getValue (key) {
73
+ return Table.data[key]
74
+ }
75
+ }
76
+ }
77
+ </script>
@@ -1,70 +1,70 @@
1
- <template>
2
- <div class="auto">
3
- <partial-view v-ref:pv>
4
-
5
- <table class="table table-bordered table-condensed self-table" id="table" >
6
- <!-- <tr>
7
- <td><b>享受减免账户</b></td>
8
- <td>{{data.f_user_name}}</td>
9
- </tr> -->
10
- <tr>
11
- <td><b>终止原因</b></td>
12
- <td>{{model.f_stop_remarks}}</td>
13
- </tr>
14
-
15
- <tr>
16
- <td><b>操作人</b></td>
17
- <td>{{model.f_operator}}</td>
18
- </tr>
19
- <tr>
20
- <td><b>操作部门</b></td>
21
- <td>{{model.f_department}}</td>
22
- </tr>
23
- <tr>
24
- <td><b>操作日期</b></td>
25
- <td>{{model.f_date}}</td>
26
- </tr>
27
- </table>
28
-
29
- </partial-view>
30
- </div>
31
- </template>
32
-
33
- <script>
34
- import Table from '../../../../Table'
35
- export default {
36
- title: '终止报建详情',
37
- props: ['data'],
38
- data () {
39
- return {
40
- model: {}
41
- }
42
- },
43
- ready () {
44
- let sql = 'singleTable_OrderBy'
45
- let condition = {
46
- items: '*',
47
- tablename: 't_stopapply',
48
- condition: 'id = ' + this.data.id,
49
- orderitem: 'id'
50
- }
51
- this.$info(`加载数据中..., sql:${sql}`)
52
- this.$refs.pv.load('rs/logic/getOneData', {data: {sql: sql, params: condition}}).then((a) => {
53
- this.$info(`成功获取到数据!, data:${JSON.stringify(a.data)}`)
54
- this.model = a.data
55
- }).catch((error) => {
56
- if (error.status) {
57
- this.$warn(`加载数据出错, ${JSON.stringify(error)}`)
58
- return
59
- }
60
- throw error
61
- })
62
- },
63
- methods: {
64
- // 获取表中字段对应的中文名
65
- getValue (key) {
66
- return Table.data[key]
67
- }
68
- }
69
- }
70
- </script>
1
+ <template>
2
+ <div class="auto">
3
+ <partial-view v-ref:pv>
4
+
5
+ <table class="table table-bordered table-condensed self-table" id="table" >
6
+ <!-- <tr>
7
+ <td><b>享受减免账户</b></td>
8
+ <td>{{data.f_user_name}}</td>
9
+ </tr> -->
10
+ <tr>
11
+ <td><b>终止原因</b></td>
12
+ <td>{{model.f_stop_remarks}}</td>
13
+ </tr>
14
+
15
+ <tr>
16
+ <td><b>操作人</b></td>
17
+ <td>{{model.f_operator}}</td>
18
+ </tr>
19
+ <tr>
20
+ <td><b>操作部门</b></td>
21
+ <td>{{model.f_department}}</td>
22
+ </tr>
23
+ <tr>
24
+ <td><b>操作日期</b></td>
25
+ <td>{{model.f_date}}</td>
26
+ </tr>
27
+ </table>
28
+
29
+ </partial-view>
30
+ </div>
31
+ </template>
32
+
33
+ <script>
34
+ import Table from '../../../../Table'
35
+ export default {
36
+ title: '终止报建详情',
37
+ props: ['data'],
38
+ data () {
39
+ return {
40
+ model: {}
41
+ }
42
+ },
43
+ ready () {
44
+ let sql = 'singleTable_OrderBy'
45
+ let condition = {
46
+ items: '*',
47
+ tablename: 't_stopapply',
48
+ condition: 'id = ' + this.data.id,
49
+ orderitem: 'id'
50
+ }
51
+ this.$info(`加载数据中..., sql:${sql}`)
52
+ this.$resetpost('rs/logic/getOneData', {data: {sql: sql, params: condition}}).then((a) => {
53
+ this.$info(`成功获取到数据!, data:${JSON.stringify(a.data)}`)
54
+ this.model = a.data
55
+ }).catch((error) => {
56
+ if (error.status) {
57
+ this.$warn(`加载数据出错, ${JSON.stringify(error)}`)
58
+ return
59
+ }
60
+ throw error
61
+ })
62
+ },
63
+ methods: {
64
+ // 获取表中字段对应的中文名
65
+ getValue (key) {
66
+ return Table.data[key]
67
+ }
68
+ }
69
+ }
70
+ </script>