// 内容是否有修改
// true:未改变;false:改变了
isChange() {
if(this.Compare(this.dialog.detail.form, this.dialog.detail.oldForm)){
console.log('未改变');
}else{
console.log('改变');
}
return this.Compare(this.dialog.detail.form, this.dialog.detail.oldForm);
},
/**************************************比较json-start***************************************/
isObj(object) {
return object && typeof(object) == 'object' && Object.prototype.toString.call(object).toLowerCase() == "[object object]";
},
isArray(object) {
return object && typeof(object) == 'object' && object.constructor == Array;
},
getLength(object) {
var count = 0;
for(var i in object) cou