update code
parent
1934fdad02
commit
97a8c446f4
|
@ -131,6 +131,7 @@ export default {
|
|||
elKey: 0,
|
||||
nav: 0,
|
||||
infoType: 0,
|
||||
roleType:0,
|
||||
row: null,
|
||||
show: false,
|
||||
count: {
|
||||
|
@ -166,6 +167,7 @@ export default {
|
|||
let postData = {
|
||||
projectId: this.row.projectId,
|
||||
infoType: this.infoType,
|
||||
roleType: this.roleType
|
||||
};
|
||||
if (n == 5) {
|
||||
postData.activeName = 'zgcs'
|
||||
|
@ -198,9 +200,11 @@ export default {
|
|||
this.elKey++;
|
||||
})
|
||||
},
|
||||
showDialog(row, infoType) {
|
||||
showDialog(row, infoType,roleType) {
|
||||
debugger
|
||||
this.row = row;
|
||||
this.infoType = infoType;
|
||||
this.roleType=roleType;
|
||||
if (infoType == 0) {
|
||||
this.$api.dict('ssp_aqyhlx').then(d => {
|
||||
this.dicts = d || [];
|
||||
|
@ -217,7 +221,8 @@ export default {
|
|||
this.doNav(0, true);
|
||||
this.$api.problemmodify.groupByInfotypeCheckState({
|
||||
projectId: this.row.projectId,
|
||||
infoType: this.infoType
|
||||
infoType: this.infoType,
|
||||
roleType:this.roleType
|
||||
}).then(d => {
|
||||
for (let i = 0; i <= 5; i++) {
|
||||
this.count["" + i] = 0;
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
<template v-if="data.trainFile">
|
||||
<div><img src="images/title_icon.png"><span class="sp-lbl">{{data.typeTitle+'附件'}}</span></div>
|
||||
<div class="div-text ">
|
||||
<el-row v-for="(it,id) in data.trainFile.split(',')">
|
||||
<el-row v-for="(it,id) in data.trainFile.split(',')" :key="id">
|
||||
<el-col :span="24">
|
||||
{{it.substring(it.lastIndexOf('/')+1)}}
|
||||
<el-button
|
||||
|
|
|
@ -147,7 +147,7 @@
|
|||
<el-col :span="6">
|
||||
<module-one-1-1 label="集团重点工作">
|
||||
<el-carousel>
|
||||
<el-carousel-item v-for="item in JournalismList" >
|
||||
<el-carousel-item v-for="(item,idx) in JournalismList" :key="idx">
|
||||
<div style="height: 252px;" @click="handJournalism(item)">
|
||||
<img :src="$apiPath + item.mainImage+'.min.jpg'" style="width:100%;height:100%;">
|
||||
</div>
|
||||
|
|
|
@ -265,7 +265,7 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
doProbleRowClick(a,b,c){
|
||||
this.$refs.probDlg.showDialog(a,1);
|
||||
this.$refs.probDlg.showDialog(a,1,this.safeNav);
|
||||
},
|
||||
fmt(n){
|
||||
n=""+n;
|
||||
|
|
|
@ -361,7 +361,7 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
doProbleRowClick(a,b,c){
|
||||
this.$refs.probDlg.showDialog(a,0);
|
||||
this.$refs.probDlg.showDialog(a,0,this.safeNav);
|
||||
},
|
||||
doSpecialRowClick(row){
|
||||
row.title = row.projectName+"特种作业人员清单";
|
||||
|
|
Loading…
Reference in New Issue