Commit 8177dfa5 authored by Mac's avatar Mac
parents 751032fc 86c7ae3b
...@@ -483,7 +483,6 @@ ...@@ -483,7 +483,6 @@
}) })
}) })
} }
console.log('2323')
this.$emit('success', this.addMsg, list) this.$emit('success', this.addMsg, list)
} }
}, },
...@@ -564,10 +563,8 @@ ...@@ -564,10 +563,8 @@
} }
} }
if (flag) { if (flag) {
console.log('发生冲突')
return false; return false;
}else{ }else{
console.log('没有冲突')
return true; return true;
} }
......
...@@ -132,7 +132,6 @@ ...@@ -132,7 +132,6 @@
if (res.Code == 1) { if (res.Code == 1) {
this.memberList = res.Data this.memberList = res.Data
let _this = this; let _this = this;
console.log(_arr)
_this.$refs.treeUser.setCheckedKeys(_arr); _this.$refs.treeUser.setCheckedKeys(_arr);
} }
}).catch(() => { }).catch(() => {
......
...@@ -277,7 +277,6 @@ ...@@ -277,7 +277,6 @@
watch:{ watch:{
welcomeList(newValue, oldValue){ welcomeList(newValue, oldValue){
this.addMsg= newValue this.addMsg= newValue
console.log(newValue,oldValue)
} }
}, },
methods: { methods: {
......
...@@ -2,6 +2,12 @@ ...@@ -2,6 +2,12 @@
.examForm .q-table__bottom { .examForm .q-table__bottom {
min-height: 10px; min-height: 10px;
} }
.greenStyle{
color:green;
}
.color_shz{color: #1273BC}
.color_tg{color: #4BCA81}
.color_bh{color: #c94052}
</style> </style>
<template> <template>
...@@ -22,9 +28,9 @@ ...@@ -22,9 +28,9 @@
</template> </template>
</div> </div>
<div> <div>
<q-btn v-if="multipleSelection&&multipleSelection.length>0" color="accent" size="sm" class="q-mr-md" <q-btn v-if="multipleSelection&&multipleSelection.length>0&&IsMovePaper" color="accent" size="sm" class="q-mr-md"
@click="movePaperFile()" label="移动到" /> @click="movePaperFile()" label="移动到" />
<q-btn v-if="multipleSelection&&multipleSelection.length>0" color="accent" size="sm" class="q-mr-md" <q-btn v-if="multipleSelection&&multipleSelection.length>0&&IsDelPaper" color="accent" size="sm" class="q-mr-md"
label="删除" @click="batchDelete()" /> label="删除" @click="batchDelete()" />
</div> </div>
</div> </div>
...@@ -100,14 +106,20 @@ ...@@ -100,14 +106,20 @@
</template> </template>
<template v-slot:body-cell-ExamineStatusStr="props"> <template v-slot:body-cell-ExamineStatusStr="props">
<q-td :props="props"> <q-td :props="props">
<el-popover <template v-if="props.row.ExamineStatus==4||props.row.ExamineStatus==3">
placement="bottom" <el-popover
title="驳回原因" placement="bottom"
width="350" title="驳回原因"
trigger="hover" width="350"
:content='props.row.ExamineRemark'> trigger="hover"
<span slot="reference">{{props.row.ExamineStatusStr}}</span> :content='props.row.ExamineRemark'>
</el-popover> <span slot="reference" class="color_bh">{{props.row.ExamineStatusStr}}</span>
</el-popover>
</template>
<template v-else>
<span :class="{'color_tg':props.row.ExamineStatus==2||props.row.ExamineStatus==5,
'color_bh':props.row.ExamineStatus==6}">{{props.row.ExamineStatusStr}}</span>
</template>
</q-td> </q-td>
</template> </template>
<template v-slot:body-cell-PaperType="props"> <template v-slot:body-cell-PaperType="props">
...@@ -226,6 +238,8 @@ ...@@ -226,6 +238,8 @@
MoveIds: '', MoveIds: '',
currentUserInfo: {}, //当前登录用户 currentUserInfo: {}, //当前登录用户
IsPaperManager: false, IsPaperManager: false,
IsMovePaper: false, //是否可以移动文件
IsDelPaper: false, //是否删除试卷
pageMsg: { pageMsg: {
rowsPerPage: 10, rowsPerPage: 10,
}, },
...@@ -289,6 +303,12 @@ ...@@ -289,6 +303,12 @@
if (x.FunctionCode == "Paper_Manager") { //判断是否是试卷管理员 if (x.FunctionCode == "Paper_Manager") { //判断是否是试卷管理员
this.IsPaperManager = true; this.IsPaperManager = true;
} }
if (x.FunctionCode == "Paper_Move"){ //判断是否有移动文件权限
this.IsMovePaper = true;
}
if (x.FunctionCode == "Paper_Delete"){ //判断是否有删除文件夹权限
this.IsDelPaper = true;
}
}) })
}, },
mounted() {}, mounted() {},
......
...@@ -288,7 +288,7 @@ ...@@ -288,7 +288,7 @@
return return
} }
if (x.Sort == '') { if (x.Sort == '') {
console.log(x.Sort)
issort = true; issort = true;
return return
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment