|
@@ -81,9 +81,9 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import api from '@api/icss.js';
|
|
|
+ import api from '@api/icss.js';
|
|
|
|
|
|
-export default {
|
|
|
+ export default {
|
|
|
name: 'AssaySon', //慢病指标值关联维护
|
|
|
data: function() {
|
|
|
return {
|
|
@@ -195,8 +195,9 @@ export default {
|
|
|
"conceptId": row.conceptId,
|
|
|
"isDeleted": row.isDeleted=== 'N'?'Y':'N',
|
|
|
"relationId": 18
|
|
|
- }
|
|
|
- this.showConfirmDialog('是否删除该关联?',()=>{
|
|
|
+ };
|
|
|
+ const txt = row.isDeleted=== 'N'?'是否删除该关联?':'是否重新启用该关联?';
|
|
|
+ this.showConfirmDialog(txt,()=>{
|
|
|
api.delAssaySon(param).then((res)=>{
|
|
|
if(res.data.code=='0'){
|
|
|
if(!this.searched){
|
|
@@ -205,6 +206,9 @@ export default {
|
|
|
conceptName:'',
|
|
|
};
|
|
|
}
|
|
|
+ if(row.isDeleted !== 'N'){ //恢复成功后跳转到筛选条件的首页
|
|
|
+ this.currentPage = 1;
|
|
|
+ }
|
|
|
this.getDataList();
|
|
|
this.warning(res.data.msg || '操作成功','success');
|
|
|
}else{
|