|
@@ -30,11 +30,11 @@
|
|
|
width="180">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- prop="tagName"
|
|
|
+ prop="name"
|
|
|
label="模板名称">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- prop="typeCn"
|
|
|
+ prop="ascriptionName"
|
|
|
label="归属">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
@@ -140,19 +140,20 @@
|
|
|
this.$router.push({path:'LT-YXSJWH-TJDLBQ'})
|
|
|
},
|
|
|
modifyIndeptTag(row) {
|
|
|
- api.detailsTag({id:row.id,sexType:row.sexType,age:row.age}).then((res)=>{
|
|
|
- const {code,data,msg} = res.data;
|
|
|
- if(code=='0'){
|
|
|
- const item = Object.assign({},row,data);
|
|
|
- this.$router.push({name:'AddIndeptLabel',params:{isEdit:true,data:item}});
|
|
|
- }else{
|
|
|
- this.$message({
|
|
|
- message: msg,
|
|
|
- type: 'warning'
|
|
|
- });
|
|
|
- }
|
|
|
- });
|
|
|
- //this.$router.push({name:'AddIndeptLabel',params:{isEdit:true,data:row}});
|
|
|
+ // api.detailsTag({id:row.id,sexType:row.sexType,age:row.age}).then((res)=>{
|
|
|
+ // const {code,data,msg} = res.data;
|
|
|
+ // if(code=='0'){
|
|
|
+ // const item = Object.assign({},row,data);
|
|
|
+ // this.$router.push({name:'AddIndeptLabel',params:{isEdit:true,data:item}});
|
|
|
+ // }else{
|
|
|
+ // this.$message({
|
|
|
+ // message: msg,
|
|
|
+ // type: 'warning'
|
|
|
+ // });
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+ console.log(row)
|
|
|
+ // this.$router.push({name:'AddIndeptLabel'});
|
|
|
},
|
|
|
currentChange(next) {
|
|
|
this.currentPage = next;
|