master
xy 2 years ago
parent 65992a824e
commit 5dfef73acd

@ -15,6 +15,13 @@ export function listdept() {
})
}
export function listdeptNoAuth() {
return request({
url: '/api/admin/other/admin-department-list',
method: 'get'
})
}
export function del(data) {
return request({
url: '/api/admin/department/delete',

@ -353,7 +353,7 @@ import { getparameter } from "@/api/system/dictionary";
import { show } from "@/api/system/customForm";
import * as XLSX from "xlsx";
import { saveAs } from "file-saver";
import { listdept } from "@/api/system/department";
import { listdeptNoAuth } from "@/api/system/department";
import { deepCopy } from "@/utils";
import dialoger from "./dialog.vue";
@ -506,7 +506,7 @@ export default {
[
"material_shenhebumen_depts",
async () => {
const res = await listdept();
const res = await listdeptNoAuth();
return res;
},
],

@ -316,7 +316,7 @@ import { getparameter } from "@/api/system/dictionary";
import { show } from "@/api/system/customForm";
import * as XLSX from "xlsx";
import { saveAs } from "file-saver";
import { listdept } from "@/api/system/department";
import { listdeptNoAuth } from "@/api/system/department";
import { deepCopy } from "@/utils";
import LxHeader from "@/components/LxHeader/index.vue";
@ -466,7 +466,7 @@ export default {
[
"material_shenhebumen_depts",
async () => {
const res = await listdept();
const res = await listdeptNoAuth();
return res;
},
],

@ -34,7 +34,7 @@ import { index } from '@/api/system/baseForm'
width: 180,
customFn: row => {
return (
<div>{row.nianfen}|{row.wenjian}|{row.bianhao}</div>
<div>{(row?.nianfen && row?.wenjian && row?.bianhao) ? `${row.nianfen} | ${row.wenjian} | ${row.bianhao}` : ''}</div>
)
}
},

Loading…
Cancel
Save