소스 검색

修改 毕

qinhouyu 1 년 전
부모
커밋
099bc79a45
3개의 변경된 파일6개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 1
      src/views/highServer/lifeServices/index.vue
  2. 2 1
      src/views/highServer/liveBroadcast/index.vue
  3. 2 1
      src/views/information/index.vue

+ 2 - 1
src/views/highServer/lifeServices/index.vue

@@ -257,8 +257,9 @@ export default {
     /** 删除按钮操作 */
     handleDelete(row) {
       const ids = row.id || this.ids;
+      const type = this.$route.query.type
       this.$modal.confirm('是否确认删除此条数据项?').then(function () {
-        return delServer(ids,row.type);
+        return delServer(ids,type);
       }).then(() => {
         this.getList();
         this.$modal.msgSuccess("删除成功");

+ 2 - 1
src/views/highServer/liveBroadcast/index.vue

@@ -257,8 +257,9 @@ export default {
     /** 删除按钮操作 */
     handleDelete(row) {
       const ids = row.id || this.ids;
+      const type = this.$route.query.type
       this.$modal.confirm('是否确认删除此条数据项?').then(function () {
-        return delServer(ids,row.type);
+        return delServer(ids,type);
       }).then(() => {
         this.getList();
         this.$modal.msgSuccess("删除成功");

+ 2 - 1
src/views/information/index.vue

@@ -371,8 +371,9 @@ export default {
     /** 删除按钮操作 */
     handleDelete(row) {
       const ids = row.id || this.ids;
+      const type = this.$route.query.type
       this.$modal.confirm('是否确认删除数据项?').then(function () {
-        return delServer(ids,row.type);
+        return delServer(ids,type);
       }).then(() => {
         this.getList();
         this.$modal.msgSuccess("删除成功");