小程序打卡数据

This commit is contained in:
lSun 2024-12-10 10:08:45 +08:00
parent cb4255e869
commit d635f0a81b
1 changed files with 14 additions and 14 deletions

View File

@ -10,7 +10,7 @@
<el-input
v-model="dialogQueryForm.userName"
placeholder="请输入姓名"
clearable
clearable
style="width: 200px"
@keyup.enter.native="handleQuery"
/>
@ -40,7 +40,7 @@
@pagination="getDialogList"
/>
</el-dialog>
</div>
</template>
@ -51,7 +51,7 @@ import mapChinaJson from '@/utils/mapJson/china.json'
import { listDept } from "@/api/system/dept";
import { listUser} from "@/api/system/userInfo";
import Treeselect from "@riophae/vue-treeselect";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
export default {
name: 'centerTopPage',
components: { Treeselect },
@ -104,13 +104,13 @@ export default {
open:false,
title:'人员信息',
dialogList:[],
}
},
created() {
},
mounted() {
this.getInitData()
/*let mapElem = document.querySelector('#mapEcharts')
mapElem.addEventListener('click', (e) => {
@ -125,7 +125,7 @@ export default {
)
this.mapJson = mapChinaJson
echarts.registerMap('china', this.mapJson)
this.$nextTick(() => {
this.$nextTick(() => {
this.setMapOption()
})
},
@ -143,7 +143,7 @@ export default {
//
geoCoordMap[name] = v.properties.center
}
})
})
let that = this
this.pointAll = this.cityCount
@ -167,7 +167,7 @@ export default {
// },
title: {
top: 10,
text: '贵州送变电工程有限公司人员分布图',
text: '贵州送变电有限公司人员分布图',
x: 'letf',
textStyle: {
color: '#006EFF'
@ -246,7 +246,7 @@ export default {
// //
// // return params.name + ': ' + params.value;
// }
// },
},
{
@ -365,8 +365,8 @@ export default {
data: this.geoVal || [],
},
],
}
}
this.mapEcharts.setOption(echartOption)
this.mapEcharts.on('georoam', function (params) {
let option = that.mapEcharts.getOption() //option
@ -409,7 +409,7 @@ export default {
// that.$emit('closeMap', { value: params.data })
}
})
},
openDialog(item){
this.open=true;
@ -423,7 +423,7 @@ export default {
getDialogList() {
listUser(this.dialogQueryForm).then(response => {
this.dialogList = response.rows;
this.dialogTotal = response.total;
this.dialogTotal = response.total;
});
},
/** 搜索按钮操作 */
@ -437,7 +437,7 @@ export default {
// this.resetForm("dialogQueryForm");
this.handleDialogQuery();
},
getDeptList(){
listDept().then(response => {
this.deptOptions = this.handleTree(response.data, "id");