更改单位

lijinlong
李劲龙 3 months ago
parent 371562ba3b
commit 138874f99b

@ -5,7 +5,7 @@ VUE_APP_TITLE = 若依管理系统
ENV = 'development'
# 若依管理系统/开发环境
VUE_APP_BASE_API = 'http://192.168.0.107:9015'
VUE_APP_BASE_API = 'http://192.168.0.108:9015'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true

@ -123,7 +123,7 @@
</el-form-item>
<el-form-item label="核查单位" prop="dwmc" class="select-box">
<el-col >
<el-select v-model="ruleForm.dwmc" placeholder="请选择活动区域" multiple collapse-tags>
<el-select v-model="ruleForm.dwmc" placeholder="请选择核查单位" multiple collapse-tags>
</el-select>
</el-col>
<el-col class="btn-box">
@ -275,6 +275,10 @@ export default {
//
addliebiao() {
this.$refs.liebiaoDialog.open()
setTimeout(() => {
this.$refs.danweiList.getList()
}, 100);
if (this.tabclicklist) {
setTimeout(() => {
this.$refs.danweiList.dakai(this.tabclicklist)
@ -283,6 +287,13 @@ export default {
},
liebiaoClose() {
this.$refs.danweiList.queryParams = {
current: 1,
size: 10,
userName: undefined,
nickName: undefined,
dwlx: undefined,
},
this.$refs.liebiaoDialog.close()
},

@ -102,8 +102,11 @@
<el-table-column label="资产编号" key="id" width="200px" prop="id" align="center" />
<el-table-column label="系统名称" key="xtmc" prop="xtmc" align="center" />
<el-table-column label="系统类型" key="xtlx" prop="xtlx" align="center">
<template slot-scope="scope">
<dict-tag :options="dict.type.zc_xtlx" :value="scope.row.xtlx" />
<template slot-scope="scope" >
<div v-if='scope.row.xtlx'>
<dict-tag :options="dict.type.zc_xtlx" :value="scope.row.xtlx" />
</div>
</template>
</el-table-column>
<el-table-column label="核查单位" key="zcdwmc" prop="zcdwmc" align="center" />
@ -200,7 +203,7 @@ export default {
return {
index: 1,
formInline: {
xtlx:""
},
formInlineTwo: {
dwmc: "",
@ -271,7 +274,10 @@ export default {
},
//
assetLcpageList(){
assetLcpage(this.$route.query.id || this.$route.meta.id).then(res=>{
let obj = {
taskId:this.$route.query.id || this.$route.meta.id
}
assetLcpage(obj).then(res=>{
this.timeLineData = res.data
})
},
@ -329,7 +335,7 @@ export default {
}
if (this.index == 1) {
this.formInline = {
xtlx:""
}
this.getList();
} else if (this.index == 2) {
@ -386,7 +392,6 @@ export default {
},
getListTwo() {
this.loading = true
this.pagination.taskId = this.$route.query.id || this.$route.meta.id
assetTaskdwHc(this.pagination).then(res=>{
this.tableDataTwo = res.data.records

@ -227,6 +227,7 @@ export default {
/** 查询用户列表 */
getList() {
this.loading = true;
this.queryParams.isSearch = 1
listUnitdw(this.queryParams).then(response => {
this.userList = response.data.records;
this.total = response.data.total;

@ -158,18 +158,16 @@
<div class="timeline">
<div class="timeline-items" v-for="(item,index) in timeLineData">
<div class="left-box">
<img class="main-img" v-if="item.status == 1" src="@/assets/images/rwxf.png" alt="">
<img class="main-img" v-if="item.status == 2" src="@/assets/images/wctj.png" alt="">
<img class="main-img" v-if="item.status == 3" src="@/assets/images/shbh.png" alt="">
<img class="main-img" v-if="item.status == 4" src="@/assets/images/shtg.png" alt="">
<img class="main-img" :src="returnidimg(item.assetName)" alt="">
<!-- <img class="main-img" v-if="item.status == 2" src="" alt="">
<img class="main-img" v-if="item.status == 3" src="" alt="">
<img class="main-img" v-if="item.status == 4" src="" alt=""> -->
<img class="icon-jt" v-if="(index + 1) != timeLineData.length" src="@/assets/images/icon-jt@2x.png" alt="">
</div>
<div class="right-box">
<span class="span-title" v-if="item.status == 1">:</span>
<span class="span-title" v-if="item.status == 2">:</span>
<span class="span-title" v-if="item.status == 3">:</span>
<span class="span-title" v-if="item.status == 4">:</span>
<span class="span-time">{{ item.timestamp }}</span>
<span class="span-title" >{{item.assetName}}:</span>
<span class="span-time">{{ item.xfTime }}</span>
</div>
</div>
</div>
@ -248,12 +246,22 @@ export default {
this.cancalDebounce();
window.addEventListener('resize', this.cancalDebounce);
this.titleInfo()
this.assetLcpageList()
},
destroyed() {
window.removeEventListener('resize', this.cancalDebounce);
},
methods: {
assetLcpageList(){
let obj = {
taskId:this.$route.query.id || this.$route.meta.id
}
assetLcpage(obj).then(res=>{
this.timeLineData = res.data
})
},
goInfo(type, row) {
//
if (type == 1) {

Loading…
Cancel
Save