Your Name 1 month ago
parent
commit
d0b81feea2

+ 58
- 2
application/api/controller/Diyajax.php View File

@@ -174,13 +174,47 @@ class Diyajax extends Base
174 174
      * /api/Diyajax/getZcDjList
175 175
      */
176 176
     public function getZcDjList(){
177
+
178
+         $name = [
179
+             '技术员职称',
180
+             '助理职称',
181
+             '中级职称',
182
+             '副高级职称',
183
+             '正高级职称'
184
+         ];
185
+        $ids = [
186
+            1000000001,
187
+            1000000002,
188
+            1000000003,
189
+            1000000004,
190
+            1000000005
191
+        ];
177 192
          $param = request()->param();
178 193
          $param['id'] = (int)$param['id'];
179 194
          if(!empty($param['id'])){
180 195
             $dj_group_id = Db::name('zc_position')->where('id', $param['id'])->value('dj_group_id');
181 196
             //调用等级
182 197
             $list = Db::name('zcdj_position')->where('type',$dj_group_id)->select();
183
-            respose(['code'=>1, 'msg'=>'请求成功', 'data'=>$list]);
198
+
199
+            //循环等级
200
+             $data = [];
201
+           foreach ($name as $k=>$v){
202
+               $is_cun = 0;
203
+               $item = [];
204
+               foreach ($list as $k2=>$v2){
205
+                    if($v == $v2['title']){
206
+                        $is_cun = 1;
207
+                        $item = $v2;
208
+                    }
209
+               }
210
+               if($is_cun === 0){
211
+                   $data[] = ['id'=>$ids[$k],'title'=>$v];
212
+               }else{
213
+                   $data[] = $item;
214
+               }
215
+           }
216
+
217
+            respose(['code'=>1, 'msg'=>'请求成功', 'data'=>$data]);
184 218
          }else{
185 219
             respose(['code'=>0, 'msg'=>'请求失败', 'data'=>[]]);
186 220
          }
@@ -395,7 +429,29 @@ class Diyajax extends Base
395 429
         $xl_arr = ['','中专','高技','大专','本科','硕士','博士'];
396 430
         $xxlx_arr = ['','全日制','非全日制'];
397 431
         $sbzy_val = Db::name('zc_position')->where('id',$param['sbzy'])->value('title');
398
-        $sbdj_val = Db::name('zcdj_position')->where('id',$param['sbdj'])->value('title');
432
+
433
+
434
+        $name = [
435
+            1000000001=>'技术员职称',
436
+            1000000002=>'助理职称',
437
+            1000000003=>'中级职称',
438
+            1000000004=>'副高级职称',
439
+            1000000005=>'正高级职称'
440
+        ];
441
+        $ids = [
442
+            1000000001,
443
+            1000000002,
444
+            1000000003,
445
+            1000000004,
446
+            1000000005
447
+        ];
448
+
449
+        if(in_array((int)$param['sbdj'],$ids)){
450
+            $sbdj_val = $name[(int)$param['sbdj']];
451
+        }else{
452
+            $sbdj_val = Db::name('zcdj_position')->where('id',$param['sbdj'])->value('title');
453
+        }
454
+
399 455
         $zs_list = Db::name('zczs_position')->field('id,title')->where('id','in',$param['zhengshu'])->select();
400 456
         $zs_str = '';
401 457
         foreach ($zs_list as $k => $v){

+ 121
- 0
public/temp.xml View File

@@ -0,0 +1,121 @@
1
+<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
2
+<hierarchy index="0" class="hierarchy" rotation="0" width="1080" height="2316">
3
+    <android.widget.FrameLayout index="0" package="com.miui.home" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1080,2316]" displayed="true">
4
+        <android.widget.LinearLayout index="0" package="com.miui.home" class="android.widget.LinearLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1080,2316]" displayed="true">
5
+            <android.widget.FrameLayout index="0" package="com.miui.home" class="android.widget.FrameLayout" text="" resource-id="android:id/content" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1080,2316]" displayed="true">
6
+                <android.widget.FrameLayout index="0" package="com.miui.home" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1080,2316]" displayed="true">
7
+                    <android.widget.FrameLayout index="0" package="com.miui.home" class="android.widget.FrameLayout" text="" resource-id="com.miui.home:id/shortcut_menu_layer" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1080,2316]" displayed="true">
8
+                        <android.view.View index="0" package="com.miui.home" class="android.view.View" text="" resource-id="com.miui.home:id/drag_layer_background" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1080,2316]" displayed="true" />
9
+                        <android.widget.FrameLayout index="1" package="com.miui.home" class="android.widget.FrameLayout" text="" resource-id="com.miui.home:id/drag_layer" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1080,2316]" displayed="true">
10
+                            <android.widget.FrameLayout index="0" package="com.miui.home" class="android.widget.FrameLayout" text="" resource-id="com.miui.home:id/drag_view_container" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1080,2316]" displayed="true" />
11
+                            <android.widget.FrameLayout index="1" package="com.miui.home" class="android.widget.FrameLayout" text="" resource-id="com.miui.home:id/screen" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1080,2316]" displayed="true">
12
+                                <android.view.View index="1" package="com.miui.home" class="android.view.View" text="" resource-id="com.miui.home:id/scrim_view" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1080,2316]" displayed="true" />
13
+                                <android.widget.FrameLayout index="2" package="com.miui.home" class="android.widget.FrameLayout" text="" resource-id="com.miui.home:id/screen_content" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1080,2316]" displayed="true">
14
+                                    <com.miui.home.launcher.ScreenView index="0" package="com.miui.home" class="com.miui.home.launcher.ScreenView" text="" resource-id="com.miui.home:id/workspace" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="true" selected="false" bounds="[0,0][1080,2316]" displayed="true">
15
+                                        <android.widget.FrameLayout index="1" package="com.miui.home" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,1962][1080,2017]" displayed="true">
16
+                                            <com.miui.home.launcher.ScreenView index="0" package="com.miui.home" class="com.miui.home.launcher.ScreenView" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="true" selected="false" bounds="[0,1962][1080,2017]" displayed="true">
17
+                                                <android.widget.ImageView index="0" package="com.miui.home" class="android.widget.ImageView" text="" content-desc="智能助理" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[410,1971][447,2008]" displayed="true" />
18
+                                                <android.widget.ImageView index="1" package="com.miui.home" class="android.widget.ImageView" text="" content-desc="第1屏" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[447,1971][484,2008]" displayed="true" />
19
+                                                <android.widget.ImageView index="2" package="com.miui.home" class="android.widget.ImageView" text="" content-desc="第2屏" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[484,1971][521,2008]" displayed="true" />
20
+                                                <android.widget.ImageView index="3" package="com.miui.home" class="android.widget.ImageView" text="" content-desc="第3屏" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[521,1971][558,2008]" displayed="true" />
21
+                                                <android.widget.ImageView index="4" package="com.miui.home" class="android.widget.ImageView" text="" content-desc="第4屏" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[558,1971][595,2008]" displayed="true" />
22
+                                                <android.widget.ImageView index="5" package="com.miui.home" class="android.widget.ImageView" text="" content-desc="第5屏" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[595,1971][632,2008]" displayed="true" />
23
+                                                <android.widget.ImageView index="6" package="com.miui.home" class="android.widget.ImageView" text="" content-desc="第6屏" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" long-clickable="false" password="false" scrollable="false" selected="true" bounds="[632,1971][669,2008]" displayed="true" />
24
+                                            </com.miui.home.launcher.ScreenView>
25
+                                        </android.widget.FrameLayout>
26
+                                        <android.widget.FrameLayout index="6" package="com.miui.home" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,80][1080,2316]" displayed="true">
27
+                                            <android.view.ViewGroup index="0" package="com.miui.home" class="android.view.ViewGroup" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,80][1080,2316]" displayed="true">
28
+                                                <android.widget.RelativeLayout index="0" package="com.miui.home" class="android.widget.RelativeLayout" text="" content-desc="小红书0" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" long-clickable="true" password="false" scrollable="false" selected="false" bounds="[33,124][287,411]" displayed="true">
29
+                                                    <android.widget.FrameLayout index="0" package="com.miui.home" class="android.widget.FrameLayout" text="" resource-id="com.miui.home:id/icon_container" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[63,124][257,307]" displayed="true">
30
+                                                        <android.widget.FrameLayout index="0" package="com.miui.home" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[63,124][257,307]" displayed="true">
31
+                                                            <android.widget.ImageView index="0" package="com.miui.home" class="android.widget.ImageView" text="" content-desc="小红书0" resource-id="com.miui.home:id/icon_icon" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[74,135][246,307]" displayed="true" />
32
+                                                        </android.widget.FrameLayout>
33
+                                                    </android.widget.FrameLayout>
34
+                                                    <android.widget.FrameLayout index="1" package="com.miui.home" class="android.widget.FrameLayout" text="" resource-id="com.miui.home:id/icon_title_container" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[33,307][287,411]" displayed="true">
35
+                                                        <android.widget.TextView index="0" package="com.miui.home" class="android.widget.TextView" text="小红书0" resource-id="com.miui.home:id/icon_title" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[33,312][287,411]" displayed="true" />
36
+                                                    </android.widget.FrameLayout>
37
+                                                </android.widget.RelativeLayout>
38
+                                                <android.widget.RelativeLayout index="1" package="com.miui.home" class="android.widget.RelativeLayout" text="" content-desc="小红书2" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" long-clickable="true" password="false" scrollable="false" selected="false" bounds="[287,124][541,411]" displayed="true">
39
+                                                    <android.widget.FrameLayout index="0" package="com.miui.home" class="android.widget.FrameLayout" text="" resource-id="com.miui.home:id/icon_container" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[317,124][511,307]" displayed="true">
40
+                                                        <android.widget.FrameLayout index="0" package="com.miui.home" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[317,124][511,307]" displayed="true">
41
+                                                            <android.widget.ImageView index="0" package="com.miui.home" class="android.widget.ImageView" text="" content-desc="小红书2" resource-id="com.miui.home:id/icon_icon" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[328,135][500,307]" displayed="true" />
42
+                                                        </android.widget.FrameLayout>
43
+                                                    </android.widget.FrameLayout>
44
+                                                    <android.widget.FrameLayout index="1" package="com.miui.home" class="android.widget.FrameLayout" text="" resource-id="com.miui.home:id/icon_title_container" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[287,307][541,411]" displayed="true">
45
+                                                        <android.widget.TextView index="0" package="com.miui.home" class="android.widget.TextView" text="小红书2" resource-id="com.miui.home:id/icon_title" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[287,312][541,411]" displayed="true" />
46
+                                                    </android.widget.FrameLayout>
47
+                                                </android.widget.RelativeLayout>
48
+                                                <android.widget.RelativeLayout index="2" package="com.miui.home" class="android.widget.RelativeLayout" text="" content-desc="小红书3" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" long-clickable="true" password="false" scrollable="false" selected="false" bounds="[541,124][795,411]" displayed="true">
49
+                                                    <android.widget.FrameLayout index="0" package="com.miui.home" class="android.widget.FrameLayout" text="" resource-id="com.miui.home:id/icon_container" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[571,124][765,307]" displayed="true">
50
+                                                        <android.widget.FrameLayout index="0" package="com.miui.home" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[571,124][765,307]" displayed="true">
51
+                                                            <android.widget.ImageView index="0" package="com.miui.home" class="android.widget.ImageView" text="" content-desc="小红书3" resource-id="com.miui.home:id/icon_icon" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[582,135][754,307]" displayed="true" />
52
+                                                        </android.widget.FrameLayout>
53
+                                                    </android.widget.FrameLayout>
54
+                                                    <android.widget.FrameLayout index="1" package="com.miui.home" class="android.widget.FrameLayout" text="" resource-id="com.miui.home:id/icon_title_container" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[541,307][795,411]" displayed="true">
55
+                                                        <android.widget.TextView index="0" package="com.miui.home" class="android.widget.TextView" text="小红书3" resource-id="com.miui.home:id/icon_title" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[541,312][795,411]" displayed="true" />
56
+                                                    </android.widget.FrameLayout>
57
+                                                </android.widget.RelativeLayout>
58
+                                            </android.view.ViewGroup>
59
+                                        </android.widget.FrameLayout>
60
+                                    </com.miui.home.launcher.ScreenView>
61
+                                    <android.widget.FrameLayout index="1" package="com.miui.home" class="android.widget.FrameLayout" text="" resource-id="com.miui.home:id/hotseat" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,2027][1080,2210]" displayed="true">
62
+                                        <com.miui.home.launcher.ScreenView index="0" package="com.miui.home" class="com.miui.home.launcher.ScreenView" text="" resource-id="com.miui.home:id/hotseat_content_screen" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="true" selected="false" bounds="[11,2027][1069,2210]" displayed="true">
63
+                                            <android.widget.RelativeLayout index="0" package="com.miui.home" class="android.widget.RelativeLayout" text="" content-desc="电话" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" long-clickable="true" password="false" scrollable="false" selected="false" bounds="[32,2027][286,2210]" displayed="true">
64
+                                                <android.widget.FrameLayout index="0" package="com.miui.home" class="android.widget.FrameLayout" text="" resource-id="com.miui.home:id/icon_container" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[62,2027][256,2210]" displayed="true">
65
+                                                    <android.widget.FrameLayout index="0" package="com.miui.home" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[62,2027][256,2210]" displayed="true">
66
+                                                        <android.widget.ImageView index="0" package="com.miui.home" class="android.widget.ImageView" text="" content-desc="电话" resource-id="com.miui.home:id/icon_icon" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[73,2038][245,2210]" displayed="true" />
67
+                                                    </android.widget.FrameLayout>
68
+                                                </android.widget.FrameLayout>
69
+                                            </android.widget.RelativeLayout>
70
+                                            <android.widget.RelativeLayout index="1" package="com.miui.home" class="android.widget.RelativeLayout" text="" content-desc="短信" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" long-clickable="true" password="false" scrollable="false" selected="false" bounds="[286,2027][540,2210]" displayed="true">
71
+                                                <android.widget.FrameLayout index="0" package="com.miui.home" class="android.widget.FrameLayout" text="" resource-id="com.miui.home:id/icon_container" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[316,2027][510,2210]" displayed="true">
72
+                                                    <android.widget.FrameLayout index="0" package="com.miui.home" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[316,2027][510,2210]" displayed="true">
73
+                                                        <android.widget.ImageView index="0" package="com.miui.home" class="android.widget.ImageView" text="" content-desc="短信" resource-id="com.miui.home:id/icon_icon" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[327,2038][499,2210]" displayed="true" />
74
+                                                    </android.widget.FrameLayout>
75
+                                                </android.widget.FrameLayout>
76
+                                            </android.widget.RelativeLayout>
77
+                                            <android.widget.RelativeLayout index="2" package="com.miui.home" class="android.widget.RelativeLayout" text="" content-desc="浏览器 5 个未读" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" long-clickable="true" password="false" scrollable="false" selected="false" bounds="[540,2027][794,2210]" displayed="true">
78
+                                                <android.widget.FrameLayout index="0" package="com.miui.home" class="android.widget.FrameLayout" text="" resource-id="com.miui.home:id/icon_container" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[570,2027][764,2210]" displayed="true">
79
+                                                    <android.widget.FrameLayout index="0" package="com.miui.home" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[570,2027][764,2210]" displayed="true">
80
+                                                        <android.widget.ImageView index="0" package="com.miui.home" class="android.widget.ImageView" text="" content-desc="浏览器" resource-id="com.miui.home:id/icon_icon" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[581,2038][753,2210]" displayed="true" />
81
+                                                    </android.widget.FrameLayout>
82
+                                                    <android.widget.TextView index="1" package="com.miui.home" class="android.widget.TextView" text="5" resource-id="com.miui.home:id/icon_msg" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[709,2027][764,2082]" displayed="true" />
83
+                                                </android.widget.FrameLayout>
84
+                                            </android.widget.RelativeLayout>
85
+                                            <android.widget.RelativeLayout index="3" package="com.miui.home" class="android.widget.RelativeLayout" text="" content-desc="相机" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" long-clickable="true" password="false" scrollable="false" selected="false" bounds="[794,2027][1048,2210]" displayed="true">
86
+                                                <android.widget.FrameLayout index="0" package="com.miui.home" class="android.widget.FrameLayout" text="" resource-id="com.miui.home:id/icon_container" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[824,2027][1018,2210]" displayed="true">
87
+                                                    <android.widget.FrameLayout index="0" package="com.miui.home" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[824,2027][1018,2210]" displayed="true">
88
+                                                        <android.widget.ImageView index="0" package="com.miui.home" class="android.widget.ImageView" text="" content-desc="相机" resource-id="com.miui.home:id/icon_icon" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[835,2038][1007,2210]" displayed="true" />
89
+                                                    </android.widget.FrameLayout>
90
+                                                </android.widget.FrameLayout>
91
+                                            </android.widget.RelativeLayout>
92
+                                        </com.miui.home.launcher.ScreenView>
93
+                                    </android.widget.FrameLayout>
94
+                                </android.widget.FrameLayout>
95
+                                <android.widget.FrameLayout index="3" package="com.miui.home" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1080,2316]" displayed="true" />
96
+                                <android.widget.FrameLayout index="4" package="com.miui.home" class="android.widget.FrameLayout" text="" resource-id="com.miui.home:id/search_bar_container" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,2208][1080,2316]" displayed="true">
97
+                                    <android.widget.FrameLayout index="0" package="com.miui.home" class="android.widget.FrameLayout" text="" content-desc="搜索框" resource-id="com.miui.home:id/search_bar" checkable="false" checked="false" clickable="false" enabled="true" focusable="true" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[86,2258][994,2316]" displayed="true">
98
+                                        <android.widget.RelativeLayout index="0" package="com.miui.home" class="android.widget.RelativeLayout" text="" resource-id="com.miui.home:id/search_bar_desktop_layout" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" long-clickable="true" password="false" scrollable="false" selected="false" bounds="[86,2258][994,2316]" displayed="true">
99
+                                            <android.widget.ViewAnimator index="0" package="com.miui.home" class="android.widget.ViewAnimator" text="" resource-id="com.miui.home:id/search_bar_extra_layout" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[86,2258][994,2316]" displayed="true">
100
+                                                <android.widget.FrameLayout index="0" package="com.miui.home" class="android.widget.FrameLayout" text="" content-desc="小爱同学" resource-id="com.miui.home:id/search_bar_xiaoai_layout" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[848,2258][994,2316]" displayed="true">
101
+                                                    <android.widget.ImageView index="0" package="com.miui.home" class="android.widget.ImageView" text="" resource-id="com.miui.home:id/xiaoai_button" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[888,2258][954,2316]" displayed="true" />
102
+                                                </android.widget.FrameLayout>
103
+                                            </android.widget.ViewAnimator>
104
+                                            <android.widget.FrameLayout index="1" package="com.miui.home" class="android.widget.FrameLayout" text="" content-desc="搜索" resource-id="com.miui.home:id/search_bar_content_icon_layout" checkable="false" checked="false" clickable="true" enabled="true" focusable="true" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[86,2258][232,2316]" displayed="true">
105
+                                                <android.widget.ImageView index="0" package="com.miui.home" class="android.widget.ImageView" text="" resource-id="com.miui.home:id/search_bar_content_icon" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[126,2258][192,2316]" displayed="true" />
106
+                                            </android.widget.FrameLayout>
107
+                                        </android.widget.RelativeLayout>
108
+                                    </android.widget.FrameLayout>
109
+                                </android.widget.FrameLayout>
110
+                            </android.widget.FrameLayout>
111
+                            <android.widget.FrameLayout index="2" package="com.miui.home" class="android.widget.FrameLayout" text="" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1,2316]" displayed="true">
112
+                                <android.widget.FrameLayout index="0" package="com.miui.home" class="android.widget.FrameLayout" text="" resource-id="com.miui.home:id/default_position" checkable="false" checked="false" clickable="false" enabled="true" focusable="true" focused="true" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,80][1,2316]" displayed="true" />
113
+                            </android.widget.FrameLayout>
114
+                            <android.widget.FrameLayout index="3" package="com.miui.home" class="android.widget.FrameLayout" text="" resource-id="com.miui.home:id/drop_target_bar" checkable="false" checked="false" clickable="false" enabled="true" focusable="false" focused="false" long-clickable="false" password="false" scrollable="false" selected="false" bounds="[0,0][1080,679]" displayed="true" />
115
+                        </android.widget.FrameLayout>
116
+                    </android.widget.FrameLayout>
117
+                </android.widget.FrameLayout>
118
+            </android.widget.FrameLayout>
119
+        </android.widget.LinearLayout>
120
+    </android.widget.FrameLayout>
121
+</hierarchy>

