Browse Source

组织接口

dev
tianq 3 years ago
parent
commit
f35add68cd
  1. 2
      src/views/modules/census/census-accountActiveList.vue
  2. 2
      src/views/modules/census/census-accountList.vue
  3. 16
      src/views/modules/census/census-houseList.vue

2
src/views/modules/census/census-accountActiveList.vue

@ -215,7 +215,7 @@ export default {
getOrgTreeList() { getOrgTreeList() {
const { user } = this.$store.state; const { user } = this.$store.state;
this.$http this.$http
.post('/gov/org/customeragency/agencygridtree', {}) .post('gov/org/customeragency/agencylist', {})
.then(({ data: res }) => { .then(({ data: res }) => {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.msg); return this.$message.error(res.msg);

2
src/views/modules/census/census-accountList.vue

@ -346,7 +346,7 @@ export default {
getOrgTreeList() { getOrgTreeList() {
const { user } = this.$store.state; const { user } = this.$store.state;
this.$http this.$http
.post('/gov/org/customeragency/agencygridtree', {}) .post('gov/org/customeragency/agencylist', {})
.then(({ data: res }) => { .then(({ data: res }) => {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.msg); return this.$message.error(res.msg);

16
src/views/modules/census/census-houseList.vue

@ -334,7 +334,9 @@ export default {
}, },
series: [ series: [
{ {
name: '', radius: ['60%', '90%'],
center: ['50%', '50%'],
type: 'pie',
label: { label: {
normal: { normal: {
show: false show: false
@ -355,13 +357,6 @@ export default {
tooltip: { tooltip: {
show: false show: false
}, },
type: 'pie',
radius: ['30%', '70%'],
label: {
show: false,
position: 'center'
},
itemStyle: { itemStyle: {
normal: { normal: {
color: '#F7F7F7' color: '#F7F7F7'
@ -370,9 +365,8 @@ export default {
data: [1] data: [1]
}, },
{ {
name: '',
type: 'pie', type: 'pie',
radius: ['40%', '60%'], radius: ['70%', '80%'],
avoidLabelOverlap: false, avoidLabelOverlap: false,
label: { label: {
show: false, show: false,
@ -442,7 +436,7 @@ export default {
getOrgTreeList() { getOrgTreeList() {
const { user } = this.$store.state; const { user } = this.$store.state;
this.$http this.$http
.post('/gov/org/customeragency/agencygridtree', {}) .post('gov/org/customeragency/agencylist', {})
.then(({ data: res }) => { .then(({ data: res }) => {
if (res.code !== 0) { if (res.code !== 0) {
return this.$message.error(res.msg); return this.$message.error(res.msg);

Loading…
Cancel
Save