Usrp0.vue 16 KB
Newer Older
1
<template>
2 3 4 5 6 7 8 9 10 11 12 13 14
    <c-content class="eibs-tab" :height="200">

        <div class="infTopBtn">
            <el-button-group>
                <c-button size="small" type="primary" icon="el-icon-arrow-left"></c-button>
                <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
            </el-button-group>
            <c-button size="small" type="primary">Print</c-button>
            <c-button size="small" type="primary">Use</c-button>
            <c-button size="small" type="primary">Loginfo</c-button>
        </div>

        <c-row class="infrow" style="margin-top:50px;">
15 16
            <c-col :span="11" :offset="1">
                <c-row>
17
                    <c-col :span="14">
18 19 20 21 22
                        <el-form-item label="User ID" prop="recgrp.rec.extkey">
                            <c-input v-model="model.recgrp.rec.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col :span="3">
liushikai committed
23
                        <c-button size="small" type="primary" icon="el-icon-search"></c-button>
24 25 26 27 28 29 30 31 32 33
                    </c-col>
                    <c-col :span="3">
                        <el-form-item label="" prop="recgrp.rec.resusrflg" label-width="0">
                            <c-checkbox v-model="model.recgrp.rec.resusrflg">Resp.usr</c-checkbox>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
            <c-col :span="11" :offset="1">
                <c-row>
34
                    <c-col :span="10">
35 36 37 38
                        <el-form-item label="Name" prop="recgrp.usrsec.nam">
                            <c-input v-model="model.recgrp.usrsec.nam" maxlength="40" placeholder="请输入Name"></c-input>
                        </el-form-item>
                    </c-col>
39
                    <c-col :span="10">
40 41 42 43 44 45 46 47 48
                        <el-form-item label="Drag  Drop Sender" prop="recpan.recget.sdamod.dadsnd" label-width="120px">
                            <c-input v-model="model.recpan.recget.sdamod.dadsnd" placeholder="请输入Drag  Drop Sender">
                            </c-input>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
        </c-row>

49
        <c-row class="infrow">
50
            <c-col :span="11" :offset="1">
51 52 53 54 55 56 57 58 59
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="Login Profile" prop="recgrp.rec.lgiflg">
                            <c-select v-model="model.recgrp.rec.lgiflg" style="width:100%"
                                placeholder="请选择Login Profile" :code="[]">
                            </c-select>
                        </el-form-item>
                    </c-col>
                </c-row>
60 61
            </c-col>
            <c-col :span="11" :offset="1">
62 63 64 65 66 67 68 69 70
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="Password" prop="recgrp.usrsec.inipsw">
                            <c-input type="password" v-model="model.recgrp.usrsec.inipsw" maxlength="32"
                                placeholder="请输入Password">
                            </c-input>
                        </el-form-item>
                    </c-col>
                </c-row>
71 72 73
            </c-col>
        </c-row>

74
        <c-row class="infrow">
75
            <c-col :span="11" :offset="1">
76 77 78 79 80 81 82 83 84
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="User Status" prop="recgrp.usrsec.secsta">
                            <c-select v-model="model.recgrp.usrsec.secsta" style="width:100%"
                                placeholder="请选择User Status" :code="[]">
                            </c-select>
                        </el-form-item>
                    </c-col>
                </c-row>
85 86 87 88
            </c-col>
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="8">
89
                        <el-form-item label="" prop="recgrp.usrsec.dsgflg" label-width="0">
90 91 92 93
                            <c-checkbox v-model="model.recgrp.usrsec.dsgflg">Designer</c-checkbox>
                        </el-form-item>
                    </c-col>
                    <c-col :span="8">
94
                        <el-form-item label="" prop="recgrp.usrsec.admflg" label-width="0">
95 96 97 98 99 100 101
                            <c-checkbox v-model="model.recgrp.usrsec.admflg">Security Administrator</c-checkbox>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
        </c-row>

102
        <c-row class="infrow">
103
            <c-col :span="11" :offset="1">
104 105 106 107 108 109 110 111 112
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="Profile" prop="recgrp.usrsec.prf">
                            <c-select v-model="model.recgrp.usrsec.prf" style="width:100%" placeholder="请选择Profile"
                                :code="[]">
                            </c-select>
                        </el-form-item>
                    </c-col>
                </c-row>
113 114
            </c-col>
            <c-col :span="11" :offset="1">
115 116 117 118 119 120 121 122 123 124
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="TD2USRLAB" prop="recgrp.usrsec.td2usr">
                            <c-input v-model="model.recgrp.usrsec.td2usr" maxlength="3"
                                :disabled="(!!model.recgrp.usrsec.dsgflg && model.recgrp.rec.extkey.length > 3) ? false : true"
                                placeholder="请输入Short User-Id for ModCodes">
                            </c-input>
                        </el-form-item>
                    </c-col>
                </c-row>
