1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492 |
- <template>
- <a-modal footer="" :width="1150" :dialogStyle="dialogStyle" title="员工信息详情" :visible="visible" @cancel="handleCancel"
- cancelText="关闭">
- <template slot="title">
- <div style="width: 100%;">
- <span>员工信息详情</span>
- <span style="display:inline-block;width:calc(100% - 51px);padding-right:10px;text-align: right">
- <a-button @click="toggleScreen" icon="appstore" style="height:20px;width:20px;border:0px"></a-button>
- </span>
- </div>
- </template>
- <a-spin :spinning="confirmLoading">
- <a-form :form="form" style="overflow-y: auto;height: 650px;">
- <a-row>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-model-item label="头像" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-upload disabled style="width: 70%" :action="url.fileUpload" list-type="picture-card" :fileList="fileListt" :showUploadList="{
- showRemoveIcon: false,
- showDownloadIcon: true
- }" @download="handleDownload"
-
- @preview="handlePreview" >
- <div v-if="fileListt.length<1">
- <a-icon type="plus" />
- <div class="ant-upload-text">
- 上传
- </div>
- </div>
- </a-upload>
- <a-modal :visible="previewVisible" :footer="null" @cancel="handleCancelst">
- <img alt="example" style="width: 100%" :src="previewImage" />
- </a-modal>
- </a-form-model-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="姓名" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-input style="width: 70%" disabled v-decorator="[ 'realname']" />
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="英文名" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-input style="width: 70%" disabled v-decorator="[ 'egName']" />
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="邮箱" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-input style="width: 70%" disabled v-decorator="[ 'email']" />
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="人员类别" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <j-dict-select-tag style="width: 70%" disabled v-decorator="[ 'category']" :triggerChange="true" dictCode="category" />
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="证件类型" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-select style="width: 70%" disabled v-model="sfzType">
- <a-select-option value="0">中国身份证</a-select-option>
- <a-select-option value="1">其他</a-select-option>
- </a-select>
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="身份证" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-input style="width: 70%" disabled v-decorator="[ 'sfzCode']" />
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="性别" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-select style="width: 70%" disabled v-decorator="[ 'sex']" :getPopupContainer="(target) => target.parentNode">
- <a-select-option :value="1">男</a-select-option>
- <a-select-option :value="2">女</a-select-option>
- </a-select>
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="生日" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-date-picker disabled style="width: 70%"
- v-decorator="['birthday', {initialValue:!model.birthday?null:moment(model.birthday,dateFormat)}]"
- :getCalendarContainer="node => node.parentNode" />
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="年龄" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-input style="width: 70%" disabled v-decorator="['age', {}]" />
- </a-form-item>
- </a-col>
- </a-row>
- <a-row>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="学历" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <j-dict-select-tag style="width: 70%" v-decorator="['education', {}]" :triggerChange="true" disabled dictCode="education" />
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="毕业学校" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-input style="width: 70%" disabled v-decorator="['school']" />
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="国籍" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <j-dict-select-tag style="width: 70%" v-decorator="['nationality']" :triggerChange="true" disabled dictCode="nationality" />
- </a-form-item>
- </a-form-item>
- </a-col>
- </a-row>
- <a-row>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="银行卡" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-input disabled style="width: 70%" v-decorator="['bankCard']" />
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="开户行" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-input disabled style="width: 70%" v-decorator="['bankAddr', {}]" />
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="部门" :labelCol="labelCol" :wrapperCol="wrapperCol" v-show="!departDisabled">
- <a-input-search disabled style="width: 70%" v-model="checkedDepartNameString" readOnly @search="onSearch">
- </a-input-search>
- </a-form-item>
- </a-col>
- </a-row>
- <a-row>
- </a-row>
- <a-row>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="工资" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-input disabled style="width: 70%" v-decorator="['wagesOne']" />
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="手机号" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-input disabled style="width: 70%" v-decorator="[ 'phone']" />
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="职位" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-input-search style="width: 70%" disabled v-model="zwName" readOnly @search="zw()">
- </a-input-search>
- </a-form-item>
- </a-col>
- </a-row>
- <a-row>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="公积金" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-input disabled style="width: 70%" v-decorator="['syFund']" />
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="缴交基数" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-input disabled style="width: 70%" controls="false" v-decorator="['wagesBase', {}]" />
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="入职日期" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-date-picker disabled style="width: 70%" disabled v-decorator="['entryDate']"
- :getCalendarContainer="node => node.parentNode" />
- </a-form-item>
- </a-col>
- </a-row>
- <a-row>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="试用期" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-input suffix="月" style="width: 70%" disabled v-decorator="['trialMoth']" />
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="结束日期" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-date-picker style="width: 70%" v-decorator="['trialEndDate']" disabled
- :getCalendarContainer="node => node.parentNode" />
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="工龄" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-input suffix="月" style="width: 70%" v-model="workMoth" disabled />
- </a-form-item>
- </a-col>
- </a-row>
- <a-row>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="司龄" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-input suffix="月" style="width: 70%" v-model="moth" disabled />
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="联系人" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-input style="width: 70%" v-decorator="[ 'urgentName',{}]" disabled />
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="电话" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-input style="width: 70%" v-decorator="[ 'urgentPhone', {}]" disabled />
- </a-form-item>
- </a-col>
- </a-row>
- <a-row>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="户口地址" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-input style="width: 70%" v-decorator="[ 'homeAddr', {}]" disabled />
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="家庭住址" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-input style="width: 70%" v-decorator="[ 'addr', {}]" disabled />
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="分摊部门" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <j-dict-select-tag style="width: 70%" disabled v-decorator="['shareDept', {}]" :triggerChange="true" dictCode="share_dept" />
- </a-form-item>
- </a-col>
- </a-row>
- <!-- <a-row>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="合同一" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-date-picker style="width: 100%" disabled v-decorator="['contractDate']"
- :getCalendarContainer="node => node.parentNode" />
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="合同二" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-date-picker style="width: 100%" disabled v-decorator="['contractDate2']"
- :getCalendarContainer="node => node.parentNode" />
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="合同三" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-date-picker style="width: 100%" disabled v-decorator="['contractDate3']"
- :getCalendarContainer="node => node.parentNode" />
- </a-form-item>
- </a-col>
- </a-row> -->
- <a-row>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="是否打卡" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-select @change="isAttes" style="width: 70%" v-decorator="[ 'isAttendance']" disabled :getPopupContainer="(target) => target.parentNode">
- <a-select-option value="0">是</a-select-option>
- <a-select-option value="1">否</a-select-option>
- </a-select>
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="上班类型" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <j-dict-select-tag style="width: 70%" v-decorator="['type']" disabled :triggerChange="true" dictCode="type" />
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="雇佣状态" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <j-dict-select-tag disabled style="width: 70%" v-decorator="[ 'employmentStatus']" dictCode="employmentStatus"
- :triggerChange="true" />
- </a-form-item>
- </a-col>
- </a-row>
- <a-row>
- <a-col :md="6" :sm="8" :lg="8">
- <a-form-item label="附件上传" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-badge :count="count" show-zero :number-style="{ backgroundColor: '#52c41a' }">
- <a-button icon="search" @click="uploads()" >查看</a-button>
- </a-badge>
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8" v-if="isQuit">
- <a-form-item label="预计离职日期" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-date-picker style="width: 70%" disabled v-decorator="['endDate']"
- :getCalendarContainer="node => node.parentNode" />
- </a-form-item>
- </a-col>
- <a-col :md="6" :sm="8" :lg="8" v-if="isQuit">
- <a-form-item label="实际离职日期" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-date-picker style="width: 70%" disabled v-decorator="['newDate']"
- :getCalendarContainer="node => node.parentNode" />
- </a-form-item>
- </a-col>
- </a-row>
- <a-row>
- <a-col :lg="24">
- <a-form-item style="margin-left: -240px;" label="同步信息" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <j-dict-select-tag v-decorator="['infoSy']" :type="'radio'" disabled :triggerChange="true"
- dictCode="info_sy" />
- </a-form-item>
- </a-col>
- </a-row>
- <a-row>
- <a-col :md="6" :sm="8" :lg="24" v-if="isQuit">
- <a-form-item style="margin-left: -240px;" label="离职原因" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-textarea style="height: 100px;" v-decorator="['demo']" disabled />
- </a-form-item>
- </a-col>
- </a-row>
- <a-row>
- <a-col :md="6" :sm="8" :lg="24">
- <a-form-item style="margin-left: -250px;" label="备注" :labelCol="labelCol" :wrapperCol="wrapperCol">
- <a-textarea style="height: 100px;" v-decorator="[ 'remarks', {}]" disabled />
- </a-form-item>
- </a-col>
- </a-row>
- <a-row>
- <a-table rowKey="id" bordered v-if="dataSources.length>0" :data-source="dataSources" :columns="columnst"
- :pagination="false">
- </a-table>
- </a-row>
- <a-row style="top: 20px;">
- <a-table rowKey="id" bordered v-if="dataContract.length>0" :pagination="false" :data-source="dataContract"
- :columns="columnst2">
- </a-table>
- </a-row>
- <a-row style="top: 40px;">
- <a-table rowKey="id" bordered v-if="dataSources2.length>0" :pagination="false" :data-source="dataSources2"
- :columns="columnst3">
- <span slot="changeType" slot-scope="text, record">
- <a-tag color="blue" v-if="text=='未审核'">{{text}}</a-tag>
- <a-tag color="#87d068" v-if="text=='同意'">{{text}}</a-tag>
- <a-tag color="#cd201f" v-if="text=='拒绝'">{{text}}</a-tag>
- </span>
- </a-table>
- </a-row>
- </a-form>
- </a-spin>
- <depart-window ref="departWindow" @ok="modalFormOk"></depart-window>
- <a-modal title="附件" :visible="visiblet" @ok="saveUpload()" @cancel="handleCancelts()" footer="">
- <a-upload disabled :action="url.fileUpload" list-type="picture" :file-list="fileLists" @change="t" method="post"
- @download="handleDownload" :showUploadList="{
- showRemoveIcon: false,
- showDownloadIcon: true
- }" :remove="handleRemove">
- </a-upload>
- </a-modal>
- </a-modal>
- </template>
- <script>
- import pick from 'lodash.pick'
- import moment from 'moment'
- import Vue from 'vue'
- // 引入搜索部门弹出框的组件
- import departWindow from './DepartWindow'
- import JSelectPosition from '@/components/jeecgbiz/JSelectPosition'
- import {
- ACCESS_TOKEN
- } from "@/store/mutation-types"
- import {
- getAction,
- httpAction,
- deleteAction,
- getFileAccessHttpUrl
- } from '@/api/manage'
- import {
- addUser,
- editUser,
- queryUserRole,
- queryall
- } from '@/api/api'
- import {
- disabledAuthFilter
- } from "@/utils/authFilter"
- import {
- duplicateCheck
- } from '@/api/api'
- import JImageUpload from '../../../components/jeecg/JImageUpload'
- import py from '../../../mixins/vue-py.js'
- const uidGenerator=()=>{
- return '-'+parseInt(Math.random()*10000+1,10);
- }
- const getFileName=(path)=>{
- if(path.lastIndexOf("\\")>=0){
- let reg=new RegExp("\\\\","g");
- path = path.replace(reg,"/");
- }
- return path.substring(path.lastIndexOf("/")+1);
- }
- function getBase64(file) {
- return new Promise((resolve, reject) => {
- const reader = new FileReader();
- reader.readAsDataURL(file);
- reader.onload = () => resolve(reader.result);
- reader.onerror = error => reject(error);
- });
- }
- export default {
- name: "UserModal",
- components: {
- JImageUpload,
- departWindow,
- JSelectPosition
- },
- data() {
- return {
- selectedRowKeys: [],
- fileListt: [],
- previewVisible: false,
- previewImage: '',
- dataContract: [],
- selectionRows: [],
- dataSources2: [],
- workMoth:0,
- departDisabled: false, //是否是我的部门调用该页面
- roleDisabled: false, //是否是角色维护调用该页面
- modalWidth: 800,
- drawerWidth: 700,
- titles: "新增员工",
- visibles: false,
- personType: false,
- count: 0,
- dataSources: [],
- modaltoggleFlag: true,
- sfzCode: "",
- bankCard: "",
- bankAddr: "",
- syFund: "",
- visiblet: false,
- phone: "",
- isSalary: "0",
- email: "",
- isAttendance: "0",
- zwName: "",
- zwCode: "",
- sfzType: "0",
- wkDate: new Date,
- wkMoth: 6,
- wkEndDate: null,
- isQuit: false,
- moth: 0,
- ipaginations: {
- current: 1,
- pageSize: 10,
- pageSizeOptions: ['10', '20', '30'],
- showTotal: (total, range) => {
- return range[0] + "-" + range[1] + " 共" + total + "条"
- },
- showQuickJumper: true,
- showSizeChanger: true,
- total: 0
- },
- fileLists: [],
- confirmDirty: false,
- files: [],
- selectedDepartKeys: [], //保存用户选择部门id
- checkedDepartKeys: [],
- checkedDepartNames: [], // 保存部门的名称 =>title
- checkedDepartNameString: "", // 保存部门的名称 =>title
- resultDepartOptions: [],
- userId: "", //保存用户id
- disableSubmit: false,
- userDepartModel: {
- userId: '',
- departIdList: []
- }, // 保存SysUserDepart的用户部门中间表数据需要的对象
- dateFormat: "YYYY-MM-DD",
- validatorRules: {
- phone: {
- rules: [{
- required: true,
- message: '请输入手机号!'
- }, {
- validator: this.validatePhone
- }]
- },
- email: {
- rules: [{
- required: true,
- message: '请输入邮箱'
- }, {
- validator: this.validateEmail
- }]
- },
- realname: {
- rules: [{
- required: true,
- message: '请输入姓名'
- }, {
- validator: this.validateRealname
- }]
- },
- egName: {
- rules: [{
- required: true,
- message: '请输入英文名'
- }, {
- validator: this.validateEgname
- }]
- },
- sfzCode: {
- rules: [{
- required: true,
- message: '请输入身份证号'
- }, {
- validator: this.validateSfzCode
- }]
- },
- sex: {
- rules: [{
- required: true,
- message: '请选择性别'
- }]
- },
- bankCard: {
- rules: [{
- required: true,
- message: '请输入银行账号'
- },
- {
- validator: this.validatebankCard
- }
- ]
- },
- syFund: {
- rules: [{
- required: true,
- message: '请输入公积金账号'
- },
- {
- validator: this.validatesyFund
- }
- ]
- },
- wagesOne: {
- rules: [{
- required: true,
- message: '请输入基本工资'
- }
- ]
- }
- },
- columnst: [{
- title: '奖惩列表',
- children: [{
- title: '类型',
- align: "center",
- dataIndex: 'type_dictText',
- }, {
- title: '备注',
- dataIndex: 'demo',
- ellipsis: true,
- },
- {
- title: '日期',
- align: "center",
- dataIndex: 'date',
- customRender: function(t, r, index) {
- return moment(t).format('YYYY-MM-DD');
- }
- },
- {
- title: '操作员',
- align: "center",
- dataIndex: 'createBy_dictText',
- },
- ]
- }],
- columnst2: [{
- title: '合同列表',
- children: [{
- title: '合同类型',
- align: "center",
- dataIndex: 'contractType_dictText',
- }, {
- title: '开始日期',
- dataIndex: 'startDate',
- align: "center",
- customRender: function(t, r, index) {
- return moment(t).format('YYYY-MM-DD');
- }
- },
- {
- title: '结束日期',
- align: "center",
- dataIndex: 'endDate',
- customRender: function(t, r, index) {
- return moment(t).format('YYYY-MM-DD');
- }
- },
- {
- title: '操作员',
- dataIndex: 'createBy_dictText',
- },
- ]
- }],
- columnst3: [{
- title: '人事变动列表',
- children: [{
- title: '变动类型',
- align: "center",
- dataIndex: 'type',
- }, {
- title: '原部门',
- align: "center",
- dataIndex: 'deptName',
- }, {
- title: '新部门',
- align: "center",
- dataIndex: 'newDeptName',
- }, {
- title: '原职位',
- align: "center",
- dataIndex: 'startPost',
- }, {
- title: '新职位',
- align: "center",
- dataIndex: 'endPost',
- }, {
- title: '原薪资',
- align: "center",
- dataIndex: 'startWages',
- }, {
- title: '调整后薪资',
- align: "center",
- dataIndex: 'endWages',
- },
- {
- title: '状态',
- align: "center",
- dataIndex: 'state_dictText',
- scopedSlots: {
- customRender: 'changeType'
- }
- },
- {
- title: '操作员',
- align: "center",
- dataIndex: 'conmitId_dictText',
- },
- ]
- }],
- departIdShow: false,
- departIds: [], //负责部门id
- title: "操作",
- visible: false,
- dialogStyle: {
- top: "15px"
- },
- model: {},
- roleList: [],
- selectedRole: [],
- realname: "",
- egName: "",
- labelCol: {
- xs: {
- span: 24
- },
- sm: {
- span: 6
- },
- },
- wrapperCol: {
- xs: {
- span: 24
- },
- sm: {
- span: 18
- },
- },
- uploadLoading: false,
- confirmLoading: false,
- headers: {},
- form: this.$form.createForm(this),
- picUrl: "",
- url: {
- fileUpload: window._CONFIG['domianURL'] + "/sys/common/upload",
- dowfile: window._CONFIG['domianURL'] + "/sys/common/static/",
- userWithDepart: "/sys/user/userDepartList", // 引入为指定用户查看部门信息需要的url
- userId: "/sys/user/generateUserId", // 引入生成添加用户情况下的url
- syncUserByUserName: "/act/process/extActProcess/doSyncUserByUserName", //同步用户到工作流
- queryTenantList: '/sys/tenant/queryList',
- xzupload: '/sys/common/static',
- sysFile: '/sysFile/sysFile/queryByUserId',
- delSysFile: '/sysFile/sysFile/deleteById',
- post: '/sys/position/listByDept',
- Prize: '/userPrize/userPrize/list',
- quitlist: "/userquit/userQuit/lists",
- changelist: "/userchange/userChage/lists",
- userCont: "/usercontract/userContract/lists"
- },
- identity: "1",
- fileList: [],
- tenantList: [],
- currentTenant: []
- }
- },
- created() {
- const token = Vue.ls.get(ACCESS_TOKEN);
- this.headers = {
- "X-Access-Token": token
- }
- this.initTenantList()
- },
- computed: {
- uploadAction: function() {
- return this.url.fileUpload;
- }
- },
- methods: {
- initFileList(paths){
- if(!paths || paths.length==0){
- this.fileListt = [];
- return;
- }
- let fileListt = [];
- let url = getFileAccessHttpUrl(paths);
- fileListt.push({
- uid: uidGenerator(),
- name: getFileName(paths),
- status: 'done',
- url: url,
- response:{
- status:"history",
- message:paths
- }
- })
-
- this.fileListt = fileListt
- },
- handleCancelst() {
- this.previewVisible = false;
- },
- async handlePreview(file) {
- if (!file.url && !file.preview) {
- file.preview = await getBase64(file.originFileObj);
- }
- this.previewImage = file.url || file.preview;
- this.previewVisible = true;
- },
- zwOk() {
- if (this.selectionRows != null && this.selectionRows.length > 0) {
- this.zwName = this.selectionRows[0].name;
- this.zwCode = this.selectionRows[0].code;
- }
- this.visibles = false;
- },
- onSelectChanges(selectedRowKeys, selectionRows) {
- this.selectedRowKeys = selectedRowKeys;
- this.selectionRows = selectionRows;
- },
- handleTableChanges(pagination, filters, sorter) {
- //分页、排序、筛选变化时触发
- //TODO 筛选
- if (Object.keys(sorter).length > 0) {
- this.isorter.column = sorter.field;
- this.isorter.order = "ascend" == sorter.order ? "asc" : "desc"
- }
- this.ipaginations = pagination;
- this.queryzw();
- },
- queryPrize() {
- getAction(this.url.Prize, {
- pageNo: this.ipaginations.current,
- pageSize: this.ipaginations.pageSize,
- userId: this.userId
- }).then((res) => {
- if (res.success) {
- this.dataSources = res.result.records || res.result;
- if (res.result.total) {
- this.ipaginations.total = res.result.total;
- } else {
- this.ipaginationstotal = 0;
- }
- }
- }).finally(() => {});
- },
- /* queryUserQuit() {
- getAction(this.url.quitlist, {
- userId: this.userId
- }).then((res) => {
- if (res.success) {
- this.dataSources2 = res.result.userChage;
- var data=res.result.userQuit;
- this.dataContract=res.result.userContract;
-
-
- }
- }).finally(() => {});
- }, */
- queryuserCont() {
- getAction(this.url.userCont, {
- userId: this.userId
- }).then((res) => {
- if (res.success) {
- this.dataContract = res.result.records;
- }
- }).finally(() => {});
- },
- queryChange() {
- getAction(this.url.changelist, {
- userId: this.userId
- }).then((res) => {
- if (res.success) {
- this.dataSources2 = res.result.records;
- }
- }).finally(() => {});
- },
- handleRemove(file) {
- if (this.userId != null && this.userId != "") {
- deleteAction(this.url.delSysFile, {
- userid: this.userId,
- name: file.name
- }).then((res) => {
- if (res.success) {}
- }).finally(() => {});
- }
- },
- handleCancelts() {
- // this.fileList = [];
- this.visiblet = false;
- },
- // 文件下载
- handleDownload(file) {
- window.location.href = this.url.dowfile + file.response.message;
- },
- t(info) {
- // this.files = [];
- // let {
- // fileList
- // } = info
- // const status = info.file.status
- // if (status !== 'uploading') {}
- // if (status === 'done') {
- // var list = fileList.fileList;
- // for (var i = 0; i < list.length; i++) {
- // this.files.push(list[i].response.message);
- // }
- // }
- this.fileLists = info.fileList //重点
- //console.log(info)
- },
- saveUpload() {
- this.visiblet = false;
- },
- uploads() {
- this.visiblet = true;
- },
- isDisabledAuth(code) {
- return disabledAuthFilter(code);
- },
- getBirth(idCard) {
- var birthday = "";
- if (idCard != null && idCard != "") {
- if (idCard.length == 15) {
- birthday = "19" + idCard.slice(6, 12);
- } else if (idCard.length == 18) {
- birthday = idCard.slice(6, 14);
- }
- //通过正则表达式来指定输出格式为:1990-01-01
- }
- if (birthday != "" && birthday != null) {
- this.form.setFieldsValue({
- birthday: birthday.replace(/(.{4})(.{2})/, "$1-$2-")
- })
- if (parseInt(idCard.slice(-2, -1)) % 2 == 1) {
- this.form.setFieldsValue({
- sex: 1
- })
- } else {
- this.form.setFieldsValue({
- sex: 2
- })
- }
- }
- },
- handleChangeStatus(e) {
- if (e == 101) {
- this.personType = false;
- } else {
- this.personType = true;
- this.form.setFieldsValue({
- wagesBase: null
- })
- }
- },
- queryFiles(e) {
- getAction(this.url.sysFile, {
- userid: e
- }).then(res => {
- if (res.success) {
- if (res.result.length > 0) {
- this.count = res.result.length;
- this.fileLists = [];
- for (var i = 0; i < res.result.length; i++) {
- const rs = {
- message: res.result[i].txtName
- };
- const fileInfo = {
- uid: res.result[i].id,
- name: res.result[i].txtName,
- status: "done",
- response: rs,
- url: this.url.fileUpload + res.result[i].txtName,
- };
- this.fileLists.push(fileInfo)
- }
- }
- }
- })
- },
- initTenantList() {
- getAction(this.url.queryTenantList).then(res => {
- if (res.success) {
- this.tenantList = res.result
- }
- })
- },
- //窗口最大化切换
- toggleScreen() {
- if (this.modaltoggleFlag) {
- this.modalWidth = window.innerWidth;
- } else {
- this.modalWidth = 800;
- }
- this.modaltoggleFlag = !this.modaltoggleFlag;
- },
- initialRoleList() {
- queryall().then((res) => {
- if (res.success) {
- this.roleList = res.result;
- } else {
- console.log(res.message);
- }
- });
- },
- loadUserRoles(userid) {
- queryUserRole({
- userid: userid
- }).then((res) => {
- if (res.success) {
- this.selectedRole = res.result;
- } else {
- console.log(res.message);
- }
- });
- },
- refresh() {
- this.selectedDepartKeys = [];
- this.checkedDepartKeys = [];
- this.checkedDepartNames = [];
- this.checkedDepartNameString = "";
- this.userId = ""
- this.resultDepartOptions = [];
- this.departId = [];
- this.departIdShow = false;
- this.currentTenant = []
- this.sfzCode = "";
- this.realname = "";
- this.egName = "";
- this.syFund = "";
- this.isAttendance = 0;
- this.isSalary = 0;
- this.bankAddr = "";
- this.bankCard = "";
- this.phone = "";
- this.email = "";
- this.zwCode = "";
- this.zwName = "";
- this.selectedRowKeys = [];
- this.selectionRows = [];
- this.count = 0;
- },
- add() {
- this.picUrl = "";
- this.refresh();
- this.edit({
- activitiSync: '1'
- });
- var date = new Date();
- date.setMonth(date.getMonth() + 6)
- this.wkEndDate = date;
- this.wkMoth = 6;
- },
- edit(record) {
- this.realname = record.realname;
- this.egName = record.egName;
- this.resetScreenSize(); // 调用此方法,根据屏幕宽度自适应调整抽屉的宽度
- let that = this;
- this.initFileList(record.avatar);
- //that.initialRoleList();
- that.checkedDepartNameString = "";
- that.form.resetFields();
- if (record.hasOwnProperty("id")) {
- that.loadUserRoles(record.id);
- setTimeout(() => {
- this.fileList = record.avatar;
- }, 5)
- }
- if (record.sfzType != null && record.sfzType != "") {
- this.sfzType = record.sfzType;
- }
- if (record.entryDate != null) {
- this.moth = this.countMoth(record.entryDate)
- }
- if (record.employmentStatus == 30 || record.employmentStatus == '30') {
- this.isQuit = true;
- }if(record.isAttendance!=null&& record.isAttendance != ""){
- this.isAttendance=record.isAttendance;
- }if(record.workMoth!=null&&record.workMoth!=""){
- this.worMoth=record.workMoth;
- this.workMoth=record.workMoth - 0+this.moth - 0;
- }
- that.visible = true;
- that.model = Object.assign({}, record);
- this.zwCode = record.post;
- this.zwName = record.post_dictText;
- this.wkDate = record.entryDate;
- this.wkMoth = record.trialMoth - 0;
- that.$nextTick(() => {
- that.form.setFieldsValue(pick(this.model, 'sex', 'email', 'phone', 'urgentName', 'urgentPhone',
- 'bankAddr', 'bankCard', 'realname', 'egName', 'age', 'sfzCode', 'isAttendance', 'remarks', 'addr',
- 'nationality', 'trialMoth', 'entryDate', 'trialEndDate', 'workMoth', 'divisionMoth',
- 'infoSy', 'syFund', 'category', 'employmentStatus', 'wagesOne', 'wagesTwo', 'security', 'wagesBase',
- 'homeAddr', 'education', 'endDate', 'newDate', 'demo', 'school', 'contractDate', 'contractDate2',
- 'type', 'contractDate3',
- 'shareDept'))
- });
- //身份为上级显示负责部门,否则不显示
- if (this.model.userIdentity == "2") {
- this.identity = "2";
- this.departIdShow = true;
- } else {
- this.identity = "1";
- this.departIdShow = false;
- }
- //update-begin-author:taoyan date:2020710 for:多租户配置
- if (!record.relTenantIds || record.relTenantIds.length == 0) {
- this.currentTenant = []
- } else {
- this.currentTenant = record.relTenantIds.split(',').map(Number);
- }
- if (record.id != null && record.id != "") {
- this.userId = record.id;
- this.queryFiles(record.id)
- }
- // 调用查询用户对应的部门信息的方法
- that.checkedDepartKeys = [];
- that.loadCheckedDeparts();
- if (this.userId != null && this.userId != "") {
- this.queryFiles(this.userId)
- this.queryPrize();
- /* this.queryUserQuit(); */
- this.queryChange();
- this.queryuserCont()
- }
- },
- countMoth(e) {
- var date = new Date(e)
- var newDate = new Date();
- var seconds = Math.floor((newDate.getTime() - date.getTime()) / 1000);
- var minutes = Math.floor(seconds / 60);
- var hours = Math.floor(minutes / 60);
- var days = Math.floor(hours / 24);
- var months = Math.floor(days / 30);
- var diffValue = 0;
- if (months > 0) {
- diffValue = months;
- }
- return diffValue;
- },
- //
- loadCheckedDeparts() {
- var id = this.userId
- let that = this;
- if (!that.userId) {
- return
- }
- getAction(that.url.userWithDepart, {
- userId: that.userId
- }).then((res) => {
- that.checkedDepartNames = [];
- if (res.success) {
- var depart = [];
- var departId = [];
- for (let i = 0; i < res.result.length; i++) {
- that.checkedDepartNames.push(res.result[i].title);
- this.checkedDepartNameString = this.checkedDepartNames.join(",");
- that.checkedDepartKeys.push(res.result[i].key);
- //新增负责部门选择下拉框
- depart.push({
- key: res.result[i].key,
- title: res.result[i].title
- })
- departId.push(res.result[i].key)
- }
- that.resultDepartOptions = depart;
- //判断部门id是否存在,不存在择直接默认当前所在部门
- if (this.model.departIds) {
- this.departIds = this.model.departIds.split(",");
- } else {
- this.departIds = departId;
- }
- that.userDepartModel.departIdList = that.checkedDepartKeys
- } else {
- console.log(res.message);
- }
- })
- },
- close() {
- this.$emit('close');
- this.visible = false;
- this.disableSubmit = false;
- this.selectedRole = [];
- this.userDepartModel = {
- userId: '',
- departIdList: []
- };
- this.checkedDepartNames = [];
- this.checkedDepartNameString = '';
- this.checkedDepartKeys = [];
- this.selectedDepartKeys = [];
- this.resultDepartOptions = [];
- this.departIds = [];
- this.departIdShow = false;
- this.fileLists = [];
- this.identity = "1";
- this.bankAddr = "";
- this.bankCard = "";
- this.syFund = "";
- this.count = 0;
- },
- moment,
- handleSubmit() {
- if (this.userDepartModel.departIdList.join(",") == "" || this.userDepartModel.departIdList.join(",") == null) {
- this.$message.warning('请选择部门!');
- return;
- }
- const that = this;
- // 触发表单验证
- this.form.validateFields((err, values) => {
- if (!err) {
- that.confirmLoading = true;
- if (!values.birthday) {
- values.birthday = '';
- } else {
- values.birthday = values.birthday;
- }
- let formData = Object.assign(this.model, values);
- // if (that.fileList != '') {
- // formData.avatar = that.fileList;
- // } else {
- // formData.avatar = null;
- // }
- formData.sfzType = this.sfzType;
- var a = this.fileLists;
- var txt = [];
- console.log(this.fileLists)
- if (this.fileLists != null && this.fileLists.length > 0) {
- for (var i = 0; i < this.fileLists.length; i++) {
- txt.push(this.fileLists[i].response.message)
- }
- formData.txt = txt.join(",");
- }
- formData.post = this.zwCode;
- //formData.selectedroles = this.selectedRole.length>0?this.selectedRole.join(","):'';
- formData.selecteddeparts = this.userDepartModel.departIdList.length > 0 ? this.userDepartModel
- .departIdList.join(",") : '';
- formData.userIdentity = this.identity;
- formData.departIds = this.userDepartModel.departIdList.join(",");
- //如果是上级择传入departIds,否则为空
- if (this.identity === "2") {
- formData.departIds = this.departIds.join(",");
- } else {
- formData.departIds = "";
- }
- // that.addDepartsToUser(that,formData); // 调用根据当前用户添加部门信息的方法
- let obj;
- if (!this.model.id) {
- formData.id = this.userId;
- obj = addUser(formData);
- } else {
- obj = editUser(formData);
- }
- obj.then((res) => {
- if (res.success) {
- that.$message.success(res.message);
- that.$emit('ok');
- } else {
- that.$message.warning(res.message);
- }
- }).finally(() => {
- that.confirmLoading = false;
- that.checkedDepartNames = [];
- that.userDepartModel.departIdList = {
- userId: '',
- departIdList: []
- };
- that.close();
- })
- } else {
- console.log("1")
- }
- })
- },
- handleCancel() {
- this.close()
- },
- validateRealname(rule, value, callback) {
- if (!value) {
- callback()
- } else {
- this.realname = value;
- if (this.egName != null && this.egName != "") {
- var emil = "@gksports.com.cn";
- var name = py.chineseToPinYin(value.substr(0, 1))
- this.form.setFieldsValue({
- email: this.egName + "." + name + emil
- })
- }
- callback()
- }
- },
- validateSfzCode(rule, value, callback) {
- if (!value) {
- callback()
- } else {
- if (this.sfzType == "0") {
- if (value.length == 15 && RegExp(/^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$/).test(value)) {
- this.getBirth(value)
- } else if (value.length == 18 && RegExp(
- /^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/).test(value)) {
- this.getBirth(value)
- } else {
- callback("请输入正确格式的身份证号码!");
- }
- }
- callback()
- }
- },
- validateEgname(rule, value, callback) {
- if (!value) {
- callback()
- } else {
- this.egName = value;
- if (this.realname != null && this.realname != "") {
- var emil = "@gksports.com.cn";
- var name = py.chineseToPinYin(this.realname.substr(0, 1))
- this.form.setFieldsValue({
- email: value + "." + name + emil
- })
- }
- callback()
- }
- },
- validatesyFund(rule, value, callback) {
- if (!value) {
- callback()
- } else {
- if (value.length != 9 && value.length != 12) {
- callback('请输入正确格式的公积金账号');
- }
- callback()
- }
- },
- validatePhone(rule, value, callback) {
- if (!value) {
- callback()
- } else {
- //update-begin--Author:kangxiaolin Date:20190826 for:[05] 手机号不支持199号码段--------------------
- if (new RegExp(/^1[3|4|5|7|8|9][0-9]\d{8}$/).test(value)) {
- //update-end--Author:kangxiaolin Date:20190826 for:[05] 手机号不支持199号码段--------------------
- var params = {
- tableName: 'sys_user',
- fieldName: 'phone',
- fieldVal: value,
- dataId: this.userId
- };
- duplicateCheck(params).then((res) => {
- if (res.success) {
- callback()
- } else {
- callback("手机号已存在!")
- }
- })
- } else {
- callback("请输入正确格式的手机号码!");
- }
- }
- },
- validatebankCard(rule, value, callback) {
- if (!value) {
- callback()
- } else {
- if (value.length != 19 && value.length != 17 && value.length != 16) {
- callback('请输入正确格式的银行卡账号');
- }
- callback()
- }
- },
- validateEmail(rule, value, callback) {
- if (!value) {
- callback()
- } else {
- if (new RegExp(
- /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/
- ).test(value)) {
- var params = {
- tableName: 'sys_user',
- fieldName: 'email',
- fieldVal: value,
- dataId: this.userId
- };
- duplicateCheck(params).then((res) => {
- if (res.success) {
- callback()
- } else {
- callback("邮箱已存在!")
- }
- })
- } else {
- callback("请输入正确格式的邮箱!")
- }
- }
- },
- handleConfirmBlur(e) {
- const value = e.target.value;
- this.confirmDirty = this.confirmDirty || !!value
- },
- normFile(e) {
- console.log('Upload event:', e);
- if (Array.isArray(e)) {
- return e
- }
- return e && e.fileList
- },
- beforeUpload: function(file) {
- var fileType = file.type;
- if (fileType.indexOf('image') < 0) {
- this.$message.warning('请上传图片');
- return false;
- }
- //TODO 验证文件大小
- },
- handleChange(info) {
- this.picUrl = "";
- if (info.file.status === 'uploading') {
- this.uploadLoading = true;
- return
- }
- if (info.file.status === 'done') {
- var response = info.file.response;
- this.uploadLoading = false;
- console.log(response);
- if (response.success) {
- this.model.avatar = response.message;
- this.picUrl = "Has no pic url yet";
- } else {
- this.$message.warning(response.message);
- }
- }
- },
- // 搜索用户对应的部门API
- onSearch() {
- console.log(this.$refs.departWindow)
- this.$refs.departWindow.add(this.checkedDepartKeys, this.userId);
- },
- // 获取用户对应部门弹出框提交给返回的数据
- modalFormOk(formData) {
- this.checkedDepartNames = [];
- this.selectedDepartKeys = [];
- this.checkedDepartNameString = '';
- this.userId = formData.userId;
- this.userDepartModel.userId = formData.userId;
- this.departIds = [];
- this.resultDepartOptions = [];
- var depart = [];
- for (let i = 0; i < formData.departIdList.length; i++) {
- this.selectedDepartKeys.push(formData.departIdList[i].key);
- this.checkedDepartNames.push(formData.departIdList[i].title);
- this.checkedDepartNameString = this.checkedDepartNames.join(",");
- //新增部门选择,如果上面部门选择后不为空直接付给负责部门
- depart.push({
- key: formData.departIdList[i].key,
- title: formData.departIdList[i].title
- })
- this.departIds.push(formData.departIdList[i].key)
- }
- this.resultDepartOptions = depart;
- this.userDepartModel.departIdList = this.selectedDepartKeys;
- this.checkedDepartKeys = this.selectedDepartKeys //更新当前的选择keys
- },
- // 根据屏幕变化,设置抽屉尺寸
- resetScreenSize() {
- let screenWidth = document.body.clientWidth;
- if (screenWidth < 500) {
- this.drawerWidth = screenWidth;
- } else {
- this.drawerWidth = 700;
- }
- },
- identityChange(e) {
- if (e.target.value === "1") {
- this.departIdShow = false;
- } else {
- this.departIdShow = true;
- }
- }
- }
- }
- </script>
- <style scoped>
- .avatar-uploader>.ant-upload {
- width: 104px;
- height: 104px;
- }
- .ant-upload-select-picture-card i {
- font-size: 49px;
- color: #999;
- }
- .ant-upload-select-picture-card .ant-upload-text {
- margin-top: 8px;
- color: #666;
- }
- .ant-table-tbody .ant-table-row td {
- padding-top: 10px;
- padding-bottom: 10px;
- }
- .drawer-bootom-button {
- position: absolute;
- bottom: -8px;
- width: 100%;
- border-top: 1px solid #e8e8e8;
- padding: 10px 16px;
- text-align: right;
- left: 0;
- background: #fff;
- border-radius: 0 0 2px 2px;
- }
- </style>
|