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