正在显示
17 个修改的文件
包含
4226 行增加
和
0 行删除
App.vue
0 → 100644
1 | +<script> | ||
2 | + export default { | ||
3 | + onLaunch: function() { | ||
4 | + console.log('App Launch') | ||
5 | + // plus.screen.lockOrientation('portrait-primary'); | ||
6 | + }, | ||
7 | + onShow: function() { | ||
8 | + | ||
9 | + console.log('App Show') | ||
10 | + }, | ||
11 | + onHide: function() { | ||
12 | + console.log('App Hide') | ||
13 | + }, | ||
14 | + | ||
15 | + post: function(url, data,method) { | ||
16 | + | ||
17 | + // (showLoad == undefined || showLoad) ? | ||
18 | + // wx.showLoading({ | ||
19 | + // title: '加载中', | ||
20 | + // }) : '' | ||
21 | + // wx.showNavigationBarLoading() | ||
22 | + var promise = new Promise((resolve, reject) => { | ||
23 | + //init | ||
24 | + let that = this, | ||
25 | + token = uni.getStorageSync('token'), | ||
26 | + header = { | ||
27 | + token: token || '' | ||
28 | + }, | ||
29 | + postData; | ||
30 | + | ||
31 | + // console.log(token,"token") | ||
32 | + //网络请求 | ||
33 | + uni.request({ | ||
34 | + url: this.globalData.baseUrl + url, | ||
35 | + data: data, | ||
36 | + method: method, | ||
37 | + header: header, | ||
38 | + success: function(res) { | ||
39 | + // console.log(res)//返回取得的数据 | ||
40 | + // console.log(res) | ||
41 | + if (res.statusCode == 200) { | ||
42 | + resolve(res); | ||
43 | + } else { | ||
44 | + // uni.showToast({ | ||
45 | + // title: res.data.msg, | ||
46 | + // icon: 'none', | ||
47 | + // }) | ||
48 | + reject(res.data) | ||
49 | + // if (res.data.code == '401') {} | ||
50 | + } | ||
51 | + // (showLoad || showLoad == undefined) ? wx.hideLoading(): ""; | ||
52 | + // wx.hideNavigationBarLoading() | ||
53 | + }, | ||
54 | + fail: function(e) { | ||
55 | + console.log(e) | ||
56 | + reject('网络出错'); | ||
57 | + // (showLoad || showLoad == undefined) ? wx.hideLoading() : ""; | ||
58 | + wx.hideNavigationBarLoading() | ||
59 | + }, | ||
60 | + complete: function(daa) { | ||
61 | + // console.log(daa) | ||
62 | + } | ||
63 | + }) | ||
64 | + }); | ||
65 | + return promise; | ||
66 | + }, | ||
67 | + | ||
68 | + | ||
69 | + | ||
70 | + | ||
71 | + globalData: { | ||
72 | + userInfo: null, | ||
73 | + // baseUrl: 'http://icrgangjuren.w.brotop.cn/' | ||
74 | + // baseUrl:'http://39.105.61.115:1912/api/' | ||
75 | + baseUrl:'https://www.bjzha.net/api/' | ||
76 | + } | ||
77 | + | ||
78 | + } | ||
79 | +</script> | ||
80 | + | ||
81 | +<style> | ||
82 | + /*每个页面公共css */ | ||
83 | + .register { | ||
84 | + width: 100%; | ||
85 | + height: 100%; | ||
86 | + background-color: rgba(0, 0, 0, 0.5); | ||
87 | + position: fixed; | ||
88 | + top: 0; | ||
89 | + left: 0; | ||
90 | + right: 0; | ||
91 | + z-index: 5; | ||
92 | + /* display:none */ | ||
93 | + } | ||
94 | + .taizhangwrap{ | ||
95 | + width:750rpx; | ||
96 | + height:664rpx; | ||
97 | + background: #fff; | ||
98 | + position: absolute; | ||
99 | + top:0rpx; | ||
100 | + left:0; | ||
101 | + padding: 0 32rpx; | ||
102 | + box-sizing: border-box; | ||
103 | + } | ||
104 | + .zibot{ | ||
105 | + display:flex; | ||
106 | + align-items: center; | ||
107 | + justify-content: center; | ||
108 | + margin:100rpx; | ||
109 | + | ||
110 | + } | ||
111 | + .reset{ | ||
112 | + width:200rpx; | ||
113 | + height:64rpx; | ||
114 | + background:rgba(232,80,0,1); | ||
115 | + opacity:1; | ||
116 | + border-radius:8rpx; | ||
117 | + color:#fff; | ||
118 | + font-size: 24rpx; | ||
119 | + text-align: center; | ||
120 | + line-height: 64rpx; | ||
121 | + margin-right:24rpx; | ||
122 | + } | ||
123 | + | ||
124 | + .nodata{ | ||
125 | + color:#999; | ||
126 | + font-size: 32rpx; | ||
127 | + text-align: center; | ||
128 | + margin-top:200rpx; | ||
129 | + } | ||
130 | + | ||
131 | + /* 评审类型 */ | ||
132 | + .wrapitem { | ||
133 | + display: flex; | ||
134 | + align-items: center; | ||
135 | + margin-top: 40rpx; | ||
136 | + } | ||
137 | + | ||
138 | + .wrapitemleft { | ||
139 | + width: 120rpx; | ||
140 | + } | ||
141 | + | ||
142 | + .wrapitemleft { | ||
143 | + color: #06121E; | ||
144 | + font-size: 28rpx | ||
145 | + } | ||
146 | + | ||
147 | + .wrapitemright { | ||
148 | + width: 544rpx; | ||
149 | + height: 76rpx; | ||
150 | + background: rgba(238, 238, 238, 1); | ||
151 | + opacity: 1; | ||
152 | + border-radius: 8rpx; | ||
153 | + margin-left: 18rpx; | ||
154 | + display: flex; | ||
155 | + align-items: center; | ||
156 | + padding: 20rpx; | ||
157 | + box-sizing: border-box; | ||
158 | + } | ||
159 | + | ||
160 | + .wrapitemright input { | ||
161 | + width: 100%; | ||
162 | + color: #8C9198; | ||
163 | + font-size: 28rpx; | ||
164 | + } | ||
165 | + | ||
166 | + .nianduright { | ||
167 | + width: 14rpx; | ||
168 | + height: 22rpx; | ||
169 | + font-size: 0; | ||
170 | + } | ||
171 | + | ||
172 | + .nianduleft { | ||
173 | + width: 500rpx; | ||
174 | + | ||
175 | + } | ||
176 | + | ||
177 | + .nianduright image { | ||
178 | + width: 100%; | ||
179 | + height: 100%; | ||
180 | + } | ||
181 | + | ||
182 | + .time { | ||
183 | + display: flex; | ||
184 | + align-items: center; | ||
185 | + margin-left: 18rpx; | ||
186 | + } | ||
187 | + | ||
188 | + .timeleft { | ||
189 | + width: 232rpx; | ||
190 | + height: 76rpx; | ||
191 | + background: rgba(238, 238, 238, 1); | ||
192 | + opacity: 1; | ||
193 | + border-radius: 8rpx; | ||
194 | + padding: 15rpx 20rpx; | ||
195 | + box-sizing: border-box; | ||
196 | + color: #8C9198; | ||
197 | + font-size: 28rpx; | ||
198 | + | ||
199 | + } | ||
200 | + | ||
201 | + .timeleft input { | ||
202 | + width: 100%; | ||
203 | + color: #8C9198; | ||
204 | + fotn-size: 28rpx; | ||
205 | + } | ||
206 | + | ||
207 | + .timemiddle { | ||
208 | + width: 39rpx; | ||
209 | + background: rgba(189, 196, 206, 1); | ||
210 | + border: 1rpx solid rgba(189, 196, 206, 1); | ||
211 | + opacity: 1; | ||
212 | + margin: 0 20rpx; | ||
213 | + } | ||
214 | + | ||
215 | + .chaxun { | ||
216 | + width: 200rpx; | ||
217 | + height: 64rpx; | ||
218 | + background: rgba(0, 147, 255, 1); | ||
219 | + opacity: 1; | ||
220 | + border-radius: 8rpx; | ||
221 | + color: #F9F9F9; | ||
222 | + font-size: 24rpx; | ||
223 | + text-align: center; | ||
224 | + line-height: 64rpx; | ||
225 | + | ||
226 | + } | ||
227 | + | ||
228 | + .projectname { | ||
229 | + color: #8C9198; | ||
230 | + font-size: 28rpx; | ||
231 | + } | ||
232 | + .detailname{ | ||
233 | + color:#0093FF; | ||
234 | + font-size: 24rpx; | ||
235 | + margin-left:20rpx; | ||
236 | + } | ||
237 | + .headleft input{ | ||
238 | + width:100%; | ||
239 | + height:100%; | ||
240 | + } | ||
241 | + | ||
242 | + .tabfooter{ | ||
243 | + display:flex; | ||
244 | + align-items: center; | ||
245 | + justify-content: space-between; | ||
246 | + position:fixed; | ||
247 | + height:110rpx; | ||
248 | + width:750rpx; | ||
249 | + bottom:0; | ||
250 | + left:0; | ||
251 | + padding: 14rpx 48rpx; | ||
252 | + box-sizing: border-box; | ||
253 | + background: #fff; | ||
254 | + border-top:1rpx solid #F5F5F5; | ||
255 | + } | ||
256 | + .tabfooteritem{ | ||
257 | + width:200rpx; | ||
258 | + display:flex; | ||
259 | + flex-direction: column; | ||
260 | + align-items: center; | ||
261 | + justify-content: center; | ||
262 | + } | ||
263 | + .tabfooteritemimg{ | ||
264 | + width:45rpx; | ||
265 | + height:48rpx; | ||
266 | + font-size: 0; | ||
267 | + } | ||
268 | + .tabfooteritemimg image{ | ||
269 | + width:100%; | ||
270 | + height:100%; | ||
271 | + } | ||
272 | + .tabfooteritemtop{ | ||
273 | + width:100rpx; | ||
274 | + color:#BDC4CE; | ||
275 | + font-size: 22rpx; | ||
276 | + text-align: center; | ||
277 | + } | ||
278 | + .tabfooteritemtopactive{ | ||
279 | + color:#2E85ED | ||
280 | + } | ||
281 | +</style> |
comment/index.css
0 → 100644
1 | + | ||
2 | +page{ | ||
3 | + background: #F9F9F9; | ||
4 | + } | ||
5 | + .head{ | ||
6 | + display:flex; | ||
7 | + align-items: center; | ||
8 | + background: #fff; | ||
9 | + box-sizing: border-box; | ||
10 | + position: fixed; | ||
11 | + top:0; | ||
12 | + left:0 | ||
13 | + } | ||
14 | + .headitem{ | ||
15 | + color:#3D444D; | ||
16 | + font-size: 28rpx; | ||
17 | + width:250rpx; | ||
18 | + text-align: center; | ||
19 | + padding: 28rpx 0; | ||
20 | + box-sizing: border-box; | ||
21 | + border-bottom: 1rpx solid #fff; | ||
22 | + } | ||
23 | + .selactive{ | ||
24 | + color:#0093FF; | ||
25 | + font-size: 28rpx; | ||
26 | + border-bottom: 1rpx solid #0093FF; | ||
27 | + } | ||
28 | + .daibanlist{ | ||
29 | + padding: 0 32rpx; | ||
30 | + box-sizing: border-box; | ||
31 | + margin-top:100rpx; | ||
32 | + padding-bottom: 50rpx; | ||
33 | + margin-bottom: 150rpx; | ||
34 | + } | ||
35 | + .daibanlistitem{ | ||
36 | + padding:32rpx 0; | ||
37 | + box-sizing: border-box; | ||
38 | + border-bottom: 1rpx solid #EEEEEE; | ||
39 | + } | ||
40 | + .daibanlsis{ | ||
41 | + color:#3D444D; | ||
42 | + font-size: 24rpx; | ||
43 | + } | ||
44 | + .daibanm{ | ||
45 | + display:flex; | ||
46 | + align-items: center; | ||
47 | + justify-content: flex-end; | ||
48 | + /* margin-top:12rpx; */ | ||
49 | + } | ||
50 | + .daibanmleft{ | ||
51 | + color:#3D444D; | ||
52 | + font-size: 28rpx; | ||
53 | + font-weight: bold; | ||
54 | + } | ||
55 | + .daibanmright{ | ||
56 | + color:#0093FF; | ||
57 | + font-size: 24rpx; | ||
58 | + } | ||
59 | + .daibanbottom{ | ||
60 | + color:#3D444D; | ||
61 | + font-size: 24rpx; | ||
62 | + margin-top:12rpx; | ||
63 | + letter-spacing: 2rpx; | ||
64 | + } | ||
65 | + .yidu{ | ||
66 | + color:#BDC4CE; | ||
67 | + font-size: 24rpx; | ||
68 | + } | ||
69 | + | ||
70 | + | ||
71 | + | ||
72 | + | ||
73 | + | ||
74 | +.datetop{ | ||
75 | + display:flex; | ||
76 | + align-items: center; | ||
77 | + justify-content: space-between; | ||
78 | +} | ||
79 | + | ||
80 | + | ||
81 | + | ||
82 | + | ||
83 | + | ||
84 | + | ||
85 | + | ||
86 | + | ||
87 | + | ||
88 | + | ||
89 | + | ||
90 | + | ||
91 | + | ||
92 | + | ||
93 | + | ||
94 | + | ||
95 | + | ||
96 | + | ||
97 | + | ||
98 | + | ||
99 | + | ||
100 | + | ||
101 | + | ||
102 | + | ||
103 | + | ||
104 | + | ||
105 | + | ||
106 | + | ||
107 | + | ||
108 | + | ||
109 | + | ||
110 | + | ||
111 | + | ||
112 | + | ||
113 | + |
common/checker.js
0 → 100644
1 | +module.exports = { | ||
2 | + error:'', | ||
3 | + isJSON : function (str){ | ||
4 | + if (typeof str == 'string') { | ||
5 | + try { | ||
6 | + var obj=JSON.parse(str); | ||
7 | + if(typeof obj == 'object' && obj ){ | ||
8 | + return true; | ||
9 | + }else{ | ||
10 | + return false; | ||
11 | + } | ||
12 | + } catch(e) { | ||
13 | + console.log('error:'+str+'!!!'+e); | ||
14 | + return false; | ||
15 | + } | ||
16 | + } | ||
17 | + }, | ||
18 | + isNumber : function (checkVal){ | ||
19 | + var reg = /^-?[1-9][0-9]?.?[0-9]*$/; | ||
20 | + return reg.test(checkVal); | ||
21 | + }, | ||
22 | + | ||
23 | +} |
common/help.js
0 → 100644
1 | +const change= function(num) { | ||
2 | + var result = ''; | ||
3 | + var counter = 0; | ||
4 | + num = (num || 0).toString(); | ||
5 | + for (var i = num.length - 1; i >= 0; i--) { | ||
6 | + counter++; | ||
7 | + result = num.charAt(i) + result; | ||
8 | + if (!(counter % 3) && i != 0) { | ||
9 | + result = ',' + result | ||
10 | + } | ||
11 | + } | ||
12 | + | ||
13 | + return result | ||
14 | +}; | ||
15 | + | ||
16 | +export default { | ||
17 | + change | ||
18 | +} |
components/u-charts.js
0 → 100644
此 diff 太大无法显示。
main.js
0 → 100644
manifest.json
0 → 100644
1 | +{ | ||
2 | + "name" : "touzimanager", | ||
3 | + "appid" : "__UNI__83059CA", | ||
4 | + "description" : "", | ||
5 | + "versionName" : "1.0.0", | ||
6 | + "versionCode" : "100", | ||
7 | + "transformPx" : false, | ||
8 | + /* 5+App特有相关 */ | ||
9 | + "app-plus" : { | ||
10 | + "usingComponents" : true, | ||
11 | + "nvueCompiler" : "uni-app", | ||
12 | + "compilerVersion" : 3, | ||
13 | + "splashscreen" : { | ||
14 | + "alwaysShowBeforeRender" : true, | ||
15 | + "waiting" : true, | ||
16 | + "autoclose" : true, | ||
17 | + "delay" : 0 | ||
18 | + }, | ||
19 | + /* 模块配置 */ | ||
20 | + "modules" : {}, | ||
21 | + /* 应用发布信息 */ | ||
22 | + "distribute" : { | ||
23 | + /* android打包配置 */ | ||
24 | + "android" : { | ||
25 | + "permissions" : [ | ||
26 | + "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>", | ||
27 | + "<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>", | ||
28 | + "<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>", | ||
29 | + "<uses-permission android:name=\"android.permission.VIBRATE\"/>", | ||
30 | + "<uses-permission android:name=\"android.permission.READ_LOGS\"/>", | ||
31 | + "<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>", | ||
32 | + "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>", | ||
33 | + "<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>", | ||
34 | + "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>", | ||
35 | + "<uses-permission android:name=\"android.permission.CAMERA\"/>", | ||
36 | + "<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>", | ||
37 | + "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>", | ||
38 | + "<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>", | ||
39 | + "<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>", | ||
40 | + "<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>", | ||
41 | + "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>", | ||
42 | + "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>", | ||
43 | + "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>", | ||
44 | + "<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>", | ||
45 | + "<uses-feature android:name=\"android.hardware.camera\"/>", | ||
46 | + "<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>", | ||
47 | + "<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>" | ||
48 | + ] | ||
49 | + }, | ||
50 | + /* ios打包配置 */ | ||
51 | + "ios" : {}, | ||
52 | + /* SDK配置 */ | ||
53 | + "sdkConfigs" : {} | ||
54 | + } | ||
55 | + }, | ||
56 | + /* 快应用特有相关 */ | ||
57 | + "quickapp" : {}, | ||
58 | + /* 小程序特有相关 */ | ||
59 | + "mp-weixin" : { | ||
60 | + "appid" : "wxf7da30b9dfb07870", | ||
61 | + "setting" : { | ||
62 | + "urlCheck" : false, | ||
63 | + "minified" : true | ||
64 | + }, | ||
65 | + "usingComponents" : true | ||
66 | + }, | ||
67 | + "mp-alipay" : { | ||
68 | + "usingComponents" : true | ||
69 | + }, | ||
70 | + "mp-baidu" : { | ||
71 | + "usingComponents" : true | ||
72 | + }, | ||
73 | + "mp-toutiao" : { | ||
74 | + "usingComponents" : true | ||
75 | + } | ||
76 | +} |
pages.json
0 → 100644
1 | +{ | ||
2 | + "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages | ||
3 | + { | ||
4 | + "path": "pages/index/index", | ||
5 | + "style": { | ||
6 | + "navigationStyle":"custom" | ||
7 | + | ||
8 | + } | ||
9 | + }, | ||
10 | + { | ||
11 | + "path": "pages/daiban/daiban", | ||
12 | + "style": { | ||
13 | + "navigationBarTitleText": "投资项目评审管理平台", | ||
14 | + "navigationBarBackgroundColor": "#0093FF", | ||
15 | + "navigationBarTextStyle": "white" | ||
16 | + } | ||
17 | + }, | ||
18 | + | ||
19 | + | ||
20 | + { | ||
21 | + "path": "pages/yinsi/yinsi", | ||
22 | + "style": { | ||
23 | + "navigationBarTitleText": "隐私协议", | ||
24 | + | ||
25 | + "navigationBarTextStyle": "black", | ||
26 | + "app-plus": { | ||
27 | + "titleNView": { | ||
28 | + "titleSize": "12" | ||
29 | + | ||
30 | + } | ||
31 | + } | ||
32 | + } | ||
33 | + }, | ||
34 | + | ||
35 | + | ||
36 | + | ||
37 | + | ||
38 | + { | ||
39 | + "path": "pages/zhugauntaidetail/zhugauntaidetail", | ||
40 | + "style": { | ||
41 | + "navigationBarTitleText": "项目组台账", | ||
42 | + "navigationBarBackgroundColor": "#0093FF", | ||
43 | + "navigationBarTextStyle": "white", | ||
44 | + "app-plus": { | ||
45 | + "titleNView": { | ||
46 | + "titleSize": "12" | ||
47 | + | ||
48 | + | ||
49 | + } | ||
50 | + } | ||
51 | + } | ||
52 | + }, | ||
53 | + | ||
54 | + | ||
55 | + { | ||
56 | + "path": "pages/zhuanjiahuidetail/zhuanjiahuidetail", | ||
57 | + "style": { | ||
58 | + "navigationBarTitleText": "专家分类台账明细", | ||
59 | + "navigationBarBackgroundColor": "#0093FF", | ||
60 | + "navigationBarTextStyle": "white", | ||
61 | + "app-plus": { | ||
62 | + "titleNView": { | ||
63 | + "titleSize": "12", | ||
64 | + "buttons": [{ | ||
65 | + "float": "right", | ||
66 | + "fontSize": "12", | ||
67 | + "text": "筛选" | ||
68 | + }] | ||
69 | + | ||
70 | + } | ||
71 | + } | ||
72 | + } | ||
73 | + }, | ||
74 | + | ||
75 | + | ||
76 | + | ||
77 | + | ||
78 | + { | ||
79 | + "path": "pages/xiangmuleixinghuidetail/xiangmuleixinghuidetail", | ||
80 | + "style": { | ||
81 | + "navigationBarTitleText": "项目类型分类台账明细", | ||
82 | + "navigationBarBackgroundColor": "#0093FF", | ||
83 | + "navigationBarTextStyle": "white", | ||
84 | + "app-plus": { | ||
85 | + "titleNView": { | ||
86 | + "titleSize": "12", | ||
87 | + "buttons": [{ | ||
88 | + "float": "right", | ||
89 | + "fontSize": "12", | ||
90 | + "text": "筛选" | ||
91 | + }] | ||
92 | + | ||
93 | + } | ||
94 | + } | ||
95 | + } | ||
96 | + }, | ||
97 | + | ||
98 | + | ||
99 | + { | ||
100 | + "path": "pages/songshenjinedetail/songshenjinedetail", | ||
101 | + "style": { | ||
102 | + "navigationBarTitleText": "送审金额分类台账明细", | ||
103 | + "navigationBarBackgroundColor": "#0093FF", | ||
104 | + "navigationBarTextStyle": "white", | ||
105 | + "app-plus": { | ||
106 | + "titleNView": { | ||
107 | + "titleSize": "12", | ||
108 | + "buttons": [{ | ||
109 | + "float": "right", | ||
110 | + "fontSize": "12", | ||
111 | + "text": "筛选" | ||
112 | + }] | ||
113 | + | ||
114 | + } | ||
115 | + } | ||
116 | + } | ||
117 | + }, | ||
118 | + | ||
119 | + | ||
120 | + { | ||
121 | + "path": "pages/shenjianhuidetail/shenjianhuidetail", | ||
122 | + "style": { | ||
123 | + "navigationBarTitleText": "审减率分类台账明细", | ||
124 | + "navigationBarBackgroundColor": "#0093FF", | ||
125 | + "navigationBarTextStyle": "white", | ||
126 | + "app-plus": { | ||
127 | + "titleNView": { | ||
128 | + "titleSize": "12", | ||
129 | + "buttons": [{ | ||
130 | + "float": "right", | ||
131 | + "fontSize": "12", | ||
132 | + "text": "筛选" | ||
133 | + }] | ||
134 | + | ||
135 | + } | ||
136 | + } | ||
137 | + } | ||
138 | + }, | ||
139 | + | ||
140 | + | ||
141 | + { | ||
142 | + "path": "pages/zixundanweihuitail/zixundanweihuidetail", | ||
143 | + "style": { | ||
144 | + "navigationBarTitleText": "咨询单位分类台账明细", | ||
145 | + "navigationBarBackgroundColor": "#0093FF", | ||
146 | + "navigationBarTextStyle": "white", | ||
147 | + "app-plus": { | ||
148 | + "titleNView": { | ||
149 | + "titleSize": "12", | ||
150 | + "buttons": [{ | ||
151 | + "float": "right", | ||
152 | + "fontSize": "12", | ||
153 | + "text": "筛选" | ||
154 | + }] | ||
155 | + | ||
156 | + } | ||
157 | + } | ||
158 | + } | ||
159 | + }, | ||
160 | + | ||
161 | + { | ||
162 | + "path": "pages/zhuanjiahui/zhuanjiahui", | ||
163 | + "style": { | ||
164 | + "navigationBarTitleText": "专家分类台帐", | ||
165 | + "navigationBarBackgroundColor": "#0093FF", | ||
166 | + "navigationBarTextStyle": "white", | ||
167 | + "app-plus": { | ||
168 | + "titleNView": { | ||
169 | + "titleSize": "12", | ||
170 | + "buttons": [{ | ||
171 | + "float": "right", | ||
172 | + "fontSize": "12", | ||
173 | + "text": "筛选" | ||
174 | + }] | ||
175 | + | ||
176 | + } | ||
177 | + } | ||
178 | + } | ||
179 | + }, | ||
180 | + | ||
181 | + | ||
182 | + { | ||
183 | + "path": "pages/xiangmuleixinghui/xiangmuleixinghui", | ||
184 | + "style": { | ||
185 | + "navigationBarTitleText": "项目类型分类汇总", | ||
186 | + "navigationBarBackgroundColor": "#0093FF", | ||
187 | + "navigationBarTextStyle": "white", | ||
188 | + "app-plus": { | ||
189 | + "titleNView": { | ||
190 | + "titleSize": "12", | ||
191 | + "buttons": [{ | ||
192 | + "float": "right", | ||
193 | + "fontSize": "12", | ||
194 | + "text": "筛选" | ||
195 | + }] | ||
196 | + | ||
197 | + } | ||
198 | + } | ||
199 | + } | ||
200 | + }, | ||
201 | + | ||
202 | + | ||
203 | + { | ||
204 | + "path": "pages/songshenjine/songshenjine", | ||
205 | + "style": { | ||
206 | + "navigationBarTitleText": "送审金额分类汇总", | ||
207 | + "navigationBarBackgroundColor": "#0093FF", | ||
208 | + "navigationBarTextStyle": "white", | ||
209 | + "app-plus": { | ||
210 | + "titleNView": { | ||
211 | + "titleSize": "12", | ||
212 | + "buttons": [{ | ||
213 | + "float": "right", | ||
214 | + "fontSize": "12", | ||
215 | + "text": "筛选" | ||
216 | + }] | ||
217 | + | ||
218 | + } | ||
219 | + } | ||
220 | + } | ||
221 | + }, | ||
222 | + | ||
223 | + { | ||
224 | + "path": "pages/shenjianhuizong/shenjianhuizong", | ||
225 | + "style": { | ||
226 | + "navigationBarTitleText": "审减率分类汇总", | ||
227 | + "navigationBarBackgroundColor": "#0093FF", | ||
228 | + "navigationBarTextStyle": "white", | ||
229 | + "app-plus": { | ||
230 | + "titleNView": { | ||
231 | + "titleSize": "12", | ||
232 | + "buttons": [{ | ||
233 | + "float": "right", | ||
234 | + "fontSize": "12", | ||
235 | + "text": "筛选" | ||
236 | + }] | ||
237 | + | ||
238 | + } | ||
239 | + } | ||
240 | + } | ||
241 | + }, | ||
242 | + | ||
243 | + | ||
244 | + { | ||
245 | + "path": "pages/xiangmuzutaizhang/xiangmuzutaizhang", | ||
246 | + "style": { | ||
247 | + "navigationBarTitleText": "项目组台账", | ||
248 | + "navigationBarBackgroundColor": "#0093FF", | ||
249 | + "navigationBarTextStyle": "white", | ||
250 | + "app-plus": { | ||
251 | + "titleNView": { | ||
252 | + "titleSize": "12", | ||
253 | + "buttons": [{ | ||
254 | + "float": "right", | ||
255 | + "fontSize": "12", | ||
256 | + "text": "筛选" | ||
257 | + }] | ||
258 | + | ||
259 | + } | ||
260 | + } | ||
261 | + } | ||
262 | + }, | ||
263 | + | ||
264 | + { | ||
265 | + "path": "pages/zhuguantaizhang/zhugauntaizhang", | ||
266 | + "style": { | ||
267 | + "navigationBarTitleText": "主管部门台账", | ||
268 | + "navigationBarBackgroundColor": "#0093FF", | ||
269 | + "navigationBarTextStyle": "white", | ||
270 | + "app-plus": { | ||
271 | + "titleNView": { | ||
272 | + "titleSize": "12", | ||
273 | + "buttons": [{ | ||
274 | + "float": "right", | ||
275 | + "fontSize": "12", | ||
276 | + "text": "筛选" | ||
277 | + }] | ||
278 | + | ||
279 | + } | ||
280 | + } | ||
281 | + } | ||
282 | + }, | ||
283 | + { | ||
284 | + "path": "pages/yusuantaidetail/yusuantaidetail", | ||
285 | + "style": { | ||
286 | + "navigationBarTitleText": "预算项目台账", | ||
287 | + "navigationBarBackgroundColor": "#0093FF", | ||
288 | + "navigationBarTextStyle": "white", | ||
289 | + "app-plus": { | ||
290 | + "titleNView": { | ||
291 | + "titleSize": "12" | ||
292 | + | ||
293 | + } | ||
294 | + } | ||
295 | + } | ||
296 | + }, | ||
297 | + { | ||
298 | + "path": "pages/yusuantaizhang/yusuantaizhang", | ||
299 | + "style": { | ||
300 | + "navigationBarTitleText": "预算项目台账", | ||
301 | + "navigationBarBackgroundColor": "#0093FF", | ||
302 | + "navigationBarTextStyle": "white", | ||
303 | + "app-plus": { | ||
304 | + "titleNView": { | ||
305 | + "titleSize": "12", | ||
306 | + "buttons": [{ | ||
307 | + "float": "right", | ||
308 | + "fontSize": "12", | ||
309 | + "text": "筛选" | ||
310 | + }] | ||
311 | + } | ||
312 | + } | ||
313 | + } | ||
314 | + }, | ||
315 | + | ||
316 | + | ||
317 | + | ||
318 | + | ||
319 | + { | ||
320 | + "path": "pages/danweitaizhang/danweitaizhang", | ||
321 | + "style": { | ||
322 | + "navigationBarTitleText": "咨询单位分类台帐", | ||
323 | + "navigationBarBackgroundColor": "#0093FF", | ||
324 | + "navigationBarTextStyle": "white", | ||
325 | + "app-plus": { | ||
326 | + "titleNView": { | ||
327 | + "titleSize": "12" | ||
328 | + } | ||
329 | + } | ||
330 | + } | ||
331 | + }, | ||
332 | + { | ||
333 | + "path": "pages/xiangmutaizhang/xiangmutaizhang", | ||
334 | + "style": { | ||
335 | + "navigationBarTitleText": "项目台帐", | ||
336 | + "navigationBarBackgroundColor": "#0093FF", | ||
337 | + "navigationBarTextStyle": "white", | ||
338 | + "app-plus": { | ||
339 | + "titleNView": { | ||
340 | + "titleSize": "12", | ||
341 | + "buttons": [{ | ||
342 | + "float": "right", | ||
343 | + "fontSize": "12", | ||
344 | + "text": "筛选" | ||
345 | + }] | ||
346 | + } | ||
347 | + } | ||
348 | + } | ||
349 | + }, | ||
350 | + | ||
351 | + { | ||
352 | + "path": "pages/zixundanweihuizong/zixundanweihuizong", | ||
353 | + "style": { | ||
354 | + "navigationBarTitleText": "咨询单位分类台帐", | ||
355 | + "navigationBarBackgroundColor": "#0093FF", | ||
356 | + "navigationBarTextStyle": "white", | ||
357 | + "app-plus": { | ||
358 | + "titleNView": { | ||
359 | + "titleSize": "12", | ||
360 | + "buttons": [{ | ||
361 | + "float": "right", | ||
362 | + "fontSize": "12", | ||
363 | + "text": "筛选" | ||
364 | + }] | ||
365 | + | ||
366 | + } | ||
367 | + } | ||
368 | + } | ||
369 | + }, | ||
370 | + | ||
371 | + | ||
372 | + { | ||
373 | + "path": "pages/tubiao/tubiao", | ||
374 | + "style": { | ||
375 | + "navigationBarTitleText": "项目趋势台帐", | ||
376 | + "navigationBarBackgroundColor": "#0093FF", | ||
377 | + "navigationBarTextStyle": "white", | ||
378 | + "app-plus": { | ||
379 | + "titleNView": { | ||
380 | + "titleSize": "12" | ||
381 | + } | ||
382 | + } | ||
383 | + } | ||
384 | + }, | ||
385 | + | ||
386 | + | ||
387 | + { | ||
388 | + "path": "pages/xiangmuprogress/xiangmuprogress", | ||
389 | + // "navigationStyle": "custom" | ||
390 | + "style": { | ||
391 | + "navigationBarTitleText": "项目在审过程表", | ||
392 | + "navigationBarBackgroundColor": "#0093FF", | ||
393 | + "navigationBarTextStyle": "white", | ||
394 | + "app-plus": { | ||
395 | + "titleNView": { | ||
396 | + "titleSize": "12" | ||
397 | + } | ||
398 | + } | ||
399 | + } | ||
400 | + | ||
401 | + }, | ||
402 | + | ||
403 | + { | ||
404 | + "path": "pages/jieduantaizhang/jieduantaizhang", | ||
405 | + "style": { | ||
406 | + "navigationBarTitleText": "项目组台账", | ||
407 | + "navigationBarBackgroundColor": "#0093FF", | ||
408 | + "navigationBarTextStyle": "white", | ||
409 | + "app-plus": { | ||
410 | + "titleNView": { | ||
411 | + "titleSize": "12" | ||
412 | + | ||
413 | + } | ||
414 | + } | ||
415 | + } | ||
416 | + }, | ||
417 | + | ||
418 | + | ||
419 | + | ||
420 | + | ||
421 | + { | ||
422 | + "path": "pages/zhuanjiafenpeisec/zhuanjiafenpeisec", | ||
423 | + "style": { | ||
424 | + "navigationBarTitleText": "专家分配", | ||
425 | + "navigationBarBackgroundColor": "#0093FF", | ||
426 | + "navigationBarTextStyle": "white", | ||
427 | + "app-plus": { | ||
428 | + "titleNView": { | ||
429 | + "titleSize": "12" | ||
430 | + | ||
431 | + } | ||
432 | + } | ||
433 | + } | ||
434 | + }, | ||
435 | + | ||
436 | + { | ||
437 | + "path": "pages/zhuanjiafenpei/zhuanjiafenpei", | ||
438 | + "style": { | ||
439 | + "navigationBarTitleText": "专家分配", | ||
440 | + "navigationBarBackgroundColor": "#0093FF", | ||
441 | + "navigationBarTextStyle": "white", | ||
442 | + "app-plus": { | ||
443 | + "titleNView": { | ||
444 | + "titleSize": "12" | ||
445 | + | ||
446 | + } | ||
447 | + } | ||
448 | + } | ||
449 | + }, | ||
450 | + | ||
451 | + { | ||
452 | + "path": "pages/zixundanweifen/zixundanweifen", | ||
453 | + "style": { | ||
454 | + "navigationBarTitleText": "咨询单位分配", | ||
455 | + "navigationBarBackgroundColor": "#0093FF", | ||
456 | + "navigationBarTextStyle": "white", | ||
457 | + "app-plus": { | ||
458 | + "titleNView": { | ||
459 | + "titleSize": "12" | ||
460 | + | ||
461 | + } | ||
462 | + } | ||
463 | + } | ||
464 | + }, | ||
465 | + | ||
466 | + { | ||
467 | + "path": "pages/zixunfenpei/zixunfenpei", | ||
468 | + "style": { | ||
469 | + "navigationBarTitleText": "项目组分配", | ||
470 | + "navigationBarBackgroundColor": "#0093FF", | ||
471 | + "navigationBarTextStyle": "white", | ||
472 | + "app-plus": { | ||
473 | + "titleNView": { | ||
474 | + "titleSize": "12" | ||
475 | + | ||
476 | + } | ||
477 | + } | ||
478 | + } | ||
479 | + }, | ||
480 | + { | ||
481 | + "path": "pages/danweivote/danweivote", | ||
482 | + "style": { | ||
483 | + "navigationBarTitleText": "咨询单位投票日志", | ||
484 | + "navigationBarBackgroundColor": "#0093FF", | ||
485 | + "navigationBarTextStyle": "white", | ||
486 | + "app-plus": { | ||
487 | + "titleNView": { | ||
488 | + "titleSize": "12" | ||
489 | + | ||
490 | + } | ||
491 | + } | ||
492 | + } | ||
493 | + }, | ||
494 | + | ||
495 | + { | ||
496 | + "path": "pages/danweizixun/danweizixun", | ||
497 | + "style": { | ||
498 | + "navigationBarTitleText": "咨询单位分配", | ||
499 | + "navigationBarBackgroundColor": "#0093FF", | ||
500 | + "navigationBarTextStyle": "white", | ||
501 | + "app-plus": { | ||
502 | + "titleNView": { | ||
503 | + "titleSize": "12" | ||
504 | + | ||
505 | + } | ||
506 | + } | ||
507 | + } | ||
508 | + }, | ||
509 | + { | ||
510 | + "path": "pages/zixunfen/zixunfen", | ||
511 | + "style": { | ||
512 | + "navigationBarTitleText": "项目组分配", | ||
513 | + "navigationBarBackgroundColor": "#0093FF", | ||
514 | + "navigationBarTextStyle": "white", | ||
515 | + "app-plus": { | ||
516 | + "titleNView": { | ||
517 | + "titleSize": "12" | ||
518 | + | ||
519 | + } | ||
520 | + } | ||
521 | + } | ||
522 | + }, | ||
523 | + { | ||
524 | + "path": "pages/taizhang/taizhang", | ||
525 | + "style": { | ||
526 | + "navigationBarTitleText": "投资项目评审管理平台", | ||
527 | + "navigationBarBackgroundColor": "#0093FF", | ||
528 | + "navigationBarTextStyle": "white", | ||
529 | + "app-plus": { | ||
530 | + "titleNView": { | ||
531 | + "titleSize": "12" | ||
532 | + | ||
533 | + } | ||
534 | + } | ||
535 | + } | ||
536 | + }, | ||
537 | + | ||
538 | + { | ||
539 | + "path": "pages/guocheng/guocheng", | ||
540 | + | ||
541 | + | ||
542 | + "style": { | ||
543 | + "navigationBarTitleText": "投资项目评审管理平台", | ||
544 | + "navigationBarBackgroundColor": "#0093FF", | ||
545 | + "navigationBarTextStyle": "white", | ||
546 | + "app-plus": { | ||
547 | + "titleNView": { | ||
548 | + "titleSize": "12" | ||
549 | + | ||
550 | + } | ||
551 | + } | ||
552 | + } | ||
553 | + }, | ||
554 | + { | ||
555 | + "path": "pages/renwu/renwu", | ||
556 | + "style": { | ||
557 | + "navigationBarTitleText": "投资项目评审管理平台", | ||
558 | + "navigationBarBackgroundColor": "#0093FF", | ||
559 | + "navigationBarTextStyle": "white", | ||
560 | + "app-plus": { | ||
561 | + "titleNView": { | ||
562 | + "titleSize": "12" | ||
563 | + } | ||
564 | + } | ||
565 | + } | ||
566 | + } | ||
567 | + | ||
568 | + ], | ||
569 | + | ||
570 | + "globalStyle": { | ||
571 | + "navigationBarTextStyle": "black", | ||
572 | + "navigationBarTitleText": "uni-app", | ||
573 | + "navigationBarBackgroundColor": "#F8F8F8", | ||
574 | + "backgroundColor": "#F8F8F8" | ||
575 | + } | ||
576 | +} |
pages/daiban/daiban.vue
0 → 100644
1 | +<template> | ||
2 | + <view class="box"> | ||
3 | + | ||
4 | + <view class="head"> | ||
5 | + | ||
6 | + <view class="headitem" :class="sel==0?'selactive':''" @click="xuanze" data-index="0">待办任务</view> | ||
7 | + <view class="headitem" :class="sel==1?'selactive':''" @click="xuanze" data-index="1">已办任务</view> | ||
8 | + <view class="headitem" :class="sel==2?'selactive':''" @click="xuanze" data-index="2">全部任务</view> | ||
9 | + </view> | ||
10 | + | ||
11 | + | ||
12 | + <view > | ||
13 | + <view class="nodata" v-if="daibanlist.length==0">暂无数据</view> | ||
14 | + | ||
15 | + <view class="daibanlist" v-else> | ||
16 | + <view class="daibanlistitem" v-for="(item,index) in daibanlist" :key="index" @click="govoice" :data-id="item.fprojectid" | ||
17 | + :data-disid="item.fdisid" :data-item="item"> | ||
18 | + <view class="datetop"> | ||
19 | + <view class="daibanlsis">{{item.fcreatedate}}</view> | ||
20 | + <view class="daibanm"> | ||
21 | + <!-- <view class="daibanmleft">任务编号:{{item.fid}}</view> --> | ||
22 | + <view class="daibanmright" v-if="item.ftmstatus==0">待办</view> | ||
23 | + <view class="daibanmright yidu" v-else>已办</view> | ||
24 | + </view> | ||
25 | + </view> | ||
26 | + <!-- <view class="daibanm"> | ||
27 | + <view class="daibanmright" v-if="item.ftmstatus==0">待办</view> | ||
28 | + <view class="daibanmright yidu" v-else>已办</view> | ||
29 | + </view> --> | ||
30 | + <view class="daibanbottom">{{item.ftitle}}</view> | ||
31 | + </view> | ||
32 | + <!-- <view class="daibanlistitem"> | ||
33 | + <view class="daibanlsis">2019.10.10 10:10:25</view> | ||
34 | + <view class="daibanm"> | ||
35 | + <view class="daibanmleft">任务编号:No.0000000166</view> | ||
36 | + <view class="daibanmright">未读</view> | ||
37 | + </view> | ||
38 | + <view class="daibanbottom">项目分配</view> | ||
39 | + </view> | ||
40 | + <view class="daibanlistitem"> | ||
41 | + <view class="daibanlsis">2019.10.10 10:10:25</view> | ||
42 | + <view class="daibanm"> | ||
43 | + <view class="daibanmleft">任务编号:No.0000000166</view> | ||
44 | + <view class="daibanmright">未读</view> | ||
45 | + </view> | ||
46 | + <view class="daibanbottom">项目分配</view> | ||
47 | + </view> | ||
48 | + <view class="daibanlistitem"> | ||
49 | + <view class="daibanlsis">2019.10.10 10:10:25</view> | ||
50 | + <view class="daibanm"> | ||
51 | + <view class="daibanmleft">任务编号:No.0000000166</view> | ||
52 | + <view class="daibanmright yidu">已读</view> | ||
53 | + </view> | ||
54 | + <view class="daibanbottom">项目分配</view> | ||
55 | + </view> | ||
56 | + <view class="daibanlistitem"> | ||
57 | + <view class="daibanlsis">2019.10.10 10:10:25</view> | ||
58 | + <view class="daibanm"> | ||
59 | + <view class="daibanmleft">任务编号:No.0000000166</view> | ||
60 | + <view class="daibanmright yidu">已读</view> | ||
61 | + </view> | ||
62 | + <view class="daibanbottom">项目分配</view> | ||
63 | + </view> | ||
64 | + <view class="daibanlistitem"> | ||
65 | + <view class="daibanlsis">2019.10.10 10:10:25</view> | ||
66 | + <view class="daibanm"> | ||
67 | + <view class="daibanmleft">任务编号:No.0000000166</view> | ||
68 | + <view class="daibanmright yidu">已读</view> | ||
69 | + </view> | ||
70 | + <view class="daibanbottom">项目分配</view> | ||
71 | + </view> | ||
72 | + <view class="daibanlistitem"> | ||
73 | + <view class="daibanlsis">2019.10.10 10:10:25</view> | ||
74 | + <view class="daibanm"> | ||
75 | + <view class="daibanmleft">任务编号:No.0000000166</view> | ||
76 | + <view class="daibanmright yidu">已读</view> | ||
77 | + </view> | ||
78 | + <view class="daibanbottom">项目分配</view> | ||
79 | + </view> | ||
80 | + <view class="daibanlistitem"> --> | ||
81 | + <!-- <view class="daibanlsis">2019.10.10 10:10:25</view> | ||
82 | + <view class="daibanm"> | ||
83 | + <view class="daibanmleft">任务编号:No.0000000166</view> | ||
84 | + <view class="daibanmright yidu">已读</view> | ||
85 | + </view> | ||
86 | + <view class="daibanbottom">项目分配</view> | ||
87 | + </view> --> | ||
88 | + | ||
89 | + </view> | ||
90 | + | ||
91 | + | ||
92 | + </view> | ||
93 | + <view class="tabfooter" > | ||
94 | + <view class="tabfooteritem" v-if="showhide[3].status==0"> | ||
95 | + <view class="tabfooteritemimg" > | ||
96 | + <image src='../../static/img/daibanactive.png'></image> | ||
97 | + </view> | ||
98 | + <view class="tabfooteritemtop tabfooteritemtopactive"> | ||
99 | + 我的任务 | ||
100 | + </view> | ||
101 | + | ||
102 | + </view> | ||
103 | + <view class="tabfooteritem" @click="gocenter" > | ||
104 | + <view class="tabfooteritemimg"> | ||
105 | + <image src='../../static/img/renwu.png'></image> | ||
106 | + </view> | ||
107 | + <view class="tabfooteritemtop"> | ||
108 | + 功能中心 | ||
109 | + </view> | ||
110 | + | ||
111 | + </view> | ||
112 | + </view> | ||
113 | + | ||
114 | + | ||
115 | + </view> | ||
116 | +</template> | ||
117 | + | ||
118 | +<script> | ||
119 | + import app from "../../App.vue"; | ||
120 | + export default { | ||
121 | + data() { | ||
122 | + return { | ||
123 | + sel: 0, | ||
124 | + status: 0, | ||
125 | + daibanlist: [], | ||
126 | + showhide:[] | ||
127 | + } | ||
128 | + }, | ||
129 | + | ||
130 | + | ||
131 | + onshow() { | ||
132 | + | ||
133 | + }, | ||
134 | + | ||
135 | + onNavigationBarButtonTap() { | ||
136 | + // 点击筛选 | ||
137 | + }, | ||
138 | + onResize() { | ||
139 | + // 监听屏幕缩放 | ||
140 | + }, | ||
141 | + methods: { | ||
142 | + xuanze(e) { | ||
143 | + let index = e.currentTarget.dataset.index; | ||
144 | + console.log(index) | ||
145 | + this.sel = index; | ||
146 | + if (index == 0) { | ||
147 | + this.status = 0 | ||
148 | + } else if (index == 1) { | ||
149 | + this.status = 1 | ||
150 | + } else if (index == 2) { | ||
151 | + this.status = 2 | ||
152 | + } | ||
153 | + | ||
154 | + this.getdaibanlist(); | ||
155 | + | ||
156 | + }, | ||
157 | + | ||
158 | + unction(num) { | ||
159 | + var result = '', | ||
160 | + counter = 0; | ||
161 | + num = (num || 0).toString(); | ||
162 | + for (var i = num.length - 1; i >= 0; i--) { | ||
163 | + counter++; | ||
164 | + result = num.charAt(i) + result; | ||
165 | + if (!(counter % 3) && i != 0) { | ||
166 | + result = ',' + result; | ||
167 | + } | ||
168 | + } | ||
169 | + return result; | ||
170 | + }, | ||
171 | + getdaibanlist() { | ||
172 | + let that = this; | ||
173 | + let url = "project/Get_Agencymatters"; | ||
174 | + let Userid = uni.getStorageSync('userid') | ||
175 | + let param = { | ||
176 | + Userid: Userid, | ||
177 | + status: that.status | ||
178 | + }; | ||
179 | + | ||
180 | + console.log('8888',param) | ||
181 | + | ||
182 | + | ||
183 | + app.post(url, param, 'get').then(r => { | ||
184 | + console.log('99988000',JSON.stringify(r.data)) | ||
185 | + | ||
186 | + this.daibanlist = r.data; | ||
187 | + console.log(this.daibanlist) | ||
188 | + let newdaibanlist = this.daibanlist; | ||
189 | + for (var obj of newdaibanlist) { | ||
190 | + obj.fcreatedate = obj.fcreatedate.split("T"); | ||
191 | + obj.fcreatedate = obj.fcreatedate[0] | ||
192 | + } | ||
193 | + this.daibanlist = newdaibanlist; | ||
194 | + | ||
195 | + | ||
196 | + | ||
197 | + | ||
198 | + | ||
199 | + }).catch(err => { | ||
200 | + console.log(err) | ||
201 | + | ||
202 | + }) | ||
203 | + }, | ||
204 | + // 跳到投票详情 | ||
205 | + govoice(e) { | ||
206 | + console.log(e) | ||
207 | + // let disid=e.target.dataset.disid; | ||
208 | + // let item=e.currentTarget.dataset.item; | ||
209 | + // console.log('999',item) | ||
210 | + // let fteamid=item.ftemid; | ||
211 | + // let fprojectid=item.fprojectid; | ||
212 | + // console.log(fprojectid) | ||
213 | + // item=JSON.stringify(item); | ||
214 | + // console.log(item) | ||
215 | + // uni.navigateTo({ | ||
216 | + // url: '../zixundanweifen/zixundanweifen?disid='+disid+'&item='+item+'&fteamid='+fteamid+'&fprojectid='+fprojectid | ||
217 | + // }) | ||
218 | + let id = e.currentTarget.dataset.id; | ||
219 | + let disid = e.currentTarget.dataset.disid | ||
220 | + uni.navigateTo({ | ||
221 | + url: '../zixundanweifen/zixundanweifen?dfprojectid=' + id + '&disid=' + disid | ||
222 | + }) | ||
223 | + }, | ||
224 | + gocenter(){ | ||
225 | + uni.navigateTo({ | ||
226 | + url:'../taizhang/taizhang' | ||
227 | + }) | ||
228 | + }, | ||
229 | + // 是否显示我的任务 | ||
230 | + isshowrenwu(){ | ||
231 | + let that = this; | ||
232 | + let url = "project/Get_Menuhiding"; | ||
233 | + let param = { | ||
234 | + fuserid: uni.getStorageSync("userid"), | ||
235 | + role: uni.getStorageSync("role") | ||
236 | + } | ||
237 | + | ||
238 | + | ||
239 | + app.post(url, param, 'get').then(r => { | ||
240 | + console.log(r) | ||
241 | + this.showhide=r.data | ||
242 | + if(that.showhide[3].status==1){ | ||
243 | + console.log(9090) | ||
244 | + uni.navigateTo({ | ||
245 | + url:'../taizhang/taizhang' | ||
246 | + }) | ||
247 | + } | ||
248 | + // this.daibanlist = r.data; | ||
249 | + // let newdaibanlist = this.daibanlist; | ||
250 | + // for (var obj of newdaibanlist) { | ||
251 | + // obj.fcreatedate = obj.fcreatedate.split("T"); | ||
252 | + // obj.fcreatedate = obj.fcreatedate[0] | ||
253 | + // } | ||
254 | + // this.daibanlist = newdaibanlist | ||
255 | + | ||
256 | + | ||
257 | + }).catch(err => { | ||
258 | + console.log(err) | ||
259 | + | ||
260 | + }) | ||
261 | + } | ||
262 | + | ||
263 | + }, | ||
264 | + onLoad(options) { | ||
265 | + this.getdaibanlist(); | ||
266 | + console.log(988766) | ||
267 | + console.log('转数字', this.unction(452369874)) | ||
268 | + uni.setNavigationBarTitle({ | ||
269 | + title: '投资项目管理平台' + '(' + uni.getStorageSync("name") + ')' | ||
270 | + }); | ||
271 | + | ||
272 | + this.isshowrenwu() | ||
273 | + | ||
274 | + }, | ||
275 | + | ||
276 | + } | ||
277 | +</script> | ||
278 | + | ||
279 | +<style> | ||
280 | + @import url("../../comment/index.css"); | ||
281 | +</style> |
pages/danweitaizhang/danweitaizhang.vue
0 → 100644
1 | +<template> | ||
2 | + <view class="box"> | ||
3 | + <view class="headbox"> | ||
4 | + <view class="headboxleft" :class="selact==1?'headactive':''" @click="fenhui" data-id="1">分类汇总</view> | ||
5 | + <view class="headboxleft" :class="selact==2?'headactive':''" @click="fenhui" data-id="2">分类明细</view> | ||
6 | + </view> | ||
7 | + | ||
8 | + <view class="taizhang"> | ||
9 | + <view class="taizhanghead"> | ||
10 | + <view class="taizhangitem">项目编号</view> | ||
11 | + <view class="taizhangitem">项目名称</view> | ||
12 | + <view class="taizhangitem">操作</view> | ||
13 | + </view> | ||
14 | + <view class="taizhangbox"> | ||
15 | + <view class="taiboxitem"> | ||
16 | + <view class="taizhangleft">2019114004</view> | ||
17 | + <view class="taizhangmiddle">机关服务中心会务处保安 | ||
18 | + 服务项目</view> | ||
19 | + <view class="taizhangright">详情</view> | ||
20 | + </view> | ||
21 | + <view class="taiboxitem"> | ||
22 | + <view class="taizhangleft">2019114004</view> | ||
23 | + <view class="taizhangmiddle">机关服务中心会务处保安 | ||
24 | + 服务项目</view> | ||
25 | + <view class="taizhangright">详情</view> | ||
26 | + </view> | ||
27 | + <view class="taiboxitem"> | ||
28 | + <view class="taizhangleft">2019114004</view> | ||
29 | + <view class="taizhangmiddle">机关服务中心会务处保安 | ||
30 | + 服务项目</view> | ||
31 | + <view class="taizhangright">详情</view> | ||
32 | + </view> | ||
33 | + </view> | ||
34 | + </view> | ||
35 | + | ||
36 | + | ||
37 | + <!-- 底部 --> | ||
38 | + <view class="dibu"> | ||
39 | + <view class="dibuleft"> | ||
40 | + <view class="dibuliteml">上一页</view> | ||
41 | + | ||
42 | + <view class="dibulitemm"> | ||
43 | + <view class="di">第</view> | ||
44 | + <view class="dishu"> | ||
45 | + <input type="number"> | ||
46 | + </view> | ||
47 | + <view class="ye">页</view> | ||
48 | + | ||
49 | + </view> | ||
50 | + <view class="dibulitemx ">下一页</view> | ||
51 | + </view> | ||
52 | + | ||
53 | + <view class="diburight"> | ||
54 | + 共30页 | ||
55 | + </view> | ||
56 | + </view> | ||
57 | + <view class="register" @click="hidefenlei" v-if="showping"> | ||
58 | + <view class="taizhangwrap"> | ||
59 | + | ||
60 | + <view class="wrapbox"> | ||
61 | + <view class="wrapitem"> | ||
62 | + <view class="wrapitemleft">评审类型</view> | ||
63 | + <view class="wrapitemright"> | ||
64 | + <input type="text" /> | ||
65 | + </view> | ||
66 | + </view> | ||
67 | + <view class="wrapitem"> | ||
68 | + <view class="wrapitemleft">项目类型</view> | ||
69 | + <view class="wrapitemright"> | ||
70 | + <input type="text" /> | ||
71 | + </view> | ||
72 | + </view> | ||
73 | + <view class="wrapitem"> | ||
74 | + <view class="wrapitemleft">年度</view> | ||
75 | + <view class="wrapitemright"> | ||
76 | + <view class="nianduleft"> | ||
77 | + <input type="text" /> | ||
78 | + </view> | ||
79 | + <view class="nianduright"> | ||
80 | + <image src="../../static/img/number.png" mode=""></image> | ||
81 | + </view> | ||
82 | + | ||
83 | + </view> | ||
84 | + </view> | ||
85 | + <view class="wrapitem"> | ||
86 | + <view class="wrapitemleft">时间</view> | ||
87 | + <view class="time"> | ||
88 | + <view class="timeleft"> | ||
89 | + <input type="text" placeholder=""> | ||
90 | + </view> | ||
91 | + <view class="timemiddle"></view> | ||
92 | + <view class="timeleft"> | ||
93 | + <input type="text" placeholder=""> | ||
94 | + </view> | ||
95 | + </view> | ||
96 | + </view> | ||
97 | + | ||
98 | + </view> | ||
99 | + <view class="chaxun">查询</view> | ||
100 | + </view> | ||
101 | + </view> | ||
102 | + | ||
103 | + </view> | ||
104 | +</template> | ||
105 | + | ||
106 | +<script> | ||
107 | + export default { | ||
108 | + data() { | ||
109 | + return { | ||
110 | + selact: 1, | ||
111 | + showping:false | ||
112 | + } | ||
113 | + }, | ||
114 | + onLoad() { | ||
115 | + | ||
116 | + }, | ||
117 | + methods: { | ||
118 | + fenhui(e) { | ||
119 | + console.log(e) | ||
120 | + let id = e.currentTarget.dataset.id; | ||
121 | + console.log(id) | ||
122 | + this.selact = id; | ||
123 | + }, | ||
124 | + // 横屏显示 | ||
125 | + screenheng() { | ||
126 | + console.log(999) | ||
127 | + // plus.screen.lockOrientation('landscape-primary'); | ||
128 | + }, | ||
129 | + hidefenlei(){ | ||
130 | + this.showping=false | ||
131 | + } | ||
132 | + }, | ||
133 | + | ||
134 | + } | ||
135 | +</script> | ||
136 | + | ||
137 | +<style> | ||
138 | + .headbox { | ||
139 | + background: #fff; | ||
140 | + height: 100rpx; | ||
141 | + display: flex; | ||
142 | + align-items: center; | ||
143 | + | ||
144 | + | ||
145 | + } | ||
146 | + | ||
147 | + .headboxleft { | ||
148 | + width: 350rpx; | ||
149 | + height: 100rpx; | ||
150 | + line-height: 100rpx; | ||
151 | + text-align: center; | ||
152 | + color: #06121E; | ||
153 | + font-size: 28rpx; | ||
154 | + } | ||
155 | + | ||
156 | + .headactive { | ||
157 | + color: #0093FF; | ||
158 | + border-bottom: 1rpx solid #0093FF; | ||
159 | + } | ||
160 | + | ||
161 | + | ||
162 | + page { | ||
163 | + background: #F9F9F9; | ||
164 | + } | ||
165 | + | ||
166 | + .head { | ||
167 | + display: flex; | ||
168 | + align-items: center; | ||
169 | + padding: 32rpx 0; | ||
170 | + box-sizing: border-box; | ||
171 | + } | ||
172 | + | ||
173 | + .headitem { | ||
174 | + display: flex; | ||
175 | + flex-direction: column; | ||
176 | + justify-content: center; | ||
177 | + align-items: center; | ||
178 | + padding: 0 50rpx; | ||
179 | + box-sizing: border-box; | ||
180 | + border-right: 1rpx solid #BDC4CE; | ||
181 | + } | ||
182 | + | ||
183 | + .headitem:last-child { | ||
184 | + border-right: none | ||
185 | + } | ||
186 | + | ||
187 | + .headitemtop { | ||
188 | + color: #06121E; | ||
189 | + font-size: 28rpx; | ||
190 | + | ||
191 | + } | ||
192 | + | ||
193 | + .headitembot { | ||
194 | + color: #0093FF; | ||
195 | + font-size: 32rpx; | ||
196 | + margin-top: 15rpx; | ||
197 | + } | ||
198 | + | ||
199 | + .taizhangbox { | ||
200 | + padding: 0 34rpx; | ||
201 | + box-sizing: border-box; | ||
202 | + } | ||
203 | + | ||
204 | + .taizhang { | ||
205 | + /* padding: 32rpx; | ||
206 | + box-sizing: border-box; */ | ||
207 | + width: 686rpx; | ||
208 | + margin: 32rpx auto 0; | ||
209 | + background: #fff; | ||
210 | + box-shadow: 0px 6px 6px rgba(0, 0, 0, 0.03); | ||
211 | + opacity: 1; | ||
212 | + border-radius: 20px; | ||
213 | + padding-bottom: 28rpx; | ||
214 | + box-sizing: border-box; | ||
215 | + } | ||
216 | + | ||
217 | + .taizhanghead { | ||
218 | + display: flex; | ||
219 | + align-items: center; | ||
220 | + justify-content: space-between; | ||
221 | + padding: 28rpx 50rpx; | ||
222 | + box-sizing: border-box; | ||
223 | + border-bottom: 1rpx solid #BDC4CE; | ||
224 | + } | ||
225 | + | ||
226 | + .taizhangitem { | ||
227 | + color: #06121E; | ||
228 | + font-size: 28rpx; | ||
229 | + font-weight: bold; | ||
230 | + } | ||
231 | + | ||
232 | + .taiboxitem { | ||
233 | + display: flex; | ||
234 | + align-items: center; | ||
235 | + padding: 20rpx 0; | ||
236 | + box-sizing: border-box; | ||
237 | + border-bottom: 1rpx solid #BDC4CE | ||
238 | + } | ||
239 | + | ||
240 | + .taiboxitem:last-child { | ||
241 | + border-bottom: none | ||
242 | + } | ||
243 | + | ||
244 | + .taizhangleft { | ||
245 | + color: #06121E; | ||
246 | + font-size: 28rpx; | ||
247 | + } | ||
248 | + | ||
249 | + .taizhangmiddle { | ||
250 | + color: #06121E; | ||
251 | + font-size: 28rpx; | ||
252 | + width: 284rpx; | ||
253 | + margin-left: 62rpx; | ||
254 | + line-height: 1.3; | ||
255 | + text-align: center; | ||
256 | + } | ||
257 | + | ||
258 | + .taizhangright { | ||
259 | + color: #0093FF; | ||
260 | + font-size: 28rpx; | ||
261 | + margin-left: 56rpx; | ||
262 | + } | ||
263 | + | ||
264 | + .dibu { | ||
265 | + display: flex; | ||
266 | + align-items: center; | ||
267 | + justify-content: flex-end; | ||
268 | + width: 750rpx; | ||
269 | + height: 104rpx; | ||
270 | + padding: 0 32rpx; | ||
271 | + box-sizing: border-box; | ||
272 | + background: #fff; | ||
273 | + position: fixed; | ||
274 | + bottom: 0; | ||
275 | + left: 0 | ||
276 | + } | ||
277 | + | ||
278 | + .dibuleft { | ||
279 | + display: flex; | ||
280 | + align-items: center; | ||
281 | + margin-right: 72rpx; | ||
282 | + } | ||
283 | + | ||
284 | + .dibulitemm { | ||
285 | + display: flex; | ||
286 | + align-items: center; | ||
287 | + } | ||
288 | + | ||
289 | + .dishu { | ||
290 | + width: 40rpx; | ||
291 | + height: 30rpx; | ||
292 | + border: 1rpx solid #707070; | ||
293 | + border-radius: 4rpx; | ||
294 | + margin: 0 6rpx; | ||
295 | + font-size: 0; | ||
296 | + display: flex; | ||
297 | + align-items: center; | ||
298 | + justify-content: center; | ||
299 | + | ||
300 | + | ||
301 | + } | ||
302 | + | ||
303 | + .dishu input { | ||
304 | + width: 100%; | ||
305 | + height: 30rpx; | ||
306 | + line-height: 30rpx; | ||
307 | + padding: 5rpx 0; | ||
308 | + box-sizing: border-box; | ||
309 | + text-align: center; | ||
310 | + font-size: 26rpx; | ||
311 | + color: #8C9198; | ||
312 | + /* height:20rpx; */ | ||
313 | + | ||
314 | + } | ||
315 | + | ||
316 | + .dibuliteml, | ||
317 | + .di, | ||
318 | + .ye, | ||
319 | + .dibulitemx, | ||
320 | + .diburight { | ||
321 | + color: #06121E; | ||
322 | + font-size: 28rpx; | ||
323 | + } | ||
324 | + | ||
325 | + .dibuliteml { | ||
326 | + margin-right: 36rpx | ||
327 | + } | ||
328 | + | ||
329 | + .dibulitemx { | ||
330 | + margin-left: 36rpx | ||
331 | + } | ||
332 | + | ||
333 | + /* 评审类型 */ | ||
334 | + .wrapitem { | ||
335 | + display: flex; | ||
336 | + align-items: center; | ||
337 | + margin-top: 40rpx; | ||
338 | + } | ||
339 | + | ||
340 | + .wrapitemleft { | ||
341 | + width: 120rpx; | ||
342 | + } | ||
343 | + | ||
344 | + .wrapitemleft { | ||
345 | + color: #06121E; | ||
346 | + font-size: 28rpx | ||
347 | + } | ||
348 | + | ||
349 | + .wrapitemright { | ||
350 | + width: 544rpx; | ||
351 | + height: 76rpx; | ||
352 | + background: rgba(238, 238, 238, 1); | ||
353 | + opacity: 1; | ||
354 | + border-radius: 8rpx; | ||
355 | + margin-left: 18rpx; | ||
356 | + display: flex; | ||
357 | + align-items: center; | ||
358 | + padding: 20rpx; | ||
359 | + box-sizing: border-box; | ||
360 | + } | ||
361 | + .wrapitemright input{ | ||
362 | + width:100%; | ||
363 | + color:#8C9198; | ||
364 | + font-size: 28rpx; | ||
365 | + } | ||
366 | + | ||
367 | + .nianduright { | ||
368 | + width: 14rpx; | ||
369 | + height: 22rpx; | ||
370 | + font-size: 0; | ||
371 | + } | ||
372 | + | ||
373 | + .nianduleft { | ||
374 | + width: 500rpx; | ||
375 | + | ||
376 | + } | ||
377 | + | ||
378 | + .nianduright image { | ||
379 | + width: 100%; | ||
380 | + height: 100%; | ||
381 | + } | ||
382 | + | ||
383 | + .time { | ||
384 | + display: flex; | ||
385 | + align-items: center; | ||
386 | + margin-left: 18rpx; | ||
387 | + } | ||
388 | + | ||
389 | + .timeleft { | ||
390 | + width: 232rpx; | ||
391 | + height: 76rpx; | ||
392 | + background: rgba(238, 238, 238, 1); | ||
393 | + opacity: 1; | ||
394 | + border-radius: 8rpx; | ||
395 | + padding: 15rpx 20rpx; | ||
396 | + box-sizing: border-box; | ||
397 | + } | ||
398 | + .timeleft input{ | ||
399 | + width:100%; | ||
400 | + color:#8C9198; | ||
401 | + fotn-size:28rpx; | ||
402 | + } | ||
403 | + | ||
404 | + .timemiddle { | ||
405 | + width: 39rpx; | ||
406 | + height: 0rpx; | ||
407 | + border: 1rpx solid rgba(189, 196, 206, 1); | ||
408 | + opacity: 1; | ||
409 | + margin: 0 20rpx; | ||
410 | + } | ||
411 | + | ||
412 | + .chaxun { | ||
413 | + width: 200rpx; | ||
414 | + height: 64rpx; | ||
415 | + background: rgba(0, 147, 255, 1); | ||
416 | + opacity: 1; | ||
417 | + border-radius: 8rpx; | ||
418 | + color:#F9F9F9; | ||
419 | + font-size: 24rpx; | ||
420 | + text-align: center; | ||
421 | + line-height: 64rpx; | ||
422 | + margin:100rpx auto 0; | ||
423 | + } | ||
424 | +</style> |
pages/danweivote/danweivote.vue
0 → 100644
1 | +<template> | ||
2 | + <view class="box"> | ||
3 | + <view class='head'> | ||
4 | + <view class="headitem">编号</view> | ||
5 | + <view class="headitem ">操作人</view> | ||
6 | + <view class="headitem">操作时间</view> | ||
7 | + <view class="headitem caozuoshuo">操作说明</view> | ||
8 | + | ||
9 | + </view> | ||
10 | + <view class="xiangmlist"> | ||
11 | + <view class="xiangmulistitem" v-for="(item,index) in rizhilist" :key="index"> | ||
12 | + <view class="xiangmuhao">{{index+1}}</view> | ||
13 | + <view class="xiangming">{{item.username}}</view> | ||
14 | + <view class="pingshen">{{item.fcreatedate}}</view> | ||
15 | + <view class="state">{{item.fdescription}}</view> | ||
16 | + </view> | ||
17 | + | ||
18 | + </view> | ||
19 | + | ||
20 | + </view> | ||
21 | +</template> | ||
22 | + | ||
23 | +<script> | ||
24 | + import app from "../../App.vue"; | ||
25 | + export default { | ||
26 | + data() { | ||
27 | + return { | ||
28 | + rizhilist: [], | ||
29 | + fprojectid: '' | ||
30 | + } | ||
31 | + }, | ||
32 | + onLoad(options) { | ||
33 | + console.log('参数', options) | ||
34 | + this.fprojectid = options.id; | ||
35 | + console.log('111', this.fprojectid) | ||
36 | + | ||
37 | + this.getrizhilist() | ||
38 | + }, | ||
39 | + methods: { | ||
40 | + | ||
41 | + getrizhilist() { | ||
42 | + console.log(999) | ||
43 | + let that = this; | ||
44 | + let url = "project/Get_viewloglist"; | ||
45 | + let param = { | ||
46 | + fprojectid: this.fprojectid, | ||
47 | + | ||
48 | + } | ||
49 | + app.post(url, param, 'get').then(r => { | ||
50 | + console.log(r) | ||
51 | + | ||
52 | + | ||
53 | + // console.log('1234567890',JSON.stringify(r)) | ||
54 | + that.rizhilist = r.data; | ||
55 | + let newrizhilist = this.rizhilist; | ||
56 | + for (var obj of newrizhilist) { | ||
57 | + obj.fcreatedate = obj.fcreatedate.split("T"); | ||
58 | + obj.fcreatedate = obj.fcreatedate[0] | ||
59 | + } | ||
60 | + that.rizhilist = newrizhilist; | ||
61 | + | ||
62 | + | ||
63 | + | ||
64 | + }).catch(err => { | ||
65 | + console.log(err) | ||
66 | + | ||
67 | + }) | ||
68 | + }, | ||
69 | + enterxiangmu(e) { | ||
70 | + console.log(e) | ||
71 | + this.keyword = e.target.value; | ||
72 | + | ||
73 | + | ||
74 | + }, | ||
75 | + | ||
76 | + | ||
77 | + } | ||
78 | + } | ||
79 | +</script> | ||
80 | + | ||
81 | +<style> | ||
82 | + .box { | ||
83 | + background: #fff; | ||
84 | + padding: 0 32rpx; | ||
85 | + box-sizing: border-box; | ||
86 | + } | ||
87 | + | ||
88 | + page { | ||
89 | + background: #fff; | ||
90 | + } | ||
91 | + | ||
92 | + .head { | ||
93 | + display: flex; | ||
94 | + align-items: center; | ||
95 | + padding: 32rpx 0 16rpx; | ||
96 | + box-sizing: border-box; | ||
97 | + justify-content: space-between; | ||
98 | + border-bottom: 2rpx solid #BDC4CE; | ||
99 | + } | ||
100 | + | ||
101 | + .headitem { | ||
102 | + color: #06121E; | ||
103 | + font-size: 28rpx; | ||
104 | + font-weight: bold; | ||
105 | + | ||
106 | + } | ||
107 | + | ||
108 | + .xiangmulistitem { | ||
109 | + display: flex; | ||
110 | + align-items: center; | ||
111 | + padding: 22rpx 0 34rpx; | ||
112 | + box-sizing: border-box; | ||
113 | + border-bottom: 1rpx solid #EEEEEE; | ||
114 | + background: #fff; | ||
115 | + } | ||
116 | + | ||
117 | + .xiangmuhao { | ||
118 | + width: 76rpx; | ||
119 | + color: #06121E; | ||
120 | + font-size: 24rpx; | ||
121 | + text-align: center; | ||
122 | + } | ||
123 | + | ||
124 | + .xiangming { | ||
125 | + width: 150rpx; | ||
126 | + color: #06121E; | ||
127 | + font-size: 24rpx; | ||
128 | + margin-left: 4rpx; | ||
129 | + text-align: center; | ||
130 | + line-height: 1.5; | ||
131 | + /* overflow: hidden; | ||
132 | + text-overflow: ellipsis; | ||
133 | + white-space: nowrap; */ | ||
134 | + } | ||
135 | + | ||
136 | + .pingshen { | ||
137 | + color: #06121E; | ||
138 | + font-size: 24rpx; | ||
139 | + margin-left: 10rpx; | ||
140 | + width: 240rpx; | ||
141 | + text-align: center; | ||
142 | + } | ||
143 | + | ||
144 | + .state { | ||
145 | + width: 240rpx; | ||
146 | + color: #06121E; | ||
147 | + font-size: 24rpx; | ||
148 | + margin-left: 30rpx; | ||
149 | + line-height: 1.4; | ||
150 | + /* margin-left: 18rpx; */ | ||
151 | + } | ||
152 | + | ||
153 | + .caozuoshuo { | ||
154 | + width: 240rpx; | ||
155 | + text-align: center; | ||
156 | + } | ||
157 | +</style> |
pages/danweizixun/danweizixun.vue
0 → 100644
1 | +<template> | ||
2 | + <view class="box"> | ||
3 | + <view class="head"> | ||
4 | + <view class="headleft"> | ||
5 | + <input type="text" placeholder="输入项目名称查询" @input="enterxiangmu" /> | ||
6 | + </view> | ||
7 | + <view class="headright" @click="chaxun">查询</view> | ||
8 | + </view> | ||
9 | + | ||
10 | + <view class="nodata" v-if="xiangmulist.length==0">暂无数据</view> | ||
11 | + | ||
12 | + <view class="fenzulist" v-else> | ||
13 | + <view class="fenzuitem" v-for="(item,index) in xiangmulist" :key="index"> | ||
14 | + <view class="fenzutop"> | ||
15 | + <view class="fenzutopleft"> | ||
16 | + <view class="fenzutopshang"> | ||
17 | + <text class="bianhao">项目编号:</text><text class="bianhaonum"> {{item.fnumber}}</text> | ||
18 | + </view> | ||
19 | + | ||
20 | + </view> | ||
21 | + <view class="fenzutopright"> | ||
22 | + <view class="fenzunoimg"> | ||
23 | + <image src="../../static/img/toupiao.png" mode="" v-if="item.fadvisorystatus=='投票中'"></image> | ||
24 | + <image src="../../static/img/yifen.png" mode="" v-else></image> | ||
25 | + </view> | ||
26 | + <view class="fenzunoname">{{item.fadvisorystatus}}</view> | ||
27 | + </view> | ||
28 | + </view> | ||
29 | + <view class="fenzuobottom"> | ||
30 | + <view class="fenzutopshang"> | ||
31 | + <text class="bianhao">项目名称:</text><text class="bianhaonum"> | ||
32 | + {{item.fname}} | ||
33 | + </text> | ||
34 | + </view> | ||
35 | + <!-- <view class="fenzutopshang" v-if="item.fprojecttype==null"> | ||
36 | + <text class="bianhao">项目类型:</text><text class="bianhaonum"> 暂无</text> | ||
37 | + | ||
38 | + </view> | ||
39 | + <view class="fenzutopshang" v-else> | ||
40 | + <text class="bianhao">项目类型:</text><text class="bianhaonum"> {{item.fprojecttype}}</text> | ||
41 | + </view> | ||
42 | + --> | ||
43 | + | ||
44 | + <!-- <view class="fenzutopshang"> | ||
45 | + <text class="bianhao">项目组:</text><text class="bianhaonum">{{item.fteam==null?'':item.fteam}}</text> | ||
46 | + </view> | ||
47 | + --> | ||
48 | + | ||
49 | + <view class="fenzubottom"> | ||
50 | + <view class="fenzubtn" @click="zixundanweifen" :data-item="item" :data-disid="item.disid" >咨询单位分配</view> | ||
51 | + <view class="fenzubtn" @click="vote" :data-itemid="item.fprojectid">投票日志{{item.fprojectid}}</view> | ||
52 | + </view> | ||
53 | + </view> | ||
54 | + </view> | ||
55 | + | ||
56 | + <!-- <view class="fenzuitem"> | ||
57 | + <view class="fenzutop"> | ||
58 | + <view class="fenzutopleft"> | ||
59 | + <view class="fenzutopshang"> | ||
60 | + <text class="bianhao">项目编号:</text><text class="bianhaonum"> 20191115001</text> | ||
61 | + </view> | ||
62 | + <view class="fenzutopshang"> | ||
63 | + <text class="bianhao">任务编号:</text><text class="bianhaonum"> 20191115001</text> | ||
64 | + </view> | ||
65 | + </view> | ||
66 | + <view class="fenzutopright"> | ||
67 | + <view class="fenzunoimg"> | ||
68 | + <image src="../../static/img/yifen.png" mode=""></image> | ||
69 | + </view> | ||
70 | + <view class="fenzunoname">分配成功</view> | ||
71 | + </view> | ||
72 | + </view> | ||
73 | + <view class="fenzuobottom"> | ||
74 | + <view class="fenzutopshang"> | ||
75 | + <text class="bianhao">项目名称:</text><text class="bianhaonum"> | ||
76 | + 机关服务中心会务处保安服务项目 | ||
77 | + </text> | ||
78 | + </view> | ||
79 | + <view class="fenzutopshang"> | ||
80 | + <text class="bianhao">项目类型:</text><text class="bianhaonum"> 预算</text> | ||
81 | + </view> | ||
82 | + <view class="fenzutopshang"> | ||
83 | + <text class="bianhao">项目组:</text><text class="bianhaonum"> </text> | ||
84 | + </view> | ||
85 | + | ||
86 | + <view class="fenzubottom"> | ||
87 | + <view class="fenzubtn">咨询单位分配</view> | ||
88 | + <view class="fenzubtn">投票日志</view> | ||
89 | + </view> | ||
90 | + </view> | ||
91 | + | ||
92 | + | ||
93 | + </view> | ||
94 | + --> | ||
95 | + </view> | ||
96 | + </view> | ||
97 | + | ||
98 | + | ||
99 | +</template> | ||
100 | + | ||
101 | +<script> | ||
102 | + import app from "../../App.vue"; | ||
103 | + export default { | ||
104 | + data() { | ||
105 | + return { | ||
106 | + selshow: false, | ||
107 | + xiangmulist: [], | ||
108 | + keyword: '', | ||
109 | + end:"", | ||
110 | + querylist:[] | ||
111 | + } | ||
112 | + }, | ||
113 | + onLoad() { | ||
114 | + this.getzixunlist() | ||
115 | + }, | ||
116 | + methods: { | ||
117 | + // 咨询单位分配 | ||
118 | + zixundanweifen(e) { | ||
119 | + console.log(e) | ||
120 | + let disid=e.target.dataset.disid; | ||
121 | + let item=e.target.dataset.item; | ||
122 | + console.log('999',item) | ||
123 | + let fteamid=item.ftemid; | ||
124 | + let fprojectid=item.fprojectid; | ||
125 | + console.log(fprojectid) | ||
126 | + item=JSON.stringify(item); | ||
127 | + console.log(item) | ||
128 | + uni.navigateTo({ | ||
129 | + url: '../zixundanweifen/zixundanweifen?disid='+disid+'&item='+item+'&fteamid='+fteamid+'&fprojectid='+fprojectid+'&status='+this.end[0].status | ||
130 | + }) | ||
131 | + }, | ||
132 | + vote(e) { | ||
133 | + | ||
134 | + let id=e.target.dataset.itemid | ||
135 | + console.log('lalal',id) | ||
136 | + // let id=e.target.value; | ||
137 | + // console.log('lalalal',id) | ||
138 | + uni.navigateTo({ | ||
139 | + url: '../danweivote/danweivote?id='+id | ||
140 | + }) | ||
141 | + }, | ||
142 | + getzixunlist() { | ||
143 | + console.log(999) | ||
144 | + let that = this; | ||
145 | + let url = "project/Get_advisory"; | ||
146 | + let param={ | ||
147 | + fuserid:uni.getStorageSync("userid"), | ||
148 | + role:uni.getStorageSync("role"), | ||
149 | + fprojectid:'' | ||
150 | + } | ||
151 | + app.post(url, param, 'get').then(r => { | ||
152 | + console.log(r) | ||
153 | + // console.log(r) | ||
154 | + // console.log('1234567890',JSON.stringify(r)) | ||
155 | + that.xiangmulist = r.data; | ||
156 | + that.querylist=r.data | ||
157 | + let end=that.xiangmulist.splice(-1); | ||
158 | + that.end=end | ||
159 | + console.log(that.end[0].status) | ||
160 | + console.log(JSON.stringify(end)) | ||
161 | + console.log(that.xiangmulist) | ||
162 | + | ||
163 | + | ||
164 | + | ||
165 | + }).catch(err => { | ||
166 | + console.log(err) | ||
167 | + | ||
168 | + }) | ||
169 | + }, | ||
170 | + enterxiangmu(e) { | ||
171 | + console.log(e) | ||
172 | + this.keyword = e.target.value; | ||
173 | + | ||
174 | + | ||
175 | + }, | ||
176 | + chaxun() { | ||
177 | + if(this.keyword==''){ | ||
178 | + this.getzixunlist(); | ||
179 | + }else{ | ||
180 | + let newxiangmuarr = []; | ||
181 | + let newxiangmulist = this.querylist; | ||
182 | + let name=[] | ||
183 | + for (var obj of newxiangmulist) { | ||
184 | + name.push(obj.fname) | ||
185 | + | ||
186 | + } | ||
187 | + console.log('名称',name) | ||
188 | + for(var i=0;i<newxiangmulist.length;i++){ | ||
189 | + for(var j=0;j<name.length;j++){ | ||
190 | + | ||
191 | + if (name[j].indexOf(this.keyword)>=0) { | ||
192 | + if(j==i){ | ||
193 | + newxiangmuarr.push(newxiangmulist[i]) | ||
194 | + } | ||
195 | + // console.log(9999) | ||
196 | + | ||
197 | + } | ||
198 | + } | ||
199 | + } | ||
200 | + | ||
201 | + console.log('9999000777',newxiangmuarr); | ||
202 | + this.xiangmulist = newxiangmuarr; | ||
203 | + | ||
204 | + } | ||
205 | + } | ||
206 | + | ||
207 | + } | ||
208 | + } | ||
209 | + | ||
210 | + | ||
211 | +</script> | ||
212 | + | ||
213 | +<style> | ||
214 | + page { | ||
215 | + background: #F9F9F9; | ||
216 | + } | ||
217 | + | ||
218 | + .head { | ||
219 | + display: flex; | ||
220 | + align-items: center; | ||
221 | + padding: 20rpx 32rpx; | ||
222 | + box-sizing: border-box; | ||
223 | + background: #fff; | ||
224 | + position: fixed; | ||
225 | + top: 0; | ||
226 | + left: 0 | ||
227 | + } | ||
228 | + | ||
229 | + .fenzulist { | ||
230 | + margin-top: 100rpx; | ||
231 | + padding-bottom: 50rpx; | ||
232 | + } | ||
233 | + | ||
234 | + .headleft { | ||
235 | + width: 572rpx; | ||
236 | + height: 60rpx; | ||
237 | + background: rgba(238, 238, 238, 1); | ||
238 | + opacity: 1; | ||
239 | + border-radius: 8rpx; | ||
240 | + padding: 10rpx 24rpx; | ||
241 | + box-sizing: border-box; | ||
242 | + display:flex; | ||
243 | + align-items: center; | ||
244 | + | ||
245 | + } | ||
246 | + | ||
247 | + .headleft input { | ||
248 | + color: #BDC4CE; | ||
249 | + font-size: 28rpx; | ||
250 | + } | ||
251 | + | ||
252 | + .headright { | ||
253 | + width: 98rpx; | ||
254 | + height: 60rpx; | ||
255 | + background: rgba(0, 147, 255, 1); | ||
256 | + opacity: 1; | ||
257 | + border-radius: 8rpx; | ||
258 | + color: #fff; | ||
259 | + font-size: 22rpx; | ||
260 | + text-align: center; | ||
261 | + line-height: 60rpx; | ||
262 | + margin-left: 16rpx; | ||
263 | + } | ||
264 | + | ||
265 | + .fenzuitem { | ||
266 | + width: 686rpx; | ||
267 | + /* height: 484rpx; */ | ||
268 | + background: rgba(255, 255, 255, 1); | ||
269 | + box-shadow: 0px 6rpx 6rpx rgba(0, 0, 0, 0.03); | ||
270 | + opacity: 1; | ||
271 | + border-radius: 20rpx; | ||
272 | + margin: 20rpx auto 0; | ||
273 | + padding: 28rpx 32rpx 40rpx; | ||
274 | + box-sizing: border-box; | ||
275 | + } | ||
276 | + | ||
277 | + | ||
278 | + | ||
279 | + .fenzunoimg { | ||
280 | + width: 28rpx; | ||
281 | + height: 28rpx; | ||
282 | + font-size: 0; | ||
283 | + margin-right: 10rpx; | ||
284 | + } | ||
285 | + | ||
286 | + .fenzunoimg image { | ||
287 | + width: 100%; | ||
288 | + height: 100%; | ||
289 | + } | ||
290 | + | ||
291 | + .bianhao { | ||
292 | + color: #8C9198; | ||
293 | + font-size: 24rpx; | ||
294 | + | ||
295 | + } | ||
296 | + | ||
297 | + .bianhaonum { | ||
298 | + color: #06121E; | ||
299 | + font-size: 24rpx; | ||
300 | + letter-spacing: 2rpx; | ||
301 | + } | ||
302 | + | ||
303 | + .fenzunoname { | ||
304 | + color: #3D444D; | ||
305 | + font-size: 24rpx; | ||
306 | + } | ||
307 | + | ||
308 | + .fenzutopright { | ||
309 | + display: flex; | ||
310 | + align-items: center; | ||
311 | + /* width: 126rpx; */ | ||
312 | + height: 48rpx; | ||
313 | + border: 1rpx solid rgba(189, 196, 206, 1); | ||
314 | + opacity: 1; | ||
315 | + border-radius: 8rpx; | ||
316 | + padding: 0 5rpx; | ||
317 | + box-sizing: border-box; | ||
318 | + | ||
319 | + } | ||
320 | + | ||
321 | + .fenzutop { | ||
322 | + display: flex; | ||
323 | + align-items: center; | ||
324 | + justify-content: space-between; | ||
325 | + padding-bottom: 16rpx; | ||
326 | + border-bottom: 1rpx solid #f5f5f5; | ||
327 | + } | ||
328 | + | ||
329 | + .fenzuobottom { | ||
330 | + margin-top: 16rpx | ||
331 | + } | ||
332 | + | ||
333 | + .fenzubottom { | ||
334 | + display: flex; | ||
335 | + justify-content: flex-end; | ||
336 | + margin-top: 16rpx | ||
337 | + } | ||
338 | + | ||
339 | + .fenzubtn { | ||
340 | + width: 200rpx; | ||
341 | + height: 64rpx; | ||
342 | + background: rgba(0, 147, 255, 1); | ||
343 | + opacity: 1; | ||
344 | + border-radius: 8rpx; | ||
345 | + color: #F9F9F9; | ||
346 | + font-size: 24rpx; | ||
347 | + text-align: center; | ||
348 | + line-height: 64rpx; | ||
349 | + margin-right: 24rpx; | ||
350 | + } | ||
351 | + | ||
352 | + .fenzubtn:last-child { | ||
353 | + margin-right: 0 | ||
354 | + } | ||
355 | +</style> |
pages/guocheng/guocheng.vue
0 → 100644
1 | +<template> | ||
2 | + <view class="box"> | ||
3 | + <view class='head'> | ||
4 | + <view class="headitem">项目编号</view> | ||
5 | + <view class="headitem minghcengx">项目名称</view> | ||
6 | + <view class="headitem">当前评审节点</view> | ||
7 | + <view class="headitem">项目状态</view> | ||
8 | + | ||
9 | + </view> | ||
10 | + <view class="xiangmlist"> | ||
11 | + <view class="xiangmulistitem" v-for="(item,index) in list" :key="index" @click="detail" :data-item="item" > | ||
12 | + <view class="xiangmuhao">{{item.fnumber}}</view> | ||
13 | + <view class="xiangming">{{item.fname}}</view> | ||
14 | + <view class="pingshen">{{item.fcurrentname}}</view> | ||
15 | + <view :class="item.ffinauditstatus=='审核中'?'state':'finish'">{{item.ffinauditstatus }}</view> | ||
16 | + </view> | ||
17 | + <!-- <view class="xiangmulistitem"> | ||
18 | + <view class="xiangmuhao">20191112011</view> | ||
19 | + <view class="xiangming">运动场维修及 | ||
20 | + 附属工程</view> | ||
21 | + <view class="pingshen">待审结</view> | ||
22 | + <view class="state">审核中</view> | ||
23 | + </view> | ||
24 | + <view class="xiangmulistitem"> | ||
25 | + <view class="xiangmuhao">20191112011</view> | ||
26 | + <view class="xiangming">运动场维修及 | ||
27 | + 附属工程</view> | ||
28 | + <view class="pingshen">待审结</view> | ||
29 | + <view class="state">审核中</view> | ||
30 | + </view> | ||
31 | + <view class="xiangmulistitem"> | ||
32 | + <view class="xiangmuhao">20191112011</view> | ||
33 | + <view class="xiangming">运动场维修及 | ||
34 | + 附属工程</view> | ||
35 | + <view class="pingshen">待审结</view> | ||
36 | + <view class="state">审核中</view> | ||
37 | + </view> | ||
38 | + <view class="xiangmulistitem"> | ||
39 | + <view class="xiangmuhao">20191112011</view> | ||
40 | + <view class="xiangming">运动场维修及 | ||
41 | + 附属工程</view> | ||
42 | + <view class="pingshen">待审结</view> | ||
43 | + <view class="state">审核中</view> | ||
44 | + </view> | ||
45 | + <view class="xiangmulistitem"> | ||
46 | + <view class="xiangmuhao">20191112011</view> | ||
47 | + <view class="xiangming">运动场维修及 | ||
48 | + 附属工程</view> | ||
49 | + <view class="pingshen">待审结</view> | ||
50 | + <view class="state">审核中</view> | ||
51 | + </view> | ||
52 | + <view class="xiangmulistitem"> | ||
53 | + <view class="xiangmuhao">20191112011</view> | ||
54 | + <view class="xiangming">运动场维修及 | ||
55 | + 附属工程</view> | ||
56 | + <view class="pingshen">待审结</view> | ||
57 | + <view class="state">审核中</view> | ||
58 | + </view> | ||
59 | + <view class="xiangmulistitem"> | ||
60 | + <view class="xiangmuhao">20191112011</view> | ||
61 | + <view class="xiangming">运动场维修及 | ||
62 | + 附属工程</view> | ||
63 | + <view class="pingshen">待审结</view> | ||
64 | + <view class="state">审核中</view> | ||
65 | + </view> | ||
66 | + <view class="xiangmulistitem"> | ||
67 | + <view class="xiangmuhao">20191112011</view> | ||
68 | + <view class="xiangming">运动场维修及 | ||
69 | + 附属工程</view> | ||
70 | + <view class="pingshen">待审结</view> | ||
71 | + <view class="state">审核中</view> | ||
72 | + </view> | ||
73 | + <view class="xiangmulistitem"> | ||
74 | + <view class="xiangmuhao">20191112011</view> | ||
75 | + <view class="xiangming">运动场维修及 | ||
76 | + 附属工程</view> | ||
77 | + <view class="pingshen">待审结</view> | ||
78 | + <view class="state">审核中</view> | ||
79 | + </view> | ||
80 | + <view class="xiangmulistitem"> --> | ||
81 | + <!-- <view class="xiangmuhao">20191112011</view> | ||
82 | + <view class="xiangming">运动场维修及 | ||
83 | + 附属工程</view> | ||
84 | + <view class="pingshen">待审结</view> | ||
85 | + <view class="state">审核中</view> --> | ||
86 | + </view> | ||
87 | + </view> | ||
88 | + | ||
89 | + </view> | ||
90 | +</template> | ||
91 | + | ||
92 | +<script> | ||
93 | + import app from "../../App.vue"; | ||
94 | + export default { | ||
95 | + data() { | ||
96 | + return { | ||
97 | + list: [] | ||
98 | + } | ||
99 | + }, | ||
100 | + onLoad() { | ||
101 | + // 获取台账列表 | ||
102 | + | ||
103 | + | ||
104 | + }, | ||
105 | + onShow() { | ||
106 | + this.getlist() | ||
107 | + }, | ||
108 | + methods: { | ||
109 | + | ||
110 | + getlist() { | ||
111 | + let that = this; | ||
112 | + console.log(9988776655) | ||
113 | + let url = "project/Get_Processtime"; | ||
114 | + // console.log('8877665544',param) | ||
115 | + app.post(url, '', 'get').then(r => { | ||
116 | + // console.log(r) | ||
117 | + // console.log(JSON.stringify(r.data)); | ||
118 | + that.list = r.data | ||
119 | + | ||
120 | + }).catch(err => { | ||
121 | + console.log(err) | ||
122 | + }) | ||
123 | + }, | ||
124 | + // 项目过程详情 | ||
125 | + detail(e){ | ||
126 | + | ||
127 | + | ||
128 | + console.log(e) | ||
129 | + console.log(e) | ||
130 | + let item=e.currentTarget.dataset.item; | ||
131 | + | ||
132 | + item=JSON.stringify(item) | ||
133 | + console.log(item) | ||
134 | + // uni.navigateTo({ | ||
135 | + // url:'../xiangmuprogress/xiangmuprogress' | ||
136 | + // }) | ||
137 | + | ||
138 | + uni.navigateTo({ | ||
139 | + url:'../xiangmuprogress/xiangmuprogress?item='+item | ||
140 | + }) | ||
141 | + | ||
142 | + } | ||
143 | + | ||
144 | + | ||
145 | + | ||
146 | + } | ||
147 | + | ||
148 | + } | ||
149 | +</script> | ||
150 | + | ||
151 | +<style> | ||
152 | + .box { | ||
153 | + background: #F9F9F9; | ||
154 | + padding: 0 32rpx; | ||
155 | + box-sizing: border-box; | ||
156 | + } | ||
157 | + | ||
158 | + .head { | ||
159 | + width: 750rpx; | ||
160 | + background: #fff; | ||
161 | + display: flex; | ||
162 | + align-items: center; | ||
163 | + padding: 32rpx; | ||
164 | + box-sizing: border-box; | ||
165 | + justify-content: space-between; | ||
166 | + border-bottom: 2rpx solid #BDC4CE; | ||
167 | + position: fixed; | ||
168 | + left: 0; | ||
169 | + top: 0 | ||
170 | + } | ||
171 | + | ||
172 | + .headitem { | ||
173 | + color: #06121E; | ||
174 | + font-size: 28rpx; | ||
175 | + font-weight: bold; | ||
176 | + | ||
177 | + } | ||
178 | + | ||
179 | + .xiangmulistitem { | ||
180 | + display: flex; | ||
181 | + align-items: center; | ||
182 | + padding: 22rpx 0 34rpx; | ||
183 | + box-sizing: border-box; | ||
184 | + border-bottom: 1rpx solid #EEEEEE | ||
185 | + } | ||
186 | + | ||
187 | + .xiangmuhao { | ||
188 | + width: 140rpx; | ||
189 | + color: #06121E; | ||
190 | + font-size: 24rpx; | ||
191 | + } | ||
192 | + | ||
193 | + .xiangming { | ||
194 | + width: 144rpx; | ||
195 | + color: #06121E; | ||
196 | + font-size: 24rpx; | ||
197 | + margin-left: 37rpx; | ||
198 | + text-align: center; | ||
199 | + line-height: 1.5; | ||
200 | + display: -webkit-box; | ||
201 | + | ||
202 | + -webkit-box-orient: vertical; | ||
203 | + | ||
204 | + -webkit-line-clamp: 2; | ||
205 | + | ||
206 | + overflow: hidden; | ||
207 | + | ||
208 | + } | ||
209 | + | ||
210 | + .pingshen { | ||
211 | + color: #06121E; | ||
212 | + font-size: 24rpx; | ||
213 | + margin-left: 78rpx; | ||
214 | + width:80rpx;; | ||
215 | + } | ||
216 | + | ||
217 | + .state { | ||
218 | + color: #D12324; | ||
219 | + font-size: 24rpx; | ||
220 | + margin-left: 128rpx; | ||
221 | + } | ||
222 | + .finish{ | ||
223 | + color: #00AC00; | ||
224 | + font-size: 24rpx; | ||
225 | + margin-left: 128rpx; | ||
226 | + } | ||
227 | + .xiangmlist{ | ||
228 | + margin-top:100rpx; | ||
229 | + } | ||
230 | +</style> |
pages/index/index.vue
0 → 100644
1 | +<template> | ||
2 | + <view class="box"> | ||
3 | + <view class="tpouziname">大足投资项目评审管理平台</view> | ||
4 | + <view class="zhuanjia">含专家</view> | ||
5 | + <view class="shrumima zhanghao"> | ||
6 | + <input type="text" placeholder="请输入登录账号/手机号" placeholder-class="entershouji" :value="phone" @input="onKeyInput"> | ||
7 | + </view> | ||
8 | + <view class="shrumima mima"> | ||
9 | + <input type="password" placeholder="请输入密码" placeholder-class="entershouji" :value="password" @input="enterpass"> | ||
10 | + </view> | ||
11 | + <view class="yanzheng"> | ||
12 | + <view class="yanzhengleft"> | ||
13 | + <input type="text" placeholder="验证码" placeholder-class="yan" @input="enteryanzheng"> | ||
14 | + </view> | ||
15 | + <view class="yanzhenghao" @click="changenum">{{rangenum}}</view> | ||
16 | + | ||
17 | + </view> | ||
18 | + <view class="select" @click="selectxuan"> | ||
19 | + <view class="selectleft" v-if="selshow"> | ||
20 | + <image src="../../static/img/selectone.png" mode=""></image> | ||
21 | + </view> | ||
22 | + <view class="selectleft" v-else> | ||
23 | + <image src="../../static/img/select.png" mode=""></image> | ||
24 | + </view> | ||
25 | + | ||
26 | + | ||
27 | + <view class="selectright">记住用户名</view> | ||
28 | + | ||
29 | + </view> | ||
30 | + | ||
31 | + <view class="denglu" :class="seldeng==1?'dengactive':''" @click="login"> | ||
32 | + <text v-if="seldengk==1">登录中...</text> | ||
33 | + <text v-else>登录</text> | ||
34 | + | ||
35 | + </view> | ||
36 | + | ||
37 | + <!-- <view class="biaoshi"> | ||
38 | + 登录即表示 <text class="xieyi" @click="zhengce" data-id="1">用户协议</text>和 <text class="xieyi" @click="zhengce" data-id="2">隐私政策</text> | ||
39 | + </view> --> | ||
40 | + | ||
41 | + <!-- 弹出弹层 --> | ||
42 | + | ||
43 | + <view class="pop" v-if="tanceng"> | ||
44 | + | ||
45 | + 网络出错 | ||
46 | + </view> | ||
47 | + </view> | ||
48 | + | ||
49 | + | ||
50 | +</template> | ||
51 | + | ||
52 | +<script> | ||
53 | + import app from "../../App.vue"; | ||
54 | + export default { | ||
55 | + data() { | ||
56 | + return { | ||
57 | + selshow: true, | ||
58 | + phone: '', | ||
59 | + password: '', | ||
60 | + rangenum: '', | ||
61 | + yanzhengcode: '', | ||
62 | + tanceng: false, | ||
63 | + seldeng: 0, | ||
64 | + seldengk: 0 | ||
65 | + } | ||
66 | + }, | ||
67 | + onLoad() { | ||
68 | + // 生成随机验证码 | ||
69 | + var randomNum = ('000000' + Math.floor(Math.random() * 999999)).slice(-6); | ||
70 | + | ||
71 | + this.rangenum = randomNum; | ||
72 | + | ||
73 | + // 记住用户名和密码 | ||
74 | + let username = uni.getStorageSync("username"); | ||
75 | + let password = uni.getStorageSync("password") | ||
76 | + | ||
77 | + console.log('用户名', username) | ||
78 | + if (username != '') { | ||
79 | + this.phone = username; | ||
80 | + this.password = password | ||
81 | + this.selshow = true | ||
82 | + } | ||
83 | + | ||
84 | + }, | ||
85 | + methods: { | ||
86 | + zhengce(e){ | ||
87 | + let id=e.currentTarget.dataset.id; | ||
88 | + uni.navigateTo({ | ||
89 | + url:'../yinsi/yinsi?id='+id | ||
90 | + }) | ||
91 | + }, | ||
92 | + selectxuan() { | ||
93 | + console.log(888) | ||
94 | + this.selshow = !this.selshow; | ||
95 | + if (this.selshow == true) { | ||
96 | + uni.setStorageSync('username', this.phone); | ||
97 | + uni.setStorageSync('password', this.password) | ||
98 | + } else { | ||
99 | + uni.setStorageSync('username', '') | ||
100 | + } | ||
101 | + | ||
102 | + }, | ||
103 | + changenum() { | ||
104 | + var randomNum = ('000000' + Math.floor(Math.random() * 999999)).slice(-6); | ||
105 | + | ||
106 | + this.rangenum = randomNum; | ||
107 | + }, | ||
108 | + // 输入验证码 | ||
109 | + enteryanzheng(e) { | ||
110 | + this.yanzhengcode = e.target.value; | ||
111 | + | ||
112 | + }, | ||
113 | + | ||
114 | + // 输入手机号 | ||
115 | + onKeyInput: function(event) { | ||
116 | + console.log(event) | ||
117 | + this.phone = event.target.value | ||
118 | + }, | ||
119 | + // 输入密码 | ||
120 | + enterpass(e) { | ||
121 | + | ||
122 | + this.password = e.target.value; | ||
123 | + | ||
124 | + }, | ||
125 | + // 登录 | ||
126 | + login() { | ||
127 | + let that = this; | ||
128 | + that.seldeng = 1; | ||
129 | + | ||
130 | + console.log(666) | ||
131 | + console.log(this.phone); | ||
132 | + console.log(this.password) | ||
133 | + if (this.phone == '') { | ||
134 | + uni.showToast({ | ||
135 | + title: '请输入登录账号', | ||
136 | + icon: 'none' | ||
137 | + }) | ||
138 | + that.seldeng = 0 | ||
139 | + return false | ||
140 | + } | ||
141 | + if (this.password == '') { | ||
142 | + uni.showToast({ | ||
143 | + title: '请输入密码', | ||
144 | + icon: 'none' | ||
145 | + }) | ||
146 | + that.seldeng = 0 | ||
147 | + return false | ||
148 | + } | ||
149 | + | ||
150 | + if (this.yanzhengcode == '') { | ||
151 | + uni.showToast({ | ||
152 | + title: '请输入验证码', | ||
153 | + icon: 'none' | ||
154 | + }) | ||
155 | + that.seldeng = 0 | ||
156 | + return false | ||
157 | + } | ||
158 | + if (this.yanzhengcode != '') { | ||
159 | + if (this.yanzhengcode != this.rangenum) { | ||
160 | + uni.showToast({ | ||
161 | + title: '验证码输入错误', | ||
162 | + icon: 'none' | ||
163 | + }) | ||
164 | + that.seldeng = 0 | ||
165 | + return false | ||
166 | + } | ||
167 | + } | ||
168 | + let url = "project/Login"; | ||
169 | + let param = { | ||
170 | + username: that.phone, | ||
171 | + password: that.password | ||
172 | + }; | ||
173 | + | ||
174 | + console.log('8877665544', param) | ||
175 | + app.post(url, param,"post").then(r => { | ||
176 | + that.seldengk = 1 | ||
177 | + console.log('1234567890', r) | ||
178 | + let data = r.data | ||
179 | + if (r.data[0].status == 1) { | ||
180 | + if (r.data[0].username == null) { | ||
181 | + that.seldengk = 0 | ||
182 | + } else { | ||
183 | + that.seldengk = 1 | ||
184 | + } | ||
185 | + uni.showToast({ | ||
186 | + title: r.data[0].message, | ||
187 | + icon: "none", | ||
188 | + }) | ||
189 | + } else { | ||
190 | + uni.setStorageSync('username', this.phone); | ||
191 | + uni.setStorageSync('password', this.password) | ||
192 | + let role = data[0].role; | ||
193 | + let userid = data[0].userid; | ||
194 | + let username = data[0].username; | ||
195 | + uni.setStorageSync('role', role); | ||
196 | + | ||
197 | + uni.setStorageSync('userid', userid); | ||
198 | + uni.setStorageSync('name', username); | ||
199 | + | ||
200 | + | ||
201 | + console.log('打印', uni.getStorageSync('role')); | ||
202 | + console.log('打印', uni.getStorageSync('name')); | ||
203 | + | ||
204 | + | ||
205 | + uni.showToast({ | ||
206 | + title: "登录成功", | ||
207 | + icon: 'none' | ||
208 | + }) | ||
209 | + | ||
210 | + setTimeout(function() { | ||
211 | + console.log(8800) | ||
212 | + uni.navigateTo({ | ||
213 | + url: '../daiban/daiban' | ||
214 | + }) | ||
215 | + | ||
216 | + // uni.switchTab({ | ||
217 | + // url: '/pages/daiban/daiban' | ||
218 | + // }) | ||
219 | + }, 500) | ||
220 | + } | ||
221 | + | ||
222 | + | ||
223 | + | ||
224 | + // if(data[0].role==null){ | ||
225 | + // uni.showToast({ | ||
226 | + // title:'登录失败', | ||
227 | + // icon:"none", | ||
228 | + // }) | ||
229 | + // }else{ | ||
230 | + | ||
231 | + // } | ||
232 | + | ||
233 | + // uni.setStorageSync('re_id',1) | ||
234 | + | ||
235 | + }).catch(err => { | ||
236 | + console.log(err) | ||
237 | + that.seldengk = 0 | ||
238 | + | ||
239 | + that.tanceng = true; | ||
240 | + setTimeout(function() { | ||
241 | + that.tanceng = false | ||
242 | + }, 1500) | ||
243 | + | ||
244 | + | ||
245 | + | ||
246 | + }) | ||
247 | + // uni.switchTab({ | ||
248 | + // url: '../daiban/daiban' | ||
249 | + // }) | ||
250 | + } | ||
251 | + }, | ||
252 | + | ||
253 | + } | ||
254 | +</script> | ||
255 | + | ||
256 | +<style> | ||
257 | + page { | ||
258 | + width: 100%; | ||
259 | + height: 100%; | ||
260 | + } | ||
261 | + | ||
262 | + .biaoshi { | ||
263 | + color: #fff; | ||
264 | + font-size: 28rpx; | ||
265 | + margin-top: 20rpx; | ||
266 | + display:flex; | ||
267 | + justify-content: center; | ||
268 | + } | ||
269 | + | ||
270 | + .xieyi { | ||
271 | + color: #FF9417; | ||
272 | + font-size: 28rpx; | ||
273 | + } | ||
274 | + | ||
275 | + .box { | ||
276 | + width: 750rpx; | ||
277 | + height: 100%; | ||
278 | + /* background: url(../../static/img/bag.png); */ | ||
279 | + background: url('http://39.105.61.115:1912/scripts/yemian.png') no-repeat center; | ||
280 | + background-size: cover; | ||
281 | + overflow: hidden | ||
282 | + } | ||
283 | + | ||
284 | + .tpouziname { | ||
285 | + color: #F9F9F9; | ||
286 | + font-size: 56rpx; | ||
287 | + text-align: center; | ||
288 | + margin-top: 278rpx; | ||
289 | + font-weight: bold; | ||
290 | + } | ||
291 | + | ||
292 | + .zhuanjia { | ||
293 | + color: #F9F9F9; | ||
294 | + font-size: 40rpx; | ||
295 | + text-align: center; | ||
296 | + font-weight: bold; | ||
297 | + } | ||
298 | + | ||
299 | + .shrumima { | ||
300 | + width: 438rpx; | ||
301 | + height: 68rpx; | ||
302 | + background: rgba(238, 238, 238, 1); | ||
303 | + opacity: 1; | ||
304 | + border-radius: 8rpx; | ||
305 | + color: #BDC4CE; | ||
306 | + font-size: 24rpx; | ||
307 | + padding: 18rpx 24rpx; | ||
308 | + box-sizing: border-box; | ||
309 | + margin: 232rpx auto 0; | ||
310 | + display: flex; | ||
311 | + align-items: center; | ||
312 | + } | ||
313 | + | ||
314 | + .shrumima input { | ||
315 | + width: 100%; | ||
316 | + /* height:18rpx; */ | ||
317 | + } | ||
318 | + | ||
319 | + .entershouji { | ||
320 | + color: #BDC4CE; | ||
321 | + font-size: 24rpx; | ||
322 | + } | ||
323 | + | ||
324 | + .mima { | ||
325 | + margin: 32rpx auto 0; | ||
326 | + } | ||
327 | + | ||
328 | + .yanzheng { | ||
329 | + display: flex; | ||
330 | + align-items: center; | ||
331 | + } | ||
332 | + | ||
333 | + .yanzheng { | ||
334 | + width: 438rpx; | ||
335 | + margin: 32rpx auto 0; | ||
336 | + } | ||
337 | + | ||
338 | + .yanzhengleft { | ||
339 | + width: 256rpx; | ||
340 | + height: 68rpx; | ||
341 | + border-radius: 8rpx; | ||
342 | + background: #fff; | ||
343 | + padding: 18rpx 24rpx; | ||
344 | + box-sizing: border-box; | ||
345 | + display: flex; | ||
346 | + align-items: center; | ||
347 | + background: #EEEEEE; | ||
348 | + color: #BDC4CE; | ||
349 | + font-size: 24rpx | ||
350 | + } | ||
351 | + | ||
352 | + .yanzhengleft input { | ||
353 | + width: 100%; | ||
354 | + height: 100%; | ||
355 | + } | ||
356 | + | ||
357 | + .yanzhenghao { | ||
358 | + width: 162rpx; | ||
359 | + height: 68rpx; | ||
360 | + background: rgba(255, 255, 255, 1); | ||
361 | + opacity: 1; | ||
362 | + border-radius: 8rpx; | ||
363 | + margin-left: 20rpx; | ||
364 | + color: #169BD5; | ||
365 | + font-size: 24rpx; | ||
366 | + text-align: center; | ||
367 | + line-height: 68rpx; | ||
368 | + letter-spacing: 6rpx; | ||
369 | + font-weight: bold; | ||
370 | + background: #EEEEEE; | ||
371 | + } | ||
372 | + | ||
373 | + .yanzhenghao input { | ||
374 | + color: #BDC4CE; | ||
375 | + font-size: 24rpx; | ||
376 | + } | ||
377 | + | ||
378 | + .yan { | ||
379 | + color: #BDC4CE; | ||
380 | + font-size: 24rpx; | ||
381 | + } | ||
382 | + | ||
383 | + .select { | ||
384 | + width: 438rpx; | ||
385 | + margin: 20rpx auto 0; | ||
386 | + display: flex; | ||
387 | + align-items: center; | ||
388 | + } | ||
389 | + | ||
390 | + .selectleft { | ||
391 | + width: 20rpx; | ||
392 | + height: 20rpx; | ||
393 | + font-size: 0; | ||
394 | + } | ||
395 | + | ||
396 | + .selectleft image { | ||
397 | + width: 100%; | ||
398 | + height: 100%; | ||
399 | + } | ||
400 | + | ||
401 | + .selectright { | ||
402 | + color: #fff; | ||
403 | + font-size: 20rpx; | ||
404 | + margin-left: 10rpx; | ||
405 | + } | ||
406 | + | ||
407 | + .denglu { | ||
408 | + width: 438rpx; | ||
409 | + height: 76rpx; | ||
410 | + | ||
411 | + /* background: rgba(0, 147, 255, 1); */ | ||
412 | + opacity: 1; | ||
413 | + background: #007AFF; | ||
414 | + opacity: 0.9; | ||
415 | + color: #fff; | ||
416 | + font-size: 24rpx; | ||
417 | + text-align: center; | ||
418 | + line-height: 76rpx; | ||
419 | + margin: 52rpx auto 0; | ||
420 | + border-radius: 8rpx; | ||
421 | + } | ||
422 | + | ||
423 | + .dengactive { | ||
424 | + opacity: 0.9; | ||
425 | + background: #738DFA; | ||
426 | + } | ||
427 | + | ||
428 | + .pop { | ||
429 | + width: 200rpx; | ||
430 | + height: 80rpx; | ||
431 | + background-color: rgba(0, 0, 0, 0.5); | ||
432 | + border-radius: 16rpx; | ||
433 | + color: #fff; | ||
434 | + font-size: 30rpx; | ||
435 | + text-align: center; | ||
436 | + line-height: 80rpx; | ||
437 | + position: absolute; | ||
438 | + top: 50%; | ||
439 | + left: 50%; | ||
440 | + transform: translate(-50%, -50%) | ||
441 | + } | ||
442 | + | ||
443 | + /* .zhanghao { | ||
444 | + margin-top: 280rpx; | ||
445 | + } */ | ||
446 | +</style> |
pages/jieduantaizhang/jieduantaizhang.vue
0 → 100644
1 | + | ||
2 | +<template> | ||
3 | + <view class="box"> | ||
4 | + <view class="renyuan"> | ||
5 | + | ||
6 | + <view class="projectlist"> | ||
7 | + <view class="projectitem"> | ||
8 | + <view class="projectitemleft">项目编号:</view> | ||
9 | + <view class="projectitemright">{{item.fnumber}}</view> | ||
10 | + </view> | ||
11 | + | ||
12 | + <view class="projectitem"> | ||
13 | + <view class="projectitemleft">项目名称:</view> | ||
14 | + <view class="projectitemright xiangmuname">{{item.fname}}</view> | ||
15 | + </view> | ||
16 | + <!-- <view class="projectitem"> | ||
17 | + <view class="projectitemleft">评审金额:</view> | ||
18 | + <view class="projectitemright">预算</view> | ||
19 | + </view> --> | ||
20 | + <view class="projectitem"> | ||
21 | + <view class="projectitemleft">项目类型:</view> | ||
22 | + <view class="projectitemright">{{item.fprojecttype}}</view> | ||
23 | + </view> | ||
24 | + <view class="projectitem"> | ||
25 | + <view class="projectitemleft">送审单位:</view> | ||
26 | + <view class="projectitemright">{{item.fdevorgid}}</view> | ||
27 | + </view> | ||
28 | + <view class="projectitem"> | ||
29 | + <view class="projectitemleft">送审时间:</view> | ||
30 | + <view class="projectitemright">{{item.fsubmitfindate}}</view> | ||
31 | + </view> | ||
32 | + <view class="projectitem"> | ||
33 | + <view class="projectitemleft">送审金额:</view> | ||
34 | + <view class="projectitemright">{{item.ftoauditamt}}</view> | ||
35 | + </view> | ||
36 | + <view class="projectitem"> | ||
37 | + <view class="projectitemleft">审定金额:</view> | ||
38 | + <view class="projectitemright">{{item.fauditamount}}</view> | ||
39 | + </view> | ||
40 | + <view class="projectitem"> | ||
41 | + <view class="projectitemleft">审减金额:</view> | ||
42 | + <view class="projectitemright">{{item.fshenjianmoney}}</view> | ||
43 | + </view> | ||
44 | + <view class="projectitem"> | ||
45 | + <view class="projectitemleft">审减率:</view> | ||
46 | + <view class="projectitemright">{{item.fshenjianrate}}</view> | ||
47 | + </view> | ||
48 | + <view class="projectitem"> | ||
49 | + <view class="projectitemleft">咨询单位:</view> | ||
50 | + <view class="projectitemright">{{item.flordintorgid}}</view> | ||
51 | + </view> | ||
52 | + <view class="projectitem"> | ||
53 | + <view class="projectitemleft">评审类型:</view> | ||
54 | + <view class="projectitemright">{{item.freviewtype}}</view> | ||
55 | + </view> | ||
56 | + <view class="projectitem"> | ||
57 | + <view class="projectitemleft">送审年度:</view> | ||
58 | + <view class="projectitemright">{{item.fyear}}</view> | ||
59 | + </view> | ||
60 | + <!-- <view class="projectitem"> | ||
61 | + <view class="projectitemleft">咨询单位项目审核员:</view> | ||
62 | + <view class="projectitemright">{{item.flordintorgid}}</view> | ||
63 | + </view> --> | ||
64 | + </view> | ||
65 | + | ||
66 | + </view> | ||
67 | + | ||
68 | + </view> | ||
69 | +</template> | ||
70 | + | ||
71 | +<script> | ||
72 | + import app from "../../App.vue"; | ||
73 | + import helper from '../../common/help.js'; | ||
74 | + export default { | ||
75 | + data() { | ||
76 | + return { | ||
77 | + item:'' | ||
78 | + } | ||
79 | + }, | ||
80 | + onLoad(options) { | ||
81 | + console.log(options) | ||
82 | + this.item=JSON.parse(options.item); | ||
83 | + let newitem=this.item; | ||
84 | + newitem.fsubmitfindate=newitem.fsubmitfindate.split("T"); | ||
85 | + newitem.fsubmitfindate=newitem.fsubmitfindate[0] | ||
86 | + newitem.fauditamount=helper.change(newitem.fauditamount); | ||
87 | + newitem.ftoauditamt=helper.change(newitem.ftoauditamt); | ||
88 | + newitem.fshenjianmoney=helper.change(newitem.fshenjianmoney); | ||
89 | + | ||
90 | + | ||
91 | + this.item=newitem | ||
92 | + console.log(this.item) | ||
93 | + // 获取台账列表 | ||
94 | + | ||
95 | + | ||
96 | + }, | ||
97 | + methods: { | ||
98 | + } | ||
99 | + | ||
100 | + } | ||
101 | + | ||
102 | +</script> | ||
103 | + | ||
104 | +<style> | ||
105 | + page{ | ||
106 | + background: #f9f9f9; | ||
107 | + } | ||
108 | + .box { | ||
109 | + background: #fff; | ||
110 | + } | ||
111 | + | ||
112 | + .projectinfo { | ||
113 | + display: flex; | ||
114 | + align-items: center; | ||
115 | + } | ||
116 | + | ||
117 | + .projectinfoname { | ||
118 | + width: 44rpx; | ||
119 | + height: 44rpx; | ||
120 | + font-size: 0; | ||
121 | + } | ||
122 | + | ||
123 | + .projectinfoname image { | ||
124 | + width: 100%; | ||
125 | + height: 100% | ||
126 | + } | ||
127 | + | ||
128 | + .projectname { | ||
129 | + color: #3D444D; | ||
130 | + font-size: 28rpx; | ||
131 | + font-weight: bold; | ||
132 | + margin-left: 16rpx; | ||
133 | + } | ||
134 | + .xiangmuname{ | ||
135 | + width:550rpx; | ||
136 | + text-align: right; | ||
137 | + } | ||
138 | + | ||
139 | + .projectinfo { | ||
140 | + padding: 36rpx 32rpx 16rpx; | ||
141 | + box-sizing: border-box; | ||
142 | + border-bottom: 1rpx solid #BDC4CE; | ||
143 | + } | ||
144 | + | ||
145 | + .projectlist { | ||
146 | + padding: 0 32rpx; | ||
147 | + box-sizing: border-box; | ||
148 | + } | ||
149 | + | ||
150 | + .projectitem { | ||
151 | + background: #fff; | ||
152 | + display: flex; | ||
153 | + align-items: center; | ||
154 | + justify-content: space-between; | ||
155 | + padding: 32rpx 0; | ||
156 | + box-sizing: border-box; | ||
157 | + border-bottom: 1rpx solid #EEEEEE | ||
158 | + } | ||
159 | + | ||
160 | + .projectitemleft { | ||
161 | + color: #8C9198; | ||
162 | + font-size: 28rpx; | ||
163 | + } | ||
164 | + | ||
165 | + .projectitemright { | ||
166 | + color: #3D444D; | ||
167 | + font-size: 28rpx; | ||
168 | + } | ||
169 | + | ||
170 | + .renyuanleft { | ||
171 | + color: #8C9198; | ||
172 | + font-size: 28rpx; | ||
173 | + } | ||
174 | + | ||
175 | + .renyuanright { | ||
176 | + width: 300rpx; | ||
177 | + height: 60rpx; | ||
178 | + background: #EEEEEE; | ||
179 | + padding: 14rpx 28rpx; | ||
180 | + box-sizing: border-box; | ||
181 | + display: flex; | ||
182 | + align-items: center; | ||
183 | + } | ||
184 | + | ||
185 | + .renyuanright input { | ||
186 | + width: 100%; | ||
187 | + height: 40rpx; | ||
188 | + color: #8C9198; | ||
189 | + font-size: 24rpx; | ||
190 | + } | ||
191 | + | ||
192 | + .xiangmuyuan { | ||
193 | + color: #8C9198; | ||
194 | + font-size: 24rpx; | ||
195 | + } | ||
196 | + | ||
197 | + .zixunbottom { | ||
198 | + display: flex; | ||
199 | + align-items: center; | ||
200 | + padding: 28rpx 32rpx 34rpx; | ||
201 | + } | ||
202 | + | ||
203 | + .zixunbotleft { | ||
204 | + width: 130rpx; | ||
205 | + height: 80rpx; | ||
206 | + background: rgba(232, 80, 0, 1); | ||
207 | + opacity: 1; | ||
208 | + border-radius: 8rpx; | ||
209 | + color: #fff; | ||
210 | + font-size: 28rpx; | ||
211 | + text-align: center; | ||
212 | + line-height: 80rpx; | ||
213 | + } | ||
214 | + | ||
215 | + .zixunbotright { | ||
216 | + width: 532rpx; | ||
217 | + height: 80rpx; | ||
218 | + background: rgba(0, 147, 255, 1); | ||
219 | + opacity: 1; | ||
220 | + border-radius: 8rpx; | ||
221 | + color: #fff; | ||
222 | + font-size: 28rpx; | ||
223 | + text-align: center; | ||
224 | + line-height: 80rpx; | ||
225 | + margin-left: 24rpx; | ||
226 | + } | ||
227 | + | ||
228 | + /* .renyuan{ | ||
229 | + border-bottom:16rpx solid #f9f9f9; | ||
230 | + } */ | ||
231 | + .renyaoqiu { | ||
232 | + margin-top: 12rpx; | ||
233 | + } | ||
234 | + | ||
235 | + .zixundan { | ||
236 | + display: flex; | ||
237 | + align-items: center; | ||
238 | + justify-content: space-between; | ||
239 | + padding: 44rpx 42rpx 16rpx 0; | ||
240 | + box-sizing: border-box; | ||
241 | + border-bottom: 1rpx solid #BDC4CE; | ||
242 | + } | ||
243 | + | ||
244 | + .zixundanitem { | ||
245 | + color: #06121E; | ||
246 | + font-size: 28rpx; | ||
247 | + } | ||
248 | + | ||
249 | + .zixunbox { | ||
250 | + padding: 0 32rpx; | ||
251 | + box-sizing: border-box; | ||
252 | + } | ||
253 | + | ||
254 | + .zixundanboxlist { | ||
255 | + display: flex; | ||
256 | + align-items: center; | ||
257 | + padding: 20rpx 0; | ||
258 | + box-sizing: border-box; | ||
259 | + /* justify-content: space-between; */ | ||
260 | + } | ||
261 | + | ||
262 | + .zixunname { | ||
263 | + width: 320rpx; | ||
264 | + color: #06121E; | ||
265 | + font-size: 24rpx; | ||
266 | + line-height: 1.5; | ||
267 | + overflow: hidden; | ||
268 | + text-overflow: ellipsis; | ||
269 | + white-space: nowrap | ||
270 | + } | ||
271 | + | ||
272 | + .zixunshu { | ||
273 | + width: 105rpx; | ||
274 | + /* margin-left: 52rpx; */ | ||
275 | + text-align: center; | ||
276 | + color: #06121E; | ||
277 | + font-size: 24rpx; | ||
278 | + } | ||
279 | + | ||
280 | + .zixuntou { | ||
281 | + width: 108rpx; | ||
282 | + height: 40rpx; | ||
283 | + background: rgba(0, 147, 255, 1); | ||
284 | + opacity: 1; | ||
285 | + border-radius: 8rpx; | ||
286 | + color: #F9F9F9; | ||
287 | + font-size: 24rpx; | ||
288 | + text-align: center; | ||
289 | + line-height: 40rpx; | ||
290 | + margin-left: 140rpx | ||
291 | + } | ||
292 | + | ||
293 | + .zuxiangmu { | ||
294 | + color: #3D444D; | ||
295 | + font-size: 28rpx; | ||
296 | + font-weight: bold; | ||
297 | + } | ||
298 | + | ||
299 | + .querenfen { | ||
300 | + width: 686rpx; | ||
301 | + height: 80rpx; | ||
302 | + background: rgba(0, 147, 255, 1); | ||
303 | + opacity: 1; | ||
304 | + border-radius: 8rpx; | ||
305 | + color:#fff; | ||
306 | + font-size: 28rpx; | ||
307 | + text-align: center; | ||
308 | + line-height: 80rpx; | ||
309 | + } | ||
310 | +</style> |
pages/renwu/renwu.vue
0 → 100644
1 | +<template> | ||
2 | + <view class='box'> | ||
3 | + <view class="renwulist"> | ||
4 | + <!-- v-if="showhide[0].status==1" --> | ||
5 | + <view class="renwulistitem" @click="xiangmufen" > | ||
6 | + <view class="renwuleft"> | ||
7 | + <view class="renwulimg"> | ||
8 | + <image src="../../static/img/fenpei.png" mode=""></image> | ||
9 | + </view> | ||
10 | + <view class="renwuname">项目组分配</view> | ||
11 | + </view> | ||
12 | + | ||
13 | + <view class="renwuright"> | ||
14 | + <image src="../../static/img/yourow.png" mode=""></image> | ||
15 | + </view> | ||
16 | + </view> | ||
17 | + <view class="renwulistitem" @click="zhuanjia" > | ||
18 | + <!-- v-if="showhide[1].status==1" --> | ||
19 | + <view class="renwuleft"> | ||
20 | + <view class="renwulimg"> | ||
21 | + <image src="../../static/img/zhuanjia.png" mode=""></image> | ||
22 | + </view> | ||
23 | + <view class="renwuname">专家分配</view> | ||
24 | + </view> | ||
25 | + <view class="renwuright"> | ||
26 | + <image src="../../static/img/yourow.png" mode=""></image> | ||
27 | + </view> | ||
28 | + </view> | ||
29 | + <!-- v-if="showhide[2].status==1" --> | ||
30 | + <view class="renwulistitem" @click="danweifen" > | ||
31 | + <view class="renwuleft"> | ||
32 | + <view class="renwulimg"> | ||
33 | + <image src="../../static/img/danwei.png" mode=""></image> | ||
34 | + </view> | ||
35 | + <view class="renwuname">咨询单位分配</view> | ||
36 | + </view> | ||
37 | + <view class="renwuright"> | ||
38 | + <image src="../../static/img/yourow.png" mode=""></image> | ||
39 | + </view> | ||
40 | + </view> | ||
41 | + | ||
42 | + </view> | ||
43 | + | ||
44 | + | ||
45 | + | ||
46 | + </view> | ||
47 | +</template> | ||
48 | + | ||
49 | +<script> | ||
50 | + | ||
51 | +import app from "../../App.vue"; | ||
52 | + | ||
53 | + export default { | ||
54 | + data() { | ||
55 | + return { | ||
56 | + selshow: false, | ||
57 | + showhide:'' | ||
58 | + } | ||
59 | + }, | ||
60 | + onLoad() { | ||
61 | + this.showhideproject() | ||
62 | + }, | ||
63 | + methods: { | ||
64 | + xiangmufen(){ | ||
65 | + uni.navigateTo({ | ||
66 | + url:'../zixunfen/zixunfen' | ||
67 | + }) | ||
68 | + }, | ||
69 | + // 咨询单位 | ||
70 | + danweifen(){ | ||
71 | + uni.navigateTo({ | ||
72 | + url:'../danweizixun/danweizixun' | ||
73 | + }) | ||
74 | + }, | ||
75 | + // 专家分配 | ||
76 | + zhuanjia(){ | ||
77 | + uni.navigateTo({ | ||
78 | + url:'../zhuanjiafenpei/zhuanjiafenpei' | ||
79 | + }) | ||
80 | + }, | ||
81 | + | ||
82 | + | ||
83 | + }, | ||
84 | + } | ||
85 | +</script> | ||
86 | + | ||
87 | +<style> | ||
88 | + .renwulimg{ | ||
89 | + width:68rpx; | ||
90 | + height:68rpx; | ||
91 | + font-size: 0; | ||
92 | + } | ||
93 | + .renwulimg image{ | ||
94 | + width:100%; | ||
95 | + height:100%; | ||
96 | + } | ||
97 | + .renwuright{ | ||
98 | + width:13rpx; | ||
99 | + height:23rpx; | ||
100 | + font-size: 0; | ||
101 | + } | ||
102 | + .renwuright image{ | ||
103 | + width:100%; | ||
104 | + height:100%; | ||
105 | + } | ||
106 | + .renwulist{ | ||
107 | + padding: 0 32rpx; | ||
108 | + box-sizing: border-box; | ||
109 | + } | ||
110 | + .renwulistitem{ | ||
111 | + display:flex; | ||
112 | + align-items: center; | ||
113 | + justify-content: space-between; | ||
114 | + padding: 32rpx 0; | ||
115 | + box-sizing: border-box; | ||
116 | + border-bottom:1rpx solid #EEEEEE; | ||
117 | + } | ||
118 | + .renwuleft{ | ||
119 | + display:flex; | ||
120 | + align-items: center; | ||
121 | + } | ||
122 | + .renwuname{ | ||
123 | + color:#3D444D; | ||
124 | + font-size: 28rpx; | ||
125 | + margin-left:20rpx; | ||
126 | + letter-spacing: 2rpx; | ||
127 | + } | ||
128 | +</style> |
1 | +<template> | ||
2 | + <view class="box"> | ||
3 | + <!-- <view class="headbox"> | ||
4 | + <view class="headboxleft" :class="selact==1?'headactive':''" @click="fenhui" data-id="1">分类汇总</view> | ||
5 | + <view class="headboxleft" :class="selact==2?'headactive':''" @click="fenhui" data-id="2">分类明细</view> | ||
6 | + </view> --> | ||
7 | + <!-- <view class="hengping" @click="screenheng">点击横屏显示</view> --> | ||
8 | + <view class="nodata" v-if="huizonglist.length==0">暂无数据</view> | ||
9 | + <!-- <view class="nodata" v-if="huizonglist.length==1">暂无数据</view> --> | ||
10 | + <block v-else> | ||
11 | + <!-- 分类台账汇总 --> | ||
12 | + <view class="taizhangbox" v-if="huizong"> | ||
13 | + <view class="taizhanghead"> | ||
14 | + <view class="taizhangitem">审减率区间</view> | ||
15 | + <view class="taizhangitem"> | ||
16 | + <view class="shunum">项目数量</view> | ||
17 | + <view class="shenjie">(已审结)</view> | ||
18 | + </view> | ||
19 | + <view class="taizhangitem">总送审题</view> | ||
20 | + <view class="taizhangitem">总审定题</view> | ||
21 | + <view class="taizhangitem">总审减额</view> | ||
22 | + <view class="taizhangitem">综合审减率</view> | ||
23 | + <view class="taizhangitem">操作</view> | ||
24 | + </view> | ||
25 | + | ||
26 | + <view class="taizhanglist"> | ||
27 | + <view class="taizhangflistitem" v-for="(item,index) in huizonglist" :key="index"> | ||
28 | + <view class="taiitem itemname">{{item.fname}} | ||
29 | + </view> | ||
30 | + <view class="taiitem itemshu">{{item.prjnum}}</view> | ||
31 | + <view class="taiitem songshen">{{item.auduitsum}}</view> | ||
32 | + <view class="taiitem shending">{{item.amountsum}}</view> | ||
33 | + <view class="taiitem shenjian">{{item.freesum}}</view> | ||
34 | + <view class="taiitem shenlv">{{item.freerate}}</view> | ||
35 | + <view class="taiitem detailname" @click="detail" :data-id="item.fid">详情</view> | ||
36 | + </view> | ||
37 | + | ||
38 | + | ||
39 | + | ||
40 | + </view> | ||
41 | + | ||
42 | + </view> | ||
43 | + | ||
44 | + <!-- 分类台账明细 --> | ||
45 | + <view class="taizhangbox" v-else> | ||
46 | + <view class="taizhanghead taizhangheadde"> | ||
47 | + <view class="taizhangitem">项目编号</view> | ||
48 | + <!-- <view class="taizhangitem"> | ||
49 | + <view class="shunum">项目名称</view> | ||
50 | + <view class="shenjie">(已审结)</view> | ||
51 | + </view> --> | ||
52 | + <view class="taizhangitem">项目名称</view> | ||
53 | + <!-- <view class="taizhangitem">送审年度</view> --> | ||
54 | + <view class="taizhangitem">送审金额</view> | ||
55 | + <view class="taizhangitem">评审类型</view> | ||
56 | + <view class="taizhangitem">送审单位</view> | ||
57 | + <view class="taizhangitem">项目类型</view> | ||
58 | + <view class="taizhangitem">送审时间</view> | ||
59 | + <view class="taizhangitem">审定金额</view> | ||
60 | + <view class="taizhangitem">审减率</view> | ||
61 | + <view class="taizhangitem">审减金额</view> | ||
62 | + <view class="taizhangitem">咨询单位</view> | ||
63 | + <view class="taizhangitem">送审年度</view> | ||
64 | + <view class="taizhangitem">咨询单位项目审核负责人</view> | ||
65 | + </view> | ||
66 | + | ||
67 | + <view class="taizhanglist"> | ||
68 | + <view class="taizhangflistitem taizhangflistitemde" v-for="(item,index) in huizonglist" :key="index"> | ||
69 | + <view class="taiitem itemname">{{item.fprjnumber}} | ||
70 | + </view> | ||
71 | + <view class="taiitem itemshu">{{item.fprjname}}</view> | ||
72 | + <view class="taiitem songshen">{{item.ftoauditamt}}</view> | ||
73 | + <view class="taiitem leixing">{{item.freviewtype}}</view> | ||
74 | + <view class="taiitem danwei">{{item.fdevorgid}}</view> | ||
75 | + <view class="taiitem shenlv">{{item.fprojecttype}}</view> | ||
76 | + | ||
77 | + <view class="taiitem date">{{item.fsubmitfindate}} | ||
78 | + </view> | ||
79 | + <!-- <view class="taiitem itemname">{{item.fsubmitfindate}} | ||
80 | + </view> --> | ||
81 | + <view class="taiitem jine">{{item.fauditamount}}</view> | ||
82 | + <view class="taiitem songshenlv">{{item.fauditratio}}</view> | ||
83 | + <view class="taiitem shending">{{item.fshenjianmoney}}</view> | ||
84 | + <view class="taiitem shenjian">{{item.flordintorgid}}</view> | ||
85 | + <view class="taiitem shenyear">{{item.fyear}}</view> | ||
86 | + <view class="taiitem shenlvze">{{item.fauditledername==null?'':item.fauditledername}}</view> | ||
87 | + | ||
88 | + | ||
89 | + </view> | ||
90 | + | ||
91 | + | ||
92 | + | ||
93 | + </view> | ||
94 | + | ||
95 | + </view> | ||
96 | + | ||
97 | + | ||
98 | + | ||
99 | + | ||
100 | + </block> | ||
101 | + | ||
102 | + <!-- 分类台账明细 --> | ||
103 | + | ||
104 | + <!-- 底部 --> | ||
105 | + <!-- <view class="dibu"> | ||
106 | + <view class="dibuleft"> | ||
107 | + <view class="dibuliteml">上一页</view> | ||
108 | + | ||
109 | + <view class="dibulitemm"> | ||
110 | + <view class="di">第</view> | ||
111 | + <view class="dishu"> | ||
112 | + <input type="number"> | ||
113 | + </view> | ||
114 | + <view class="ye">页</view> | ||
115 | + | ||
116 | + </view> | ||
117 | + <view class="dibulitemx ">下一页</view> | ||
118 | + </view> | ||
119 | + | ||
120 | + <view class="diburight"> | ||
121 | + 共30页 | ||
122 | + </view> | ||
123 | + </view> | ||
124 | + --> | ||
125 | + | ||
126 | + <view class="register" v-if="tizhangshow"> | ||
127 | + <view class="taizhangwrap xiangmuzi"> | ||
128 | + <view class="wrapbox"> | ||
129 | + <view class="wrapitem"> | ||
130 | + <view class="wrapitemleft">项目类型</view> | ||
131 | + <picker @change="bindPickerChange" :value="index" :range="projectlist" range-key="fname"> | ||
132 | + <view class="wrapitemright"> | ||
133 | + | ||
134 | + <view class="uni-input projectname">{{projectname}}</view> | ||
135 | + | ||
136 | + <!-- <input type="text" /> --> | ||
137 | + </view> | ||
138 | + </picker> | ||
139 | + </view> | ||
140 | + <view class="wrapitem"> | ||
141 | + <view class="wrapitemleft">评审类型</view> | ||
142 | + | ||
143 | + <picker @change="danweichange" :value="danweiindex" :range="danweilist" range-key="fname"> | ||
144 | + <view class="wrapitemright"> | ||
145 | + | ||
146 | + <view class="uni-input projectname">{{danweiname}}</view> | ||
147 | + | ||
148 | + <!-- <input type="text" /> --> | ||
149 | + </view> | ||
150 | + </picker> | ||
151 | + | ||
152 | + </view> | ||
153 | + <!-- <view class="wrapitem"> | ||
154 | + <view class="wrapitemleft">咨询单位</view> | ||
155 | + | ||
156 | + <picker @change="danweichangez" :value="danweiindexz" :range="danweilistz" range-key="fname"> | ||
157 | + <view class="wrapitemright"> | ||
158 | + | ||
159 | + <view class="uni-input projectname">{{danweinamez}}</view> | ||
160 | + | ||
161 | + | ||
162 | + </view> | ||
163 | + </picker> | ||
164 | + | ||
165 | + </view> --> | ||
166 | + | ||
167 | + | ||
168 | + | ||
169 | + <view class="wrapitem"> | ||
170 | + <view class="wrapitemleft">年度</view> | ||
171 | + <picker @change="yearchange" :value="yearindex" :range="yeararr"> | ||
172 | + <view class="wrapitemright"> | ||
173 | + | ||
174 | + | ||
175 | + | ||
176 | + <view class="nianduleft"> | ||
177 | + <view class="uni-input projectname">{{yeararr[yearindex]}}</view> | ||
178 | + <!-- <input type="text" /> --> | ||
179 | + </view> | ||
180 | + | ||
181 | + <view class="nianduright"> | ||
182 | + <image src="../../static/img/number.png" mode=""></image> | ||
183 | + </view> | ||
184 | + | ||
185 | + </view> | ||
186 | + </picker> | ||
187 | + </view> | ||
188 | + <view class="wrapitem"> | ||
189 | + <view class="wrapitemleft">时间</view> | ||
190 | + <view class="time"> | ||
191 | + | ||
192 | + <picker mode="date" :value="date" :start="startDate" :end="endDate" @change="bindDateChange"> | ||
193 | + | ||
194 | + | ||
195 | + <view class="timeleft"> | ||
196 | + {{startdate}} | ||
197 | + <!-- <input placeholder="" /> --> | ||
198 | + <!-- <input type="text" placeholder="" /> --> | ||
199 | + </view> | ||
200 | + </picker> | ||
201 | + <view class="timemiddle"></view> | ||
202 | + <picker mode="date" :value="date" :start="startDate" :end="endDate" @change="endDateChange"> | ||
203 | + | ||
204 | + | ||
205 | + <view class="timeleft"> | ||
206 | + {{endate}} | ||
207 | + <!-- <input placeholder="" /> --> | ||
208 | + <!-- <input type="text" placeholder="" /> --> | ||
209 | + </view> | ||
210 | + </picker> | ||
211 | + </view> | ||
212 | + </view> | ||
213 | + | ||
214 | + </view> | ||
215 | + | ||
216 | + <view class="zibot"> | ||
217 | + <view class="reset" @click="reset">重置</view> | ||
218 | + <!-- <view class="chaxun" @click="search" v-if="huizong">查询</view> --> | ||
219 | + <view class="chaxun" @click="searchdetail">查询</view> | ||
220 | + </view> | ||
221 | + | ||
222 | + </view> | ||
223 | + </view> | ||
224 | + | ||
225 | + | ||
226 | + | ||
227 | + </view> | ||
228 | +</template> | ||
229 | + | ||
230 | +<script> | ||
231 | + import app from "../../App.vue"; | ||
232 | + import helper from '../../common/help.js'; | ||
233 | + export default { | ||
234 | + data() { | ||
235 | + return { | ||
236 | + selact: 1, | ||
237 | + tizhangshow: false, | ||
238 | + danweiindex: 0, | ||
239 | + danweiname: '评审类型', | ||
240 | + danweilist: [], | ||
241 | + projectlist: [], | ||
242 | + projectname: '项目类型', | ||
243 | + index: 0, | ||
244 | + yeararr: [], | ||
245 | + yearindex: -1, | ||
246 | + startdate: '开始时间', | ||
247 | + endate: '结束时间', | ||
248 | + danweilistz: [], | ||
249 | + danweiindexz: 0, | ||
250 | + danweinamez: '咨询单位', | ||
251 | + toaudit: '', | ||
252 | + fintorg: '', | ||
253 | + fprojectcategory: '', | ||
254 | + submitdateone: '', | ||
255 | + submitdatetwo: '', | ||
256 | + sendyear: '', | ||
257 | + huizonglist: [], | ||
258 | + type: '', | ||
259 | + huizong: false, | ||
260 | + fid: '' | ||
261 | + } | ||
262 | + }, | ||
263 | + onLoad(options) { | ||
264 | + | ||
265 | + this.fid = options.fid | ||
266 | + | ||
267 | + // 获取今年 | ||
268 | + var date = new Date(); | ||
269 | + var jinyear = date.getFullYear(); | ||
270 | + console.log(jinyear); | ||
271 | + var qianyear = jinyear - 19 | ||
272 | + for (var i = qianyear; i <= jinyear; i++) { | ||
273 | + this.yeararr.push(i) | ||
274 | + } | ||
275 | + | ||
276 | + | ||
277 | + // 获取评审类型 | ||
278 | + this.getpingtype(); | ||
279 | + // 获取项目类型 | ||
280 | + this.getprojectkind(); | ||
281 | + // 获取咨询单位 | ||
282 | + this.getzixundanwei(); | ||
283 | + // 获取分类汇总数据 | ||
284 | + // this.getfenhuilist() | ||
285 | + this.getdetail() | ||
286 | + | ||
287 | + | ||
288 | + }, | ||
289 | + methods: { | ||
290 | + reset() { | ||
291 | + this.danweiname = '评审类型'; | ||
292 | + this.projectname = '项目类型'; | ||
293 | + this.startdate = '开始时间'; | ||
294 | + this.endate = '结束时间'; | ||
295 | + | ||
296 | + this.yearindex = -1; | ||
297 | + this.toaudit = ''; | ||
298 | + this.fprojectcategory = ''; | ||
299 | + this.sendyear = ''; | ||
300 | + this.submitdateone = ''; | ||
301 | + this.submitdatetwo = '' | ||
302 | + }, | ||
303 | + // 筛选 | ||
304 | + onNavigationBarButtonTap() { | ||
305 | + this.tizhangshow = !this.tizhangshow | ||
306 | + // 点击筛选 | ||
307 | + }, | ||
308 | + // 年改变 | ||
309 | + yearchange(e) { | ||
310 | + this.yearindex = e.target.value; | ||
311 | + this.sendyear = this.yeararr[e.target.value] | ||
312 | + }, | ||
313 | + // 修改日期 | ||
314 | + | ||
315 | + bindDateChange: function(e) { | ||
316 | + this.startdate = e.target.value; | ||
317 | + this.submitdateone = e.target.value; | ||
318 | + }, | ||
319 | + | ||
320 | + endDateChange(e) { | ||
321 | + this.endate = e.target.value; | ||
322 | + this.submitdatetwo = e.target.value; | ||
323 | + }, | ||
324 | + fenhui(e) { | ||
325 | + console.log(e) | ||
326 | + let id = e.currentTarget.dataset.id; | ||
327 | + console.log(id) | ||
328 | + this.selact = id; | ||
329 | + }, | ||
330 | + // 横屏显示 | ||
331 | + screenheng() { | ||
332 | + console.log(999) | ||
333 | + // plus.screen.lockOrientation('landscape-primary'); | ||
334 | + }, | ||
335 | + | ||
336 | + //获取咨询单位 | ||
337 | + getzixundanwei() { | ||
338 | + let that = this; | ||
339 | + console.log(9988776655) | ||
340 | + let url = "project/Get_IntermediaryOrg"; | ||
341 | + | ||
342 | + | ||
343 | + app.post(url, '', 'get').then(r => { | ||
344 | + console.log(r); | ||
345 | + that.danweilistz = r.data; | ||
346 | + | ||
347 | + }).catch(err => { | ||
348 | + console.log(err) | ||
349 | + | ||
350 | + | ||
351 | + }) | ||
352 | + }, | ||
353 | + danweichangez: function(e) { | ||
354 | + | ||
355 | + console.log('picker发送选择改变,携带值为', e); | ||
356 | + console.log('998877654', this.danweilistz); | ||
357 | + console.log('09988776545', this.danweilistz[e.target.value].fname) | ||
358 | + this.danweiindexz = e.target.value; | ||
359 | + this.fintorg = this.danweilistz[e.target.value].fname; | ||
360 | + this.danweinamez = this.danweilistz[e.target.value].fname; | ||
361 | + }, | ||
362 | + // 获取评审类型 | ||
363 | + getpingtype() { | ||
364 | + let that = this; | ||
365 | + console.log(9988776655) | ||
366 | + let url = "project/Get_ToAuditType"; | ||
367 | + // console.log('8877665544',param) | ||
368 | + app.post(url, '', 'get').then(r => { | ||
369 | + console.log(r) | ||
370 | + that.danweilist = r.data; | ||
371 | + // that.ftrialnumber = r.data[0].ftrialnumber; | ||
372 | + // that.fconcludenumber = r.data[0].fconcludenumber; | ||
373 | + | ||
374 | + // console.log('1234567890',JSON.stringify(r)) | ||
375 | + // that.rizhilist = r.data; | ||
376 | + // console.log(that.rizhilist) | ||
377 | + }).catch(err => { | ||
378 | + console.log(err) | ||
379 | + | ||
380 | + | ||
381 | + }) | ||
382 | + }, | ||
383 | + danweichange: function(e) { | ||
384 | + console.log('picker发送选择改变,携带值为', e.target.value) | ||
385 | + this.danweiindex = e.target.value; | ||
386 | + this.toaudit = this.danweilist[e.target.value].fname; | ||
387 | + this.danweiname = this.danweilist[e.target.value].fname; | ||
388 | + }, | ||
389 | + | ||
390 | + // 显示项目类型 | ||
391 | + getprojectkind() { | ||
392 | + let url = "project/Get_ProjectType"; | ||
393 | + | ||
394 | + app.post(url, '', 'get').then(r => { | ||
395 | + console.log(r) | ||
396 | + this.projectlist = r.data; | ||
397 | + console.log(this.projectlist); | ||
398 | + | ||
399 | + // this.xiangmulist=r.data; | ||
400 | + // console.log(this.xiangmulist) | ||
401 | + | ||
402 | + }).catch(err => { | ||
403 | + console.log(err) | ||
404 | + }) | ||
405 | + }, | ||
406 | + | ||
407 | + // 选择项目 | ||
408 | + bindPickerChange: function(e) { | ||
409 | + console.log('picker发送选择改变,携带值为', e.target.value) | ||
410 | + this.index = e.target.value; | ||
411 | + this.fprojectcategory = this.projectlist[e.target.value].fname; | ||
412 | + this.projectname = this.projectlist[e.target.value].fname | ||
413 | + }, | ||
414 | + | ||
415 | + | ||
416 | + // 获取分类汇总的数据 | ||
417 | + getfenhuilist() { | ||
418 | + let that = this; | ||
419 | + console.log(9988776655) | ||
420 | + let url = "project/Get_Descpercategorysum"; | ||
421 | + let param = { | ||
422 | + toaudit: that.toaudit, | ||
423 | + fprojectcategory: that.fprojectcategory, | ||
424 | + sendyear: that.sendyear, | ||
425 | + submitdateone: that.submitdateone, | ||
426 | + submitdatetwo: that.submitdatetwo, | ||
427 | + | ||
428 | + } | ||
429 | + console.log(param) | ||
430 | + // console.log('8877665544',param) | ||
431 | + app.post(url, param, 'get').then(r => { | ||
432 | + console.log(r); | ||
433 | + that.huizonglist = r.data; | ||
434 | + // that.ftrialnumber = r.data[0].ftrialnumber; | ||
435 | + // that.fconcludenumber = r.data[0].fconcludenumber; | ||
436 | + | ||
437 | + // console.log('1234567890',JSON.stringify(r)) | ||
438 | + // that.rizhilist = r.data; | ||
439 | + // console.log(that.rizhilist) | ||
440 | + }).catch(err => { | ||
441 | + console.log(err) | ||
442 | + }) | ||
443 | + }, | ||
444 | + | ||
445 | + detail(e) { | ||
446 | + this.fid = e.target.dataset.id; | ||
447 | + uni.navigateTo({ | ||
448 | + url: '../shenjianhuidetail/shenjianhuidetail?fid=' + this.fid | ||
449 | + }) | ||
450 | + // this.huizong=false; | ||
451 | + // this.getdetailist() | ||
452 | + }, | ||
453 | + | ||
454 | + getdetailist() { | ||
455 | + let that = this; | ||
456 | + console.log(9988776655) | ||
457 | + let url = "project/Get_Descpercategory"; | ||
458 | + let param = { | ||
459 | + fid: that.fid, | ||
460 | + toaudit: that.toaudit, | ||
461 | + fprojectcategory: that.fprojectcategory, | ||
462 | + sendyear: that.sendyear, | ||
463 | + submitdateone: that.submitdateone, | ||
464 | + submitdatetwo: that.submitdatetwo, | ||
465 | + } | ||
466 | + console.log(param) | ||
467 | + // console.log('8877665544',param) | ||
468 | + app.post(url, param, 'get').then(r => { | ||
469 | + console.log(r); | ||
470 | + that.huizonglist = r.data; | ||
471 | + // that.ftrialnumber = r.data[0].ftrialnumber; | ||
472 | + // that.fconcludenumber = r.data[0].fconcludenumber; | ||
473 | + | ||
474 | + // console.log('1234567890',JSON.stringify(r)) | ||
475 | + // that.rizhilist = r.data; | ||
476 | + // console.log(that.rizhilist) | ||
477 | + }).catch(err => { | ||
478 | + console.log(err) | ||
479 | + }) | ||
480 | + }, | ||
481 | + | ||
482 | + getdetail() { | ||
483 | + let that = this; | ||
484 | + console.log(9988776655) | ||
485 | + let url = "project/Get_Descpercategory"; | ||
486 | + let param = { | ||
487 | + fid: that.fid, | ||
488 | + toaudit: that.toaudit, | ||
489 | + fprojectcategory: that.fprojectcategory, | ||
490 | + sendyear: that.sendyear, | ||
491 | + submitdateone: that.submitdateone, | ||
492 | + submitdatetwo: that.submitdatetwo, | ||
493 | + } | ||
494 | + console.log(param) | ||
495 | + // console.log('8877665544',param) | ||
496 | + app.post(url, param, 'get').then(r => { | ||
497 | + console.log(r); | ||
498 | + that.huizonglist = r.data; | ||
499 | + let newhuizonglist = that.huizonglist; | ||
500 | + for (var obj of newhuizonglist) { | ||
501 | + obj.fauditamount = helper.change(obj.fauditamount); | ||
502 | + obj.fshenjianmoney = helper.change(obj.fshenjianmoney); | ||
503 | + obj.ftoauditamt = helper.change(obj.ftoauditamt); | ||
504 | + obj.fsubmitfindate=obj.fsubmitfindate.split("T"); | ||
505 | + obj.fsubmitfindate=obj.fsubmitfindate[0] | ||
506 | + | ||
507 | + } | ||
508 | + this.huizonglist = newhuizonglist | ||
509 | + // that.ftrialnumber = r.data[0].ftrialnumber; | ||
510 | + // that.fconcludenumber = r.data[0].fconcludenumber; | ||
511 | + | ||
512 | + // console.log('1234567890',JSON.stringify(r)) | ||
513 | + // that.rizhilist = r.data; | ||
514 | + // console.log(that.rizhilist) | ||
515 | + }).catch(err => { | ||
516 | + console.log(err) | ||
517 | + }) | ||
518 | + }, | ||
519 | + | ||
520 | + search() { | ||
521 | + this.getfenhuilist(); | ||
522 | + this.tizhangshow = false | ||
523 | + }, | ||
524 | + searchdetail() { | ||
525 | + this.getdetail(); | ||
526 | + this.tizhangshow = false | ||
527 | + } | ||
528 | + }, | ||
529 | + | ||
530 | + } | ||
531 | +</script> | ||
532 | + | ||
533 | +<style> | ||
534 | + page { | ||
535 | + background: #f9f9f9; | ||
536 | + } | ||
537 | + | ||
538 | + .headbox { | ||
539 | + background: #fff; | ||
540 | + height: 100rpx; | ||
541 | + display: flex; | ||
542 | + align-items: center; | ||
543 | + | ||
544 | + | ||
545 | + } | ||
546 | + | ||
547 | + .headboxleft { | ||
548 | + width: 350rpx; | ||
549 | + height: 100rpx; | ||
550 | + line-height: 100rpx; | ||
551 | + text-align: center; | ||
552 | + color: #06121E; | ||
553 | + font-size: 28rpx; | ||
554 | + } | ||
555 | + | ||
556 | + .headactive { | ||
557 | + color: #0093FF; | ||
558 | + border-bottom: 1rpx solid #0093FF; | ||
559 | + } | ||
560 | + | ||
561 | + .hengping { | ||
562 | + width: 144rpx; | ||
563 | + color: #0093FF; | ||
564 | + font-size: 24rpx; | ||
565 | + border-bottom: 1rpx solid #0093FF; | ||
566 | + margin: 34rpx auto 0; | ||
567 | + } | ||
568 | + | ||
569 | + .taizhangbox { | ||
570 | + width: 700rpx; | ||
571 | + overflow-x: scroll; | ||
572 | + margin: 28rpx; | ||
573 | + padding: 0 20rpx; | ||
574 | + box-sizing: border-box; | ||
575 | + background: #fff; | ||
576 | + } | ||
577 | + | ||
578 | + | ||
579 | + | ||
580 | + .taizhangitem { | ||
581 | + | ||
582 | + color: #06121E; | ||
583 | + font-size: 22rpx; | ||
584 | + margin-right: 118rpx; | ||
585 | + font-weight: bold; | ||
586 | + } | ||
587 | + | ||
588 | + .shenjie { | ||
589 | + text-align: center; | ||
590 | + margin-top: 5rpx; | ||
591 | + font-size: 20rpx; | ||
592 | + } | ||
593 | + | ||
594 | + | ||
595 | + | ||
596 | + .taiitem { | ||
597 | + color: #06121E; | ||
598 | + font-size: 24rpx; | ||
599 | + } | ||
600 | + | ||
601 | + .itemname { | ||
602 | + width: 96rpx; | ||
603 | + margin-left: 10rpx; | ||
604 | + } | ||
605 | + | ||
606 | + .itemshu { | ||
607 | + width: 150rpx; | ||
608 | + text-align: center; | ||
609 | + margin-left: 72rpx | ||
610 | + } | ||
611 | + | ||
612 | + .songshen { | ||
613 | + width: 200rpx; | ||
614 | + text-align: center; | ||
615 | + margin-left: 30rpx; | ||
616 | + } | ||
617 | + | ||
618 | + .shending { | ||
619 | + width: 200rpx; | ||
620 | + text-align: center; | ||
621 | + margin-left: 5rpx | ||
622 | + } | ||
623 | + | ||
624 | + .leixing { | ||
625 | + width: 180rpx; | ||
626 | + text-align: center; | ||
627 | + margin-left: 5rpx | ||
628 | + } | ||
629 | + | ||
630 | + .shenjian { | ||
631 | + width: 200rpx; | ||
632 | + text-align: center; | ||
633 | + margin-left: 10rpx | ||
634 | + } | ||
635 | + | ||
636 | + .shenlv { | ||
637 | + width: 200rpx; | ||
638 | + text-align: center; | ||
639 | + margin-left: 15rpx | ||
640 | + } | ||
641 | + | ||
642 | + .dibu { | ||
643 | + display: flex; | ||
644 | + align-items: center; | ||
645 | + justify-content: flex-end; | ||
646 | + width: 750rpx; | ||
647 | + height: 104rpx; | ||
648 | + padding: 0 32rpx; | ||
649 | + box-sizing: border-box; | ||
650 | + background: #fff; | ||
651 | + position: fixed; | ||
652 | + bottom: 0; | ||
653 | + left: 0 | ||
654 | + } | ||
655 | + | ||
656 | + .dibuleft { | ||
657 | + display: flex; | ||
658 | + align-items: center; | ||
659 | + margin-right: 72rpx; | ||
660 | + } | ||
661 | + | ||
662 | + .dibulitemm { | ||
663 | + display: flex; | ||
664 | + align-items: center; | ||
665 | + } | ||
666 | + | ||
667 | + .dishu { | ||
668 | + width: 40rpx; | ||
669 | + height: 30rpx; | ||
670 | + border: 1rpx solid #707070; | ||
671 | + border-radius: 4rpx; | ||
672 | + margin: 0 6rpx; | ||
673 | + font-size: 0; | ||
674 | + display: flex; | ||
675 | + align-items: center; | ||
676 | + justify-content: center; | ||
677 | + | ||
678 | + | ||
679 | + } | ||
680 | + | ||
681 | + .dishu input { | ||
682 | + width: 100%; | ||
683 | + height: 30rpx; | ||
684 | + line-height: 30rpx; | ||
685 | + padding: 5rpx 0; | ||
686 | + box-sizing: border-box; | ||
687 | + text-align: center; | ||
688 | + font-size: 26rpx; | ||
689 | + color: #8C9198; | ||
690 | + /* height:20rpx; */ | ||
691 | + | ||
692 | + } | ||
693 | + | ||
694 | + .dibuliteml, | ||
695 | + .di, | ||
696 | + .ye, | ||
697 | + .dibulitemx, | ||
698 | + .diburight { | ||
699 | + color: #06121E; | ||
700 | + font-size: 28rpx; | ||
701 | + } | ||
702 | + | ||
703 | + .dibuliteml { | ||
704 | + margin-right: 36rpx | ||
705 | + } | ||
706 | + | ||
707 | + .dibulitemx { | ||
708 | + margin-left: 36rpx | ||
709 | + } | ||
710 | + | ||
711 | + .xiangmuzi { | ||
712 | + height: 784rpx; | ||
713 | + } | ||
714 | + | ||
715 | + .taizhangflistitem { | ||
716 | + width: 1500rpx; | ||
717 | + overflow-x: scroll; | ||
718 | + padding: 18rpx 0; | ||
719 | + box-sizing: border-box; | ||
720 | + display: flex; | ||
721 | + align-items: center; | ||
722 | + border-bottom: 1rpx solid #BDC4CE | ||
723 | + } | ||
724 | + | ||
725 | + .taizhanghead { | ||
726 | + width: 1500rpx; | ||
727 | + overflow-x: scroll; | ||
728 | + display: flex; | ||
729 | + align-items: center; | ||
730 | + padding: 16rpx 0; | ||
731 | + box-sizing: border-box; | ||
732 | + border-bottom: 1rpx solid #BDC4CE | ||
733 | + } | ||
734 | + | ||
735 | + .taizhangheadde { | ||
736 | + width: 3200rpx; | ||
737 | + overflow-x: scroll; | ||
738 | + display: flex; | ||
739 | + align-items: center; | ||
740 | + padding: 16rpx 0; | ||
741 | + box-sizing: border-box; | ||
742 | + border-bottom: 1rpx solid #BDC4CE | ||
743 | + } | ||
744 | + | ||
745 | + .taizhangflistitemde { | ||
746 | + width: 3200rpx; | ||
747 | + overflow-x: scroll; | ||
748 | + padding: 18rpx 0; | ||
749 | + box-sizing: border-box; | ||
750 | + display: flex; | ||
751 | + align-items: center; | ||
752 | + border-bottom: 1rpx solid #BDC4CE | ||
753 | + } | ||
754 | + | ||
755 | + .detailname { | ||
756 | + width: 120rpx; | ||
757 | + text-align: center; | ||
758 | + color: #0093FF; | ||
759 | + fotn-size: 24rpx; | ||
760 | + margin-left: 20rpx; | ||
761 | + } | ||
762 | + | ||
763 | + .danwei { | ||
764 | + width: 200rpx; | ||
765 | + text-align: center; | ||
766 | + margin-left: 5rpx; | ||
767 | + | ||
768 | + } | ||
769 | + | ||
770 | + .date { | ||
771 | + width: 200rpx; | ||
772 | + text-align: center; | ||
773 | + } | ||
774 | + | ||
775 | + .jine { | ||
776 | + width: 200rpx; | ||
777 | + text-align: center; | ||
778 | + } | ||
779 | + | ||
780 | + .songshenlv { | ||
781 | + width: 200rpx; | ||
782 | + text-align: center; | ||
783 | + margin-left: 10rpx; | ||
784 | + } | ||
785 | + | ||
786 | + .shenyear { | ||
787 | + width: 120rpx; | ||
788 | + text-align: center; | ||
789 | + margin-left: 1rpx; | ||
790 | + } | ||
791 | + | ||
792 | + .shenlvze { | ||
793 | + width: 320rpx; | ||
794 | + text-align: center; | ||
795 | + margin-left: 20rpx; | ||
796 | + } | ||
797 | +</style> |
-
请 注册 或 登录 后发表评论