Compare commits
2 Commits
3f7dac421d
...
f9821911f6
| Author | SHA1 | Date |
|---|---|---|
|
|
f9821911f6 | |
|
|
18b0f1f13f |
|
|
@ -70,7 +70,6 @@ useChartDataFetch(props.chartConfig, useChartEditStore, (resData: any[]) => {
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
@include go('title-03') {
|
@include go('title-03') {
|
||||||
height: v-bind('h');
|
height: v-bind('h');
|
||||||
overflow: auto;
|
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-top:10px;
|
padding-top:10px;
|
||||||
scrollbar-width: none;
|
scrollbar-width: none;
|
||||||
|
|
@ -138,7 +137,9 @@ useChartDataFetch(props.chartConfig, useChartEditStore, (resData: any[]) => {
|
||||||
}
|
}
|
||||||
.sectionBox{
|
.sectionBox{
|
||||||
width: 92%;
|
width: 92%;
|
||||||
|
height: calc(100% - 40px);
|
||||||
margin-left: 4%;
|
margin-left: 4%;
|
||||||
|
overflow: auto;
|
||||||
img{
|
img{
|
||||||
width: 21px;
|
width: 21px;
|
||||||
height: 21px;
|
height: 21px;
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ export const option = {
|
||||||
"scene3DOnly": false,
|
"scene3DOnly": false,
|
||||||
"shadows": false,
|
"shadows": false,
|
||||||
"removeDblClick": true,
|
"removeDblClick": true,
|
||||||
"sceneMode": 3,
|
"sceneMode": 2,
|
||||||
"showSun": true,
|
"showSun": true,
|
||||||
"showMoon": true,
|
"showMoon": true,
|
||||||
"showSkyBox": true,
|
"showSkyBox": true,
|
||||||
|
|
@ -36,7 +36,7 @@ export const option = {
|
||||||
"cameraController": {
|
"cameraController": {
|
||||||
"zoomFactor": 3.0,
|
"zoomFactor": 3.0,
|
||||||
"minimumZoomDistance": 1,
|
"minimumZoomDistance": 1,
|
||||||
"maximumZoomDistance": 50000000,
|
"maximumZoomDistance": 500000,
|
||||||
"enableRotate": true,
|
"enableRotate": true,
|
||||||
"enableTranslate": true,
|
"enableTranslate": true,
|
||||||
"enableTilt": true,
|
"enableTilt": true,
|
||||||
|
|
@ -63,9 +63,11 @@ export const option = {
|
||||||
},
|
},
|
||||||
"mouseDownView": false,
|
"mouseDownView": false,
|
||||||
"zoom": {
|
"zoom": {
|
||||||
|
"enabled": false,
|
||||||
"insertIndex": 1
|
"insertIndex": 1
|
||||||
},
|
},
|
||||||
"compass": {
|
"compass": {
|
||||||
|
"enabled": false,
|
||||||
"bottom": "toolbar",
|
"bottom": "toolbar",
|
||||||
"left": "5px"
|
"left": "5px"
|
||||||
},
|
},
|
||||||
|
|
@ -87,7 +89,7 @@ export const option = {
|
||||||
},
|
},
|
||||||
"terrain": {
|
"terrain": {
|
||||||
"url": "//data.mars3d.cn/terrain",
|
"url": "//data.mars3d.cn/terrain",
|
||||||
"show": true,
|
"show": false,
|
||||||
"clip": true
|
"clip": true
|
||||||
},
|
},
|
||||||
"basemaps": [
|
"basemaps": [
|
||||||
|
|
|
||||||
|
|
@ -5,15 +5,8 @@ import { TaskReceivPersonConfig } from './index'
|
||||||
import cloneDeep from 'lodash/cloneDeep'
|
import cloneDeep from 'lodash/cloneDeep'
|
||||||
|
|
||||||
export const option = {
|
export const option = {
|
||||||
navsArr: [
|
|
||||||
{ label: 'APP接收', value: '1'},
|
|
||||||
{ label: '短信接收人', value: '2'}
|
|
||||||
],
|
|
||||||
navsSize: 10,
|
|
||||||
navsColor: ['#02633C','#055738','#099860','#0D2822'],
|
|
||||||
navsBackground: ['#34FFE0','#18FFBE'],
|
|
||||||
secBackground: ['#0A3629', '#00611A'],
|
secBackground: ['#0A3629', '#00611A'],
|
||||||
textColor: ['#16D49D','#FFFFFF'],
|
textColor: ['#16D49D', '#FFFFFF', '#FFFFFF','#000000'],
|
||||||
textSize: 10,
|
textSize: 10,
|
||||||
InpBackgroundColor: '#0C2411',
|
InpBackgroundColor: '#0C2411',
|
||||||
InpBorderColor: '#00611A',
|
InpBorderColor: '#00611A',
|
||||||
|
|
@ -21,50 +14,22 @@ export const option = {
|
||||||
InpTextSize: 10,
|
InpTextSize: 10,
|
||||||
treeColor: '#CBE6CD',
|
treeColor: '#CBE6CD',
|
||||||
treeSize: 10,
|
treeSize: 10,
|
||||||
treedatas: [
|
unitsOptions: [],
|
||||||
|
TableColumns:[
|
||||||
{
|
{
|
||||||
key: 1,
|
type: 'selection',
|
||||||
label: '默认用户组',
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
key: 1-1,
|
|
||||||
label: '用户一组',
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
key: 1-1-1,
|
|
||||||
label: '用户1'
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 1-1-2,
|
title: '姓名',
|
||||||
label: '用户2'
|
key: 'name'
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 1-1-3,
|
|
||||||
label: '用户3'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 1-1-4,
|
|
||||||
label: '用户4'
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
treedatas1: [
|
TableDatas: []
|
||||||
{ key: 1, label: '用户1' },
|
|
||||||
{ key: 2, label: '用户2' },
|
|
||||||
{ key: 3, label: '用户3' },
|
|
||||||
{ key: 4, label: '用户4' },
|
|
||||||
{ key: 5, label: '用户5' },
|
|
||||||
{ key: 6, label: '用户6' },
|
|
||||||
],
|
|
||||||
treedatas2: []
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default class Config extends PublicConfigClass implements CreateComponentType {
|
export default class Config extends PublicConfigClass implements CreateComponentType {
|
||||||
public key = TaskReceivPersonConfig.key
|
public key = TaskReceivPersonConfig.key
|
||||||
public attr = { ...chartInitConfig, w: 515, h: 273, zIndex: 1 }
|
public attr = { ...chartInitConfig, w: 515, h: 310, zIndex: 1 }
|
||||||
public chartConfig = cloneDeep(TaskReceivPersonConfig)
|
public chartConfig = cloneDeep(TaskReceivPersonConfig)
|
||||||
public option = cloneDeep(option)
|
public option = cloneDeep(option)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,59 +1,4 @@
|
||||||
<template>
|
<template>
|
||||||
<CollapseItem name="标题样式" :expanded="true">
|
|
||||||
<SettingItemBox
|
|
||||||
:name="`颜色-${index + 1}`"
|
|
||||||
v-for="(item, index) in optionData.navsColor"
|
|
||||||
:key="index"
|
|
||||||
>
|
|
||||||
<SettingItem name="颜色">
|
|
||||||
<n-color-picker
|
|
||||||
size="small"
|
|
||||||
:modes="['hex']"
|
|
||||||
v-model:value="optionData.navsColor[index]"
|
|
||||||
></n-color-picker>
|
|
||||||
</SettingItem>
|
|
||||||
<SettingItem>
|
|
||||||
<n-button
|
|
||||||
size="small"
|
|
||||||
@click="optionData.navsColor[index] = option.navsColor[index]"
|
|
||||||
>
|
|
||||||
恢复默认
|
|
||||||
</n-button>
|
|
||||||
</SettingItem>
|
|
||||||
</SettingItemBox>
|
|
||||||
</CollapseItem>
|
|
||||||
<CollapseItem name="标题样式" :expanded="true">
|
|
||||||
<SettingItemBox
|
|
||||||
:name="`颜色-${index + 1}`"
|
|
||||||
v-for="(item, index) in optionData.navsBackground"
|
|
||||||
:key="index"
|
|
||||||
>
|
|
||||||
<SettingItem name="颜色">
|
|
||||||
<n-color-picker
|
|
||||||
size="small"
|
|
||||||
:modes="['hex']"
|
|
||||||
v-model:value="optionData.navsBackground[index]"
|
|
||||||
></n-color-picker>
|
|
||||||
</SettingItem>
|
|
||||||
<SettingItem>
|
|
||||||
<n-button
|
|
||||||
size="small"
|
|
||||||
@click="optionData.navsBackground[index] = option.navsBackground[index]"
|
|
||||||
>
|
|
||||||
恢复默认
|
|
||||||
</n-button>
|
|
||||||
</SettingItem>
|
|
||||||
</SettingItemBox>
|
|
||||||
</CollapseItem>
|
|
||||||
<CollapseItem name="标题样式" :expanded="true">
|
|
||||||
<SettingItem name="文字大小">
|
|
||||||
<n-input-number
|
|
||||||
size="small"
|
|
||||||
v-model:value="optionData.navsSize"
|
|
||||||
:min="10"
|
|
||||||
/>
|
|
||||||
</SettingItem>
|
|
||||||
</CollapseItem>
|
|
||||||
<CollapseItem name="样式" :expanded="true">
|
<CollapseItem name="样式" :expanded="true">
|
||||||
<SettingItemBox
|
<SettingItemBox
|
||||||
:name="`颜色-${index + 1}`"
|
:name="`颜色-${index + 1}`"
|
||||||
|
|
@ -100,7 +45,7 @@
|
||||||
</SettingItem>
|
</SettingItem>
|
||||||
</SettingItemBox>
|
</SettingItemBox>
|
||||||
</CollapseItem>
|
</CollapseItem>
|
||||||
<CollapseItem name="样式" :expanded="true">、
|
<CollapseItem name="样式" :expanded="true">
|
||||||
<SettingItem name="文字大小">
|
<SettingItem name="文字大小">
|
||||||
<n-input-number
|
<n-input-number
|
||||||
size="small"
|
size="small"
|
||||||
|
|
@ -177,7 +122,7 @@
|
||||||
</CollapseItem>
|
</CollapseItem>
|
||||||
<CollapseItem name="样式" :expanded="true">
|
<CollapseItem name="样式" :expanded="true">
|
||||||
<SettingItemBox>
|
<SettingItemBox>
|
||||||
<SettingItem name="树文字颜色">
|
<SettingItem name="表格文字颜色">
|
||||||
<n-color-picker
|
<n-color-picker
|
||||||
size="small"
|
size="small"
|
||||||
:modes="['hex']"
|
:modes="['hex']"
|
||||||
|
|
@ -193,15 +138,15 @@
|
||||||
</n-button>
|
</n-button>
|
||||||
</SettingItem>
|
</SettingItem>
|
||||||
</SettingItemBox>
|
</SettingItemBox>
|
||||||
</CollapseItem>
|
<SettingItemBox>
|
||||||
<CollapseItem name="样式" :expanded="true">
|
<SettingItem name="表格文字大小">
|
||||||
<SettingItem name="树文字大小">
|
|
||||||
<n-input-number
|
<n-input-number
|
||||||
size="small"
|
size="small"
|
||||||
v-model:value="optionData.treeSize"
|
v-model:value="optionData.treeSize"
|
||||||
:min="10"
|
:min="10"
|
||||||
/>
|
/>
|
||||||
</SettingItem>
|
</SettingItem>
|
||||||
|
</SettingItemBox>
|
||||||
</CollapseItem>
|
</CollapseItem>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,15 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="go-title-03">
|
<div class="go-title-03">
|
||||||
<div class="flex ai-c jc-sb max-w navsbox">
|
<div class="contbox max-w">
|
||||||
<div class="flex navsli ai-c jc-c" v-for="(item,index) in navsArr" :class="index==navsIndex?'navsliactive':''" @click="navsClick(index)">
|
<el-row style="margin-top:20px;">
|
||||||
{{ item.label }}
|
<el-col :span="4">
|
||||||
</div>
|
<span class="labspan">任务详情:</span>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="20">
|
||||||
|
<el-input type="textarea" :rows="2" placeholder="请输入内容" v-model="taskContent"></el-input>
|
||||||
|
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex jc-sb sectionbox">
|
<div class="flex jc-sb sectionbox">
|
||||||
<div class="sectionboxleftli secli">
|
<div class="sectionboxleftli secli">
|
||||||
|
|
@ -13,91 +19,177 @@
|
||||||
v-model:value="taskUserName"
|
v-model:value="taskUserName"
|
||||||
:minlength="1"
|
:minlength="1"
|
||||||
type="text"
|
type="text"
|
||||||
placeholder="用户组名称"
|
placeholder="人员姓名"
|
||||||
>
|
>
|
||||||
</n-input>
|
</n-input>
|
||||||
<div class="selectbox">
|
<div class="selectbox">
|
||||||
<n-tree
|
<n-select
|
||||||
block-line
|
clearable
|
||||||
cascade
|
size="small"
|
||||||
default-expand-all
|
@change="selectChange"
|
||||||
:selectable="false"
|
placeholder="请选择单位"
|
||||||
:data="treedatas"
|
key="id"
|
||||||
|
label-field="unitName"
|
||||||
|
value-field="unitName"
|
||||||
|
v-model:value="unitsValue"
|
||||||
|
:options="unitsOptions"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="btnbox">
|
||||||
|
<n-button type="info" @click="getPeopleList">查询</n-button>
|
||||||
|
</div>
|
||||||
|
<div class="btnbox">
|
||||||
|
<n-button type="success" @click="sendClick">发送</n-button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="sectionboxrightli secli">
|
<div class="sectionboxrightli secli">
|
||||||
<div class="flex jc-sb max-w">
|
<el-table
|
||||||
<div class="sectitle">待选择人员(4/9)</div>
|
ref="multipleTable"
|
||||||
<div class="sectext">包含下级</div>
|
size="mini"
|
||||||
</div>
|
:data="TableDatas"
|
||||||
<div class="selectBox">
|
tooltip-effect="dark"
|
||||||
<n-tree
|
:reserve-selection="true"
|
||||||
block-line
|
class="tabbox"
|
||||||
cascade
|
@selection-change="handleSelectionChange">
|
||||||
checkable
|
<el-table-column
|
||||||
:selectable="false"
|
type="selection"
|
||||||
:data="treedatas1"
|
width="55">
|
||||||
:on-update:selected-keys="updateTreeHandle1"
|
</el-table-column>
|
||||||
/>
|
<el-table-column
|
||||||
</div>
|
prop="name"
|
||||||
</div>
|
label="姓名"
|
||||||
<div class="sectionboxrightli secli">
|
>
|
||||||
<div class="flex jc-sb max-w">
|
<!-- <template slot-scope="scope">
|
||||||
<div class="sectitle">已选择人员(4/9)</div>
|
<span style="color:#ffffff;">{{scope.row.name}}</span>
|
||||||
<div class="sectext tpclearbtn">清空</div>
|
<el-tag size="mini" v-show="scope.row.unitName">{{ scope.row.unitName }}</el-tag>
|
||||||
</div>
|
|
||||||
<div class="selectBox">
|
<el-tag size="mini" type="success" v-show="scope.row.online == 1" style="margin-left:12px;">在线</el-tag>
|
||||||
<n-tree
|
</template> -->
|
||||||
block-line
|
</el-table-column>
|
||||||
cascade
|
</el-table>
|
||||||
checkable
|
|
||||||
:selectable="false"
|
|
||||||
:data="treedatas2"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { PropType, toRefs, ref } from 'vue'
|
import { PropType, toRefs, ref, onMounted, defineComponent } from 'vue'
|
||||||
import { CreateComponentType } from '@/packages/index.d'
|
import { CreateComponentType } from '@/packages/index.d'
|
||||||
|
import axios from 'axios'
|
||||||
|
import { ElMessage } from 'element-plus'
|
||||||
|
import { EventBus } from '@/utils/eventBus'
|
||||||
|
import { getAppEnvConfig } from '@/utils/env'
|
||||||
|
var { VITE_GLOB_API_URL } = getAppEnvConfig();
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
chartConfig: {
|
chartConfig: {
|
||||||
type: Object as PropType<CreateComponentType>,
|
type: Object as PropType<CreateComponentType>,
|
||||||
required: true
|
required: true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
const navsIndex = ref(0)
|
|
||||||
const taskUserName = ref('')
|
const taskUserName = ref()
|
||||||
|
const unitsValue = ref()
|
||||||
|
const taskContent = ref()
|
||||||
|
const receivePeople = ref()
|
||||||
|
const lng = ref()
|
||||||
|
const lat = ref()
|
||||||
|
|
||||||
const { w, h } = toRefs(props.chartConfig.attr)
|
const { w, h } = toRefs(props.chartConfig.attr)
|
||||||
const {
|
const {
|
||||||
textColor,
|
textColor,
|
||||||
textSize,
|
textSize,
|
||||||
navsArr,
|
|
||||||
navsColor,
|
|
||||||
navsBackground,
|
|
||||||
navsSize,
|
|
||||||
secBackground,
|
secBackground,
|
||||||
InpBackgroundColor,
|
InpBackgroundColor,
|
||||||
InpBorderColor,
|
InpBorderColor,
|
||||||
InpTextColor,
|
InpTextColor,
|
||||||
InpTextSize,
|
InpTextSize,
|
||||||
treedatas,
|
unitsOptions,
|
||||||
treeSize,
|
treeSize,
|
||||||
treeColor,
|
treeColor,
|
||||||
treedatas1,
|
TableColumns,
|
||||||
treedatas2
|
TableDatas
|
||||||
} = toRefs(props.chartConfig.option)
|
} = toRefs(props.chartConfig.option)
|
||||||
|
|
||||||
const navsClick = function(index){
|
|
||||||
navsIndex.value = index
|
onMounted(() => {
|
||||||
|
getReceiveGroup()
|
||||||
|
getPeopleList()
|
||||||
|
// 获取eventBus传过来的值
|
||||||
|
EventBus.on(props.chartConfig.id + 'taskGraphic', (data) => {
|
||||||
|
lng.value = data.lng
|
||||||
|
lat.value = data.lat
|
||||||
|
});
|
||||||
|
})
|
||||||
|
const getReceiveGroup = ()=>{
|
||||||
|
axios({
|
||||||
|
method: "get",
|
||||||
|
url: VITE_GLOB_API_URL + '/api/FireManagement/GetUserUnit',
|
||||||
|
data: {
|
||||||
|
pageIndex: 1,
|
||||||
|
pageSize: 999,
|
||||||
|
},
|
||||||
|
headers: {
|
||||||
|
'X-Token': localStorage.getItem("X-Token")
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
props.chartConfig.option.unitsOptions = res.data.result
|
||||||
|
})
|
||||||
}
|
}
|
||||||
const updateTreeHandle1 = function(node){
|
const getPeopleList = ()=>{
|
||||||
console.log('dddnode',node)
|
let srcs = '/api/FireManagement/LoadFireClueUser?username='+taskUserName.value+'&unitname='+unitsValue.value
|
||||||
|
axios({
|
||||||
|
method: "get",
|
||||||
|
url: VITE_GLOB_API_URL + '/api/FireManagement/LoadFireClueUser',
|
||||||
|
params: {
|
||||||
|
username: taskUserName.value,
|
||||||
|
unitname: unitsValue.value
|
||||||
|
},
|
||||||
|
headers: {
|
||||||
|
'X-Token': localStorage.getItem("X-Token")
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
props.chartConfig.option.TableDatas = res.data.result
|
||||||
|
})
|
||||||
|
}
|
||||||
|
const selectChange = (e)=>{
|
||||||
|
unitsValue.value = e
|
||||||
|
}
|
||||||
|
const handleSelectionChange = (val)=> {
|
||||||
|
receivePeople.value = val
|
||||||
|
}
|
||||||
|
const sendClick = ()=>{
|
||||||
|
let querys = {
|
||||||
|
content: taskContent.value,
|
||||||
|
lng: lng.value,
|
||||||
|
lat: lat.value,
|
||||||
|
recipientUsers: receivePeople.value.map(e => e.id)
|
||||||
|
}
|
||||||
|
axios({
|
||||||
|
method: "post",
|
||||||
|
url: VITE_GLOB_API_URL + '/api/FireManagement/IssuedFireClueTask',
|
||||||
|
data: querys,
|
||||||
|
headers: {
|
||||||
|
'X-Token': localStorage.getItem("X-Token")
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
if (res.data.code == 200) {
|
||||||
|
ElMessage({
|
||||||
|
message: res.data.message,
|
||||||
|
type: 'success',
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
ElMessage({
|
||||||
|
message: res.data.message,
|
||||||
|
type: 'error',
|
||||||
|
})
|
||||||
|
}
|
||||||
|
if(!res){
|
||||||
|
ElMessage({
|
||||||
|
message: res,
|
||||||
|
type: 'error',
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
@ -105,6 +197,9 @@ const updateTreeHandle1 = function(node){
|
||||||
@include go('title-03') {
|
@include go('title-03') {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: v-bind('h');
|
height: v-bind('h');
|
||||||
|
.contbox{
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
||||||
.max-w{
|
.max-w{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
@ -126,44 +221,26 @@ const updateTreeHandle1 = function(node){
|
||||||
.ai-c{
|
.ai-c{
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
.navsbox{
|
|
||||||
width: 30%;
|
|
||||||
height: 24px;
|
|
||||||
background: v-bind('navsColor[1]');
|
|
||||||
border-radius: 1px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
border: 1px solid v-bind('navsColor[0]');
|
|
||||||
}
|
|
||||||
.navsli{
|
|
||||||
width: 50%;
|
|
||||||
height: 100%;
|
|
||||||
color: v-bind('navsColor[2]');
|
|
||||||
font-size: v-bind('navsSize+"px"');
|
|
||||||
cursor: pointer;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
.navsliactive{
|
|
||||||
color: v-bind('navsColor[3]');
|
|
||||||
background: linear-gradient( 158deg, v-bind('navsBackground[0]') 0%, v-bind('navsBackground[1]') 100%);
|
|
||||||
border-radius: 2px 0px 0px 2px;
|
|
||||||
}
|
|
||||||
.sectionbox{
|
.sectionbox{
|
||||||
height: calc(100% - 51px);
|
height: calc(100% - 51px);
|
||||||
}
|
}
|
||||||
|
.btnbox{
|
||||||
|
margin-top: 10px;
|
||||||
|
margin-right: 30px;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.labspan{
|
||||||
|
color: v-bind('textColor[3]');
|
||||||
|
}
|
||||||
.secli{
|
.secli{
|
||||||
background: v-bind('secBackground[0]');
|
background: v-bind('secBackground[0]');
|
||||||
border: 1px solid v-bind('secBackground[1]');
|
border: 1px solid v-bind('secBackground[1]');
|
||||||
height: 100%;
|
height: 100%;
|
||||||
padding-top: 10px;
|
|
||||||
font-size: v-bind('textSize+"px"');
|
font-size: v-bind('textSize+"px"');
|
||||||
.sectitle{
|
.sectitle{
|
||||||
margin: 0 10px 10px;
|
margin: 10px 10px 10px;
|
||||||
color: v-bind('textColor[0]');
|
color: v-bind('textColor[0]');
|
||||||
}
|
}
|
||||||
.sectext{
|
|
||||||
color: v-bind('textColor[1]');
|
|
||||||
padding-right: 10px;
|
|
||||||
}
|
|
||||||
.tpclearbtn{
|
.tpclearbtn{
|
||||||
height: 16px;
|
height: 16px;
|
||||||
line-height: 14px;
|
line-height: 14px;
|
||||||
|
|
@ -172,22 +249,17 @@ const updateTreeHandle1 = function(node){
|
||||||
border: 1px solid v-bind('secBackground[1]');
|
border: 1px solid v-bind('secBackground[1]');
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
.selectbox{
|
|
||||||
height: calc(100% - 75px);
|
|
||||||
overflow: auto;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
.sectionboxleftli{
|
.sectionboxleftli{
|
||||||
width: 30%;
|
width: 55%;
|
||||||
}
|
}
|
||||||
.sectionboxrightli{
|
.sectionboxrightli{
|
||||||
width: 34%;
|
width: 44%;
|
||||||
.selectBox{
|
overflow: hidden;
|
||||||
height: calc(100% - 30px);
|
|
||||||
overflow: auto;
|
|
||||||
}
|
}
|
||||||
|
.tabbox{
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.n-input){
|
:deep(.n-input){
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
width: 90%;
|
width: 90%;
|
||||||
|
|
@ -201,18 +273,111 @@ const updateTreeHandle1 = function(node){
|
||||||
:deep(.n-input__state-border){
|
:deep(.n-input__state-border){
|
||||||
border-color: v-bind('InpBorderColor');
|
border-color: v-bind('InpBorderColor');
|
||||||
}
|
}
|
||||||
:deep(.n-tree-node-content){
|
|
||||||
|
:deep(.n-base-selection){
|
||||||
|
width: 90%;
|
||||||
|
margin-left: 5%;
|
||||||
|
margin-bottom: 15px;
|
||||||
|
font-size: v-bind('treeSize+"px"');
|
||||||
|
}
|
||||||
|
:deep(.n-base-selection .n-base-selection-label){
|
||||||
|
background: v-bind('InpBackgroundColor');
|
||||||
|
}
|
||||||
|
:deep(.n-base-selection .n-base-selection-label .n-base-selection-input){
|
||||||
|
color: v-bind('treeColor');
|
||||||
|
}
|
||||||
|
:deep(.n-base-select-menu){
|
||||||
|
background: v-bind('InpBackgroundColor');
|
||||||
|
}
|
||||||
|
:deep(.n-base-select-menu .n-base-select-option){
|
||||||
color: v-bind('treeColor');
|
color: v-bind('treeColor');
|
||||||
font-size: v-bind('treeSize+"px"');
|
font-size: v-bind('treeSize+"px"');
|
||||||
}
|
}
|
||||||
:deep(.n-tree-node:hover){
|
:deep(.n-base-selection .n-base-selection__border, .n-base-selection .n-base-selection__state-border){
|
||||||
background: v-bind('secBackground[1]') !important;
|
border-color: v-bind('InpBorderColor');
|
||||||
}
|
|
||||||
:deep(.n-tree-node--checkable:has(.n-checkbox--checked)){
|
|
||||||
background: linear-gradient( 253deg, #15D5A0 0%, rgba(49,189,73,0.9) 100%);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
::v-deep .el-table--scrollable-y .el-table__body-wrapper::-webkit-scrollbar-thumb:hover {
|
||||||
|
-webkit-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, .25);
|
||||||
|
background-color: rgba(0, 0, 0, .1)
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep .el-table--scrollable-y .el-table__body-wrapper::-webkit-scrollbar-thumb:active {
|
||||||
|
-webkit-box-shadow: inset 1px 1px 3px rgba(0, 0, 0, .1);
|
||||||
|
background-color: rgba(0, 0, 0, .1)
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep .el-table th{
|
||||||
|
padding:0px!important;
|
||||||
|
color: v-bind('textColor[1]');
|
||||||
|
font-size: v-bind('treeSize+"px"');
|
||||||
|
}
|
||||||
|
::v-deep table thead th{
|
||||||
|
text-align: left!important;
|
||||||
|
text-indent:1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep .el-table td.el-table__cell, .el-table th.el-table__cell{
|
||||||
|
border-bottom:0px!important;
|
||||||
|
border:0px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*最外层透明*/
|
||||||
|
::v-deep .el-table,
|
||||||
|
::v-deep .el-table__expanded-cell {
|
||||||
|
background-color: transparent !important;
|
||||||
|
color: v-bind('textColor[2]');
|
||||||
|
font-size: v-bind('textSize+"px"');
|
||||||
|
}
|
||||||
|
/* 表格内背景颜色 */
|
||||||
|
::v-deep .el-table th,
|
||||||
|
::v-deep .el-table tr,
|
||||||
|
::v-deep .el-table td {
|
||||||
|
background-color: transparent !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep .el-table td.el-table__cell, .el-table th.el-table__cell{
|
||||||
|
border:0px!important;
|
||||||
|
}
|
||||||
|
::v-deep .el-table__body-wrapper{
|
||||||
|
width:100%;
|
||||||
|
border:0px!important;
|
||||||
|
}
|
||||||
|
::v-deep .el-input__inner {
|
||||||
|
background: v-bind('InpBackgroundColor');
|
||||||
|
border-color: v-bind('InpBorderColor');
|
||||||
|
color: v-bind('InpTextColor');
|
||||||
|
font-size: v-bind('InpTextSize+"px"');
|
||||||
|
}
|
||||||
|
|
||||||
|
::v-deep .el-textarea__inner {
|
||||||
|
background: v-bind('InpBackgroundColor');
|
||||||
|
border-color: v-bind('InpBorderColor');
|
||||||
|
color: v-bind('InpTextColor');
|
||||||
|
font-size: v-bind('InpTextSize+"px"');
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 滑道样式 */
|
||||||
|
::v-deep .el-table__body-wrapper::-webkit-scrollbar{
|
||||||
|
width:10px;
|
||||||
|
background:#304156;
|
||||||
|
border-radius: 6px;
|
||||||
|
}
|
||||||
|
/* 定义滑块的样式 */
|
||||||
|
::v-deep .el-table__body-wrapper::-webkit-scrollbar-thumb{
|
||||||
|
border-radius: 10px;
|
||||||
|
-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,0.3);
|
||||||
|
background-color:rgba(0,0,0,0.3);
|
||||||
|
}
|
||||||
|
/* 定义滑块鼠标移入时的样式 */
|
||||||
|
::v-deep .el-table__body-wrapper::-webkit-scrollbar-thumb:hover{
|
||||||
|
border-radius: 10px;
|
||||||
|
-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,0.3);
|
||||||
|
background-color:rgba(0,0,0,0.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* 整个滚动条的样式 */
|
/* 整个滚动条的样式 */
|
||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ const option = {
|
||||||
color: [],
|
color: [],
|
||||||
legend: {
|
legend: {
|
||||||
left: 'right',
|
left: 'right',
|
||||||
data: ['路网规划率', '信息处置率'],
|
data: ['上报个数', '处理个数'],
|
||||||
textStyle:{
|
textStyle:{
|
||||||
fontSize: 12
|
fontSize: 12
|
||||||
}
|
}
|
||||||
|
|
@ -42,7 +42,7 @@ const option = {
|
||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
type: 'line',
|
type: 'line',
|
||||||
name: '路网规划率',
|
name: '上报个数',
|
||||||
smooth: false,
|
smooth: false,
|
||||||
symbolSize: 10, //设定实心点的大小
|
symbolSize: 10, //设定实心点的大小
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
|
|
@ -78,7 +78,7 @@ const option = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
type: 'line',
|
type: 'line',
|
||||||
name: '信息处置率',
|
name: '处理个数',
|
||||||
smooth: false,
|
smooth: false,
|
||||||
symbolSize: 10, //设定实心点的大小
|
symbolSize: 10, //设定实心点的大小
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue