|
@@ -336,7 +336,7 @@ export default {
|
|
|
{ row_focus: row, column_focus: column },
|
|
|
]) {
|
|
|
if (!that.handleAllow({ row, column })) {
|
|
|
- that.$message.error("查看无法编辑");
|
|
|
+ that.$message.error("当前为【查看】状态,无法编辑!");
|
|
|
}
|
|
|
},
|
|
|
// cellUpdated: function (row, column) {
|
|
@@ -363,7 +363,7 @@ export default {
|
|
|
{ row_focus: row, column_focus: column },
|
|
|
]) {
|
|
|
if (!that.handleAllow({ row, column })) {
|
|
|
- that.$message.error("查看无法编辑");
|
|
|
+ that.$message.error("当前为【查看】状态,无法编辑!");
|
|
|
return false;
|
|
|
}
|
|
|
},
|
|
@@ -492,6 +492,13 @@ export default {
|
|
|
message: '文档内容为空',
|
|
|
});
|
|
|
return;
|
|
|
+ },
|
|
|
+ if('请输入标题'== workbook_name || !workbook_name){
|
|
|
+ this.$message({
|
|
|
+ type: "error",
|
|
|
+ message: '请输入标题',
|
|
|
+ });
|
|
|
+ return;
|
|
|
}
|
|
|
let value = {
|
|
|
// templateId: this.id,
|