|
@@ -240,70 +240,70 @@
|
|
|
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
- v-show="scope.row.isupload == 0"
|
|
|
+ v-show="scope.row.isupload == 0 && $store.state.userInfo.type!=0"
|
|
|
@click="audit(scope.row, 0)"
|
|
|
>提交</el-button
|
|
|
>
|
|
|
<!--0申请人审核 -->
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
- v-show="scope.row.isupload == 1"
|
|
|
+ v-show="scope.row.isupload == 1&& $store.state.userInfo.type!=0"
|
|
|
class="disa"
|
|
|
>已提交</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
- v-show="scope.row.isupload == 2"
|
|
|
+ v-show="scope.row.isupload == 2&& $store.state.userInfo.type!=0"
|
|
|
class="disa"
|
|
|
size="mini"
|
|
|
>已审核</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
- v-show="scope.row.isupload == 3"
|
|
|
+ v-show="scope.row.isupload == 3&& $store.state.userInfo.type!=0"
|
|
|
class="disa"
|
|
|
size="mini"
|
|
|
>待结项</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
type="primary"
|
|
|
- v-show="scope.row.isupload == 4"
|
|
|
+ v-show="scope.row.isupload == 4&& $store.state.userInfo.type!=0"
|
|
|
class="disa"
|
|
|
size="mini"
|
|
|
>已结项</el-button
|
|
|
>
|
|
|
|
|
|
<el-button
|
|
|
- v-show="scope.row.isupload == 0"
|
|
|
+ v-show="scope.row.isupload == 0 && $store.state.userInfo.type==0"
|
|
|
type="primary"
|
|
|
class="disa"
|
|
|
size="mini"
|
|
|
- >审核1</el-button
|
|
|
+ >管理员审核</el-button
|
|
|
>
|
|
|
<!--1管理员审核 -->
|
|
|
<el-button
|
|
|
- v-show="scope.row.isupload == 1"
|
|
|
+ v-show="scope.row.isupload == 1 && $store.state.userInfo.type==0"
|
|
|
type="primary"
|
|
|
size="mini"
|
|
|
@click="audit(scope.row, 1)"
|
|
|
- >审核1</el-button
|
|
|
+ >管理员审核</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
- v-show="scope.row.isupload == 2"
|
|
|
+ v-show="scope.row.isupload == 2 && $store.state.userInfo.type==0"
|
|
|
type="primary"
|
|
|
class="disa"
|
|
|
size="mini"
|
|
|
>已审核1</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
- v-show="scope.row.isupload == 3"
|
|
|
+ v-show="scope.row.isupload == 3&& $store.state.userInfo.type==0"
|
|
|
type="primary"
|
|
|
class="disa"
|
|
|
size="mini"
|
|
|
>待结项1</el-button
|
|
|
>
|
|
|
<el-button
|
|
|
- v-show="scope.row.isupload == 4"
|
|
|
+ v-show="scope.row.isupload == 4&& $store.state.userInfo.type==0"
|
|
|
type="primary"
|
|
|
class="disa"
|
|
|
size="mini"
|
|
@@ -780,6 +780,8 @@ export default {
|
|
|
//跳转到此页面立刻获取数据
|
|
|
this.getData(); //获取表格数据
|
|
|
// this.getUser();
|
|
|
+ console.log(this.$store.state.userInfo.type);
|
|
|
+
|
|
|
},
|
|
|
};
|
|
|
</script>
|