flx:修改样式问题
This commit is contained in:
parent
745a187fde
commit
7714969fed
@ -387,7 +387,7 @@ export default {
|
|||||||
// height: 200px;
|
// height: 200px;
|
||||||
// border-radius: 3px;
|
// border-radius: 3px;
|
||||||
box-shadow: 0 4px 6px 0px #606e9a;
|
box-shadow: 0 4px 6px 0px #606e9a;
|
||||||
z-index: 2;
|
z-index: 99;
|
||||||
background-color: #343d5f;
|
background-color: #343d5f;
|
||||||
ul {
|
ul {
|
||||||
margin: 8px 15px;
|
margin: 8px 15px;
|
||||||
|
|||||||
@ -2754,6 +2754,13 @@ const routes2 = [{
|
|||||||
component: () =>
|
component: () =>
|
||||||
import ("@/views/projectFront/carViolation/warningList.vue"),
|
import ("@/views/projectFront/carViolation/warningList.vue"),
|
||||||
},
|
},
|
||||||
|
// 违章再教育
|
||||||
|
{
|
||||||
|
path: "/project/carViolation/violationReeducation",
|
||||||
|
name: "车辆违规管理_违章再教育",
|
||||||
|
component: () =>
|
||||||
|
import ("@/views/projectFront/carViolation/violationReeducation.vue"),
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: "/project/aiAnalysis/warningList",
|
path: "/project/aiAnalysis/warningList",
|
||||||
name: "AI预警中心_预警列表",
|
name: "AI预警中心_预警列表",
|
||||||
|
|||||||
@ -615,11 +615,6 @@ export default {
|
|||||||
workerInfo: {},
|
workerInfo: {},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
watch: {
|
|
||||||
classificationName(val) {
|
|
||||||
this.$refs.tree.filter(val)
|
|
||||||
}
|
|
||||||
},
|
|
||||||
created() {
|
created() {
|
||||||
this.projectSn = this.$store.state.projectSn;
|
this.projectSn = this.$store.state.projectSn;
|
||||||
this.projectInfo = isJSON(localStorage.getItem("projectInfo")) ? JSON.parse(localStorage.getItem("projectInfo")) : {};
|
this.projectInfo = isJSON(localStorage.getItem("projectInfo")) ? JSON.parse(localStorage.getItem("projectInfo")) : {};
|
||||||
@ -651,7 +646,17 @@ export default {
|
|||||||
getOrganizationConstructionTreeApi(data).then((res) => {
|
getOrganizationConstructionTreeApi(data).then((res) => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
if (res.result.length > 0) {
|
if (res.result.length > 0) {
|
||||||
this.listData = res.result
|
if (this.classificationName) {
|
||||||
|
this.listData = res.result;
|
||||||
|
this.getCheckedNode(this.listData[0]);
|
||||||
|
} else {
|
||||||
|
this.listData = [{
|
||||||
|
id: "",
|
||||||
|
children: [],
|
||||||
|
classificationName: "全部",
|
||||||
|
}, ...res.result];
|
||||||
|
this.getCheckedNode(this.listData[0]);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.listData = []
|
this.listData = []
|
||||||
}
|
}
|
||||||
@ -681,6 +686,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//左边节点 输入筛选
|
//左边节点 输入筛选
|
||||||
filterNode(value, data) {
|
filterNode(value, data) {
|
||||||
|
console.log(value, data);
|
||||||
if (!value) return true
|
if (!value) return true
|
||||||
return data.classificationName.indexOf(value) !== -1
|
return data.classificationName.indexOf(value) !== -1
|
||||||
},
|
},
|
||||||
@ -1050,6 +1056,9 @@ export default {
|
|||||||
this.getWorkerInfo();
|
this.getWorkerInfo();
|
||||||
},
|
},
|
||||||
// immediate: true
|
// immediate: true
|
||||||
|
},
|
||||||
|
classificationName(val) {
|
||||||
|
this.$refs.tree.filter(val)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|||||||
@ -288,7 +288,17 @@ export default {
|
|||||||
getQualityCommonProblemLibraryTreeApi(data).then((res) => {
|
getQualityCommonProblemLibraryTreeApi(data).then((res) => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
if (res.result.length > 0) {
|
if (res.result.length > 0) {
|
||||||
this.listData = res.result
|
if (this.qualityCommonProblemName) {
|
||||||
|
this.listData = res.result;
|
||||||
|
this.getCheckedNode(this.listData[0]);
|
||||||
|
} else {
|
||||||
|
this.listData = [{
|
||||||
|
id: "",
|
||||||
|
children: [],
|
||||||
|
qualityCommonProblemName: "全部",
|
||||||
|
}, ...res.result];
|
||||||
|
this.getCheckedNode(this.listData[0]);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.listData = []
|
this.listData = []
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user