+ 19
- 3
template/pc/components/index/kop.htm View File

@@ -114,7 +114,7 @@ $tyu_num = 1;
114 114
                 <!--active-->
115 115
                 <li class="nav-item {eyou:if condition='($io_num == 1)'} active {/eyou:if} result-box-{$tyu_num}-son-{$io_num}">
116 116
                     <!--active-->
117
-                    <a class="nav-link {eyou:if condition='($io_num == 1)'}active{/eyou:if} result-box-{$tyu_num}-son-{$io_num} result-box" id="home-tab{$io_num}" data-toggle="tab" href="#home{$io_num}" role="tab" aria-controls="home" aria-selected="true">
117
+                    <a class="nav-link {eyou:if condition='($io_num == 1)'}active{/eyou:if} result-box-{$tyu_num}-son-{$io_num} result-box" id="home-tab{$io_num}" data-toggle="tab" style="color: #000 !important;"  href="#home{$io_num}" role="tab" aria-controls="home" aria-selected="true">
118 118
                         情况<font class="sort-num-i">{$i}</font>
119 119
                     </a>
120 120
                 </li>
@@ -239,7 +239,7 @@ $tyu_num = 1;
239 239
                          */
240 240
                     ?>
241 241
 
242
-                        与申报专业一致
242
+                        与申报类目一致
243 243
 
