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

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

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

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

Loading…
Cancel
Save