Commit ed7b6d66 authored by zhangjianqian's avatar zhangjianqian

企业已上传隐藏上传,政府添加上传

parent 08c46d56
......@@ -170,7 +170,13 @@
size="mini"
type="text"
@click="handleReport(scope.row)"
v-if="user.roleId==1||user.roleId==5"
v-if="(user.roleId==1||user.roleId==5)&&scope.row.fUploadType==0"
>上传</el-button>
<el-button
size="mini"
type="text"
@click="handleReport2(scope.row)"
v-if="(user.roleId==1||user.roleId==3)&&scope.row.fUploadType==1"
>上传</el-button>
</template>
</el-table-column>
......@@ -615,6 +621,18 @@ export default {
this.getList();
this.msgSuccess("上传成功");
}).catch(() => {});
},
handleReport2(row){
var that = this
this.$confirm('是否确认上传老旧管网改造计划项目名称为"' + row.fProjectName + '"的数据项?', "警告", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
}).then(function() {
that.msgSuccess("上传成功");
this.open = false;
return ;
}).catch(() => {});
}
}
};
......
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