小程序资产修改

main
项洋 4 days ago
parent ce25cf985b
commit 8dd1c39bbc

@ -163,16 +163,6 @@
> >
</el-row> </el-row>
</webZCinfo> </webZCinfo>
<!-- <el-row
style="margin: 10px 0; padding-bottom: 50px; text-align: center"
v-if="(pageType === 'change' || pageType === 'add') && !audit"
> -->
<!-- <el-button type="danger" @click="sendBack"></el-button>
<el-button type="primary" @click="newAssets" :loading="loading"
>提交</el-button
> -->
<!-- </el-row> -->
</template> </template>
<script setup> <script setup>
import webZCinfo from "./webZCinfo.vue"; import webZCinfo from "./webZCinfo.vue";
@ -223,8 +213,11 @@ const webZCinfoRef = ref();
const liebiaoDialogRef = ref(); const liebiaoDialogRef = ref();
const ruleFormRef = ref(); const ruleFormRef = ref();
const navigateBack =()=>{
router.go(-1);
}
const sendBack = () => { const sendBack = () => {
router.push({ name: route.query.name, params: queryData.value }); navigateBack();
}; };
const newAssets = async (typeButtom1) => { const newAssets = async (typeButtom1) => {
@ -241,7 +234,7 @@ const newAssets = async (typeButtom1) => {
console.log(typeButtom, "typeButtom"); console.log(typeButtom, "typeButtom");
if (typeButtom === 1) { if (typeButtom === 1) {
loading.value = true; loading.value = true;
router.go(-1); navigateBack(); // router.go(-1)
loading.value = false; loading.value = false;
return; return;
} }
@ -297,7 +290,7 @@ const newAssets = async (typeButtom1) => {
const res = await assetTaskzc(ruleForm); const res = await assetTaskzc(ruleForm);
console.log(res, "res"); console.log(res, "res");
ElMessage.success("修改成功"); ElMessage.success("修改成功");
router.go(-1); navigateBack();
} catch (error) { } catch (error) {
console.error(error); console.error(error);
ElMessage.error("修改失败"); ElMessage.error("修改失败");
@ -316,7 +309,7 @@ const newAssets = async (typeButtom1) => {
const res = await assetTaskjyTj(ruleForm); const res = await assetTaskjyTj(ruleForm);
console.log(res, "res"); console.log(res, "res");
ElMessage.success("提交成功"); ElMessage.success("提交成功");
router.go(-1); navigateBack();
} catch (error) { } catch (error) {
console.error(error); console.error(error);
ElMessage.info("请填写完整"); ElMessage.info("请填写完整");
@ -374,7 +367,7 @@ const newAssets = async (typeButtom1) => {
ElMessage.success("提交成功,待管理员审核通过后完成新增"); ElMessage.success("提交成功,待管理员审核通过后完成新增");
} }
} }
router.push({ name: name.value, params: queryData.value }); navigateBack();
} catch (err) { } catch (err) {
console.error(err); console.error(err);
} finally { } finally {
@ -407,7 +400,7 @@ const newAssets1 = async (type) => {
if (res.code == 200) { if (res.code == 200) {
ElMessage.success("审核成功"); ElMessage.success("审核成功");
loading.value = false; loading.value = false;
router.go(-1); navigateBack();
} }
}) })
.catch(() => { .catch(() => {
@ -452,7 +445,7 @@ const submitReject = () => {
if (res.code == 200) { if (res.code == 200) {
ElMessage.success("审核成功"); ElMessage.success("审核成功");
webZCinfoRef.value.liebiaoDialog.close(); webZCinfoRef.value.liebiaoDialog.close();
router.go(-1); navigateBack();
} }
} catch (e) { } catch (e) {
ElMessage.error("操作失败"); ElMessage.error("操作失败");
@ -472,7 +465,7 @@ const submitReject = () => {
message: "已关停", message: "已关停",
}); });
loading.value = false; loading.value = false;
router.go(-1); navigateBack();
webZCinfoRef.value.ruleForm.bfyy = ""; webZCinfoRef.value.ruleForm.bfyy = "";
} catch (error) { } catch (error) {
console.error(error); console.error(error);
@ -493,7 +486,7 @@ const submitReject = () => {
if (res.code == 200) { if (res.code == 200) {
ElMessage.success("审核驳回"); ElMessage.success("审核驳回");
webZCinfoRef.value.liebiaoDialog.close(); webZCinfoRef.value.liebiaoDialog.close();
router.push({ name: name.value, params: queryData.value }); navigateBack();
} }
} catch (e) { } catch (e) {
ElMessage.error("操作失败"); ElMessage.error("操作失败");
@ -516,7 +509,7 @@ const btnPass = async () => {
xtmc: ruleForm?.xtmc, xtmc: ruleForm?.xtmc,
}); });
ElMessage.success("审核通过"); ElMessage.success("审核通过");
router.push({ name: name.value, params: queryData.value }); navigateBack();
} catch (err) { } catch (err) {
// ElMessage.error(""); // ElMessage.error("");
} finally { } finally {

@ -1,4 +1,3 @@
<!--assetsManage/assets-->
<template> <template>
<el-row <el-row
:gutter="20" :gutter="20"
@ -29,19 +28,9 @@
/> />
</div> </div>
</el-col> </el-col>
<el-col <el-col :span="20" :xs="24" style="height: 100%; flex: 1">
:span="20" <div class="L-main" id="L-size-main">
:xs="24" <div class="content-search" id="L-header">
style="height: 100%; flex: 1"
>
<div
class="L-main"
id="L-size-main"
>
<div
class="content-search"
id="L-header"
>
<div class="search-title">查询条件</div> <div class="search-title">查询条件</div>
<el-form <el-form
:inline="true" :inline="true"
@ -52,10 +41,7 @@
> >
<el-row :gutter="30"> <el-row :gutter="30">
<el-col :span="8"> <el-col :span="8">
<el-form-item <el-form-item label="系统名称:" prop="xtmc">
label="系统名称:"
prop="xtmc"
>
<el-input <el-input
v-model="formInline.xtmc" v-model="formInline.xtmc"
placeholder="请输入系统名称" placeholder="请输入系统名称"
@ -63,10 +49,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item <el-form-item label="系统类型:" prop="xtlx">
label="系统类型:"
prop="xtlx"
>
<el-select <el-select
v-model="formInline.xtlx" v-model="formInline.xtlx"
placeholder="请选择系统类型" placeholder="请选择系统类型"
@ -82,10 +65,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item <el-form-item label="新增时间:" prop="time">
label="新增时间:"
prop="time"
>
<el-date-picker <el-date-picker
v-model="formInline.time" v-model="formInline.time"
format="yyyy-MM-dd HH:mm:ss" format="yyyy-MM-dd HH:mm:ss"
@ -101,10 +81,7 @@
</el-row> </el-row>
<el-row :gutter="30"> <el-row :gutter="30">
<el-col :span="8"> <el-col :span="8">
<el-form-item <el-form-item label="单位名称:" prop="dwmc">
label="单位名称:"
prop="dwmc"
>
<el-input <el-input
v-model="formInline.dwmc" v-model="formInline.dwmc"
placeholder="请输入单位名称" placeholder="请输入单位名称"
@ -112,10 +89,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item <el-form-item label="系统状态:" prop="xtzt">
label="系统状态:"
prop="xtzt"
>
<el-select <el-select
v-model="formInline.xtzt" v-model="formInline.xtzt"
placeholder="请选择系统状态" placeholder="请选择系统状态"
@ -130,10 +104,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col <el-col :span="8" style="text-align: right; padding-right: 35px">
:span="8"
style="text-align: right; padding-right: 35px"
>
<el-form-item <el-form-item
style=" style="
display: flex; display: flex;
@ -142,9 +113,7 @@
" "
> >
<el-button @click="resetQuery"></el-button> <el-button @click="resetQuery"></el-button>
<el-button <el-button type="primary" @click="handleQuery"
type="primary"
@click="handleQuery"
>查询</el-button >查询</el-button
> >
</el-form-item> </el-form-item>
@ -155,16 +124,9 @@
<main> <main>
<div class="search-title"> <div class="search-title">
<span class="search-title-span">资产列表</span> <span class="search-title-span">资产列表</span>
<el-row <el-row :gutter="10" class="mb8">
:gutter="10"
class="mb8"
>
<el-col :span="1.5"> <el-col :span="1.5">
<el-button <el-button type="info" plain icon="Upload" @click="handleImport"
type="info"
plain
icon="Upload"
@click="handleImport"
>导入</el-button >导入</el-button
> >
</el-col> </el-col>
@ -178,11 +140,7 @@
> >
</el-col> </el-col>
<el-col :span="1.5"> <el-col :span="1.5">
<el-button <el-button type="primary" plain icon="Plus" @click="handleAdd"
type="primary"
plain
icon="Plus"
@click="handleAdd"
>新增资产</el-button >新增资产</el-button
> >
</el-col> </el-col>
@ -216,10 +174,7 @@
align="center" align="center"
> >
<template #default="scope"> <template #default="scope">
<dict-tag <dict-tag :options="zc_xtlx" :value="scope.row.xtlx" />
:options="zc_xtlx"
:value="scope.row.xtlx"
/>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@ -242,34 +197,22 @@
align="center" align="center"
> >
<template #default="scope"> <template #default="scope">
<span <span v-if="scope.row.xtzt == 1" style="color: #16b771"
v-if="scope.row.xtzt == 1"
style="color: #16b771"
>已安装</span >已安装</span
> >
<span <span v-if="scope.row.xtzt == 2" style="color: #f58a0c"
v-if="scope.row.xtzt == 2"
style="color: #f58a0c"
>测试中</span >测试中</span
> >
<span <span v-if="scope.row.xtzt == 3" style="color: #1485ef"
v-if="scope.row.xtzt == 3"
style="color: #1485ef"
>使用中</span >使用中</span
> >
<span <span v-if="scope.row.xtzt == 4" style="color: #29a07a"
v-if="scope.row.xtzt == 4"
style="color: #29a07a"
>维护中</span >维护中</span
> >
<span <span v-if="scope.row.xtzt == 5" style="color: #f50c0c"
v-if="scope.row.xtzt == 5"
style="color: #f50c0c"
>关停</span >关停</span
> >
<span <span v-if="scope.row.xtzt == 6" style="color: #f50c0c"
v-if="scope.row.xtzt == 6"
style="color: #f50c0c"
>备用</span >备用</span
> >
</template> </template>
@ -409,9 +352,7 @@
</el-upload> </el-upload>
<template #footer> <template #footer>
<div class="dialog-footer"> <div class="dialog-footer">
<el-button <el-button type="primary" @click="submitFileForm"
type="primary"
@click="submitFileForm"
> </el-button > </el-button
> >
<el-button @click="upload.open = false"> </el-button> <el-button @click="upload.open = false"> </el-button>
@ -423,7 +364,14 @@
</el-row> </el-row>
</template> </template>
<script setup> <script setup>
import { ref, reactive, onMounted, onUnmounted, getCurrentInstance } from "vue"; import {
ref,
reactive,
onMounted,
onUnmounted,
getCurrentInstance,
onActivated,
} from "vue";
import { useRouter } from "vue-router"; import { useRouter } from "vue-router";
import myPagination from "@/views/components/Pagination/index.vue"; import myPagination from "@/views/components/Pagination/index.vue";
import { getToken } from "@/utils/auth"; import { getToken } from "@/utils/auth";
@ -656,12 +604,12 @@ const cancalDebounce = () => {
}; };
onMounted(() => { onMounted(() => {
if (Object.keys(router.currentRoute.value.params).length !== 0) { // if (Object.keys(router.currentRoute.value.params).length !== 0) {
Object.assign(formInline, router.currentRoute.value.params); // Object.assign(formInline, router.currentRoute.value.params);
} else { // } else {
formInline.current = 1; formInline.current = 1;
formInline.size = 20; formInline.size = 20;
} // }s
getList(); getList();
getDeptTree(); getDeptTree();
cancalDebounce(); cancalDebounce();

@ -0,0 +1,80 @@
<template>
<div>
<my-dialog title="提示" ref="liebiaoDialog" @close="importClose" class="taskDialogBox" width="40%">
<el-row>
<el-col :span="21">
<el-form :model="dialogruleForm" :rules="dialogruleFormrules" ref="eldialogruleForm" label-width="100px">
<el-form-item label="关停原因:" prop="bfyy">
<el-input v-model="dialogruleForm.bfyy" placeholder="请输入关停原因"></el-input>
</el-form-item>
<el-form-item class="newTask-form-item">
<el-button @click="resetForm('eldialogruleForm')"></el-button>
<el-button type="primary" @click="submitForm('eldialogruleForm')"></el-button>
</el-form-item>
</el-form>
</el-col>
<el-col :span="6"></el-col>
</el-row>
</my-dialog>
</div>
</template>
<script>
import myDialog from "@/views/components/myDialog/index.vue"
export default {
components:{
myDialog
},
name: 'baofei',
data () {
return {
dialogruleForm:{
bfyy:""
},
dialogruleFormrules:{
bfyy: [
{ required: true, message: '请输入', trigger: 'blur' },
],
},
}
},
created () { },
mounted () { },
props:['ruleForm', 'assetTaskzc'],
methods: {
importClose(){},
resetForm() {
this.dialogruleForm = {
bfyy:""
}
this.$refs.liebiaoDialog.close()
},
open(){
this.$refs.liebiaoDialog.open()
},
submitForm(formName) {
this.$refs[formName].validate((valid) => {
if (valid) {
this.ruleForm.isbf = 2
this.ruleForm.bfyy = this.dialogruleForm.bfyy
this.$emit("assetTaskzc",this.ruleForm)
} else {
console.log('error submit!!');
return false;
}
});
},
},
computed: {}
}
</script>
<style scoped lang='scss'>
</style>

@ -0,0 +1,94 @@
<template>
<div>
<my-dialog title="提示" ref="liebiaoDialog" @close="importClose" class="taskDialogBox" width="40%">
<el-row>
<el-col :span="21">
<el-form :model="dialogruleForm" :rules="dialogruleFormrules" ref="dialogruleForm" label-width="100px">
<el-form-item label="不通过原因:" prop="btgyy">
<el-input v-model="dialogruleForm.btgyy" placeholder="请输入不通过原因"></el-input>
</el-form-item>
<el-form-item class="newTask-form-item">
<el-button @click="resetForm('dialogruleForm')"></el-button>
<el-button type="primary" @click="submitForm('dialogruleForm')"></el-button>
</el-form-item>
</el-form>
</el-col>
<el-col :span="6"></el-col>
</el-row>
</my-dialog>
</div>
</template>
<script>
import myDialog from "@/views/components/myDialog/index.vue"
import { assetTasksh } from "@/api/renwuApi/index.js"
export default {
components:{
myDialog
},
name: 'baofei',
data () {
return {
dialogruleForm:{
btgyy:""
},
dialogruleFormrules:{
btgyy: [
{ required: true, message: '请输入', trigger: 'blur' },
],
},
}
},
created () { },
mounted () { },
props:['chuandemingcheng', 'assetTaskzc',"dataname","ruleForm"],
methods: {
importClose(){},
resetForm() {
this.dialogruleForm = {
btgyy:""
}
this.$refs.liebiaoDialog.close()
},
open(){
this.$refs.liebiaoDialog.open()
},
submitForm(formName) {
this.$refs[formName].validate((valid) => {
if (valid) {
let tijioaobj = {
taskId: this.$route.query.taskId,
assetId: this.$route.query.assetId,
xtmc:this.chuandemingcheng,
btgyy:this.dialogruleForm.btgyy,
dwmc:this.$route.query.zcdwmc,
status: 4,
type:this.$route.query.type
}
tijioaobj[this.dataname] = this.ruleForm
assetTasksh(tijioaobj).then(res=>{
if(res.code == 200){
this.$modal.msgSuccess("审核成功");
this.$router.go(-1);
}
})
} else {
console.log('error submit!!');
return false;
}
});
},
},
computed: {}
}
</script>
<style scoped lang='scss'>
</style>

@ -183,6 +183,7 @@ import {
unitEdit, unitEdit,
assetAudit, assetAudit,
lookInfo, lookInfo,
miniProgramsUnitEdit
} from "@/api/auditPagesApi/index"; } from "@/api/auditPagesApi/index";
import { ref } from "vue"; import { ref } from "vue";
@ -204,11 +205,10 @@ const type = ref(route.query.type);
let loading = ref(false); let loading = ref(false);
const xcxZCinfoRef = ref(); const xcxZCinfoRef = ref();
const liebiaoDialogRef = ref();
const ruleFormRef = ref(); const ruleFormRef = ref();
const sendBack = () => { const sendBack = () => {
router.push({ name: route.query.name, params: queryData.value }); router.go(-1);
}; };
const newAssets = async (typeButtom1) => { const newAssets = async (typeButtom1) => {
@ -221,7 +221,7 @@ const newAssets = async (typeButtom1) => {
} }
console.log(typeButtom, "typeButtom"); console.log(typeButtom, "typeButtom");
if (!Object.is(typeButtom, undefined)) { if (!Object.is(typeButtom,'')) {
console.log(typeButtom, "typeButtom"); console.log(typeButtom, "typeButtom");
if (typeButtom === 1) { if (typeButtom === 1) {
loading.value = true; loading.value = true;
@ -236,8 +236,8 @@ const newAssets = async (typeButtom1) => {
// //
if (typeButtom === 0) { if (typeButtom === 0) {
console.log(typeButtom, "typeButtom"); xcxZCinfoRef.value.liebiaoDialog?.open();
baofeiRef.value?.open(); return;
} }
// //
@ -274,12 +274,13 @@ const newAssets = async (typeButtom1) => {
} }
} }
} else { } else {
console.log(typeButtom, "typeButtom");
try { try {
await xcxZCinfoRef.value.ruleFormRef.validate(); await xcxZCinfoRef.value.ruleFormRef.validate();
console.log(typeButtom, "typeButtom");
loading.value = true; loading.value = true;
if (pageType.value === "change") { if (pageType.value === "change") {
await unitEdit(ruleForm); await miniProgramsUnitEdit(ruleForm);
ElMessage.success("提交成功,待管理员审核通过后完成修改"); ElMessage.success("提交成功,待管理员审核通过后完成修改");
} else { } else {
ruleForm.xzType = 1; ruleForm.xzType = 1;
@ -287,10 +288,11 @@ const newAssets = async (typeButtom1) => {
if (pageType.value === "add" && name.value == "XcxZC") { if (pageType.value === "add" && name.value == "XcxZC") {
ElMessage.success("新增成功"); ElMessage.success("新增成功");
} else if (pageType.value === "add") { } else if (pageType.value === "add") {
console.log(typeButtom, "typeButtom");
ElMessage.success("提交成功,待管理员审核通过后完成新增"); ElMessage.success("提交成功,待管理员审核通过后完成新增");
} }
} }
router.push({ name: name.value, params: queryData.value }); router.go(-1);
} catch (err) { } catch (err) {
console.error(err); console.error(err);
} finally { } finally {
@ -341,77 +343,87 @@ const btnReject = () => {
xcxZCinfoRef.value.butongguoRef.open(); xcxZCinfoRef.value.butongguoRef.open();
}; };
const submitReject = () => { const submitReject = (formData) => {
// console.log("submitReject called in parent", formData);
xcxZCinfoRef.value.dialogruleFormRef?.validate(async (valid) => {
if (valid) { // name使
// name使 if (name.value === "TaskManagement-info") {
if (name.value === "TaskManagement-info") { // 使assetTasksh
// 使assetTasksh let tijioaobj = {
let tijioaobj = { taskId: route.query.taskId,
taskId: route.query.taskId, assetId: route.query.assetId,
assetId: route.query.assetId, xtmc: xcxZCinfoRef.value.ruleForm.xcxmc,
xtmc: xcxZCinfoRef.value.ruleForm.xcxmc, btgyy: formData.auditYy,
btgyy: xcxZCinfoRef.value.dialogruleForm.auditYy, status: 4,
status: 4, type: route.query.type,
type: route.query.type, assetMiniProgramsCpPo: xcxZCinfoRef.value.ruleForm,
assetMiniProgramsCpPo: xcxZCinfoRef.value.ruleForm, };
};
try { try {
loading.value = true; loading.value = true;
const res = await assetTasksh(tijioaobj); assetTasksh(tijioaobj).then(res => {
if (res.code == 200) { if (res.code == 200) {
ElMessage.success("审核成功"); ElMessage.success("审核成功");
xcxZCinfoRef.value.butongguoRef.close(); xcxZCinfoRef.value.liebiaoDialog?.close();
router.go(-1);
}
} catch (e) {
ElMessage.error("操作失败");
} finally {
loading.value = false;
}
} else if (name.value === "Mytask-info") {
xcxZCinfoRef.value.ruleForm.bfyy = xcxZCinfoRef.value.dialogruleForm?.auditYy;
loading.value = true;
try {
const res = await assetTaskxcxzc(xcxZCinfoRef.value.ruleForm);
console.log(res, "res");
ElMessage({
type: "info",
message: "已关停",
});
router.go(-1); router.go(-1);
xcxZCinfoRef.value.ruleForm.bfyy = "";
} catch (error) {
console.error(error);
ElMessage.error("操作失败");
} finally {
loading.value = false;
} }
} else { }).catch(e => {
// 使assetAudit ElMessage.error("操作失败");
let tijioaobj = { }).finally(() => {
auditState: "3", loading.value = false;
auditYy: xcxZCinfoRef.value.dialogruleForm.auditYy, });
currentId: Number(id.value), } catch (e) {
xzType: 1, loading.value = false;
}; ElMessage.error("操作失败");
}
} else if (name.value === "Mytask-info") {
xcxZCinfoRef.value.ruleForm.bfyy = formData.auditYy;
loading.value = true;
try {
assetTaskxcxzc(xcxZCinfoRef.value.ruleForm).then(res => {
console.log(res, "res");
ElMessage({
type: "info",
message: "已关停",
});
xcxZCinfoRef.value.liebiaoDialog?.close();
router.go(-1);
xcxZCinfoRef.value.ruleForm.bfyy = "";
}).catch(error => {
console.error(error);
ElMessage.error("操作失败");
}).finally(() => {
loading.value = false;
});
} catch (error) {
console.error(error);
loading.value = false;
ElMessage.error("操作失败");
}
} else {
// 使assetAudit
let tijioaobj = {
auditState: "3",
auditYy: formData.auditYy,
currentId: Number(id.value),
xzType: 1,
};
try { try {
const res = await assetAudit(tijioaobj); assetAudit(tijioaobj).then(res => {
if (res.code == 200) { if (res.code == 200) {
ElMessage.success("审核驳回"); ElMessage.success("审核驳回");
xcxZCinfoRef.value.butongguoRef.close(); xcxZCinfoRef.value.liebiaoDialog?.close();
router.push({ name: name.value, params: queryData.value }); router.push({ name: name.value, params: queryData.value });
}
} catch (e) {
ElMessage.error("操作失败");
} }
} }).catch(e => {
ElMessage.error("操作失败");
});
} catch (e) {
ElMessage.error("操作失败");
} }
}); }
}; };
const btnPass = async () => { const btnPass = async () => {

@ -0,0 +1,35 @@
// src/mixins/myMixin.js
export default {
data() {
return {
}
},
created() {
},
methods: {
sendBack() {
if (localStorage.getItem('ismypaginationTow')) {
let formInline = JSON.parse(localStorage.getItem('ismypaginationTow'))
formInline.isfanhuiTow = true
localStorage.setItem("ismypaginationTow", JSON.stringify(formInline))
}
console.log();
if (this.$route.query.istijiaoshow) {
this.$router.push({
name: 'TaskInfo', query: {
// pageType: "look",
id: this.$route.query.taskId,
assetId: this.$route.query.lookassetId,
lookassetId: this.$route.query.lookassetId,
pageType: this.$route.query.pageTypetow,
istijiaoshow: true
}
})
} else {
this.$router.go(-1);
}
},
}
};

File diff suppressed because it is too large Load Diff

@ -314,7 +314,7 @@ function handleExport() {
const handleAdd = () => { const handleAdd = () => {
proxy.setActiveMenu("/myAssets2/myOfficialAccount"); proxy.setActiveMenu("/myAssets2/myOfficialAccount");
router.push({ router.push({
path: "/assetsManage2/xcxZC-info", path: "/assetsManage2/xcxZC-info2",
query: { query: {
pageType: "add", pageType: "add",
type: 1, type: 1,
@ -326,7 +326,7 @@ const goInfo = (row, id) => {
if (id === 1) { if (id === 1) {
proxy.setActiveMenu("/myAssets2/myOfficialAccount2"); proxy.setActiveMenu("/myAssets2/myOfficialAccount2");
router.push({ router.push({
path: "/assetsManage2/xcxZC-info", path: "/assetsManage2/xcxZC-info2",
query: { query: {
name: "MyGzhzc", name: "MyGzhzc",
pageType: "look", pageType: "look",
@ -337,7 +337,7 @@ const goInfo = (row, id) => {
} else if (id === 2) { } else if (id === 2) {
proxy.setActiveMenu("/myAssets2/myOfficialAccount2"); proxy.setActiveMenu("/myAssets2/myOfficialAccount2");
router.push({ router.push({
path: "/assetsManage2/xcxZC-info", path: "/assetsManage2/xcxZC-info2",
query: { query: {
name: "MyGzhzc", name: "MyGzhzc",
pageType: "change", pageType: "change",

@ -1,18 +1,9 @@
<template> <template>
<div class="L-task-info"> <div class="L-task-info">
<div <div class="info-left info-left-two" id="L-size-main">
class="info-left info-left-two" <div class="content-info content-info-two" id="L-header">
id="L-size-main"
>
<div
class="content-info content-info-two"
id="L-header"
>
<div class="info-title">任务详情</div> <div class="info-title">任务详情</div>
<el-button <el-button type="primary" @click="sendBack" class="fanhuipiaofu"
type="primary"
@click="sendBack"
class="fanhuipiaofu"
>返回</el-button >返回</el-button
> >
<div class="teshu-top-info"> <div class="teshu-top-info">
@ -42,10 +33,7 @@
</div> </div>
</div> </div>
<main class="renwuxiangqing"> <main class="renwuxiangqing">
<div <div class="info-cut-off-rule-my" id="L-tab">
class="info-cut-off-rule-my"
id="L-tab"
>
<div class="info-title">资产信息</div> <div class="info-title">资产信息</div>
</div> </div>
<div class="info-bottom-box"> <div class="info-bottom-box">
@ -58,10 +46,7 @@
> >
<el-row> <el-row>
<el-col :span="7"> <el-col :span="7">
<el-form-item <el-form-item label="系统名称:" style="width: 95%">
label="系统名称:"
style="width: 95%"
>
<el-input <el-input
v-model="formInline.xtmc" v-model="formInline.xtmc"
placeholder="请输入" placeholder="请输入"
@ -69,42 +54,19 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="7"> <el-col :span="7">
<el-form-item <el-form-item label="审核状态:" style="width: 95%">
label="审核状态:" <el-select v-model="formInline.status" placeholder="请选择">
style="width: 95%" <el-option label="未核查" value="0"></el-option>
> <el-option label="已核查" value="1"></el-option>
<el-select <el-option label="审核通过" value="3"></el-option>
v-model="formInline.status" <el-option label="审核不通过" value="4"></el-option>
placeholder="请选择" <el-option label="已关停" value="5"></el-option>
>
<el-option
label="未核查"
value="0"
></el-option>
<el-option
label="已核查"
value="1"
></el-option>
<el-option
label="审核通过"
value="3"
></el-option>
<el-option
label="审核不通过"
value="4"
></el-option>
<el-option
label="已关停"
value="5"
></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="7"> <el-col :span="7">
<el-form-item> <el-form-item>
<el-button <el-button type="primary" @click="handleQuery"
type="primary"
@click="handleQuery"
>查询</el-button >查询</el-button
> >
<el-button @click="resetQuery"></el-button> <el-button @click="resetQuery"></el-button>
@ -130,9 +92,7 @@
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<el-form-item> <el-form-item>
<el-button <el-button type="primary" @click="handleQuery"
type="primary"
@click="handleQuery"
>查询</el-button >查询</el-button
> >
<el-button @click="resetQuery"></el-button> <el-button @click="resetQuery"></el-button>
@ -141,10 +101,7 @@
</el-row> </el-row>
</el-form> </el-form>
<section v-if="index === 1"> <section v-if="index === 1">
<el-tabs <el-tabs v-model="activeName" @tab-click="handleClick">
v-model="activeName"
@tab-click="handleClick"
>
<el-tab-pane <el-tab-pane
v-for="item in chanckListTow" v-for="item in chanckListTow"
:key="item.lable" :key="item.lable"
@ -166,16 +123,8 @@
label="序号" label="序号"
align="center" align="center"
/> />
<el-table-column <el-table-column :label="xtmcName" prop="xtmc" align="center" />
:label="xtmcName" <el-table-column label="核查单位" prop="zcdwmc" align="center" />
prop="xtmc"
align="center"
/>
<el-table-column
label="核查单位"
prop="zcdwmc"
align="center"
/>
<el-table-column <el-table-column
label="单位核查时间" label="单位核查时间"
prop="updateTime" prop="updateTime"
@ -189,29 +138,19 @@
align="center" align="center"
> >
<template #default="scope"> <template #default="scope">
<span <span v-if="scope.row.status == 0" style="color: #e6a23c"
v-if="scope.row.status == 0"
style="color: #e6a23c"
>未核查</span >未核查</span
> >
<span <span v-if="scope.row.status == 1" style="color: #67c23a"
v-if="scope.row.status == 1"
style="color: #67c23a"
>已核查</span >已核查</span
> >
<span <span v-if="scope.row.status == 3" style="color: #67c23a"
v-if="scope.row.status == 3"
style="color: #67c23a"
>审核通过</span >审核通过</span
> >
<span <span v-if="scope.row.status == 4" style="color: #f56c6c"
v-if="scope.row.status == 4"
style="color: #f56c6c"
>审核不通过</span >审核不通过</span
> >
<span <span v-if="scope.row.status == 5" style="color: #f56c6c"
v-if="scope.row.status == 5"
style="color: #f56c6c"
>已关停</span >已关停</span
> >
</template> </template>
@ -248,11 +187,7 @@
alt="" alt=""
style="width: 20px; margin-right: 5px" style="width: 20px; margin-right: 5px"
/> />
<span <span class="look-info" style="color: #1485ef">查看</span>
class="look-info"
style="color: #1485ef"
>查看</span
>
</div> </div>
<div <div
v-if=" v-if="
@ -275,11 +210,7 @@
alt="" alt=""
style="width: 15px; margin-right: 5px" style="width: 15px; margin-right: 5px"
/> />
<span <span class="del-info" style="color: #1485ef">核查</span>
class="del-info"
style="color: #1485ef"
>核查</span
>
</div> </div>
<div <div
style=" style="
@ -296,9 +227,7 @@
alt="" alt=""
style="width: 20px; margin-right: 5px" style="width: 20px; margin-right: 5px"
/> />
<span <span class="look-info" style="color: #1485ef"
class="look-info"
style="color: #1485ef"
>查看原因</span >查看原因</span
> >
</div> </div>
@ -330,11 +259,7 @@
:key="index" :key="index"
> >
<div class="left-box"> <div class="left-box">
<img <img class="main-img" :src="returnidimg(item.assetName)" alt="" />
class="main-img"
:src="returnidimg(item.assetName)"
alt=""
/>
<img <img
class="icon-jt" class="icon-jt"
v-if="index + 1 != timeLineData.length" v-if="index + 1 != timeLineData.length"
@ -417,7 +342,9 @@ function sendBack() {
function handleClick(tab) { function handleClick(tab) {
activeName.value = tab.props.name; activeName.value = tab.props.name;
// activeName xtmcName // activeName xtmcName
const current = chanckListTow.value.find(item => item.lable === activeName.value); const current = chanckListTow.value.find(
(item) => item.lable === activeName.value
);
xtmcName.value = current ? current.xtmcName : "系统名称"; xtmcName.value = current ? current.xtmcName : "系统名称";
localStorage.setItem("activeName", activeName.value); localStorage.setItem("activeName", activeName.value);
handleQuery(); handleQuery();
@ -466,27 +393,31 @@ function importClose() {}
const liebiaoDialog = ref(); const liebiaoDialog = ref();
function goInfo(type, row) { function goInfo(type, row) {
const PathName = ref(["WebZC", "XcxZC", "GzhZC", "DzyjZC", "YdyyxtZC"]);
console.log(PathName.value[activeName.value]);
if (type == 1) { if (type == 1) {
console.log(PathName.value[activeName.value] + "-info");
router.push({ router.push({
name: "WebZC-info", name: `${PathName.value[activeName.value]}-info`,
query: { query: {
pageType: "look", pageType: "look",
taskId: row.taskId, taskId: row.taskId,
assetId: row.id, assetId: row.id,
type: activeName.value, type: activeName.value,
name:"Mytask-info" name: "Mytask-info",
}, },
}); });
} }
if (type == 2) { if (type == 2) {
console.log(PathName.value[activeName.value] + "-info");
router.push({ router.push({
name: "WebZC-info", name: `${PathName.value[activeName.value]}-info`,
query: { query: {
pageType: "change", pageType: "change",
taskId: row.taskId, taskId: row.taskId,
assetId: row.id, assetId: row.id,
type: activeName.value, type: activeName.value,
name:"Mytask-info" name: "Mytask-info",
}, },
}); });
} }
@ -535,7 +466,7 @@ function titleInfoObjtype(type = "0,1") {
if (listname.length) { if (listname.length) {
xtmcName.value = listname[0].xtmcName; xtmcName.value = listname[0].xtmcName;
} }
console.log('titleInfoObjtype:', { console.log("titleInfoObjtype:", {
activeName: activeName.value, activeName: activeName.value,
xtmcName: xtmcName.value, xtmcName: xtmcName.value,
chanckListTow: chanckListTow.value, chanckListTow: chanckListTow.value,

@ -1,12 +1,6 @@
<template> <template>
<div <div class="L-main" id="L-size-main">
class="L-main" <div class="content-search" id="L-header">
id="L-size-main"
>
<div
class="content-search"
id="L-header"
>
<div class="search-title">查询条件</div> <div class="search-title">查询条件</div>
<el-form <el-form
:inline="true" :inline="true"
@ -31,39 +25,18 @@
</el-col> --> </el-col> -->
<el-col :span="7"> <el-col :span="7">
<el-form-item label="任务状态:"> <el-form-item label="任务状态:">
<el-select <el-select v-model="formInline.taskStatus" placeholder="请选择">
v-model="formInline.taskStatus" <el-option label="已关闭" value="0"> </el-option>
placeholder="请选择" <el-option label="进行中" value="1"> </el-option>
> <el-option label="正常完成" value="2"> </el-option>
<el-option <el-option label="超期完成" value="3"> </el-option>
label="已关闭"
value="0"
>
</el-option>
<el-option
label="进行中"
value="1"
>
</el-option>
<el-option
label="正常完成"
value="2"
>
</el-option>
<el-option
label="超期完成"
value="3"
>
</el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="3"> <el-col :span="3">
<el-form-item class="unit-form"> <el-form-item class="unit-form">
<el-button @click="resetQuery('queryFrom')"></el-button> <el-button @click="resetQuery('queryFrom')"></el-button>
<el-button <el-button type="primary" @click="handleQuery('queryFrom')"
type="primary"
@click="handleQuery('queryFrom')"
>查询</el-button >查询</el-button
> >
</el-form-item> </el-form-item>
@ -119,40 +92,22 @@
align="center" align="center"
> >
<template #default="scope"> <template #default="scope">
<span <span v-if="scope.row.taskStatus == 0" style="color: #f56c6c">
v-if="scope.row.taskStatus == 0"
style="color: #f56c6c"
>
已关闭 已关闭
</span> </span>
<span <span v-if="scope.row.taskStatus == 1" style="color: #e6a23c">
v-if="scope.row.taskStatus == 1"
style="color: #e6a23c"
>
进行中 进行中
</span> </span>
<span <span v-if="scope.row.taskStatus == 2" style="color: #67c23a">
v-if="scope.row.taskStatus == 2"
style="color: #67c23a"
>
正常完成 正常完成
</span> </span>
<span <span v-if="scope.row.taskStatus == 3" style="color: #67c23a">
v-if="scope.row.taskStatus == 3"
style="color: #67c23a"
>
超期完成 超期完成
</span> </span>
<span <span v-if="scope.row.taskStatus == 4" style="color: #f56c6c">
v-if="scope.row.taskStatus == 4"
style="color: #f56c6c"
>
审核不通过 审核不通过
</span> </span>
<span <span v-if="scope.row.taskStatus == 5" style="color: #f56c6c">
v-if="scope.row.taskStatus == 5"
style="color: #f56c6c"
>
审核驳回 审核驳回
</span> </span>
</template> </template>
@ -202,9 +157,7 @@
alt="" alt=""
style="width: 15px; margin-right: 5px" style="width: 15px; margin-right: 5px"
/> />
<span <span class="del-info" style="color: #1485ef; cursor: pointer"
class="del-info"
style="color: #1485ef; cursor: pointer"
>开始核查</span >开始核查</span
> >
</div> </div>
@ -397,7 +350,7 @@ function goInfo(row) {
// //
function delInfo(row) { function delInfo(row) {
console.log(row); console.log(row);
proxy.setActiveMenu("/myTask2"); proxy.setActiveMenu("/myTask2");
router.push({ router.push({
name: "Mytask-info", name: "Mytask-info",
query: { query: {

@ -1,13 +1,7 @@
<template> <template>
<div class="L-task-info"> <div class="L-task-info">
<div <div class="info-left" id="L-size-main">
class="info-left" <div class="content-info" id="L-header">
id="L-size-main"
>
<div
class="content-info"
id="L-header"
>
<div class="info-title">任务详情</div> <div class="info-title">任务详情</div>
<el-button <el-button
type="primary" type="primary"
@ -43,10 +37,7 @@
</div> </div>
</div> </div>
</div> </div>
<div <div class="info-cut-off-rule" id="L-tab">
class="info-cut-off-rule"
id="L-tab"
>
<div <div
class="left-tab" class="left-tab"
:class="index == 1 ? 'active-tab' : ''" :class="index == 1 ? 'active-tab' : ''"
@ -54,10 +45,7 @@
> >
资产核查信息 资产核查信息
</div> </div>
<div <div :class="index == 2 ? 'active-tab' : ''" @click="activeTab(2)">
:class="index == 2 ? 'active-tab' : ''"
@click="activeTab(2)"
>
单位完成情况 单位完成情况
</div> </div>
</div> </div>
@ -96,55 +84,22 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="5"> <el-col :span="5">
<el-form-item <el-form-item label="审核状态:" style="width: 95%">
label="审核状态:" <el-select v-model="formInline.status" placeholder="请选择">
style="width: 95%" <el-option label="待核查" value="0"> </el-option>
> <el-option label="待审核" value="1"> </el-option>
<el-select <el-option label="审核通过" value="3"> </el-option>
v-model="formInline.status" <el-option label="审核不通过" value="4"> </el-option>
placeholder="请选择" <el-option label="已关停" value="5"> </el-option>
>
<el-option
label="待核查"
value="0"
>
</el-option>
<el-option
label="待审核"
value="1"
>
</el-option>
<el-option
label="审核通过"
value="3"
>
</el-option>
<el-option
label="审核不通过"
value="4"
>
</el-option>
<el-option
label="已关停"
value="5"
>
</el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="5"> <el-col :span="5">
<el-form-item> <el-form-item>
<el-button <el-button size="default" type="primary" @click="handleQuery()"
size="default"
type="primary"
@click="handleQuery()"
>查询</el-button >查询</el-button
> >
<el-button <el-button size="default" @click="resetQuery()"></el-button>
size="default"
@click="resetQuery()"
>重置</el-button
>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
@ -174,54 +129,29 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="7"> <el-col :span="7">
<el-form-item <el-form-item label="完成状态:" style="width: 95%">
label="完成状态:"
style="width: 95%"
>
<el-select <el-select
v-model="formInlineTwo.taskStatus" v-model="formInlineTwo.taskStatus"
placeholder="请选择" placeholder="请选择"
> >
<el-option <el-option label="进行中" value="1"> </el-option>
label="进行中" <el-option label="正常完成" value="2"> </el-option>
value="1" <el-option label="超期完成" value="3"> </el-option>
>
</el-option>
<el-option
label="正常完成"
value="2"
>
</el-option>
<el-option
label="超期完成"
value="3"
>
</el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<el-form-item> <el-form-item>
<el-button <el-button size="default" type="primary" @click="handleQuery()"
size="default"
type="primary"
@click="handleQuery()"
>查询</el-button >查询</el-button
> >
<el-button <el-button size="default" @click="resetQuery()"></el-button>
size="default"
@click="resetQuery()"
>重置</el-button
>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
</el-form> </el-form>
<section v-if="index == 1"> <section v-if="index == 1">
<el-tabs <el-tabs v-model="activeName" @tab-click="handleClick">
v-model="activeName"
@tab-click="handleClick"
>
<el-tab-pane <el-tab-pane
:label="item.conent" :label="item.conent"
:name="item.lable" :name="item.lable"
@ -243,11 +173,7 @@
align="center" align="center"
/> />
<!-- <el-table-column label="资产编号" key="id" width="200px" prop="id" align="center" /> --> <!-- <el-table-column label="资产编号" key="id" width="200px" prop="id" align="center" /> -->
<el-table-column <el-table-column :label="xtmcName" prop="xtmc" align="center" />
:label="xtmcName"
prop="xtmc"
align="center"
/>
<!-- <el-table-column label="系统类型" key="xtlx" prop="xtlx" align="center"> <!-- <el-table-column label="系统类型" key="xtlx" prop="xtlx" align="center">
<template #default="scope" > <template #default="scope" >
<div v-if='scope.row.xtlx'> <div v-if='scope.row.xtlx'>
@ -255,11 +181,7 @@
</div> </div>
</template> </template>
</el-table-column> --> </el-table-column> -->
<el-table-column <el-table-column label="核查单位" prop="zcdwmc" align="center" />
label="核查单位"
prop="zcdwmc"
align="center"
/>
<el-table-column <el-table-column
label="单位核查时间" label="单位核查时间"
prop="updateTime" prop="updateTime"
@ -274,34 +196,19 @@
align="center" align="center"
> >
<template #default="scope"> <template #default="scope">
<span <span v-if="scope.row.status == 0" style="color: #e6a230">
v-if="scope.row.status == 0"
style="color: #e6a230"
>
待核查 待核查
</span> </span>
<span <span v-if="scope.row.status == 1" style="color: #e6a23c">
v-if="scope.row.status == 1"
style="color: #e6a23c"
>
待审核 待审核
</span> </span>
<span <span v-if="scope.row.status == 3" style="color: #67c23a">
v-if="scope.row.status == 3"
style="color: #67c23a"
>
审核通过 审核通过
</span> </span>
<span <span v-if="scope.row.status == 4" style="color: #f56c6c">
v-if="scope.row.status == 4"
style="color: #f56c6c"
>
审核不通过 审核不通过
</span> </span>
<span <span v-if="scope.row.status == 5" style="color: #f56c6c">
v-if="scope.row.status == 5"
style="color: #f56c6c"
>
已关停 已关停
</span> </span>
</template> </template>
@ -334,11 +241,7 @@
alt="" alt=""
style="width: 20px; margin-right: 5px" style="width: 20px; margin-right: 5px"
/> />
<span <span class="look-info" style="color: #1485ef">查看</span>
class="look-info"
style="color: #1485ef"
>查看</span
>
</div> </div>
<div <div
style=" style="
@ -359,11 +262,7 @@
alt="" alt=""
style="width: 15px; margin-right: 5px" style="width: 15px; margin-right: 5px"
/> />
<span <span class="look-info" style="color: #1485ef">审核</span>
class="look-info"
style="color: #1485ef"
>审核</span
>
</div> </div>
<!-- scope.row.status == 4 --> <!-- scope.row.status == 4 -->
<div <div
@ -381,9 +280,7 @@
alt="" alt=""
style="width: 20px; margin-right: 5px" style="width: 20px; margin-right: 5px"
/> />
<span <span class="look-info" style="color: #1485ef"
class="look-info"
style="color: #1485ef"
>查看原因</span >查看原因</span
> >
</div> </div>
@ -402,9 +299,7 @@
alt="" alt=""
style="width: 20px; margin-right: 5px" style="width: 20px; margin-right: 5px"
/> />
<span <span class="look-info" style="color: #1485ef"
class="look-info"
style="color: #1485ef"
>提交记录</span >提交记录</span
> >
</div> </div>
@ -413,19 +308,13 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</section> </section>
<section <section v-if="index == 2" class="shuangchongbox">
v-if="index == 2"
class="shuangchongbox"
>
<div <div
class="shuangchongboxleftbox" class="shuangchongboxleftbox"
:class="isshow ? '' : 'shuangchongboxleftboxShow'" :class="isshow ? '' : 'shuangchongboxleftboxShow'"
> >
<div style="margin-bottom: 10px"> <div style="margin-bottom: 10px">
<el-button <el-button size="default" type="primary" @click="daochu()"
size="default"
type="primary"
@click="daochu()"
>导出</el-button >导出</el-button
> >
</div> </div>
@ -458,40 +347,22 @@
align="center" align="center"
> >
<template #default="scope"> <template #default="scope">
<span <span v-if="scope.row.taskStatus == 0" style="color: #f56c6c">
v-if="scope.row.taskStatus == 0"
style="color: #f56c6c"
>
已关闭 已关闭
</span> </span>
<span <span v-if="scope.row.taskStatus == 1" style="color: #e6a23c">
v-if="scope.row.taskStatus == 1"
style="color: #e6a23c"
>
进行中 进行中
</span> </span>
<span <span v-if="scope.row.taskStatus == 2" style="color: #67c23a">
v-if="scope.row.taskStatus == 2"
style="color: #67c23a"
>
正常完成 正常完成
</span> </span>
<span <span v-if="scope.row.taskStatus == 3" style="color: #67c23a">
v-if="scope.row.taskStatus == 3"
style="color: #67c23a"
>
超期完成 超期完成
</span> </span>
<span <span v-if="scope.row.taskStatus == 4" style="color: #f56c6c">
v-if="scope.row.taskStatus == 4"
style="color: #f56c6c"
>
审核不通过 审核不通过
</span> </span>
<span <span v-if="scope.row.taskStatus == 5" style="color: #f56c6c">
v-if="scope.row.taskStatus == 5"
style="color: #f56c6c"
>
审核驳回 审核驳回
</span> </span>
</template> </template>
@ -546,10 +417,7 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
</div> </div>
<div <div class="shouqiwenzi" @click="shouqiisis">
class="shouqiwenzi"
@click="shouqiisis"
>
{{ isshow ? "收起" : "展开" }}>> {{ isshow ? "收起" : "展开" }}>>
</div> </div>
<div <div
@ -578,16 +446,9 @@
> >
<div class="info-title">任务流程节点</div> <div class="info-title">任务流程节点</div>
<div class="timeline"> <div class="timeline">
<div <div class="timeline-items" v-for="(item, index) in timeLineData">
class="timeline-items"
v-for="(item, index) in timeLineData"
>
<div class="left-box"> <div class="left-box">
<img <img class="main-img" :src="returnidimg(item.assetName)" alt="" />
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 == 2" src="" alt="">
<img class="main-img" v-if="item.status == 3" 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="main-img" v-if="item.status == 4" src="" alt=""> -->
@ -632,16 +493,8 @@
:height="tabHeader" :height="tabHeader"
:row-class-name="tableRowClassName" :row-class-name="tableRowClassName"
> >
<el-table-column <el-table-column :label="xtmcName" prop="xtmc" align="center" />
:label="xtmcName" <el-table-column label="提交时间" prop="updateTime" align="center" />
prop="xtmc"
align="center"
/>
<el-table-column
label="提交时间"
prop="updateTime"
align="center"
/>
<el-table-column <el-table-column
label="提交状态" label="提交状态"
width="120px" width="120px"
@ -656,16 +509,10 @@
> >
核查提交 核查提交
</span> </span>
<span <span v-if="scope.row.status == 4" style="color: #f56c6c">
v-if="scope.row.status == 4"
style="color: #f56c6c"
>
审核驳回后提交 审核驳回后提交
</span> </span>
<span <span v-if="scope.row.status == 5" style="color: #f56c6c">
v-if="scope.row.status == 5"
style="color: #f56c6c"
>
资产关停 资产关停
</span> </span>
</template> </template>
@ -693,11 +540,7 @@
alt="" alt=""
style="width: 20px; margin-right: 5px" style="width: 20px; margin-right: 5px"
/> />
<span <span class="look-info" style="color: #1485ef">查看</span>
class="look-info"
style="color: #1485ef"
>查看</span
>
</div> </div>
</div> </div>
</template> </template>
@ -847,13 +690,14 @@ const assetLcpageList = () => {
const importClose = () => {}; const importClose = () => {};
const goInfo = (type, row) => { const goInfo = (type, row) => {
const PathName = ref(["webZC", "xcxZC", "gzhZC", "dzyjZC", "ydyyxtZC"]);
if (type === 1) { if (type === 1) {
proxy.setActiveMenu("/taskManagement"); proxy.setActiveMenu("/taskManagement");
router.push({ router.push({
path: "/webZC-add", path: `/${PathName.value[activeName.value]}-add`,
query: { query: {
pageType: "look", pageType: "look",
name:"TaskManagement-info", name: "TaskManagement-info",
taskId: row.taskId, taskId: row.taskId,
assetId: row.id, assetId: row.id,
type: activeName.value, type: activeName.value,
@ -862,10 +706,10 @@ const goInfo = (type, row) => {
} else if (type == 2) { } else if (type == 2) {
proxy.setActiveMenu("/taskManagement"); proxy.setActiveMenu("/taskManagement");
router.push({ router.push({
path: "/webZC-add", path: `/${PathName.value[activeName.value]}-add`,
query: { query: {
pageType: "change", pageType: "change",
name:"TaskManagement-info", name: "TaskManagement-info",
taskId: row.taskId, taskId: row.taskId,
assetId: row.id, assetId: row.id,
type: activeName.value, type: activeName.value,
@ -907,7 +751,6 @@ const titleInfoObjtype = (type = "0,1") => {
activeName.value = chanckListTow.value[0].lable; activeName.value = chanckListTow.value[0].lable;
const listname = chanckListTow.value.find( const listname = chanckListTow.value.find(
(item) => item.lable == activeName.value (item) => item.lable == activeName.value
); );

Loading…
Cancel
Save