Commit 8a675921 authored by “yiyousong”'s avatar “yiyousong”

feat:添加设备编码查询部门和事项

parent 36c6fbe5
...@@ -19,11 +19,13 @@ export const getHomeInfo = (data) => { ...@@ -19,11 +19,13 @@ export const getHomeInfo = (data) => {
export const getdeptList = (data) => { export const getdeptList = (data) => {
let baseUrl = local.getLocal("serverUrl"); let baseUrl = local.getLocal("serverUrl");
let siteId = local.getLocal("siteId"); let siteId = local.getLocal("siteId");
let devicenum = local.getLocal("devicenum");
return request({ return request({
url: `${baseUrl}sampleform/home/depts`, url: `${baseUrl}sampleform/home/depts`,
method: "post", method: "post",
data: { data: {
siteId, siteId,
devicenum,
...data, ...data,
}, },
}); });
...@@ -33,11 +35,13 @@ export const getdeptList = (data) => { ...@@ -33,11 +35,13 @@ export const getdeptList = (data) => {
export const getWriteMatterList = (data) => { export const getWriteMatterList = (data) => {
let baseUrl = local.getLocal("serverUrl"); let baseUrl = local.getLocal("serverUrl");
let siteId = local.getLocal("siteId"); let siteId = local.getLocal("siteId");
let devicenum = local.getLocal("devicenum");
return request({ return request({
url: `${baseUrl}sampleform/matter/list`, url: `${baseUrl}sampleform/matter/list`,
method: "post", method: "post",
data: { data: {
siteId, siteId,
devicenum,
...data, ...data,
}, },
}); });
......
...@@ -486,6 +486,7 @@ export default { ...@@ -486,6 +486,7 @@ export default {
font-size: 28px; font-size: 28px;
color: var(--main-theme-color); color: var(--main-theme-color);
letter-spacing: 2px; letter-spacing: 2px;
cursor: pointer;
&:nth-child(2n-1) { &:nth-child(2n-1) {
background-color: #fff; background-color: #fff;
} }
...@@ -579,6 +580,7 @@ export default { ...@@ -579,6 +580,7 @@ export default {
font-size: 26px; font-size: 26px;
color: var(--main-theme-color); color: var(--main-theme-color);
letter-spacing: 2px; letter-spacing: 2px;
cursor: pointer;
&:nth-child(2n) { &:nth-child(2n) {
background-color: #f6f9fe; background-color: #f6f9fe;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment