master
xy 2 years ago
parent 65992a824e
commit 5dfef73acd

@ -13,7 +13,14 @@ export function listdept() {
url: '/api/admin/department', url: '/api/admin/department',
method: 'get' method: 'get'
}) })
} }
export function listdeptNoAuth() {
return request({
url: '/api/admin/other/admin-department-list',
method: 'get'
})
}
export function del(data) { export function del(data) {
return request({ return request({
@ -21,4 +28,4 @@ export function del(data) {
method: 'post', method: 'post',
data data
}) })
} }

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

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

@ -34,7 +34,7 @@ import { index } from '@/api/system/baseForm'
width: 180, width: 180,
customFn: row => { customFn: row => {
return ( 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