|
@@ -51,8 +51,8 @@
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button size="mini" type="text" icon="el-icon-view" @click="handlePreview(scope.row)">预览</el-button>
|
|
<el-button size="mini" type="text" icon="el-icon-view" @click="handlePreview(scope.row)">预览</el-button>
|
|
<el-button size="mini" type="text" icon="el-icon-download" @click="handleDownload(scope.row)"
|
|
<el-button size="mini" type="text" icon="el-icon-download" @click="handleDownload(scope.row)"
|
|
- v-if="checkLevel(scope.row,'download')">下载</el-button>
|
|
|
|
- <el-button size="mini" type="text" icon="el-icon-view" @click="handleEdit(scope.row) v-hasRole="
|
|
|
|
|
|
+ >下载</el-button>
|
|
|
|
+ <el-button size="mini" type="text" icon="el-icon-view" @click="handleEdit(scope.row)" v-hasRole="
|
|
['group.manager']">在线编辑</el-button>
|
|
['group.manager']">在线编辑</el-button>
|
|
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
|
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
|
v-hasRole="['group.manager']">修改</el-button>
|
|
v-hasRole="['group.manager']">修改</el-button>
|
|
@@ -338,6 +338,11 @@
|
|
submitForm() {
|
|
submitForm() {
|
|
this.$refs["form"].validate(valid => {
|
|
this.$refs["form"].validate(valid => {
|
|
if (valid) {
|
|
if (valid) {
|
|
|
|
+ //这句是要删掉的
|
|
|
|
+ this.form.tagList = [{
|
|
|
|
+ tagId: 1,
|
|
|
|
+ tagName: '十四大'
|
|
|
|
+ }];
|
|
if (this.form.docId != null) {
|
|
if (this.form.docId != null) {
|
|
updateInfo(this.form).then(response => {
|
|
updateInfo(this.form).then(response => {
|
|
this.$modal.msgSuccess("修改成功");
|
|
this.$modal.msgSuccess("修改成功");
|
|
@@ -403,4 +408,4 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
};
|
|
};
|
|
-</script>
|
|
|
|
|
|
+</script>
|