244 244
                     {/eyou:if}
245 245
 
@@ -267,7 +267,7 @@ $tyu_num = 1;
267 267
                      */
268 268
                     ?>
269 269
                     {eyou:if condition='((int)$detail.byzy_is !== 0)'}
270
-                        与申报专业一致
270
+                        与申报类目一致
271 271
                     {eyou:else /}
272 272
                         {eyou:if condition='($detail.byzy_name != "")'}
273 273
                             {$detail.byzy_name}
@@ -691,6 +691,22 @@ $tyu_num = 1;
691 691
             echo "<font class='result-div'>".$result_map."</font>";
692 692
         ?>
693 693
     </div>
694
+
695
+    <?php
696
+    if($is_tg === 1) {
697
+        echo "<p><font style='margin-bottom: 10px; margin-right: 10px;'>下载文件:</font>";
698
+        if (!empty($map_area)) {
699
+            foreach ($map_area as $k => $v) {
700
+                if (strpos($result_map, $v) !== false) {
701
+                    //存在该地区
702
+                    echo "<a href='" . $base_url . $map_file[$v] . ".pdf' target='_blank' download='".$map_file[$v]."' style='color:#000 !important;margin-right:10px;'>" . $map_file[$v] . "</a>";
703
+                }
704
+            }
705
+        }
706
+        echo "</p>";
707
+    }
708
+    ?>
709
+
694 710
 {/eyou:if}