125 126 127
            </c-col>
        </c-row>

128
        <c-row class="infrow">
129
            <c-col :span="11" :offset="1">
130 131 132 133 134 135 136 137 138
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="Language" prop="recgrp.usrsec.uil">
                            <c-select v-model="model.recgrp.usrsec.uil" style="width:100%" placeholder="请选择Language"
                                :code="codes.uiltxt">
                            </c-select>
                        </el-form-item>
                    </c-col>
                </c-row>
139 140
            </c-col>
            <c-col :span="11" :offset="1">
141 142 143 144 145 146 147 148
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="Last Start" prop="recgrp.rec.ssnbegdattim">
                            <c-date-picker type="date" v-model="model.recgrp.rec.ssnbegdattim" placeholder="请选择日期">
                            </c-date-picker>
                        </el-form-item>
                    </c-col>
                </c-row>
149 150 151
            </c-col>
        </c-row>

152
        <c-row class="infrow">
153 154
            <c-col :span="11" :offset="1">
                <c-row>
155
                    <c-col :span="11">
156 157 158 159 160
                        <el-form-item label="Entity" prop="recgrp.rec.ety">
                            <c-select v-model="model.recgrp.rec.ety" style="width:100%" :code="[]"
                                placeholder="请选择Default/Initial ETY of User"></c-select>
                        </el-form-item>
                    </c-col>
161
                    <c-col :span="8" :offset="1">
162 163 164 165 166 167 168
                        <el-form-item label="" prop="recgrp.rec.pri" label-width="0">
                            <c-checkbox v-model="model.recgrp.rec.pri">Default Entity of the User</c-checkbox>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
            <c-col :span="11" :offset="1">
169 170 171 172 173 174 175 176
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="Entity Name" prop="recpan.ety.nam">
                            <c-input v-model="model.recpan.ety.nam" maxlength="40" placeholder="请输入Entity Name">
                            </c-input>
                        </el-form-item>
                    </c-col>
                </c-row>
177 178 179
            </c-col>
        </c-row>

180
        <c-row class="infrow">
181
            <c-col :span="11" :offset="1">
182 183 184 185 186 187 188 189 190
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="Workgroup of User" prop="recgrp.rec.usg">
                            <c-select v-model="model.recgrp.rec.usg" style="width:100%"
                                placeholder="请选择Workgroup of User" :code="[]">
                            </c-select>
                        </el-form-item>
                    </c-col>
                </c-row>
191 192
            </c-col>
            <c-col :span="11" :offset="1">
193 194 195 196 197 198 199 200
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="Available Capacity" prop="recgrp.rec.quepow">
                            <c-input-currency v-model="model.recgrp.rec.quepow" placeholder="请输入Available Capacity">
                            </c-input-currency>
                        </el-form-item>
                    </c-col>
                </c-row>
201 202 203
            </c-col>
        </c-row>

204
        <c-row class="infrow">
205
            <c-col :span="11" :offset="1">
206 207 208 209 210 211 212 213 214
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="Release Group" prop="recgrp.rec.relgrp">
                            <c-select v-model="model.recgrp.rec.relgrp" style="width:100%"
                                placeholder="请选择Release Group" :code="[]">
                            </c-select>
                        </el-form-item>
                    </c-col>
                </c-row>
215 216 217
            </c-col>
            <c-col :span="11" :offset="1">
                <c-row>
218
                    <c-col :span="10">
219 220 221 222 223 224
                        <el-form-item label="Release up to" prop="recgrp.rec.relcur">
                            <c-select v-model="model.recgrp.rec.relcur" style="width:100%" placeholder="请选择币种"
                                :code="codes.cur">
                            </c-select>
                        </el-form-item>
                    </c-col>
225
                    <c-col :span="10">
226 227 228 229 230 231 232 233 234
                        <el-form-item label="" label-width="10px" prop="recgrp.rec.relamt">
                            <c-input-currency v-model="model.recgrp.rec.relamt" placeholder="请输入Release up to">
                            </c-input-currency>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
        </c-row>

235
        <c-row class="infrow">
236 237
            <c-col :span="11" :offset="1">
                <c-row>
238
                    <c-col :span="10">
239 240 241 242 243
                        <el-form-item label="Own Amount" prop="recpan.ownrelcur">
                            <c-select v-model="model.recpan.ownrelcur" style="width:100%" placeholder="请选择币种"
                                :code="codes.cur"></c-select>
                        </el-form-item>
                    </c-col>
