|
@@ -347,7 +347,7 @@
|
|
|
if (valid) {
|
|
|
if(this.form.id){
|
|
|
//编辑
|
|
|
- this.form.type = 10;
|
|
|
+ this.form.type = 11;
|
|
|
this.form.controlScope=this.form.controlScope.join(','),
|
|
|
updateHardware(this.form).then(response => {
|
|
|
if (response.code == 200){
|
|
@@ -359,7 +359,7 @@
|
|
|
}else{
|
|
|
//新增
|
|
|
let obj = {
|
|
|
- type:10,
|
|
|
+ type:11,
|
|
|
subjectId:this.form.subjectId,
|
|
|
hardwareNum:this.form.hardwareNum,
|
|
|
name:this.form.name,
|