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

@ -1,6 +1,7 @@
<template> <template>
<!-- 任务管理资产详情 --> <!-- 任务管理资产详情 -->
<div class="L-assets-info"> <div class="L-assets-info">
<el-backtop target=".L-assets-info" />
<div class="assets-info-top"> <div class="assets-info-top">
<el-row style="margin: 10px 0;"> <el-row style="margin: 10px 0;">
<span class="top-title-box">基本信息</span> <span class="top-title-box">基本信息</span>
@ -2880,6 +2881,17 @@ export default {
this.getInfo(obj) this.getInfo(obj)
this.disabled = true; this.disabled = true;
this.isMore = 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') { } else if (this.$route.query.pageType == 'change') {
this.getInfo(obj) this.getInfo(obj)
this.disabled = false; this.disabled = false;

@ -194,7 +194,7 @@
</template> </template>
<script> <script>
import myPagination from "@/views/components/Pagination/index.vue" 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 { export default {
dicts: ['zc_xtlx'], dicts: ['zc_xtlx'],

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

@ -203,40 +203,7 @@ export default {
], ],
loading: false, loading: false,
tabHeader: undefined, tabHeader: undefined,
timeLineData: [{ 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'
}],
titleInfoObj: {} titleInfoObj: {}
} }
}, },
@ -254,6 +221,41 @@ export default {
}, },
methods: { 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(){ assetLcpageList(){
let obj = { let obj = {
taskId:this.$route.query.id || this.$route.meta.id taskId:this.$route.query.id || this.$route.meta.id

Loading…
Cancel
Save