提交本地代码
This commit is contained in:
parent
cbae482407
commit
af6e5a2ef0
44
src/api/system/dependency.js
Normal file
44
src/api/system/dependency.js
Normal file
|
@ -0,0 +1,44 @@
|
|||
import request from '@/utils/request'
|
||||
|
||||
// 查询属地列表
|
||||
export function getBusDependencyPage(query) {
|
||||
return request({
|
||||
url: '/admin/busDependency/getBusDependencyPage',
|
||||
method: 'post',
|
||||
data: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询属地详细
|
||||
export function getBusDependency(busDependencyId) {
|
||||
return request({
|
||||
url: '/admin/busDependency/getBusDependency/' + busDependencyId,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增属地
|
||||
export function addBusDependency(data) {
|
||||
return request({
|
||||
url: '/admin/busDependency/addBusDependency',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改属地
|
||||
export function updateBusDependency(data) {
|
||||
return request({
|
||||
url: '/admin/busDependency/updateBusDependency',
|
||||
method: 'put',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除属地
|
||||
export function deleteBusDependency(busDependencyId) {
|
||||
return request({
|
||||
url: '/admin/busDependency/deleteBusDependency/' + busDependencyId,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
|
@ -123,7 +123,7 @@ const loginRules = {
|
|||
const codeUrl = ref("")
|
||||
const loading = ref(false)
|
||||
// 验证码开关
|
||||
const captchaEnabled = ref(true)
|
||||
const captchaEnabled = ref(false)
|
||||
// 注册开关
|
||||
const register = ref(true)
|
||||
const redirect = ref(undefined)
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
<el-col :span="1.5">
|
||||
<el-button type="info" plain icon="Sort" @click="toggleExpandAll">展开/折叠</el-button>
|
||||
</el-col>
|
||||
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
||||
<!-- <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar> -->
|
||||
</el-row>
|
||||
<div class="borderLine"></div>
|
||||
<el-table v-if="refreshTable" height="calc(100% - 92px)" v-loading="loading" :data="deptList" row-key="deptId"
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
<el-col :span="1.5">
|
||||
<el-button type="warning" plain icon="Close" @click="handleClose">关闭</el-button>
|
||||
</el-col>
|
||||
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
||||
<!-- <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar> -->
|
||||
</el-row>
|
||||
<div class="borderLine"></div>
|
||||
<el-table v-loading="loading" :data="dataList" @selection-change="handleSelectionChange">
|
||||
|
@ -92,8 +92,8 @@
|
|||
v-model:limit="queryParams.pageSize" @pagination="getList" />
|
||||
</div>
|
||||
<!-- 添加或修改参数配置对话框 -->
|
||||
<el-dialog :title="title" v-model="open" width="500px" append-to-body>
|
||||
<el-form ref="dataRef" :model="form" :rules="rules" label-width="80px">
|
||||
<el-dialog :title="title" v-model="open" width="800px" append-to-body>
|
||||
<el-form ref="dataRef" :model="form" :rules="rules" label-width="120px">
|
||||
<el-form-item label="字典类型">
|
||||
<el-input v-model="form.dictType" :disabled="true" />
|
||||
</el-form-item>
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
<el-button type="danger" plain icon="Refresh" @click="handleRefreshCache"
|
||||
v-hasPermi="['system:dict:remove']">刷新缓存</el-button>
|
||||
</el-col>
|
||||
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
||||
<!-- <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar> -->
|
||||
</el-row>
|
||||
|
||||
<div class="borderLine"></div>
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
<el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch">
|
||||
<el-row class="myRow">
|
||||
<el-col :span="20">
|
||||
<el-form-item label="属地名称" prop="postName">
|
||||
<el-input v-model="queryParams.postName" placeholder="请输入属地名称" clearable style="width: 200px"
|
||||
<el-form-item label="属地名称">
|
||||
<el-input v-model="queryParams.keyword" placeholder="请输入属地名称" clearable style="width: 200px"
|
||||
@keyup.enter="handleQuery" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
@ -17,7 +17,7 @@
|
|||
</el-row>
|
||||
</el-form>
|
||||
<div class="optionBtn">
|
||||
<el-button type="primary" class="qualificationApplyBtn" @click="handleOpenAddForm"
|
||||
<el-button type="primary" class="qualificationApplyBtn" @click="handleAdd"
|
||||
v-hasPermi="['system:locality:add']">
|
||||
<img :src="addIcon" class="custom-icon" />
|
||||
新增
|
||||
|
@ -25,17 +25,20 @@
|
|||
</div>
|
||||
|
||||
<div class="borderLine"></div>
|
||||
<el-table v-loading="loading" :data="postList" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column label="岗位编号" align="center" prop="postId" />
|
||||
<el-table-column label="岗位编码" align="center" prop="postCode" />
|
||||
<el-table-column label="岗位名称" align="center" prop="postName" />
|
||||
<el-table-column label="岗位排序" align="center" prop="postSort" />
|
||||
<el-table-column label="状态" align="center" prop="status">
|
||||
<el-table v-loading="loading" height="calc(100% - 162px)" :data="postList"
|
||||
@selection-change="handleSelectionChange">
|
||||
<!-- <el-table-column type="selection" width="55" align="center" /> -->
|
||||
<el-table-column label="序号" width="60">
|
||||
<template #default="scope">
|
||||
<dict-tag :options="sys_normal_disable" :value="scope.row.status" />
|
||||
{{ scope.$index + 1 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="厂区名称" align="center" prop="factoryArea" />
|
||||
<el-table-column label="楼号" align="center" prop="buildingNo" />
|
||||
<el-table-column label="属地名称" align="center" prop="dependencyName" />
|
||||
<el-table-column label="属地ESC工号" align="center" prop="postSort" />
|
||||
<el-table-column label="属地ESC姓名" align="center" prop="postSort" />
|
||||
<el-table-column label="属地ESC邮箱" align="center" prop="postSort" />
|
||||
<el-table-column label="创建时间" align="center" prop="createTime" width="230">
|
||||
<template #default="scope">
|
||||
<span>{{ parseTime(scope.row.createTime) }}</span>
|
||||
|
@ -51,29 +54,31 @@
|
|||
</el-table-column>
|
||||
</el-table>
|
||||
|
||||
<pagination v-show="total > 0" :total="total" v-model:page="queryParams.pageNum"
|
||||
<pagination v-show="total > 0" :total="total" v-model:page="queryParams.pageIndex"
|
||||
v-model:limit="queryParams.pageSize" @pagination="getList" />
|
||||
</div>
|
||||
<!-- 添加或修改岗位对话框 -->
|
||||
<!-- 添加或修改属地对话框 -->
|
||||
<el-dialog :title="title" v-model="open" width="800px" append-to-body>
|
||||
<el-form ref="postRef" :model="form" :rules="rules" label-width="120px">
|
||||
<el-form-item label="岗位名称" prop="postName">
|
||||
<el-input v-model="form.postName" placeholder="请输入岗位名称" />
|
||||
<el-form ref="postRef" :model="form" :rules="rules" label-width="150px">
|
||||
<el-form-item label="厂区" prop="factoryArea">
|
||||
<el-select v-model="form.factoryArea" placeholder="请选择厂区" clearable style="width: 100%">
|
||||
<el-option v-for="dict in factory_area" :key="dict.value" :label="dict.label" :value="dict.value" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="岗位编码" prop="postCode">
|
||||
<el-input v-model="form.postCode" placeholder="请输入编码名称" />
|
||||
<el-form-item label="楼号" prop="buildingNo">
|
||||
<el-input v-model="form.buildingNo" placeholder="请输入楼号" />
|
||||
</el-form-item>
|
||||
<el-form-item label="岗位顺序" prop="postSort">
|
||||
<el-input-number v-model="form.postSort" controls-position="right" :min="0" style="width: 100%;" />
|
||||
<el-form-item label="属地名称" prop="dependencyName">
|
||||
<el-input v-model="form.dependencyName" placeholder="请输入属地名称" />
|
||||
</el-form-item>
|
||||
<el-form-item label="岗位状态" prop="status">
|
||||
<el-radio-group v-model="form.status">
|
||||
<el-radio v-for="dict in sys_normal_disable" :key="dict.value" :value="dict.value">{{ dict.label
|
||||
}}</el-radio>
|
||||
</el-radio-group>
|
||||
<el-form-item label="属地ESC工号" prop="escCode">
|
||||
<el-input v-model="form.buildingNo" placeholder="请输入ESC工号" />
|
||||
</el-form-item>
|
||||
<el-form-item label="备注" prop="remark">
|
||||
<el-input v-model="form.remark" type="textarea" placeholder="请输入内容" />
|
||||
<el-form-item label="属地ESC姓名" prop="postSort">
|
||||
<el-input v-model="form.buildingNo" placeholder="请输入ESC姓名" />
|
||||
</el-form-item>
|
||||
<el-form-item label="属地ESC邮箱" prop="postSort">
|
||||
<el-input v-model="form.buildingNo" placeholder="请输入ESC邮箱" />
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<template #footer>
|
||||
|
@ -87,14 +92,14 @@
|
|||
</template>
|
||||
|
||||
<script setup name="Post">
|
||||
import { listPost, addPost, delPost, getPost, updatePost } from "@/api/system/post"
|
||||
import { getBusDependencyPage, addBusDependency, deleteBusDependency, getBusDependency, updateBusDependency } from "@/api/system/dependency"
|
||||
import Breadcrumb from '@/components/Breadcrumb'
|
||||
import addIcon from '@/assets/images/addIcon.png'
|
||||
|
||||
const { proxy } = getCurrentInstance()
|
||||
const { sys_normal_disable } = proxy.useDict("sys_normal_disable")
|
||||
const { factory_area } = proxy.useDict("factory_area")
|
||||
|
||||
const postList = ref([])
|
||||
const busDependencyList = ref([])
|
||||
const open = ref(false)
|
||||
const loading = ref(true)
|
||||
const showSearch = ref(true)
|
||||
|
@ -107,16 +112,15 @@ const title = ref("")
|
|||
const data = reactive({
|
||||
form: {},
|
||||
queryParams: {
|
||||
pageNum: 1,
|
||||
pageIndex: 1,
|
||||
pageSize: 10,
|
||||
postCode: undefined,
|
||||
postName: undefined,
|
||||
status: undefined
|
||||
keyword: undefined,
|
||||
},
|
||||
rules: {
|
||||
postName: [{ required: true, message: "岗位名称不能为空", trigger: "blur" }],
|
||||
postCode: [{ required: true, message: "岗位编码不能为空", trigger: "blur" }],
|
||||
postSort: [{ required: true, message: "岗位顺序不能为空", trigger: "blur" }],
|
||||
factoryArea: [{ required: true, message: "请选择厂区", trigger: "change" }],
|
||||
buildingNo: [{ required: true, message: "请输入楼号", trigger: "blur" }],
|
||||
dependencyName: [{ required: true, message: "请输入属地名称", trigger: "blur" }],
|
||||
escCode: [{ required: true, message: "请输入属地ESC工号", trigger: "blur" }],
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -125,10 +129,13 @@ const { queryParams, form, rules } = toRefs(data)
|
|||
/** 查询岗位列表 */
|
||||
function getList() {
|
||||
loading.value = true
|
||||
listPost(queryParams.value).then(response => {
|
||||
postList.value = response.rows
|
||||
getBusDependencyPage(queryParams.value).then(response => {
|
||||
console.log('结果', response)
|
||||
busDependencyList.value = response.data
|
||||
total.value = response.total
|
||||
loading.value = false
|
||||
}).catch(() => {
|
||||
loading.value = false
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -141,19 +148,17 @@ function cancel() {
|
|||
/** 表单重置 */
|
||||
function reset() {
|
||||
form.value = {
|
||||
postId: undefined,
|
||||
postCode: undefined,
|
||||
postName: undefined,
|
||||
postSort: 0,
|
||||
status: "0",
|
||||
remark: undefined
|
||||
id: undefined,
|
||||
factoryArea: undefined,
|
||||
buildingNo: undefined,
|
||||
dependencyName: undefined,
|
||||
}
|
||||
proxy.resetForm("postRef")
|
||||
}
|
||||
|
||||
/** 搜索按钮操作 */
|
||||
function handleQuery() {
|
||||
queryParams.value.pageNum = 1
|
||||
queryParams.value.pageIndex = 1
|
||||
getList()
|
||||
}
|
||||
|
||||
|
@ -174,17 +179,17 @@ function handleSelectionChange(selection) {
|
|||
function handleAdd() {
|
||||
reset()
|
||||
open.value = true
|
||||
title.value = "添加岗位"
|
||||
title.value = "添加属地"
|
||||
}
|
||||
|
||||
/** 修改按钮操作 */
|
||||
function handleUpdate(row) {
|
||||
reset()
|
||||
const postId = row.postId || ids.value
|
||||
getPost(postId).then(response => {
|
||||
const rowId = row.id
|
||||
getBusDependency(rowId).then(response => {
|
||||
form.value = response.data
|
||||
open.value = true
|
||||
title.value = "修改岗位"
|
||||
title.value = "修改属地"
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -192,14 +197,14 @@ function handleUpdate(row) {
|
|||
function submitForm() {
|
||||
proxy.$refs["postRef"].validate(valid => {
|
||||
if (valid) {
|
||||
if (form.value.postId != undefined) {
|
||||
updatePost(form.value).then(response => {
|
||||
if (form.value.id != undefined) {
|
||||
updateBusDependency(form.value).then(response => {
|
||||
proxy.$modal.msgSuccess("修改成功")
|
||||
open.value = false
|
||||
getList()
|
||||
})
|
||||
} else {
|
||||
addPost(form.value).then(response => {
|
||||
addBusDependency(form.value).then(response => {
|
||||
proxy.$modal.msgSuccess("新增成功")
|
||||
open.value = false
|
||||
getList()
|
||||
|
@ -211,21 +216,15 @@ function submitForm() {
|
|||
|
||||
/** 删除按钮操作 */
|
||||
function handleDelete(row) {
|
||||
const postIds = row.postId || ids.value
|
||||
proxy.$modal.confirm('是否确认删除岗位编号为"' + postIds + '"的数据项?').then(function () {
|
||||
return delPost(postIds)
|
||||
const rowId = row.id
|
||||
proxy.$modal.confirm('是否确认删除该项数据项?').then(function () {
|
||||
return deleteBusDependency(rowId)
|
||||
}).then(() => {
|
||||
getList()
|
||||
proxy.$modal.msgSuccess("删除成功")
|
||||
}).catch(() => { })
|
||||
}
|
||||
|
||||
/** 导出按钮操作 */
|
||||
function handleExport() {
|
||||
proxy.download("system/post/export", {
|
||||
...queryParams.value
|
||||
}, `post_${new Date().getTime()}.xlsx`)
|
||||
}
|
||||
|
||||
getList()
|
||||
</script>
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
<el-col :span="1.5">
|
||||
<el-button type="info" plain icon="Sort" @click="toggleExpandAll">展开/折叠</el-button>
|
||||
</el-col>
|
||||
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
||||
<!-- <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar> -->
|
||||
</el-row>
|
||||
|
||||
<div class="borderLine"></div>
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
v-hasPermi="['system:notice:remove']"
|
||||
>删除</el-button>
|
||||
</el-col>
|
||||
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
||||
<!-- <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar> -->
|
||||
</el-row>
|
||||
|
||||
<el-table v-loading="loading" :data="noticeList" @selection-change="handleSelectionChange">
|
||||
|
|
|
@ -5,16 +5,16 @@
|
|||
<el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch">
|
||||
<el-row class="myRow">
|
||||
<el-col :span="20">
|
||||
<el-form-item label="岗位编码" prop="postCode">
|
||||
<el-input v-model="queryParams.postCode" placeholder="请输入岗位编码" clearable style="width: 200px"
|
||||
<el-form-item label="科室编码" prop="postCode">
|
||||
<el-input v-model="queryParams.postCode" placeholder="请输入科室编码" clearable style="width: 200px"
|
||||
@keyup.enter="handleQuery" />
|
||||
</el-form-item>
|
||||
<el-form-item label="岗位名称" prop="postName">
|
||||
<el-input v-model="queryParams.postName" placeholder="请输入岗位名称" clearable style="width: 200px"
|
||||
<el-form-item label="科室名称" prop="postName">
|
||||
<el-input v-model="queryParams.postName" placeholder="请输入科室名称" clearable style="width: 200px"
|
||||
@keyup.enter="handleQuery" />
|
||||
</el-form-item>
|
||||
<el-form-item label="状态" prop="status">
|
||||
<el-select v-model="queryParams.status" placeholder="岗位状态" clearable style="width: 200px">
|
||||
<el-select v-model="queryParams.status" placeholder="科室状态" clearable style="width: 200px">
|
||||
<el-option v-for="dict in sys_normal_disable" :key="dict.value" :label="dict.label"
|
||||
:value="dict.value" />
|
||||
</el-select>
|
||||
|
@ -44,26 +44,26 @@
|
|||
<el-button type="warning" plain icon="Download" @click="handleExport"
|
||||
v-hasPermi="['system:post:export']">导出</el-button>
|
||||
</el-col>
|
||||
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
||||
<!-- <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar> -->
|
||||
</el-row>
|
||||
<div class="borderLine"></div>
|
||||
<el-table v-loading="loading" :data="postList" @selection-change="handleSelectionChange">
|
||||
<el-table v-loading="loading" height="calc(100% - 162px)" :data="postList" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" align="center" />
|
||||
<el-table-column label="岗位编号" align="center" prop="postId" />
|
||||
<el-table-column label="岗位编码" align="center" prop="postCode" />
|
||||
<el-table-column label="岗位名称" align="center" prop="postName" />
|
||||
<el-table-column label="岗位排序" align="center" prop="postSort" />
|
||||
<el-table-column label="状态" align="center" prop="status">
|
||||
<el-table-column label="编号" align="center" width="60" prop="postId" />
|
||||
<el-table-column label="科室编码" align="left" width="370" prop="postCode" />
|
||||
<el-table-column label="科室名称" align="left" min-width="150" prop="postName" />
|
||||
<!-- <el-table-column label="排序" align="center" width="60" prop="postSort" /> -->
|
||||
<el-table-column label="状态" align="center" width="80" prop="status">
|
||||
<template #default="scope">
|
||||
<dict-tag :options="sys_normal_disable" :value="scope.row.status" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="创建时间" align="center" prop="createTime" width="230">
|
||||
<el-table-column label="创建时间" align="center" prop="createTime" width="210">
|
||||
<template #default="scope">
|
||||
<span>{{ parseTime(scope.row.createTime) }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" width="180" align="center" class-name="small-padding fixed-width">
|
||||
<el-table-column label="操作" width="150" align="center" class-name="small-padding fixed-width">
|
||||
<template #default="scope">
|
||||
<el-button link type="primary" icon="Edit" @click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['system:post:edit']">修改</el-button>
|
||||
|
@ -79,19 +79,19 @@
|
|||
<!-- 添加或修改岗位对话框 -->
|
||||
<el-dialog :title="title" v-model="open" width="800px" append-to-body>
|
||||
<el-form ref="postRef" :model="form" :rules="rules" label-width="120px">
|
||||
<el-form-item label="岗位名称" prop="postName">
|
||||
<el-input v-model="form.postName" placeholder="请输入岗位名称" />
|
||||
<el-form-item label="科室名称" prop="postName">
|
||||
<el-input v-model="form.postName" placeholder="请输入科室名称" />
|
||||
</el-form-item>
|
||||
<el-form-item label="岗位编码" prop="postCode">
|
||||
<el-input v-model="form.postCode" placeholder="请输入编码名称" />
|
||||
<el-form-item label="科室编码" prop="postCode">
|
||||
<el-input v-model="form.postCode" placeholder="请输入科室编码" />
|
||||
</el-form-item>
|
||||
<el-form-item label="岗位顺序" prop="postSort">
|
||||
<el-form-item label="顺序" prop="postSort">
|
||||
<el-input-number v-model="form.postSort" controls-position="right" :min="0" style="width: 100%;" />
|
||||
</el-form-item>
|
||||
<el-form-item label="岗位状态" prop="status">
|
||||
<el-form-item label="状态" prop="status">
|
||||
<el-radio-group v-model="form.status">
|
||||
<el-radio v-for="dict in sys_normal_disable" :key="dict.value" :value="dict.value">{{ dict.label
|
||||
}}</el-radio>
|
||||
}}</el-radio>
|
||||
</el-radio-group>
|
||||
</el-form-item>
|
||||
<el-form-item label="备注" prop="remark">
|
||||
|
@ -135,9 +135,9 @@ const data = reactive({
|
|||
status: undefined
|
||||
},
|
||||
rules: {
|
||||
postName: [{ required: true, message: "岗位名称不能为空", trigger: "blur" }],
|
||||
postCode: [{ required: true, message: "岗位编码不能为空", trigger: "blur" }],
|
||||
postSort: [{ required: true, message: "岗位顺序不能为空", trigger: "blur" }],
|
||||
postName: [{ required: true, message: "科室名称不能为空", trigger: "blur" }],
|
||||
postCode: [{ required: true, message: "科室编码不能为空", trigger: "blur" }],
|
||||
postSort: [{ required: true, message: "顺序不能为空", trigger: "blur" }],
|
||||
}
|
||||
})
|
||||
|
||||
|
@ -195,7 +195,7 @@ function handleSelectionChange(selection) {
|
|||
function handleAdd() {
|
||||
reset()
|
||||
open.value = true
|
||||
title.value = "添加岗位"
|
||||
title.value = "添加科室"
|
||||
}
|
||||
|
||||
/** 修改按钮操作 */
|
||||
|
@ -205,7 +205,7 @@ function handleUpdate(row) {
|
|||
getPost(postId).then(response => {
|
||||
form.value = response.data
|
||||
open.value = true
|
||||
title.value = "修改岗位"
|
||||
title.value = "修改科室"
|
||||
})
|
||||
}
|
||||
|
||||
|
@ -233,7 +233,7 @@ function submitForm() {
|
|||
/** 删除按钮操作 */
|
||||
function handleDelete(row) {
|
||||
const postIds = row.postId || ids.value
|
||||
proxy.$modal.confirm('是否确认删除岗位编号为"' + postIds + '"的数据项?').then(function () {
|
||||
proxy.$modal.confirm('是否确认删除编号为"' + postIds + '"的数据项?').then(function () {
|
||||
return delPost(postIds)
|
||||
}).then(() => {
|
||||
getList()
|
||||
|
@ -252,117 +252,117 @@ getList()
|
|||
</script>
|
||||
<style lang='scss'>
|
||||
.app-page-container {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
padding-bottom: 20px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow-y: auto;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.clearBoth {
|
||||
clear: both;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.myRow {
|
||||
margin-left: 0 !important;
|
||||
margin-right: 0 !important;
|
||||
margin-left: 0 !important;
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.el-form--inline .el-form-item {
|
||||
display: inline-flex;
|
||||
margin-right: 26px;
|
||||
vertical-align: middle;
|
||||
display: inline-flex;
|
||||
margin-right: 26px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.el-form-item__label {
|
||||
font-family: Microsoft YaHei;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
color: #000000;
|
||||
min-width: 34px;
|
||||
font-family: Microsoft YaHei;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
color: #000000;
|
||||
min-width: 34px;
|
||||
}
|
||||
|
||||
.el-input__inner {
|
||||
font-family: Microsoft YaHei;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
text-align: left;
|
||||
color: #000000;
|
||||
font-family: Microsoft YaHei;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
text-align: left;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.el-select__wrapper {
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
text-align: left;
|
||||
color: #000000;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
text-align: left;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.el-date-editor .el-range-input {
|
||||
font-family: Arial;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
text-align: right;
|
||||
color: #000000;
|
||||
width: 46%;
|
||||
font-family: Arial;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
text-align: right;
|
||||
color: #000000;
|
||||
width: 46%;
|
||||
}
|
||||
|
||||
.el-date-editor .el-range__icon svg {
|
||||
width: 18px;
|
||||
height: 16px;
|
||||
width: 18px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.el-date-editor .el-range__icon {
|
||||
font-size: 16px;
|
||||
// margin-left: 12px;
|
||||
margin-right: 12px;
|
||||
font-size: 16px;
|
||||
// margin-left: 12px;
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
.el-range-editor.el-input__wrapper {
|
||||
padding: 0 0 0 7px;
|
||||
padding: 0 0 0 7px;
|
||||
}
|
||||
|
||||
.el-select__wrapper {
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
text-align: left;
|
||||
color: #000000;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
text-align: left;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.foladText {
|
||||
font-family: Microsoft YaHei;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
text-align: left;
|
||||
color: #0090FF 100%;
|
||||
padding: 10px 0 !important;
|
||||
font-family: Microsoft YaHei;
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
text-align: left;
|
||||
color: #0090FF 100%;
|
||||
padding: 10px 0 !important;
|
||||
}
|
||||
|
||||
.el-radio__label {
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
text-align: left;
|
||||
color: #000000;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
text-align: left;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.el-checkbox__label {
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
text-align: left;
|
||||
color: #000000;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
text-align: left;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.el-textarea__inner {
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
color: #000000;
|
||||
font-weight: 400;
|
||||
font-size: 18px;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.el-text.is-truncated {
|
||||
display: inline-block;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 18px;
|
||||
color: #000000;
|
||||
display: inline-block;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 18px;
|
||||
color: #000000;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
<el-col :span="1.5">
|
||||
<el-button type="warning" plain icon="Close" @click="handleClose">关闭</el-button>
|
||||
</el-col>
|
||||
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
||||
<!-- <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar> -->
|
||||
</el-row>
|
||||
<div class="borderLine"></div>
|
||||
<el-table v-loading="loading" :data="userList" @selection-change="handleSelectionChange">
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
<el-button type="warning" plain icon="Download" @click="handleExport"
|
||||
v-hasPermi="['system:role:export']">导出</el-button>
|
||||
</el-col>
|
||||
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
|
||||
<!-- <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar> -->
|
||||
</el-row>
|
||||
<div class="borderLine"></div>
|
||||
<!-- 表格数据 -->
|
||||
|
|
|
@ -91,7 +91,7 @@
|
|||
<el-button type="warning" plain icon="Download" @click="handleExport"
|
||||
v-hasPermi="['system:user:export']">导出</el-button>
|
||||
</el-col>
|
||||
<right-toolbar v-model:showSearch="showSearch" @queryTable="getList" :columns="columns"></right-toolbar>
|
||||
<!-- <right-toolbar v-model:showSearch="showSearch" @queryTable="getList" :columns="columns"></right-toolbar> -->
|
||||
</el-row>
|
||||
|
||||
<div class="borderLine"></div>
|
||||
|
|
Loading…
Reference in New Issue
Block a user