Merge branch 'dev'
commit
c6de0d3dde
|
@ -0,0 +1,150 @@
|
|||
<template>
|
||||
<div class="app-container">
|
||||
<el-form label-width="100px">
|
||||
<el-row>
|
||||
<el-col :span="5">
|
||||
<el-form-item label="企业名字">
|
||||
<el-input v-model="CORP_NAME" placeholder="搜索企业名字" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="5">
|
||||
<el-form-item label="重点工程名称">
|
||||
<el-input v-model="OUTSOURCED_NAME" placeholder="搜索重点工程名称" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-form-item label-width="10px">
|
||||
<el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">
|
||||
搜索
|
||||
</el-button>
|
||||
<el-button v-waves class="filter-item" type="success" icon="el-icon-refresh" @click="goKeyReset">
|
||||
重置
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-form>
|
||||
<el-table
|
||||
v-loading="listLoading"
|
||||
ref="multipleTable"
|
||||
:data="varList"
|
||||
:row-key="getRowKey"
|
||||
:header-cell-style="{
|
||||
'font-weight': 'bold',
|
||||
'color': '#000'
|
||||
}"
|
||||
tooltip-effect="dark"
|
||||
border
|
||||
fit
|
||||
highlight-current-row
|
||||
>
|
||||
<el-table-column type="index" label="序号" width="50" align="center" />
|
||||
<el-table-column prop="CORP_NAME" label="公司名称" show-overflow-tooltip />
|
||||
<el-table-column prop="STARTTIME" label="属地" show-overflow-tooltip>
|
||||
<template slot-scope="{row}"/>
|
||||
<template slot-scope="{row}">
|
||||
<span v-if="row.CORPINFO_ID !='1'">
|
||||
{{ row.prvinceName }} -- {{ row.cityName }} -- {{ row.countryName }}
|
||||
</span>
|
||||
<span v-else>
|
||||
河北省 -- 秦皇岛市 -- 海港区
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="INDUSTRY_NAME" label="所属行业" show-overflow-tooltip >
|
||||
<template slot-scope="{row}">
|
||||
<span v-if="row.CORPINFO_ID !='1'">
|
||||
{{ row.INDUSTRY_NAME }}
|
||||
</span>
|
||||
<span v-else>
|
||||
交通运输、仓储和邮政业
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="OUTSOURCED_COUNT" label="包含重点工程数" />
|
||||
<el-table-column label="操作" align="center" width="100">
|
||||
<template slot-scope="{row}">
|
||||
<el-button type="success" icon="el-icon-view" size="mini" @click="goDetail(row.CORPINFO_ID)">查看</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<div class="page-btn-group">
|
||||
<div/>
|
||||
<pagination :total="total" :page.sync="listQuery.page" :limit.sync="listQuery.limit" @pagination="getList" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Pagination from '@/components/Pagination' // 通过 el-pagination二次打包
|
||||
import { requestFN } from '@/utils/request'
|
||||
import waves from '@/directive/waves' // waves directive
|
||||
export default {
|
||||
name: 'IndexVue',
|
||||
components: { Pagination },
|
||||
directives: { waves },
|
||||
props: {
|
||||
activeName: {
|
||||
type: String,
|
||||
default: ''
|
||||
}
|
||||
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
listLoading: true,
|
||||
listQuery: {
|
||||
page: 1,
|
||||
limit: 20
|
||||
},
|
||||
total: 0,
|
||||
OUTSOURCED_NAME: '',
|
||||
CORP_NAME: '',
|
||||
varList: []
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getList()
|
||||
},
|
||||
methods: {
|
||||
getRowKey(row) {
|
||||
return row.CORPINFO_ID
|
||||
},
|
||||
// 搜索
|
||||
getQuery() {
|
||||
this.getList()
|
||||
},
|
||||
goKeyReset() {
|
||||
this.CORP_NAME = ''
|
||||
this.OUTSOURCED_NAME = ''
|
||||
this.getQuery()
|
||||
},
|
||||
// 获取列表
|
||||
getList() {
|
||||
this.listLoading = true
|
||||
requestFN(
|
||||
'api/outsourced/listByCorp?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
||||
{
|
||||
CORP_NAME: this.CORP_NAME,
|
||||
OUTSOURCED_NAME: this.OUTSOURCED_NAME
|
||||
}
|
||||
).then((data) => {
|
||||
this.listLoading = false
|
||||
this.varList = data.varList
|
||||
this.total = data.page.totalResult
|
||||
}).catch((e) => {
|
||||
this.listLoading = false
|
||||
})
|
||||
},
|
||||
// 查看
|
||||
goDetail(ID) {
|
||||
this.$parent.CORPINFO_ID = ID
|
||||
this.$parent.activeName = this.activeName
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
|
@ -1056,8 +1056,8 @@ export default {
|
|||
labelLine: {
|
||||
normal: {
|
||||
show: true,
|
||||
length: 15,
|
||||
length2: 15
|
||||
length: 10,
|
||||
length2: 10
|
||||
}
|
||||
},
|
||||
label: {
|
||||
|
|
|
@ -271,7 +271,7 @@ export default {
|
|||
CORP_NAME: [{ required: true, message: '分公司名称不能为空', trigger: 'blur' }],
|
||||
shudi: [{ required: true, message: '属地不能为空', trigger: 'blur' }],
|
||||
// POSTAL_CODE: [{ required: true, message: '邮政编码不能为空', trigger: 'blur' }],
|
||||
CODE: [{ required: true, message: '统一社会信用代码不能为空', trigger: 'blur' }],
|
||||
CODE: [{ required: false, message: '统一社会信用代码不能为空', trigger: 'blur' }],
|
||||
INDUSTRY: [{ required: true, message: '所属行业不能为空', trigger: 'blur' }],
|
||||
ECO_TYPE: [{ required: true, message: '经济类型不能为空', trigger: 'blur' }],
|
||||
// ADDRESS_BUSINESS: [{ required: true, message: '企事业单位经营地址不能为空', trigger: 'blur' }],
|
||||
|
@ -509,6 +509,11 @@ export default {
|
|||
},
|
||||
// 保存
|
||||
confirm() {
|
||||
this.$confirm('此操作将会修改企业登录密码为Aa@123456789是否继续?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
this.$refs.form.validate(valid => {
|
||||
if (valid) {
|
||||
if (this.form.INDUSTRYALL && this.form.INDUSTRYALL.length > 0) {
|
||||
|
@ -535,6 +540,7 @@ export default {
|
|||
return false
|
||||
}
|
||||
})
|
||||
})
|
||||
},
|
||||
|
||||
beforeFileUpload(file) {
|
||||
|
@ -607,7 +613,7 @@ export default {
|
|||
}
|
||||
this.form.jinweidu = data.pd.LONGITUDE + ' , ' + data.pd.LATITUDE
|
||||
this.form.shudi = [data.pd.PROVINCE, data.pd.CITY, data.pd.COUNTRY]
|
||||
this.shudiPlaceholder = data.pd.PROVINCE_VAL + "-" + data.pd.CITY_VAL + "-" + data.pd.COUNTRY_VAL
|
||||
this.shudiPlaceholder = data.pd.PROVINCE_VAL + '-' + data.pd.CITY_VAL + '-' + data.pd.COUNTRY_VAL
|
||||
this.hImgs = data.hImgs
|
||||
this.$forceUpdate()
|
||||
this.listLoading = false
|
||||
|
|
|
@ -1,44 +1,48 @@
|
|||
<template>
|
||||
<div class="app-container">
|
||||
<el-page-header content="隐患管理" @back="back"/>
|
||||
<div class="level-title mt-20"/>
|
||||
<el-form label-width="100px">
|
||||
<el-row>
|
||||
<el-col :span="4">
|
||||
<el-col :span="6">
|
||||
<el-form-item label="重点工程名称">
|
||||
<el-input v-model="OUTSOURCED_NAME" placeholder="搜索重点工程名称" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-col :span="6">
|
||||
<el-form-item label="隐患来源">
|
||||
<el-select ref="SOURCE" v-model="SOURCE" style="width: 100%;">
|
||||
<el-option v-for="item in SOURCEList" :key="item.ID" :label="item.NAME" :value="item.ID" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-col :span="6">
|
||||
<el-form-item label="隐患发现人">
|
||||
<el-input v-model="CREATOR_NAME" placeholder="搜索隐患发现人" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-col :span="6">
|
||||
<el-form-item label="隐患整改人">
|
||||
<el-input v-model="RECTIFICATIONOR_NAME" placeholder="搜索隐患整改人" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="6">
|
||||
<el-form-item label="隐患状态">
|
||||
<el-select ref="STATE" v-model="STATE" style="width: 100%;">
|
||||
<el-option v-for="item in zList" :key="item.ID" :label="item.NAME" :value="item.ID" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-col :span="6">
|
||||
<el-form-item label="是否处罚">
|
||||
<el-select ref="ISPUNISH" v-model="ISPUNISH" style="width: 100%;">
|
||||
<el-option v-for="item in stateList" :key="item.ID" :label="item.NAME" :value="item.ID" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-col :span="6">
|
||||
<el-form-item label-width="10px">
|
||||
<el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">
|
||||
搜索
|
||||
|
@ -47,7 +51,8 @@
|
|||
重置
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-col></el-row>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-form>
|
||||
<el-table
|
||||
v-loading="listLoading"
|
||||
|
@ -97,7 +102,7 @@
|
|||
</el-table-column>
|
||||
<el-table-column label="是否处罚">
|
||||
<template slot-scope="{row}">
|
||||
{{ row.ISPUNISH && (row.ISPUNISH === "1" ? "是" : "否") }}
|
||||
{{ row.ISPUNISH === "1" ? "是" : row.ISPUNISH === "2" ?"否":"处罚人未处理" }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center" width="100">
|
||||
|
@ -141,11 +146,11 @@ export default {
|
|||
// { ID: '1', NAME: '申请中' },
|
||||
// { ID: '2', NAME: '已完成' }
|
||||
{ ID: '1', NAME: '是' },
|
||||
{ ID: '2', NAME: '否' }
|
||||
{ ID: '2', NAME: '否' },
|
||||
{ ID: '3', NAME: '处罚人未处理' }
|
||||
],
|
||||
sourceState: {
|
||||
1: 'AI报警',
|
||||
2: 'AI报警(企业端)',
|
||||
4: '安全环保检查(监管端)',
|
||||
5: '安全环保检查(企业端)'
|
||||
},
|
||||
|
@ -155,8 +160,7 @@ export default {
|
|||
4: '已验收'
|
||||
},
|
||||
SOURCEList: [
|
||||
{ ID: '1', NAME: 'AI报警(监管端)' },
|
||||
{ ID: '2', NAME: 'AI报警(企业端)' },
|
||||
{ ID: '1', NAME: 'AI报警' },
|
||||
{ ID: '4', NAME: '安全环保检查(监管端)' },
|
||||
{ ID: '5', NAME: '安全环保检查(企业端)' }
|
||||
],
|
||||
|
@ -174,6 +178,10 @@ export default {
|
|||
getRowKey(row) {
|
||||
return row.OUTSOURCED_ID
|
||||
},
|
||||
back() {
|
||||
this.$parent.CORPINFO_ID = ''
|
||||
this.$parent.activeName = 'OutSourced'
|
||||
},
|
||||
// 搜索
|
||||
getQuery() {
|
||||
this.$refs.multipleTable.clearSelection()
|
||||
|
@ -200,6 +208,7 @@ export default {
|
|||
OUTSOURCED_NAME: this.OUTSOURCED_NAME,
|
||||
ISCHECK: this.ISCHECK,
|
||||
ISPUNISH: this.ISPUNISH,
|
||||
CORPINFO_ID: this.$parent.CORPINFO_ID,
|
||||
RECTIFICATIONOR_NAME: this.RECTIFICATIONOR_NAME,
|
||||
CREATOR_NAME: this.CREATOR_NAME,
|
||||
STATE: this.STATE,
|
||||
|
|
|
@ -1,21 +1,25 @@
|
|||
<template>
|
||||
<div>
|
||||
<component :is="activeName"/>
|
||||
<OutSourced v-show="activeName=='OutSourced'" ref="outSourced" active-name="List"/>
|
||||
<List v-if="activeName=='List'" />
|
||||
<Info v-if="activeName=='Info'"/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import List from './components/list'
|
||||
import Info from './components/info'
|
||||
import OutSourced from '@/components/OutSourced/index'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
List: List,
|
||||
OutSourced: OutSourced,
|
||||
Info: Info
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
activeName: 'List',
|
||||
activeName: 'OutSourced',
|
||||
HIDDEN_ID: ''
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<template>
|
||||
<div class="app-container">
|
||||
<el-page-header content="安全环保检查" @back="back"/>
|
||||
<div class="level-title mt-20"/>
|
||||
<el-form label-width="100px">
|
||||
<el-row>
|
||||
<!-- <el-col :span="5">-->
|
||||
|
@ -9,7 +11,7 @@
|
|||
<!-- </el-col>-->
|
||||
<el-col :span="5">
|
||||
<el-form-item label="重点工程名称">
|
||||
<el-input v-model="OUTSOURCED_NAME" placeholder="搜索重点工程名称" />
|
||||
<el-input v-model="KEYWORDS" placeholder="搜索重点工程名称" />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="5">
|
||||
|
@ -73,7 +75,8 @@
|
|||
<div/>
|
||||
<pagination :total="total" :page.sync="listQuery.page" :limit.sync="listQuery.limit" @pagination="getList" />
|
||||
</div>
|
||||
</div></template>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import Pagination from '@/components/Pagination' // 通过 el-pagination二次打包
|
||||
import { requestFN } from '@/utils/request'
|
||||
|
@ -106,6 +109,10 @@ export default {
|
|||
this.getList()
|
||||
},
|
||||
methods: {
|
||||
back() {
|
||||
this.$parent.CORPINFO_ID = ''
|
||||
this.$parent.activeName = 'OutSourced'
|
||||
},
|
||||
getRowKey(row) {
|
||||
return row.OUTSOURCED_ID
|
||||
},
|
||||
|
@ -127,7 +134,7 @@ export default {
|
|||
'/outsourced/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
||||
{
|
||||
KEYWORDS: this.KEYWORDS,
|
||||
OUTSOURCED_NAME: this.OUTSOURCED_NAME,
|
||||
CORPINFO_ID: this.$parent.CORPINFO_ID,
|
||||
STATE: this.STATE
|
||||
}
|
||||
).then((data) => {
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
<template>
|
||||
<div>
|
||||
<component :is="activeName"/>
|
||||
<OutSourced v-show="activeName=='OutSourced'" ref="outSourced" active-name="List"/>
|
||||
<List v-if="activeName=='List'" ref="list" />
|
||||
<Info v-if="activeName=='Info'" />
|
||||
<recordList v-if="activeName=='recordList'" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
@ -8,19 +11,28 @@
|
|||
import List from './components/list'
|
||||
import Info from './components/info'
|
||||
import recordList from './components/record-list'
|
||||
import OutSourced from '@/components/OutSourced/index'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
List: List,
|
||||
OutSourced: OutSourced,
|
||||
Info: Info,
|
||||
recordList: recordList
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
activeName: 'List',
|
||||
activeName: 'OutSourced',
|
||||
OUTSOURCED_ID: '',
|
||||
KEYPROJECTCHECK_ID: ''
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
activeName(val) {
|
||||
if (val == 'OutSourced') {
|
||||
this.$refs.outSourced.getQuery()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<template>
|
||||
<div class="app-container">
|
||||
<el-page-header content="重点工程" @back="back"/>
|
||||
<div class="level-title mt-20"/>
|
||||
<el-form label-width="100px">
|
||||
<el-row>
|
||||
<el-col :span="8">
|
||||
|
@ -8,8 +10,10 @@
|
|||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="创建单位">
|
||||
<el-input v-model="CORP_NAME" placeholder="创建单位" style="width: 100%;" />
|
||||
<el-form-item label="集团单位">
|
||||
<el-select v-model="GROUP_UNIT" placeholder="请选择集团单位" style="width: 100%;">
|
||||
<el-option v-for="item in groupCorpList" :key="item.CORPINFO_ID" :label="item.CORP_NAME" :value="item.CORPINFO_ID" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="8">
|
||||
|
@ -66,13 +70,7 @@
|
|||
</el-col>
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="8">
|
||||
<el-form-item label="集团单位">
|
||||
<el-select v-model="GROUP_UNIT" placeholder="请选择集团单位" style="width: 100%;">
|
||||
<el-option v-for="item in groupCorpList" :key="item.CORPINFO_ID" :label="item.CORP_NAME" :value="item.CORPINFO_ID" />
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
||||
<el-col :span="8">
|
||||
<el-form-item label="状态">
|
||||
<el-select ref="SELECT_STATE" v-model="STATE" style="width: 100%;">
|
||||
|
@ -112,7 +110,6 @@
|
|||
width="55"
|
||||
align="center"/>
|
||||
<el-table-column type="index" label="序号" width="50" align="center" />
|
||||
<el-table-column prop="CORP_NAME" label="创建单位" show-overflow-tooltip />
|
||||
<el-table-column prop="OUTSOURCED_NAME" label="重点工程名称" show-overflow-tooltip />
|
||||
<el-table-column prop="UNITS_NAME" label="施工相关方" width="250" show-overflow-tooltip />
|
||||
<el-table-column label="辖区单位" show-overflow-tooltip >
|
||||
|
@ -133,7 +130,12 @@
|
|||
<span v-else>{{ row.DEPARTMENT_NAME }}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="MANAGE_CORPS_NAME" label="监理单位" show-overflow-tooltip />
|
||||
<el-table-column label="监理单位" show-overflow-tooltip >
|
||||
<template slot-scope="{row}">
|
||||
<span v-if="row.MANAGE_CORPS_NAME"> {{ row.MANAGE_CORPS_NAME }} </span>
|
||||
<span v-else>无</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="STATE" label="状态" width="100" >
|
||||
<template slot-scope="{row}">
|
||||
<span v-if="row.STATE == 1">进行中</span>
|
||||
|
@ -298,6 +300,7 @@ export default {
|
|||
CONTRACT_STIME: this.CONTRACTTIME[0],
|
||||
CONTRACT_ETIME: this.CONTRACTTIME[1],
|
||||
STATE: this.STATE,
|
||||
CORPINFO_ID: this.$parent.CORPINFO_ID,
|
||||
INVOLVING_CORP: this.INVOLVING_CORP,
|
||||
DEPARTMENT_ID: this.DEPARTMENT_ID,
|
||||
COMPETENT_DEPT_ID: this.COMPETENT_DEPT_ID,
|
||||
|
@ -509,6 +512,10 @@ export default {
|
|||
this.listLoading = false
|
||||
})
|
||||
},
|
||||
back() {
|
||||
this.$parent.CORPINFO_ID = ''
|
||||
this.$parent.activeName = 'OutSourced'
|
||||
},
|
||||
// 获取数据字典数据
|
||||
getDict: function() {
|
||||
},
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<template>
|
||||
<div>
|
||||
<OutSourced v-show="activeName=='OutSourced'" ref="outSourced" active-name="List"/>
|
||||
<List v-show="activeName=='List'" ref="list" />
|
||||
<Edit v-if="activeName=='Edit'" />
|
||||
<Info v-if="activeName=='Info'" />
|
||||
|
@ -10,16 +11,18 @@
|
|||
import List from './components/list'
|
||||
import Edit from './components/edit'
|
||||
import Info from './components/info'
|
||||
import OutSourced from '@/components/OutSourced/index'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
List: List,
|
||||
Edit: Edit,
|
||||
OutSourced: OutSourced,
|
||||
Info: Info
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
activeName: 'List'
|
||||
activeName: 'OutSourced'
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
|
@ -27,6 +30,9 @@ export default {
|
|||
if (val == 'List') {
|
||||
this.$refs.list.getQuery()
|
||||
}
|
||||
if (val == 'OutSourced') {
|
||||
this.$refs.outSourced.getQuery()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -66,12 +66,12 @@
|
|||
</template>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="JOBTYPE" label="作业类别" />
|
||||
<el-table-column prop="OPERATIONITEM" label="操作项目" />
|
||||
<!--<el-table-column prop="JOBTYPE" label="作业类别" />
|
||||
<el-table-column prop="OPERATIONITEM" label="操作项目" />-->
|
||||
<el-table-column prop="NAME" label="姓名" width="100" />
|
||||
<el-table-column prop="SEX" label="性别" width="50" />
|
||||
<!--<el-table-column prop="SEX" label="性别" width="50" />
|
||||
<el-table-column prop="CERTIFICATE_NUM" label="作业证书编号" />
|
||||
<el-table-column prop="REVIEWTIME" label="复审时间" width="120" />
|
||||
<el-table-column prop="REVIEWTIME" label="复审时间" width="120" />-->
|
||||
<el-table-column label="操作" align="left" width="400">
|
||||
<template slot-scope="{row}">
|
||||
<el-button v-show="edit" type="success" icon="el-icon-edit" size="mini" @click="resetPwd(row.PERSONNELMANAGEMENT_ID,row.NAME)">重置密码</el-button>
|
||||
|
|
|
@ -200,7 +200,7 @@ export default {
|
|||
this.$refs.hdVideoPlayer.player.pause()
|
||||
},
|
||||
goBack() {
|
||||
this.$parent.activeName = 'List'
|
||||
this.$parent.activeName = 'List2'
|
||||
this.$parent.HIDDEN_ID = ''
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<template>
|
||||
<div class="app-container">
|
||||
<el-page-header content="处罚管理" @back="back"/>
|
||||
<div class="level-title mt-20"/>
|
||||
<el-form label-width="100px">
|
||||
<el-row>
|
||||
<el-col :span="4">
|
||||
|
@ -7,14 +9,6 @@
|
|||
<el-input v-model="KEYWORDS" placeholder="搜索关键字"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="4">
|
||||
<el-form-item label="处罚状态">
|
||||
<el-select v-model="HANDLED">
|
||||
<el-option value="1" label="待反馈处罚"/>
|
||||
<el-option value="2" label="已完成处罚"/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6">
|
||||
<el-form-item label-width="10px">
|
||||
<el-button v-waves class="filter-item" type="primary" icon="el-icon-search" @click="getQuery">
|
||||
|
@ -110,6 +104,10 @@ export default {
|
|||
getRowKey(row) {
|
||||
return row.OUTSOURCED_ID
|
||||
},
|
||||
back() {
|
||||
this.$parent.CORPINFO_ID = ''
|
||||
this.$parent.activeName = 'OutSourced'
|
||||
},
|
||||
// 搜索
|
||||
getQuery() {
|
||||
this.$refs.multipleTable.clearSelection()
|
||||
|
@ -143,7 +141,9 @@ export default {
|
|||
requestFN(
|
||||
'/outsourced/list?showCount=' + this.listQuery.limit + '¤tPage=' + this.listQuery.page,
|
||||
{
|
||||
KEYWORDS: this.KEYWORDS
|
||||
KEYWORDS: this.KEYWORDS,
|
||||
CORPINFO_ID: this.$parent.CORPINFO_ID
|
||||
|
||||
}
|
||||
).then((data) => {
|
||||
this.listLoading = false
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
<el-col :span="4">
|
||||
<el-form-item label="处罚状态">
|
||||
<el-select v-model="HANDLED">
|
||||
<el-option value="1" label="待反馈处罚"/>
|
||||
<el-option value="2" label="已完成处罚"/>
|
||||
<el-option value="0" label="待反馈处罚"/>
|
||||
<el-option value="1" label="已完成处罚"/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<template>
|
||||
<div>
|
||||
<OutSourced v-show="activeName=='OutSourced'" ref="outSourced" active-name="List"/>
|
||||
<List v-show="activeName=='List'" ref="list" />
|
||||
<List2 v-if="activeName=='List2'" />
|
||||
<Info v-if="activeName=='Info'" />
|
||||
|
@ -12,17 +13,19 @@ import List from './components/list'
|
|||
import Info from './components/info'
|
||||
import List2 from './components/list2'
|
||||
import HiddenInfo from './components/hiddenInfo.vue'
|
||||
import OutSourced from '@/components/OutSourced/index'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
HiddenInfo: HiddenInfo,
|
||||
OutSourced: OutSourced,
|
||||
List: List,
|
||||
Info: Info,
|
||||
List2: List2
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
activeName: 'List',
|
||||
activeName: 'OutSourced',
|
||||
KEYPROJECTPUNISH_ID: '',
|
||||
HIDDEN_ID: ''
|
||||
}
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
align="center"/>
|
||||
<el-table-column type="index" label="序号" width="50" align="center" />
|
||||
<el-table-column prop="UNITS_NAME" label="相关方单位名称" show-overflow-tooltip />
|
||||
<el-table-column prop="CODE" label="统一社会信用代码" width="200" />
|
||||
<!--<el-table-column prop="CODE" label="统一社会信用代码" width="200" />-->
|
||||
<el-table-column prop="CONTACTS" label="联系人" width="150" show-overflow-tooltip />
|
||||
<el-table-column prop="CONTACTS_PHONE" label="联系人电话" width="100" />
|
||||
<el-table-column prop="CORP_NAME" label="创建单位" show-overflow-tooltip />
|
||||
|
|
|
@ -318,7 +318,7 @@ export default {
|
|||
},
|
||||
over() {
|
||||
// 定时器手动关闭
|
||||
console.log('定时器手动关闭')
|
||||
console.log('定时器自动关闭')
|
||||
this.$message.warning('单次播放时长已到5分钟自动关闭')
|
||||
clearInterval(this.timer)
|
||||
},
|
||||
|
@ -363,6 +363,8 @@ export default {
|
|||
}
|
||||
},
|
||||
back() {
|
||||
console.log('手动关闭定时器')
|
||||
clearInterval(this.timer)
|
||||
if (this.dialogVideo) this.dialogVideo = false
|
||||
if (this.dialogVideoBack) this.dialogVideoBack = false
|
||||
if (this.dialogVideoAll) {
|
||||
|
|
|
@ -100,6 +100,7 @@ export default {
|
|||
dialogVideoBack: false,
|
||||
dialogVideoAll: false,
|
||||
VIDEOURL: '',
|
||||
timer: '',
|
||||
player: {},
|
||||
//
|
||||
config: config,
|
||||
|
@ -125,6 +126,18 @@ export default {
|
|||
},
|
||||
|
||||
methods: {
|
||||
// 五分钟关闭视频播放页面定时任务
|
||||
start() {
|
||||
console.log('定时器开启')
|
||||
this.timer = setInterval(this.over, (5 * 60 * 1000)) // 5分钟;
|
||||
},
|
||||
over() {
|
||||
// 定时器手动关闭
|
||||
console.log('定时器自动关闭')
|
||||
this.$message.warning('单次播放时长已到5分钟自动关闭')
|
||||
this.back()
|
||||
clearInterval(this.timer)
|
||||
},
|
||||
async init(UNITS_ID) {
|
||||
this.visible = true
|
||||
this.UNITS_ID = UNITS_ID
|
||||
|
@ -172,6 +185,8 @@ export default {
|
|||
}
|
||||
},
|
||||
back() {
|
||||
console.log('定时器手动关闭')
|
||||
clearInterval(this.timer)
|
||||
if (this.dialogVideo) this.dialogVideo = false
|
||||
if (this.dialogVideoBack) this.dialogVideoBack = false
|
||||
if (this.dialogVideoAll) {
|
||||
|
@ -187,6 +202,8 @@ export default {
|
|||
}
|
||||
},
|
||||
showVideo(row) {
|
||||
this.$message.warning('单次播放最多五分钟')
|
||||
this.start()
|
||||
if (!row.PLATFORMVIDEOMANAGEMENT_ID) {
|
||||
this.VIDEOURL = row.VIDEOURL
|
||||
this.dialogVideo = true
|
||||
|
@ -217,6 +234,7 @@ export default {
|
|||
})
|
||||
})
|
||||
}).catch((e) => {
|
||||
this.over()
|
||||
this.listLoading = false
|
||||
})
|
||||
}
|
||||
|
@ -264,8 +282,11 @@ export default {
|
|||
closeWindow() {
|
||||
this.handleClose()
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
beforeDestroy() {
|
||||
console.log('页面定时器关闭')
|
||||
clearInterval(this.timer)
|
||||
},
|
||||
}
|
||||
|
||||
</script>
|
||||
|
|
|
@ -249,7 +249,7 @@ export default {
|
|||
},
|
||||
over() {
|
||||
// 定时器手动关闭
|
||||
console.log('定时器手动关闭')
|
||||
console.log('定时器自动关闭')
|
||||
clearInterval(this.timer)
|
||||
},
|
||||
closeVideoStart() {
|
||||
|
@ -702,6 +702,8 @@ export default {
|
|||
})
|
||||
},
|
||||
back() {
|
||||
console.log('手动关闭定时器')
|
||||
clearInterval(this.timer)
|
||||
if (this.dialogVideo) this.dialogVideo = false
|
||||
if (this.dialogVideoBack) this.dialogVideoBack = false
|
||||
if (this.dialogVideoAll) {
|
||||
|
|
|
@ -29,6 +29,9 @@
|
|||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="集团单位" prop="corpTypeName">
|
||||
<el-input id="corpTypeName" ref="corpTypeName" v-model="dataForm.corpTypeName" disabled maxlength="255" placeholder="这里输入开户人..." title="开户人"/>
|
||||
</el-form-item>
|
||||
<el-form-item label="开户人" prop="CREATOR">
|
||||
<el-input id="CREATOR" ref="CREATOR" v-model="dataForm.USER_NAME" disabled maxlength="255" placeholder="这里输入开户人..." title="开户人"/>
|
||||
</el-form-item>
|
||||
|
|
|
@ -47,6 +47,11 @@
|
|||
</el-col>
|
||||
</el-row>
|
||||
<el-row :gutter="20">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="集团单位" prop="corpTypeName">
|
||||
<el-input id="corpTypeName" ref="corpTypeName" v-model="dataForm.corpTypeName" disabled maxlength="255" placeholder="这里输入开户人..." title="开户人"/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="开户人" prop="CREATOR">
|
||||
<el-input id="CREATOR" ref="CREATOR" v-model="dataForm.USER_NAME" disabled maxlength="255" placeholder="这里输入开户人..." title="开户人"/>
|
||||
|
|
|
@ -100,7 +100,7 @@
|
|||
</div>
|
||||
</el-main>
|
||||
</el-container>
|
||||
<el-dialog :visible.sync="dialogFormEdit" :title="dialogType==='editUser'?'修改':'新增'" width="600px">
|
||||
<el-dialog v-loading="editloading" :visible.sync="dialogFormEdit" :title="dialogType==='editUser'?'修改':'新增'" width="600px">
|
||||
<el-form ref="form" :rules="rules" :model="pd" label-width="110px" style="width: 500px;">
|
||||
<el-form-item label="角色" prop="ROLE_ID">
|
||||
<el-select v-model="pd.ROLE_ID" multiple placeholder="请选择角色">
|
||||
|
@ -246,6 +246,7 @@ export default {
|
|||
keyDepeName: '',
|
||||
keyJobLeven: '',
|
||||
dialogFormEdit: false,
|
||||
editloading: false,
|
||||
dialogType: 'add',
|
||||
rules: {
|
||||
EMAIL: [
|
||||
|
@ -357,6 +358,7 @@ export default {
|
|||
}))
|
||||
resolve(nodes) // 通过调用resolve将子节点数据返回,通知组件数据加载完成
|
||||
}).catch((e) => {
|
||||
this.editloading = false
|
||||
this.listLoading = false
|
||||
})
|
||||
}, 500)
|
||||
|
@ -588,8 +590,6 @@ export default {
|
|||
console.log(row)
|
||||
this.dialogType = 'editUser'
|
||||
this.pd = JSON.parse(JSON.stringify(row))
|
||||
this.dialogFormEdit = true
|
||||
await this.$nextTick()
|
||||
const areaRefID = []
|
||||
if (this.pd.PROVINCE) {
|
||||
areaRefID.push(this.pd.PROVINCE)
|
||||
|
@ -609,14 +609,6 @@ export default {
|
|||
refDeptLevelVal.id = this.pd.deptLevenlID
|
||||
const deptRefsValue = {}
|
||||
deptRefsValue.id = this.pd.DEPARTMENT_ID
|
||||
// this.$nextTick(() => { // 此处使用这个可以等节点渲染后再获取节点
|
||||
// if (this.$refs.refFromDeptTypeID) {
|
||||
// this.$refs.refFromDeptTypeID.handleNodeClick(refDeptLevelVal)
|
||||
// }
|
||||
// if (this.$refs.deptTree) {
|
||||
// this.$refs.deptTree.handleNodeClick(deptRefsValue)
|
||||
// }
|
||||
// }
|
||||
var arrString = []
|
||||
if (this.pd.ROLE_ID != null && this.pd.ROLE_ID != '') {
|
||||
arrString.push(this.pd.ROLE_ID)
|
||||
|
@ -631,17 +623,9 @@ export default {
|
|||
}
|
||||
}
|
||||
this.pd.ROLE_ID = arrString
|
||||
// var roleIds = []
|
||||
// if (this.pd.ROLE_ID) {
|
||||
// roleIds.push(this.pd.ROLE_ID)
|
||||
// if (this.pd.ROLE_IDS) {
|
||||
// var roleIDS = this.pd.ROLE_IDS.split(',')
|
||||
// roleIDS.forEach((item) => {
|
||||
// roleIds.push(item)
|
||||
// })
|
||||
// }
|
||||
// }
|
||||
// this.pd.ROLE_ID = roleIds
|
||||
this.dialogFormEdit = true
|
||||
await this.$nextTick()
|
||||
|
||||
},
|
||||
handleEditStatus(row, type) {
|
||||
const typeName = type == '1' ? '禁用' : '启用'
|
||||
|
|
Loading…
Reference in New Issue