lijinlong^2
吕天方 1 year ago
parent 8d25586c86
commit a255096500

@ -770,7 +770,7 @@ export default {
// list: "major_hazard_level",
// }); //
// let listFive = await this.$api.yingji.dictdata({ list: "entpr_color" }); //
let dictdata = await this.$api.yingji.dictdata({ list: "economic_categories,category,major_hazard_level,entpr_color",})
let dictdata = await this.$api.yingji.dictdata({ list: "economic_categories,category,major_hazard_level,entpr_color"})
this.optionstwo = dictdata.data;
// this.listTwo = listTwo.data.economic_categories;
// this.listThree = listThree.data.category;

@ -4,7 +4,7 @@
* @Author: JC9527
* @Date: 2023-09-27 14:01:34
* @LastEditors: JC9527
* @LastEditTime: 2023-09-27 15:59:28
* @LastEditTime: 2023-09-27 18:17:28
-->
<template>
<div >
@ -50,7 +50,7 @@ export default {
xzList() {
xzTree().then((res) => {
// console.log(this.dept.parentId);
if (this.dept.parentId == 0) {
if (this.dept.parentId == 0 || this.dept.leader == 'admin') {
res.data.forEach((value, index) => {
this.compartment.push({
value: value.county,

@ -639,7 +639,7 @@ export default {
},
getDict() {
listDist({
list: "economic_categories,category,major_hazard_level,entpr_color",
list: "economic_categories,category,major_hazard_level,entpr_color"
}).then((res) => {
this.options = res.data;
});

Loading…
Cancel
Save