|
@@ -28,7 +28,7 @@
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
-import { GradualChange, ringType, ringTypeEnlarges } from './indexOptionChart';
|
|
|
|
|
|
+import { GradualChange, ringTypes, ringTypeEnlarges } from './indexOptionChart';
|
|
import index from './allcommunit'
|
|
import index from './allcommunit'
|
|
// import permissionComponent from '../permissionComponent';
|
|
// import permissionComponent from '../permissionComponent';
|
|
const colors = [
|
|
const colors = [
|
|
@@ -54,7 +54,7 @@ export default {
|
|
},
|
|
},
|
|
date: '',
|
|
date: '',
|
|
total: 0,
|
|
total: 0,
|
|
- clientOptions: ringType(
|
|
|
|
|
|
+ clientOptions: ringTypes(
|
|
colors,
|
|
colors,
|
|
[
|
|
[
|
|
{ value: 0, name: '待派单' },
|
|
{ value: 0, name: '待派单' },
|
|
@@ -74,7 +74,7 @@ export default {
|
|
if (status == 0 && !!data.datas) {
|
|
if (status == 0 && !!data.datas) {
|
|
// this.clientOptions = ringType(colors, this.eachartObj(data), {}, { type: 'number', total: data.total });
|
|
// this.clientOptions = ringType(colors, this.eachartObj(data), {}, { type: 'number', total: data.total });
|
|
if (window.screen.width == 1920 || window.screen.width < 1920) {
|
|
if (window.screen.width == 1920 || window.screen.width < 1920) {
|
|
- this.clientOptions = ringType(colors, this.eachartObj(data), {}, { type: 'number', total: data.total });
|
|
|
|
|
|
+ this.clientOptions = ringTypes(colors, this.eachartObj(data), {}, { type: 'number', total: data.total });
|
|
} else if (window.screen.width == 2560 || window.screen.width > 1920) {
|
|
} else if (window.screen.width == 2560 || window.screen.width > 1920) {
|
|
this.clientOptions = ringTypeEnlarges(colors, this.eachartObj(data), {}, { type: 'number', total: data.total });
|
|
this.clientOptions = ringTypeEnlarges(colors, this.eachartObj(data), {}, { type: 'number', total: data.total });
|
|
}
|
|
}
|
|
@@ -101,7 +101,7 @@ export default {
|
|
created () {
|
|
created () {
|
|
if (window.screen.width == 1920 || window.screen.width < 1920) {
|
|
if (window.screen.width == 1920 || window.screen.width < 1920) {
|
|
this.valueClass = 1;
|
|
this.valueClass = 1;
|
|
- this.clientOptions = ringType(
|
|
|
|
|
|
+ this.clientOptions = ringTypes(
|
|
colors,
|
|
colors,
|
|
[
|
|
[
|
|
{ value: 0, name: '待派单' },
|
|
{ value: 0, name: '待派单' },
|