apply-clients 5.0.35-ezhou-25-5 → 5.0.35-ezhou-25-6

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": "5.0.35-ezhou-25-5",
3
+ "version": "5.0.35-ezhou-25-6",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -0,0 +1,153 @@
1
+ <template>
2
+ <criteria-paged :model="model" v-ref:cp>
3
+ <criteria partial='criteria' @condition-changed='search' v-ref:cri>
4
+ <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
5
+ <div class="row">
6
+ <div class="form-group col-sm-3">
7
+ <label class="font_normal_body">节点发起人:</label>
8
+ <input type="text" style="width:60%" class="input_search" v-model="model.act_sender"
9
+ v-on:keyup.enter="$parent.$parent.search()" condition="act.sender like '%{}%'" placeholder='节点发起人'>
10
+ </div>
11
+ <div class="form-group col-sm-3">
12
+ <label for="startDate" class="font_normal_body">开始时间:</label>
13
+ <datepicker id="startDate" placeholder="开始日期"
14
+ style="width: 60%!important;"
15
+ v-model="model.startDate"
16
+ :value.sync="model.startDate"
17
+ :format="'yyyy-MM-dd 00:00:00'"
18
+ :show-reset-button="true"
19
+ condition="act.sendtime >= '{}'">
20
+ </datepicker>
21
+ </div>
22
+
23
+ <div class="form-group col-sm-3">
24
+ <label for="endDate" class="font_normal_body">结束时间:</label>
25
+ <datepicker id="endDate" placeholder="结束日期"
26
+ style="width: 60%!important;"
27
+ v-model="model.endDate"
28
+ :value.sync="model.endDate"
29
+ :format="'yyyy-MM-dd 23:59:59'"
30
+ :show-reset-button="true"
31
+ condition="act.sendtime <= '{}'">
32
+ </datepicker>
33
+ </div>
34
+ <div class="form-group col-sm-3 button-range">
35
+ <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
36
+ <button class="button_search button_spacing" @click="$parent.$parent.loadPage()">返回</button>
37
+ <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
38
+ <div
39
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
40
+ @click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
41
+ class="button_spacing"
42
+ style="float: right">
43
+ </div>
44
+ </div>
45
+ </div>
46
+ <div class="row" v-show="$parent.$parent.criteriaShow">
47
+ <div class="form-group col-sm-3">
48
+ <label class="font_normal_body">工程编号:</label>
49
+ <input type="text" style="width:60%" class="input_search" placeholder='工程编号' v-model="model.f_apply_num"
50
+ v-on:keyup.enter="$parent.$parent.search()"
51
+ condition="u.f_apply_num = '{}'">
52
+ </div>
53
+ <div class="form-group col-sm-3">
54
+ <label class="font_normal_body">办理环节:</label>
55
+ <v-select
56
+ v-model="model.defname"
57
+ placeholder='办理环节'
58
+ condition="act.defname = '{}'"
59
+ :value.sync="model.defname"
60
+ :options='$parent.$parent.defnames'
61
+ class="select select_list"
62
+ :value-single="true"
63
+ close-on-select ></v-select>
64
+ </div>
65
+ </div>
66
+ </div>
67
+ </criteria>
68
+ <data-grid :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
69
+ <template partial='head'>
70
+ <tr>
71
+ <th style="white-space: nowrap;">序号</th>
72
+ <th style="white-space: nowrap;">工程编号</th>
73
+ <th style="white-space: nowrap;">报建日期</th>
74
+ <th style="white-space: nowrap;">流程状态</th>
75
+ <th style="white-space: nowrap;">办理环节</th>
76
+ <th style="white-space: nowrap;">节点发起人</th>
77
+ <th style="white-space: nowrap;">节点发起日期</th>
78
+ <th style="white-space: nowrap;">结点状态</th>
79
+ </tr>
80
+ </template>
81
+ <template partial='body'>
82
+ <tr >
83
+ <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'', row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
84
+ <nobr><font>{{$index+1}}</font></nobr>
85
+ </td>
86
+ <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
87
+ <nobr><font>{{row.f_apply_num}}</font></nobr>
88
+ </td>
89
+ <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
90
+ <nobr><font>{{row.f_apply_date}}</font></nobr>
91
+ </td>
92
+ <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
93
+ <nobr><font>{{row.f_sub_state}}</font></nobr>
94
+ </td>
95
+ <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
96
+ <nobr><font>{{row.defname}}</font></nobr>
97
+ </td>
98
+ <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
99
+ <nobr><font>{{row.sender}}</font></nobr>
100
+ </td>
101
+ <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
102
+ <nobr><font>{{row.sendtime}}</font></nobr>
103
+ </td>
104
+ <td :class="[ row.isover ==='过期' ? 'p1' : row.isbeforeover === '预期提醒'? 'p':'' , row.f_back_reason ? 'back-style':'' ]" style="text-align: center;">
105
+ <nobr><font>{{row.state}}</font></nobr>
106
+ </td>
107
+ </tr>
108
+ </template>
109
+ </data-grid>
110
+ </criteria-paged>
111
+ </template>
112
+ <script>
113
+ import {HttpResetClass, PagedList} from 'vue-client'
114
+ import {getNowDate, isEmpty, toStandardDateString} from '../../../components/Util'
115
+ export default {
116
+ title: '工程明细',
117
+ data () {
118
+ return {
119
+ model: new PagedList('rs/sql/report7',20, {
120
+ }),
121
+ criteriaShow: false,
122
+ defnames: [{label: '全部', value: ''},
123
+ {label: '踏勘', value: '踏勘'},
124
+ {label: '施工', value: '施工'},
125
+ {label: '施工验收', value: '施工验收'},
126
+ {label: '通气转单', value: '通气转单'}]
127
+ }
128
+ },
129
+ ready () {
130
+ this.$refs.cp.$refs.cri.model.startDate =toStandardDateString() + ' 00:00:00'
131
+ this.$refs.cp.$refs.cri.model.endDate =toStandardDateString() + ' 23:59:59'
132
+ // 调用查询
133
+ this.$refs.cp.$refs.cri.search()
134
+ },
135
+ methods: {
136
+ // 清空
137
+ clear () {
138
+ Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
139
+ this.$refs.cp.$refs.cri.model[key] = []
140
+ })
141
+ },
142
+ // 查询
143
+ search () {
144
+ this.$refs.cp.$refs.cri.search()
145
+ },
146
+ },
147
+ computed: {
148
+ }
149
+ }
150
+ </script>
151
+
152
+ <style scoped>
153
+ </style>