244
                    <c-col :span="10">
245 246 247 248 249 250 251 252 253 254
                        <el-form-item label="" label-width="10px" prop="recgrp.rec.relamt2nd">
                            <c-input-currency v-model="model.recgrp.rec.relamt2nd" placeholder="请输入2nd Release Amount">
                            </c-input-currency>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
            <c-col :span="11" :offset="1"></c-col>
        </c-row>

255
        <c-row class="infrow">
256
            <c-col :span="11" :offset="1">
257 258 259 260 261 262 263 264 265
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="Entity Addr." prop="recgrp.rec.etaextkey">
                            <c-select v-model="model.recgrp.rec.etaextkey" style="width:100%"
                                placeholder="请选择Entity Address" :code="[]">
                            </c-select>
                        </el-form-item>
                    </c-col>
                </c-row>
266 267
            </c-col>
            <c-col :span="11" :offset="1">
268 269 270 271 272 273 274
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="Phone" prop="recgrp.rec.tel">
                            <c-input v-model="model.recgrp.rec.tel" maxlength="30" placeholder="请输入Phone"></c-input>
                        </el-form-item>
                    </c-col>
                </c-row>
275 276 277
            </c-col>
        </c-row>

278
        <c-row class="infrow">
279
            <c-col :span="11" :offset="1">
280 281 282 283 284 285 286 287 288
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="Org. Unit" prop="recgrp.rec.oenr">
                            <c-input v-model="model.recgrp.rec.oenr" maxlength="4"
                                placeholder="请输入Organisationseinheit">
                            </c-input>
                        </el-form-item>
                    </c-col>
                </c-row>
289 290
            </c-col>
            <c-col :span="11" :offset="1">
291 292 293 294 295 296 297 298
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="Fax" prop="recgrp.rec.fax">
                            <c-input v-model="model.recgrp.rec.fax" maxlength="30" placeholder="请输入Fax Number of User">
                            </c-input>
                        </el-form-item>
                    </c-col>
                </c-row>
299 300 301
            </c-col>
        </c-row>

302
        <c-row class="infrow">
303
            <c-col :span="11" :offset="1">
304 305 306 307 308 309 310 311 312
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="E-mail" prop="recgrp.rec.eml">
                            <c-input v-model="model.recgrp.rec.eml" maxlength="80"
                                placeholder="请输入E-mail Address of User">
                            </c-input>
                        </el-form-item>
                    </c-col>
                </c-row>
313 314
            </c-col>
            <c-col :span="11" :offset="1">
315 316 317 318 319 320 321 322
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="Last Display of Diary" prop="recgrp.rec.lstdiadat">
                            <c-date-picker type="date" v-model="model.recgrp.rec.lstdiadat" placeholder="请选择日期">
                            </c-date-picker>
                        </el-form-item>
                    </c-col>
                </c-row>
323 324 325
            </c-col>
        </c-row>

326 327
        <c-row class="infrow" style="margin-top: 20px;">
            <c-col :span="22" :offset="1">
328 329 330 331
                Printer
            </c-col>
        </c-row>

332
        <c-row class="infrow">
333
            <c-col :span="22" :offset="1">
334 335 336 337 338 339 340
                <c-table :border="true" :list="model.recpan.prtmod.prtgrd" style="text-align:center">
                    <el-table-column prop="tef" label="Technical Form" width="auto"></el-table-column>
                    <el-table-column prop="getprt" label="Get Printer from:" width="auto"></el-table-column>
                    <el-table-column prop="prt" label="Printer" width="auto"></el-table-column>
                    <el-table-column prop="bin" label="Paperbin" width="auto"></el-table-column>
                    <el-table-column prop="bin2" label="Bin for 2nd Page" width="auto"></el-table-column>
                </c-table>
341 342 343 344 345 346 347
            </c-col>
        </c-row>

    </c-content>
</template>
<script>
    import Api from "~/service/Api"
wangren committed
348
    import commonProcess from "~/mixin/commonProcess";
349 350 351 352 353
    import Event from "~/model/Infusr/Event"

    export default {
        inject: ['root'],
        props: ["model", "codes"],
wangren committed
354
        mixins: [commonProcess],
355 356 357 358 359 360 361 362 363 364 365 366
        data() {
            return {

            }
        },
        methods: { ...Event },
        created: function () {

        }
    }
</script>
<style>
367 368 369 370 371 372 373 374 375
    .infTopBtn {
        position: absolute;
        top: 0;
        z-index: 5;
        width: 100%;
        height: 30px;
        padding: 10px 0 10px 30px;
        background-color: #f7faff;
    }
376
</style>