提交 d1dfd03d 编写于 作者: zhentian.jia's avatar zhentian.jia

delete code

上级 d6f42620
...@@ -1193,22 +1193,17 @@ export default { ...@@ -1193,22 +1193,17 @@ export default {
if (vm.idType == 2) { if (vm.idType == 2) {
this.activeName = "second"; this.activeName = "second";
} }
this.$nextTick(function() {
//this.getDepartment();
});
}, },
// 挂载到Dom完成时 // 挂载到Dom完成时
mounted: function() { mounted: function() {
commonUtil.resizeHeight(); commonUtil.resizeHeight();
}, },
methods: { methods: {
//表单校验 //表单校验
submitForm(formName) { submitForm(formName) {
let flag = null; let flag = null;
this.$refs[formName].validate(valid => { this.$refs[formName].validate(valid => {
if (valid) { if (valid) {
//console.log("success");
flag = true; flag = true;
} else { } else {
console.log("error submit!!"); console.log("error submit!!");
...@@ -1234,7 +1229,6 @@ export default { ...@@ -1234,7 +1229,6 @@ export default {
//改变封面类型 //改变封面类型
changeCover(radio) { changeCover(radio) {
this.formData.attachmentUrl2 = ""; this.formData.attachmentUrl2 = "";
//console.log(radio);
}, },
//设置编辑数据 //设置编辑数据
setEditData(editData) { setEditData(editData) {
...@@ -1335,7 +1329,6 @@ export default { ...@@ -1335,7 +1329,6 @@ export default {
this.showStorage = true; this.showStorage = true;
} }
}, },
//编辑/更新 基础信息 //编辑/更新 基础信息
insertOrUpdate(option) { insertOrUpdate(option) {
//console.log(this.formData); //console.log(this.formData);
...@@ -1453,7 +1446,6 @@ export default { ...@@ -1453,7 +1446,6 @@ export default {
this.scopeOfOrganizationLast = operationData.getDivision(this.scopeReq.scopeOfOrganization); this.scopeOfOrganizationLast = operationData.getDivision(this.scopeReq.scopeOfOrganization);
this.scopeOfPeopleLast = operationData.getDivision(this.scopeReq.scopeOfPeople); this.scopeOfPeopleLast = operationData.getDivision(this.scopeReq.scopeOfPeople);
//this.changedOrganization = list; //this.changedOrganization = list;
} }
} }
); );
...@@ -2020,14 +2012,8 @@ export default { ...@@ -2020,14 +2012,8 @@ export default {
} }
}, },
handlePreview(file) { handlePreview(file) {
//console.log(file);
}, },
handleExceed(files, fileList) { handleExceed(files, fileList) {
// this.$message.warning(
// `当前限制选择 3 个文件,本次选择了 ${
// files.length
// } 个文件,共选择了 ${files.length + fileList.length} 个文件`
// );
}, },
beforeRemove(file, fileList) { beforeRemove(file, fileList) {
return this.$confirm(`确定移除 ${file.name}?`); return this.$confirm(`确定移除 ${file.name}?`);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册