695 711
 
696 712
 <?php

+ 25
- 8
template/pc/components/index/step.htm View File

@@ -493,7 +493,7 @@
493 493
                                         <span style="display: block;width: 100%;height:5px;"></span>
494 494
                                         <div class="ftl-r">
495 495
                                             申报类目: {$extend_info.sbzy}<br/>
496
-                                            申报专业: {$extend_info.zcson?$extend_info.zcson:'默认'}<br/>
496
+                                           <!-- 申报专业: {$extend_info.zcson?$extend_info.zcson:'默认'}<br/>-->
497 497
                                             申报等级: {$extend_info.sbdj}<br/>
498 498
                                         </div>
499 499
                                         <div class="clear"></div>
@@ -518,7 +518,7 @@
518 518
                                             ?>
519 519
                                             {eyou:sql sql="$sql" cachetime='3600' empty='未找到相关记录' id='field'}
520 520
                                             <li class="list-group-item" style="position:relative;">
521
-                                                <a href="/cp?h={$field.code}">{$field.ch}于&nbsp;{$field.addtime|MyDate="Y-m-d H:i:s",###}&nbsp;提交</a>
521
+                                                <a href="/cp?h={$field.code}" style="color: #000 !important;">{$field.ch}于&nbsp;{$field.addtime|MyDate="Y-m-d H:i:s",###}&nbsp;提交</a>
522 522
                                                 <span aria-hidden="true" style="position:absolute;right: 0px;top:12px;">&raquo;</span>
523 523
                                             </li>
524 524
                                             {/eyou:sql}
@@ -543,6 +543,27 @@
543 543
                                     申报等级: {$extend_info.sbdj}<br/>
544 544
                                 </div>
545 545
 
546
+                                <?php
547
+                                //下载文件地址
548
+                                if(strpos($extend_info['sbdj'],'高级') !== false){
549
+                                    $base_url = './uploads/pdf/2/';
550
+                                    $map_area = ['吉林','内蒙古','新疆','天津','陕西','山东'];
551
+                                    $map_file = [
552
+                                        '吉林' => '吉林中级专业对应表',
553
+                                        '内蒙古' => '内蒙古中级专业对应表',
554
+                                        '新疆' => '新疆中级专业对应表',
555
+                                        '天津' => '天津中级专业对应表',
556
+                                        '陕西' => '陕西中级专业对应表',
557
+                                        '山东' => '山东中级专业对应表',
558
+                                    ];
559
+                                } else {
560
+                                    $base_url = '';
561
+                                    $map_area = [];
562
+                                    $map_file = [];
563
+                                }
564
+                                ?>
565
+
566
+
546 567
                                 {eyou:if condition='($detail.yxdq > 0 && $detail.yxdq < 10001)'}
547 568
 
548 569
                                     <?php
@@ -738,7 +759,7 @@
738 759
 
739 760
 
740 761
                                 <!--增加申报专业--->
741
-                                <div class="form-group">
762
+                                <div class="form-group" style="display: none;">
742 763
                                     <select class="form-control" id="choose36" name="sbzyson">
743 764
                                         <option value="0" selected>选择申报专业</option>
744 765
                                     </select>
@@ -821,10 +842,6 @@
821 842
                                     </select>
822 843
                                 </div>
823 844
 
824
-
825
-
826
-
827
-
828 845
                                 <div class="form-group">
829 846
                                     <!--<label class="sr-only" for="form-repeat-password">Repeat password</label>
830 847
                                     <input type="password" name="form-repeat-password" placeholder="Repeat password..."
@@ -880,7 +897,7 @@
880 897
 
881 898
                                 <!--复制--->
882 899
                                 <div id="zy_box66" class="form-group" style="padding-left: 5px;position: relative;">
883
-                                    <label class="col-sm-12 control-label" style="padding-left: 0;">学校毕业专业是否与申报专业一致:</label>
900
+                                    <label class="col-sm-12 control-label" style="padding-left: 0;">学校毕业专业是否与申报类目一致:</label>
884 901
                                     <div class="col-sm-12" style="padding-left: 0;margin-bottom: 0px;margin-top:5px;" id="zys66">
885 902
                                         <label class="radio-inline" style="line-height: 24px;color: #666;margin-left: 2px;">
886 903
                                             <input type="radio" class="form-control-radio byzy-is" name="byzy-is" id="inlineRadio1-zy" value="1" checked> 是

Loading…
Cancel
Save