|
@@ -1,212 +1,228 @@
|
|
|
<template>
|
|
|
- <el-dialog title="详情" :close-on-click-modal="false" append-to-body :visible.sync="visible"
|
|
|
- :fullscreen="true" class="JNPF-dialog JNPF-dialog_center" lock-scroll>
|
|
|
+ <transition name="el-zoom-in-center">
|
|
|
<div class="JNPF-common-layout">
|
|
|
<div class="JNPF-common-layout-center">
|
|
|
- <el-row class="JNPF-common-search-box" :gutter="16">
|
|
|
- <el-form @submit.native.prevent>
|
|
|
- <el-col :span="6">
|
|
|
- <el-form-item label="姓名">
|
|
|
- <el-input v-model="query.name" placeholder="请输入" clearable>
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="6">
|
|
|
- <el-form-item label="联系电话">
|
|
|
- <el-input v-model="query.mobile" placeholder="请输入" clearable>
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <template v-if="showAll">
|
|
|
+ <div class="JNPF-preview-main flow-form-main">
|
|
|
+ <!-- <div class="JNPF-common-page-header">
|
|
|
+ <el-page-header @back="goBack" :content="title" />
|
|
|
+
|
|
|
+ </div> -->
|
|
|
+ <el-row class="JNPF-common-search-box" :gutter="16">
|
|
|
+ <el-form @submit.native.prevent>
|
|
|
<el-col :span="6">
|
|
|
- <el-form-item label="人员编码">
|
|
|
- <el-input v-model="query.code" placeholder="请输入" clearable>
|
|
|
+ <el-form-item label="姓名">
|
|
|
+ <el-input v-model="query.name" placeholder="请输入" clearable>
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
- <el-form-item label="响应状态">
|
|
|
- <JnpfSelect v-model="query.resStatus" placeholder="请选择"
|
|
|
- clearable :options="resStatusOptions"
|
|
|
- :props="resStatusProps" multiple>
|
|
|
- </JnpfSelect>
|
|
|
+ <el-form-item label="联系电话">
|
|
|
+ <el-input v-model="query.mobile" placeholder="请输入" clearable>
|
|
|
+ </el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <template v-if="showAll">
|
|
|
+ <el-col :span="6">
|
|
|
+ <el-form-item label="人员编码">
|
|
|
+ <el-input v-model="query.code" placeholder="请输入" clearable>
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="6">
|
|
|
+ <el-form-item label="响应状态">
|
|
|
+ <JnpfSelect v-model="query.resStatus" placeholder="请选择"
|
|
|
+ clearable :options="resStatusOptions"
|
|
|
+ :props="resStatusProps" multiple>
|
|
|
+ </JnpfSelect>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="6">
|
|
|
+ <el-form-item label="响应数据版本">
|
|
|
+ <el-input v-model="query.resVersion" placeholder="请输入"
|
|
|
+ clearable>
|
|
|
+ </el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </template>
|
|
|
<el-col :span="6">
|
|
|
- <el-form-item label="响应数据版本">
|
|
|
- <el-input v-model="query.resVersion" placeholder="请输入"
|
|
|
- clearable>
|
|
|
- </el-input>
|
|
|
+ <el-form-item>
|
|
|
+ <el-button type="primary" icon="el-icon-search"
|
|
|
+ @click="search()">查询</el-button>
|
|
|
+ <el-button icon="el-icon-refresh-right"
|
|
|
+ @click="reset()">重置</el-button>
|
|
|
+ <el-button type="text" icon="el-icon-arrow-down"
|
|
|
+ @click="showAll=true" v-if="!showAll">
|
|
|
+ 展开
|
|
|
+ </el-button>
|
|
|
+ <el-button type="text" icon="el-icon-arrow-up"
|
|
|
+ @click="showAll=false" v-else>
|
|
|
+ 收起
|
|
|
+ </el-button>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- </template>
|
|
|
- <el-col :span="6">
|
|
|
- <el-form-item>
|
|
|
- <el-button type="primary" icon="el-icon-search"
|
|
|
- @click="search()">查询</el-button>
|
|
|
- <el-button icon="el-icon-refresh-right"
|
|
|
- @click="reset()">重置</el-button>
|
|
|
- <el-button type="text" icon="el-icon-arrow-down"
|
|
|
- @click="showAll=true" v-if="!showAll">
|
|
|
- 展开
|
|
|
- </el-button>
|
|
|
- <el-button type="text" icon="el-icon-arrow-up"
|
|
|
- @click="showAll=false" v-else>
|
|
|
- 收起
|
|
|
- </el-button>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-form>
|
|
|
- </el-row>
|
|
|
- <div class="JNPF-common-layout-main JNPF-flex-main">
|
|
|
- <div class="JNPF-common-head">
|
|
|
- <div>
|
|
|
+ </el-form>
|
|
|
+ <div class="options">
|
|
|
+ <el-button @click="goBack()">{{$t('common.cancelButton')}}</el-button>
|
|
|
</div>
|
|
|
- <div class="JNPF-common-head-right">
|
|
|
- <!-- <el-tooltip content="高级查询" placement="top" v-if="true">
|
|
|
+ </el-row>
|
|
|
+ <div class="JNPF-common-layout-main JNPF-flex-main">
|
|
|
+ <div class="JNPF-common-head">
|
|
|
+ <div>
|
|
|
+ </div>
|
|
|
+ <div class="JNPF-common-head-right">
|
|
|
+ <!-- <el-tooltip content="高级查询" placement="top" v-if="true">
|
|
|
<el-link icon="icon-ym icon-ym-filter JNPF-common-head-icon"
|
|
|
:underline="false" @click="openSuperQuery()" />
|
|
|
</el-tooltip> -->
|
|
|
- <el-tooltip effect="dark" :content="$t('common.refresh')"
|
|
|
- placement="top">
|
|
|
- <el-link icon="icon-ym icon-ym-Refresh JNPF-common-head-icon"
|
|
|
- :underline="false" @click="initData()" />
|
|
|
- </el-tooltip>
|
|
|
+ <el-tooltip effect="dark" :content="$t('common.refresh')"
|
|
|
+ placement="top">
|
|
|
+ <el-link icon="icon-ym icon-ym-Refresh JNPF-common-head-icon"
|
|
|
+ :underline="false" @click="initData()" />
|
|
|
+ </el-tooltip>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+ <JNPF-table v-loading="listLoading" :data="list"
|
|
|
+ @sort-change='handleTableSort'
|
|
|
+ :header-cell-class-name="handleHeaderClass" :has-c="hasBatchBtn"
|
|
|
+ :span-method="arraySpanMethod">
|
|
|
+ <el-table-column prop="batchId" label="批次ID" align="left"
|
|
|
+ show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <JnpfInput v-model="scope.row.batchId" detailed showOverflow />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="code" label="人员编码" align="left"
|
|
|
+ show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <JnpfInput v-model="scope.row.code" detailed showOverflow />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="name" label="姓名" align="left"
|
|
|
+ show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <JnpfInput v-model="scope.row.name" detailed showOverflow />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="namePinyin" label="账户" align="left"
|
|
|
+ show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <JnpfInput v-model="scope.row.namePinyin" detailed
|
|
|
+ showOverflow />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="personnelType" label="人员类型" align="left"
|
|
|
+ show-overflow-tooltip>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="gender" label="性别" align="left"
|
|
|
+ show-overflow-tooltip>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="mobile" label="联系电话" align="left"
|
|
|
+ show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <JnpfInput v-model="scope.row.mobile" detailed showOverflow />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="email" label="邮箱" align="left"
|
|
|
+ show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <JnpfInput v-model="scope.row.email" detailed showOverflow />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="jobStatus" label="岗位状态" align="left"
|
|
|
+ show-overflow-tooltip>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="personStatus" label="人员状态" align="left"
|
|
|
+ show-overflow-tooltip>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="unionid" label="微信unionid" align="left"
|
|
|
+ width="100" show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <JnpfInput v-model="scope.row.unionid" detailed showOverflow />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="organizationCode" label="所属组织编码" align="left"
|
|
|
+ width="100" show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <JnpfInput v-model="scope.row.organizationCode" detailed
|
|
|
+ showOverflow />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="organizationName" label="所属组织名称" align="left"
|
|
|
+ width="100" show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <JnpfInput v-model="scope.row.organizationName" detailed
|
|
|
+ showOverflow />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="departmentCode" label="部门编码" align="left"
|
|
|
+ show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <JnpfInput v-model="scope.row.departmentCode" detailed
|
|
|
+ showOverflow />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="departmentName" label="部门名称" align="left"
|
|
|
+ show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <JnpfInput v-model="scope.row.departmentName" detailed
|
|
|
+ showOverflow />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="itsmUserId" label="Itsm用户id" align="left"
|
|
|
+ show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <JnpfInput v-model="scope.row.itsmUserId" detailed
|
|
|
+ showOverflow />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="itsmUserName" label="itsm用户姓名" align="left"
|
|
|
+ width="100" show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <JnpfInput v-model="scope.row.itsmUserName" detailed
|
|
|
+ showOverflow />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="itsmUserAlias" label="itsm用户别名" align="left"
|
|
|
+ width="100" show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <JnpfInput v-model="scope.row.itsmUserAlias" detailed
|
|
|
+ showOverflow />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="enterpriseWechat" label="企微账号" align="left"
|
|
|
+ show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <JnpfInput v-model="scope.row.enterpriseWechat" detailed
|
|
|
+ showOverflow />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="resCode" label="响应数据编码" align="left" width="100"
|
|
|
+ show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <JnpfInput v-model="scope.row.resCode" detailed showOverflow />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="resStatus" label="响应状态" align="left"
|
|
|
+ show-overflow-tooltip>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="resMessage" label="响应数据描述" align="left"
|
|
|
+ width="100" show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <JnpfInput v-model="scope.row.resMessage" detailed
|
|
|
+ showOverflow />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="resVersion" label="响应数据版本" align="left"
|
|
|
+ width="100" show-overflow-tooltip>
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <JnpfInput v-model="scope.row.resVersion" detailed
|
|
|
+ showOverflow />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </JNPF-table>
|
|
|
+ <pagination :total="total" :page.sync="listQuery.currentPage"
|
|
|
+ :limit.sync="listQuery.pageSize" @pagination="initData" />
|
|
|
</div>
|
|
|
- <JNPF-table v-loading="listLoading" :data="list" @sort-change='handleTableSort'
|
|
|
- :header-cell-class-name="handleHeaderClass" :has-c="hasBatchBtn"
|
|
|
- :span-method="arraySpanMethod">
|
|
|
- <el-table-column prop="batchId" label="批次ID" align="left"
|
|
|
- show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <JnpfInput v-model="scope.row.batchId" detailed showOverflow />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="code" label="人员编码" align="left"
|
|
|
- show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <JnpfInput v-model="scope.row.code" detailed showOverflow />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="name" label="姓名" align="left" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <JnpfInput v-model="scope.row.name" detailed showOverflow />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="namePinyin" label="账户" align="left"
|
|
|
- show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <JnpfInput v-model="scope.row.namePinyin" detailed showOverflow />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="personnelType" label="人员类型" align="left"
|
|
|
- show-overflow-tooltip>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="gender" label="性别" align="left"
|
|
|
- show-overflow-tooltip>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="mobile" label="联系电话" align="left"
|
|
|
- show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <JnpfInput v-model="scope.row.mobile" detailed showOverflow />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="email" label="邮箱" align="left" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <JnpfInput v-model="scope.row.email" detailed showOverflow />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="jobStatus" label="岗位状态" align="left"
|
|
|
- show-overflow-tooltip>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="personStatus" label="人员状态" align="left"
|
|
|
- show-overflow-tooltip>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="unionid" label="微信unionid" align="left" width="100"
|
|
|
- show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <JnpfInput v-model="scope.row.unionid" detailed showOverflow />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="organizationCode" label="所属组织编码" align="left"
|
|
|
- width="100" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <JnpfInput v-model="scope.row.organizationCode" detailed
|
|
|
- showOverflow />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="organizationName" label="所属组织名称" align="left"
|
|
|
- width="100" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <JnpfInput v-model="scope.row.organizationName" detailed
|
|
|
- showOverflow />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="departmentCode" label="部门编码" align="left"
|
|
|
- show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <JnpfInput v-model="scope.row.departmentCode" detailed
|
|
|
- showOverflow />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="departmentName" label="部门名称" align="left"
|
|
|
- show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <JnpfInput v-model="scope.row.departmentName" detailed
|
|
|
- showOverflow />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="itsmUserId" label="Itsm用户id" align="left"
|
|
|
- show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <JnpfInput v-model="scope.row.itsmUserId" detailed showOverflow />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="itsmUserName" label="itsm用户姓名" align="left"
|
|
|
- width="100" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <JnpfInput v-model="scope.row.itsmUserName" detailed showOverflow />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="itsmUserAlias" label="itsm用户别名" align="left"
|
|
|
- width="100" show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <JnpfInput v-model="scope.row.itsmUserAlias" detailed
|
|
|
- showOverflow />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="enterpriseWechat" label="企微账号" align="left"
|
|
|
- show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <JnpfInput v-model="scope.row.enterpriseWechat" detailed
|
|
|
- showOverflow />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="resCode" label="响应数据编码" align="left" width="100"
|
|
|
- show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <JnpfInput v-model="scope.row.resCode" detailed showOverflow />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="resStatus" label="响应状态" align="left"
|
|
|
- show-overflow-tooltip>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="resMessage" label="响应数据描述" align="left" width="100"
|
|
|
- show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <JnpfInput v-model="scope.row.resMessage" detailed showOverflow />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column prop="resVersion" label="响应数据版本" align="left" width="100"
|
|
|
- show-overflow-tooltip>
|
|
|
- <template slot-scope="scope">
|
|
|
- <JnpfInput v-model="scope.row.resVersion" detailed showOverflow />
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </JNPF-table>
|
|
|
- <pagination :total="total" :page.sync="listQuery.currentPage"
|
|
|
- :limit.sync="listQuery.pageSize" @pagination="initData" />
|
|
|
</div>
|
|
|
</div>
|
|
|
<JNPF-Form v-if="formVisible" ref="JNPFForm" @refresh="refresh" />
|
|
@@ -218,7 +234,7 @@
|
|
|
<SuperQuery v-if="superQueryVisible" ref="SuperQuery" :columnOptions="superQueryJson"
|
|
|
@superQuery="superQuery" />
|
|
|
</div>
|
|
|
- </el-dialog>
|
|
|
+ </transition>
|
|
|
</template>
|
|
|
<script>
|
|
|
import request from '@/utils/request'
|
|
@@ -354,7 +370,9 @@ export default {
|
|
|
let btnsList = []
|
|
|
this.hasBatchBtn = btnsList.some(o => ['batchRemove', 'batchPrint', 'download'].includes(o))
|
|
|
},
|
|
|
-
|
|
|
+ goBack() {
|
|
|
+ this.$emit('refresh')
|
|
|
+ },
|
|
|
treeRefresh() {
|
|
|
this.keyword = ''
|
|
|
this.treeActiveId = ''
|
|
@@ -685,4 +703,9 @@ export default {
|
|
|
.tableContainer {
|
|
|
flex: 1;
|
|
|
}
|
|
|
+.JNPF-common-search-box {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+}
|
|
|
</style>
|