移动系统liao
2024-05-17 7ef1054cff149db6b21f8b00cd402883f6f5a843
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
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
<!--
 * @FilePath: details.html
 * @Author: 小飞侠
 * @Date: 2024-05-15 14:27:56
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2024-05-17 14:02:41
 * Copyright: 2024  MinTinge CO.,LTD. All Rights Reserved.
 * @Descripttion: 写入你的描述
-->
<script type="text/html" template  lay-done="layui.data.done(d);">
    <table class="layui-table layui-form" lay-filter="LAY-app-Job_jobSeting-detailsForm" id="LAY-app-Job_jobSeting-detailsForm">
        <colgroup>
            <col width="100">
            <col>
        </colgroup>
        <tbody>
            
         
            
            <tr>
                <td>
                    <label for="position">职位名称</label>
                </td>
                <td>
                    {{ d.params.data.position || '' }}
                </td>
            </tr>
            
            <tr>
                <td>
                    <label for="quantity">需求人数</label>
                </td>
                <td>
                    {{ d.params.data.quantity || '' }}
                </td>
            </tr>
            
            <tr>
                <td>
                    <label for="location">工作地点</label>
                </td>
                <td>
                    {{ d.params.data.location || '' }}
                </td>
            </tr>
            
            <tr>
                <td>
                    <label for="jobDescription">工作描述</label>
                </td>
                <td>
                    {{ d.params.data.jobDescription || '' }}
                </td>
            </tr>
            
            <tr>
                <td>
                    <label for="requirements">岗位要求</label>
                </td>
                <td>
                    {{ d.params.data.requirements || '' }}
                </td>
            </tr>
            <tr>
                <td>
                    <label for="sort">排序</label>
                </td>
                <td>
                    {{d.params.data.sort}}
                </td>
            </tr>
            <tr>
                <td>
                    <label for="isEN">是否上架</label>
                </td>
                <td>
                    <input type="checkbox" disabled name="isEN" value="{{d.params.data.isEN}}" lay-skin="switch" lay-text="上架|下架" lay-filter="isEN" {{ d.params.data.isEN ? 'checked' : '' }}>
                </td>
            </tr>
            
            <tr>
                <td>
                    <label for="createTime">建立时间</label>
                </td>
                <td>
                    {{ d.params.data.createTime || '' }}
                </td>
            </tr>
            
          
            
        </tbody>
    </table>
</script>
<script>
    var debug= layui.setter.debug;
    layui.data.done = function (d) {
        //开启调试情况下获取接口赋值数据
        if (debug) { console.log(d.params.data); }
 
        layui.use(['admin', 'form', 'coreHelper'], function () {
            var $ = layui.$
                , setter = layui.setter
                , admin = layui.admin
                , coreHelper = layui.coreHelper
                , form = layui.form;
            form.render(null, 'LAY-app-Job_jobSeting-detailsForm');
        });
    };
</script>