重新同步教职工数据
This commit is contained in:
@@ -24,3 +24,10 @@ export function listInstructorNew(query) {
|
||||
params: query
|
||||
})
|
||||
}
|
||||
// 新同步教职工
|
||||
export function syncInstructorinfonew() {
|
||||
return request({
|
||||
url: '/syncdata/synchronousEmployEEInfoList',
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
<el-row :gutter="10" class="mb8">
|
||||
<el-col :span="1.5">
|
||||
<el-button v-hasPermi="['system:middle:export']" type="warning" plain icon="el-icon-download"
|
||||
size="mini" @click="handleExport">导出</el-button>
|
||||
size="mini">导出</el-button>
|
||||
<el-col :span="1.5">
|
||||
<el-button v-hasPermi="['system:middle:add']" type="primary" plain icon="el-icon-plus" size="mini"
|
||||
@click="handleSync">同步数据</el-button>
|
||||
@@ -11,8 +11,6 @@
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-table v-loading="loading" :data="middleList">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<!-- <el-table-column label="${comment}" align="center" prop="id" /> -->
|
||||
<el-table-column label="职工号" align="center" prop="zgh" />
|
||||
<el-table-column label="姓名" align="center" prop="xm" />
|
||||
<el-table-column label="性别" align="center" prop="xb" />
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
<el-form-item label="状态" prop="status">
|
||||
<el-select v-model="queryParams.status" placeholder="请选择状态" clearable>
|
||||
<el-option
|
||||
v-for="dict in dict.type.all_status"
|
||||
v-for="dict in dict.type.teacher_status"
|
||||
:key="dict.value"
|
||||
:label="dict.label"
|
||||
:value="dict.value"
|
||||
@@ -119,7 +119,8 @@
|
||||
<el-table-column label="联系电话" align="center" prop="phoneNumber" />
|
||||
<el-table-column label="状态" align="center" prop="status">
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.all_status" :value="scope.row.status" />
|
||||
<!-- <dict-tag :options="dict.type.all_status" :value="scope.row.status" /> -->
|
||||
<dict-tag :options="dict.type.teacher_status" :value="scope.row.status" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
@@ -196,7 +197,7 @@ import { listTeacher, getTeacher, delTeacher, addTeacher, updateTeacher } from '
|
||||
import { getDeptName } from '@/api/system/dept'
|
||||
export default {
|
||||
name: 'Teacher',
|
||||
dicts: ['all_status', 'rt_college'],
|
||||
dicts: ['all_status', 'rt_college','teacher_status'],
|
||||
data() {
|
||||
return {
|
||||
// 遮罩层
|
||||
|
||||
Reference in New Issue
Block a user