update code
parent
c3c065d4a3
commit
74da68b685
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
</module-one-2-1>
|
</module-one-2-1>
|
||||||
<module-one-1-1 label="安全/质量管理">
|
<module-one-1-1 label="安全/质量管理">
|
||||||
<div class="warning-info-title" style="padding-left: 20px;">
|
<div class="warning-info-title" style="padding-left: 20px;position: relative;z-index: 9999;">
|
||||||
<div :class="qualityNav == 0 ? 'active' : ''" @click="qualityNavClick(0)">安全管理</div>
|
<div :class="qualityNav == 0 ? 'active' : ''" @click="qualityNavClick(0)">安全管理</div>
|
||||||
<div :class="qualityNav == 1 ? 'active' : ''" @click="qualityNavClick(1)">质量管理</div>
|
<div :class="qualityNav == 1 ? 'active' : ''" @click="qualityNavClick(1)">质量管理</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="12" style="position: relative;">
|
<el-col :span="12" style="position: relative;">
|
||||||
<module-one-1-1 label="人员统计" :key="elDeptWorks">
|
<module-one-1-1 label="人员统计" :key="elDeptWorks">
|
||||||
<img src="images/icon2001.png" v-if="infoNav == 1" style="position: absolute;cursor: pointer;right: 20px;top: 48px;"
|
<img src="images/icon2001.png" style="position: absolute;cursor: pointer;right: 20px;top: 12px;"
|
||||||
@click="doShowAttendanceDetail">
|
@click="doShowAttendanceDetail">
|
||||||
<div class="warning-info-title" style="padding-left: 20px;">
|
<div class="warning-info-title" style="padding-left: 20px;">
|
||||||
<div :class="infoNav == 0 ? 'active' : ''" @click="onWarningInfoNav(0)">在岗人数</div>
|
<div :class="infoNav == 0 ? 'active' : ''" @click="onWarningInfoNav(0)">在岗人数</div>
|
||||||
|
@ -220,6 +220,7 @@
|
||||||
<index-dlg3 ref="dlg3"></index-dlg3>
|
<index-dlg3 ref="dlg3"></index-dlg3>
|
||||||
<journalismDlg ref="journalismDlg"></journalismDlg>
|
<journalismDlg ref="journalismDlg"></journalismDlg>
|
||||||
<AttendanceDetailDialog ref="attDetailDlg"></AttendanceDetailDialog>
|
<AttendanceDetailDialog ref="attDetailDlg"></AttendanceDetailDialog>
|
||||||
|
<JobWorkerDialog ref="jobWorkerdlg"></JobWorkerDialog>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
@ -235,6 +236,7 @@ import journalismDlg from './dlg/journalismDlg.vue'
|
||||||
import debounce from 'lodash.debounce'
|
import debounce from 'lodash.debounce'
|
||||||
import AttendanceDetailDialog from './components/AttendanceDetailDialog.vue'
|
import AttendanceDetailDialog from './components/AttendanceDetailDialog.vue'
|
||||||
import mapIndex from './index/mapIndex.vue'
|
import mapIndex from './index/mapIndex.vue'
|
||||||
|
import JobWorkerDialog from './components/JobWorkerDialog.vue'
|
||||||
export default {
|
export default {
|
||||||
name: 'App',
|
name: 'App',
|
||||||
components: {
|
components: {
|
||||||
|
@ -244,7 +246,7 @@ export default {
|
||||||
indexMap,
|
indexMap,
|
||||||
MonitAndWarning,
|
MonitAndWarning,
|
||||||
journalismDlg,
|
journalismDlg,
|
||||||
AttendanceDetailDialog,mapIndex
|
AttendanceDetailDialog,mapIndex,JobWorkerDialog
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
@ -529,7 +531,11 @@ export default {
|
||||||
projectId:this.prj.id||0,
|
projectId:this.prj.id||0,
|
||||||
attendanceTime: this.$dt(new Date()).format("YYYY-MM-DD")
|
attendanceTime: this.$dt(new Date()).format("YYYY-MM-DD")
|
||||||
}
|
}
|
||||||
|
if(this.infoNav == 1){
|
||||||
this.$refs.attDetailDlg.showDialog(data);
|
this.$refs.attDetailDlg.showDialog(data);
|
||||||
|
}else{
|
||||||
|
this.$refs.jobWorkerdlg.showDialog(data);
|
||||||
|
}
|
||||||
},
|
},
|
||||||
loadAttendanceData(){
|
loadAttendanceData(){
|
||||||
let data={
|
let data={
|
||||||
|
|
|
@ -84,7 +84,7 @@
|
||||||
<div :class="infoNav == 1 ? 'active' : ''" @click="onWarningInfoNav(1, '今日出勤')">今日出勤
|
<div :class="infoNav == 1 ? 'active' : ''" @click="onWarningInfoNav(1, '今日出勤')">今日出勤
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<img src="images/icon2001.png" style="position: absolute;cursor: pointer;right: 20px;top: 48px;"
|
<img src="images/icon2001.png" style="position: absolute;cursor: pointer;right: 20px;top: 12px;"
|
||||||
@click="doShowAttendanceDetail">
|
@click="doShowAttendanceDetail">
|
||||||
<el-row :key="elDeptWorks">
|
<el-row :key="elDeptWorks">
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
|
|
|
@ -186,11 +186,13 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</module-one-1-1>
|
</module-one-1-1>
|
||||||
<module-one-1-1 label="劳务用工">
|
<module-one-1-1 label="劳务用工" style="position: relative;">
|
||||||
<div class="warning-info-title" style="padding-left: 20px;">
|
<div class="warning-info-title" style="padding-left: 20px;">
|
||||||
<div :class="infoNav == 0 ? 'active' : ''" @click="onWarningInfoNav(0, '在岗人数')">在岗人数</div>
|
<div :class="infoNav == 0 ? 'active' : ''" @click="onWarningInfoNav(0, '在岗人数')">在岗人数</div>
|
||||||
<div :class="infoNav == 1 ? 'active' : ''" @click="onWarningInfoNav(1, '今日出勤')">今日出勤</div>
|
<div :class="infoNav == 1 ? 'active' : ''" @click="onWarningInfoNav(1, '今日出勤')">今日出勤</div>
|
||||||
</div>
|
</div>
|
||||||
|
<img src="images/icon2001.png" style="position: absolute;cursor: pointer;right: 20px;top: 12px;"
|
||||||
|
@click="doShowAttendanceDetail">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<div class="survey_content">
|
<div class="survey_content">
|
||||||
|
@ -266,7 +268,9 @@
|
||||||
<worktrainDlg ref="workTrainDlg"></worktrainDlg>
|
<worktrainDlg ref="workTrainDlg"></worktrainDlg>
|
||||||
<projectSpecialDlg ref="projectSpecialDlg"></projectSpecialDlg>
|
<projectSpecialDlg ref="projectSpecialDlg"></projectSpecialDlg>
|
||||||
<ProblemmodifyDetail ref="probDlg"></ProblemmodifyDetail>
|
<ProblemmodifyDetail ref="probDlg"></ProblemmodifyDetail>
|
||||||
|
<AttendanceDetailDialog ref="attDetailDlg"></AttendanceDetailDialog>
|
||||||
<projectInsuranceDlg ref="insDlg"></projectInsuranceDlg>
|
<projectInsuranceDlg ref="insDlg"></projectInsuranceDlg>
|
||||||
|
<JobWorkerDialog ref="jobWorkerdlg"></JobWorkerDialog>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -282,12 +286,14 @@ import worktrainDlg from './dlg/workTrainDlg.vue'
|
||||||
import projectSpecialDlg from './dlg/projectSpecialDlg.vue'
|
import projectSpecialDlg from './dlg/projectSpecialDlg.vue'
|
||||||
import ProblemmodifyDetail from './components/ProblemmodifyDetail.vue'
|
import ProblemmodifyDetail from './components/ProblemmodifyDetail.vue'
|
||||||
import projectInsuranceDlg from './safe/projectInsuranceDlg.vue'
|
import projectInsuranceDlg from './safe/projectInsuranceDlg.vue'
|
||||||
|
import AttendanceDetailDialog from './components/AttendanceDetailDialog.vue'
|
||||||
|
import JobWorkerDialog from './components/JobWorkerDialog.vue'
|
||||||
import debounce from 'lodash.debounce'
|
import debounce from 'lodash.debounce'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
worktrainDlg,
|
worktrainDlg,
|
||||||
projectSpecialDlg,
|
projectSpecialDlg,
|
||||||
ProblemmodifyDetail,
|
ProblemmodifyDetail,AttendanceDetailDialog,
|
||||||
projectInsuranceDlg
|
projectInsuranceDlg
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
|
@ -401,6 +407,18 @@ export default {
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
doShowAttendanceDetail(){
|
||||||
|
let data={
|
||||||
|
deptId:this.dept.id||0,
|
||||||
|
projectId:this.project.id||0,
|
||||||
|
attendanceTime: this.$dt(new Date()).format("YYYY-MM-DD")
|
||||||
|
}
|
||||||
|
if(this.infoNav == 1){
|
||||||
|
this.$refs.attDetailDlg.showDialog(data);
|
||||||
|
}else{
|
||||||
|
this.$refs.jobWorkerdlg.showDialog(data);
|
||||||
|
}
|
||||||
|
},
|
||||||
initMe(){
|
initMe(){
|
||||||
this.projectInfo=this.$root.project||{};
|
this.projectInfo=this.$root.project||{};
|
||||||
this.dept=this.$root.dept||{};
|
this.dept=this.$root.dept||{};
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
<div class="ai-video-info">
|
<div class="ai-video-info">
|
||||||
<div class="ai-video-info-flex">
|
<div class="ai-video-info-flex">
|
||||||
<div class="ai-content-nav-max" style="width: 100% ">
|
<div class="ai-content-nav-max" style="width: 100% ">
|
||||||
<div class="ai-content-nav-min" v-for="(alertorType,index) in alertorTypeList">
|
<div class="ai-content-nav-min" v-for="(alertorType,index) in alertorTypeList" :key="index">
|
||||||
<div class="ai-content-nav-con">
|
<div class="ai-content-nav-con">
|
||||||
<div :class="nav == index?'ai-content-nav active':'ai-content-nav'" @click="aiNav(index,alertorType.dictValue)" v-html="alertorType.dictLabel">
|
<div :class="nav == index?'ai-content-nav active':'ai-content-nav'" @click="aiNav(index,alertorType.dictValue)" v-html="alertorType.dictLabel">
|
||||||
</div>
|
</div>
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="ai-content-info-max">
|
<div class="ai-content-info-max">
|
||||||
<el-row>
|
<el-row>
|
||||||
<el-col style="position: relative;" :span="8" v-for="(video,index) in videoList">
|
<el-col style="position: relative;" :span="8" v-for="(video,index) in videoList" :key="index">
|
||||||
<div class="ai-content-info-min">
|
<div class="ai-content-info-min">
|
||||||
<div class="ai-content-videos" :class="video.state?'active-video':'videobo'">
|
<div class="ai-content-videos" :class="video.state?'active-video':'videobo'">
|
||||||
<H265Player v-if="video.state" :url="getVideoUrl(video)"/>
|
<H265Player v-if="video.state" :url="getVideoUrl(video)"/>
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
<img src="/images/ai/left_slip.png" id="leftSlip">
|
<img src="/images/ai/left_slip.png" id="leftSlip">
|
||||||
</div> -->
|
</div> -->
|
||||||
<div class="ai-key-videos-content" id="videosContent">
|
<div class="ai-key-videos-content" id="videosContent">
|
||||||
<div class="ai-key-videos-max" style="position: relative;" v-for="(video,index) in majorVideoList">
|
<div class="ai-key-videos-max" style="position: relative;" v-for="(video,index) in majorVideoList" :key="index">
|
||||||
<div class="ai-key-videos-min" :class="video.state?'imp-video':'videobo'">
|
<div class="ai-key-videos-min" :class="video.state?'imp-video':'videobo'">
|
||||||
<H265Player v-if="video.state" :url="getVideoUrl(video)"/>
|
<H265Player v-if="video.state" :url="getVideoUrl(video)"/>
|
||||||
<div class="ai-video-name" style="position: absolute;height: 35px;line-height: 35px;padding: 0px 15px;z-index: 99999;bottom: 8px;font-size: 13px;">
|
<div class="ai-video-name" style="position: absolute;height: 35px;line-height: 35px;padding: 0px 15px;z-index: 99999;bottom: 8px;font-size: 13px;">
|
||||||
|
@ -102,7 +102,7 @@
|
||||||
<div class="ai-warning-list-content">
|
<div class="ai-warning-list-content">
|
||||||
<div class="ai-warning-list-max scroll" @mouseenter="stopListAnm" @mouseleave="listAnm" id="warningListMax" style="overflow-y:auto">
|
<div class="ai-warning-list-max scroll" @mouseenter="stopListAnm" @mouseleave="listAnm" id="warningListMax" style="overflow-y:auto">
|
||||||
<div id="warningListMin">
|
<div id="warningListMin">
|
||||||
<div class="project-expect-list active" v-for="(item,idx) in warningList" v-if="idx<50">
|
<div class="project-expect-list active" v-for="(item,idx) in warningList" v-if="idx<50" :key="idx">
|
||||||
<div class="project-expect-con">
|
<div class="project-expect-con">
|
||||||
<div class="project-expect-title">
|
<div class="project-expect-title">
|
||||||
<div class="project-expect-title-No">{{item.projectName}}</div>
|
<div class="project-expect-title-No">{{item.projectName}}</div>
|
||||||
|
|
|
@ -30,8 +30,8 @@ module.exports = defineConfig({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'/jhapi':{
|
'/jhapi':{
|
||||||
//target: `http://62.234.3.186/jhapi/`,
|
target: `http://62.234.3.186/jhapi/`,
|
||||||
target: `http://127.0.0.1:8090/jhapi/`,
|
//target: `http://127.0.0.1:8090/jhapi/`,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
'^/jhapi':'/'
|
'^/jhapi':'/'
|
||||||
|
|
Loading…
Reference in New Issue