lijinlong
李劲龙 2 months ago
parent a7e98690f2
commit 36eac05ed4

@ -1,6 +1,7 @@
<template>
<!-- 任务管理资产详情 -->
<div class="L-assets-info">
<el-backtop target=".L-assets-info" />
<div class="assets-info-top">
<el-row style="margin: 10px 0;">
<span class="top-title-box">基本信息</span>
@ -2876,10 +2877,21 @@ export default {
assetId: this.$route.query.assetId
}
if (this.$route.query.pageType == 'look') {
this.getInfo(obj)
this.disabled = true;
this.isMore = true;
this.$nextTick(()=>{
const inputElements = document.querySelectorAll('.el-input__inner');
const textareaInputElements = document.querySelectorAll('.el-textarea__inner');
inputElements.forEach((input) => {
input.placeholder = '';
});
textareaInputElements.forEach((input) => {
input.placeholder = '';
});
})
} else if (this.$route.query.pageType == 'change') {
this.getInfo(obj)
this.disabled = false;

@ -194,7 +194,7 @@
</template>
<script>
import myPagination from "@/views/components/Pagination/index.vue"
import { getassetTaskid, geassetTaskcHc,assetTaskdwHc,assetLcpage } from "@/api/renwuApi/index.js"
import { getassetTaskid, geassetTaskcHc,assetTaskdwHc,assetLcpage,assetLcpageList } from "@/api/renwuApi/index.js"
export default {
dicts: ['zc_xtlx'],

@ -1,6 +1,7 @@
<template>
<!-- 任务管理资产详情 -->
<div class="L-assets-info">
<el-backtop target=".L-assets-info" />
<div class="assets-info-top">
<el-row style="margin: 10px 0;">
<span class="top-title-box">基本信息</span>
@ -2826,6 +2827,16 @@ export default {
this.getInfo(obj)
this.disabled = true;
this.isMore = true;
this.$nextTick(()=>{
const inputElements = document.querySelectorAll('.el-input__inner');
const textareaInputElements = document.querySelectorAll('.el-textarea__inner');
inputElements.forEach((input) => {
input.placeholder = '';
});
textareaInputElements.forEach((input) => {
input.placeholder = '';
});
})
} else if (this.$route.query.pageType == 'change') {
this.getInfo(obj)
this.disabled = false;

@ -203,40 +203,7 @@ export default {
],
loading: false,
tabHeader: undefined,
timeLineData: [{
status: 1,
timestamp: '2024-11-11 17:00:00'
}, {
status: 2,
timestamp: '2024-11-11 17:00:00'
}, {
status: 3,
timestamp: '2024-11-11 17:00:00'
}, {
status: 2,
timestamp: '2024-11-11 17:00:00'
}, {
status: 4,
timestamp: '2024-11-11 17:00:00'
}, {
status: 2,
timestamp: '2024-11-11 17:00:00'
}, {
status: 4,
timestamp: '2024-11-11 17:00:00'
}, {
status: 2,
timestamp: '2024-11-11 17:00:00'
}, {
status: 4,
timestamp: '2024-11-11 17:00:00'
}, {
status: 2,
timestamp: '2024-11-11 17:00:00'
}, {
status: 4,
timestamp: '2024-11-11 17:00:00'
}],
timeLineData: [],
titleInfoObj: {}
}
},
@ -254,6 +221,41 @@ export default {
},
methods: {
//
returnidimg(iswenzi){
// let obj = {
// '':require('@/assets/images/rwxf.png'),
// "":require('@/assets/images/wctj.png'),
// ",":require('@/assets/images/shbh.png'),
// "":require('@/assets/images/shtg.png'),
// }
let listsna = [
{
name:"下发",
imgdata:require('@/assets/images/rwxf.png'),
},{
name:"提交",
imgdata:require('@/assets/images/wctj.png'),
},{
name:"不通过",
imgdata:require('@/assets/images/shbh.png'),
},{
name:"审核通过",
imgdata:require('@/assets/images/shtg.png'),
},{
name:"驳回",
imgdata:require('@/assets/images/shbh.png'),
}
]
let item = listsna.find(item=>iswenzi.includes(item.name))
if(item){
return item.imgdata
}else{
return require('@/assets/images/wctj.png')
}
},
assetLcpageList(){
let obj = {
taskId:this.$route.query.id || this.$route.meta.id

Loading…
Cancel
Save