zhaobao 3 lat temu
rodzic
commit
fff443ad9f
100 zmienionych plików z 259 dodań i 202 usunięć
  1. 1 1
      .gitignore
  2. 1 1
      src/components/ArtCatSelector/index.vue
  3. 1 1
      src/components/ChecklistCatSelector/index.vue
  4. 1 1
      src/components/ChecklistSelector/index.vue
  5. 2 2
      src/components/ChecklistTargetConfig/ChecklistSelected.vue
  6. 2 2
      src/components/ChecklistTargetConfig/ChecklistUnselected.vue
  7. 1 1
      src/components/ClientSelector/index.vue
  8. 1 1
      src/components/EquipmentCatSelector/index.vue
  9. 1 1
      src/components/FileUpload/avatarUpload.vue
  10. 1 1
      src/components/FileUpload/cardUpload.vue
  11. 1 1
      src/components/FileUpload/index.vue
  12. 1 1
      src/components/FileUpload/multiUpload.vue
  13. 1 1
      src/components/GridSelector/index.vue
  14. 1 1
      src/components/GroupCatSelector/index.vue
  15. 1 1
      src/components/GroupSelector/index.vue
  16. 1 1
      src/components/IndexScoreImagePanel/IndexScoreDetail.vue
  17. 1 1
      src/components/MapSelector/index.vue
  18. 1 1
      src/components/MsgCatSelector/index.vue
  19. 1 1
      src/components/OcSelector/index.vue
  20. 1 1
      src/components/OrgCatSelector/index.vue
  21. 1 1
      src/components/PositionSelector/index.vue
  22. 1 1
      src/components/TaskCatSelector/index.vue
  23. 1 1
      src/components/TaskPanel/index.vue
  24. 1 1
      src/components/UserSelector/index.vue
  25. 1 1
      src/components/WorkFlow/ActivityHandleRecord.vue
  26. 3 3
      src/components/WorkFlow/index.vue
  27. 2 2
      src/layout/components/Message/index.vue
  28. 57 0
      src/settings.js
  29. 1 1
      src/store/modules/user.js
  30. 1 1
      src/utils/request.js
  31. 1 1
      src/views/hos/checklist/components/Basic.vue
  32. 3 3
      src/views/hos/checklist/components/Checklist.vue
  33. 1 1
      src/views/hos/checklist/components/Content.vue
  34. 2 2
      src/views/hos/checklist/index.vue
  35. 1 1
      src/views/hos/components/ArtDetail.vue
  36. 1 1
      src/views/hos/components/ArtList.vue
  37. 1 1
      src/views/hos/components/ArtPanel.vue
  38. 2 2
      src/views/hos/components/AssessDetail.vue
  39. 1 1
      src/views/hos/components/AssessList.vue
  40. 1 1
      src/views/hos/components/AssessRecord.vue
  41. 2 2
      src/views/hos/components/AssessReport.vue
  42. 1 1
      src/views/hos/components/ImprovingAdvice.vue
  43. 2 2
      src/views/hos/components/PointAssess.vue
  44. 1 1
      src/views/hos/components/StoryMonthScore.vue
  45. 1 1
      src/views/hos/components/StoryTargetItemSelector.vue
  46. 1 1
      src/views/hos/components/StoryTargetSelector.vue
  47. 1 1
      src/views/hos/components/TaskPanel.vue
  48. 3 3
      src/views/hos/doctor/components/Doctor.vue
  49. 2 2
      src/views/hos/doctor/index.vue
  50. 3 3
      src/views/hos/grid/components/Grid.vue
  51. 2 2
      src/views/hos/grid/index.vue
  52. 2 2
      src/views/hos/overview/index.vue
  53. 2 2
      src/views/hos/profile/hos.vue
  54. 1 1
      src/views/hos/profile/index.vue
  55. 3 3
      src/views/system/access/api/access.vue
  56. 3 3
      src/views/system/access/api/index.vue
  57. 3 3
      src/views/system/access/client/client.vue
  58. 3 3
      src/views/system/access/client/index.vue
  59. 3 3
      src/views/system/app/manage/appCat.vue
  60. 2 2
      src/views/system/app/manage/appList.vue
  61. 2 2
      src/views/system/app/manage/leftCat.vue
  62. 3 3
      src/views/system/art/art.vue
  63. 3 3
      src/views/system/art/artCat.vue
  64. 1 1
      src/views/system/art/artDetail.vue
  65. 2 2
      src/views/system/art/artList.vue
  66. 2 2
      src/views/system/art/leftCat.vue
  67. 1 1
      src/views/system/components/LeadingGroupPositionSelector/index.vue
  68. 4 4
      src/views/system/customer/ent/ent.vue
  69. 3 3
      src/views/system/customer/ent/entAdmin.vue
  70. 4 4
      src/views/system/customer/ent/index.vue
  71. 4 4
      src/views/system/customer/org/index.vue
  72. 3 3
      src/views/system/customer/org/org.vue
  73. 3 3
      src/views/system/customer/org/orgAdmin.vue
  74. 4 4
      src/views/system/customer/partner/index.vue
  75. 4 4
      src/views/system/customer/partner/partner.vue
  76. 3 3
      src/views/system/customer/partner/partnerAdmin.vue
  77. 3 3
      src/views/system/doc/dir.vue
  78. 3 3
      src/views/system/doc/dirTree.vue
  79. 3 3
      src/views/system/doc/file.vue
  80. 3 3
      src/views/system/doc/fileList.vue
  81. 3 3
      src/views/system/group/group/group.vue
  82. 2 2
      src/views/system/group/group/groupTree.vue
  83. 4 4
      src/views/system/group/user/grantGroup.vue
  84. 3 3
      src/views/system/group/user/user.vue
  85. 4 4
      src/views/system/group/user/userList.vue
  86. 2 2
      src/views/system/industry/manage/index.vue
  87. 3 3
      src/views/system/industry/manage/industry.vue
  88. 2 2
      src/views/system/industry/type/index.vue
  89. 3 3
      src/views/system/industry/type/industryType.vue
  90. 3 3
      src/views/system/job/job/index.vue
  91. 3 3
      src/views/system/job/job/job.vue
  92. 2 2
      src/views/system/job/schedule/index.vue
  93. 5 5
      src/views/system/job/schedule/schedule.vue
  94. 3 3
      src/views/system/job/trigger/index.vue
  95. 3 3
      src/views/system/job/trigger/trigger.vue
  96. 1 1
      src/views/system/leadingGroup/components/LgpSelector.vue
  97. 3 3
      src/views/system/leadingGroup/group/leadingGroup.vue
  98. 2 2
      src/views/system/leadingGroup/group/leftGroup.vue
  99. 2 2
      src/views/system/leadingGroup/member/member.vue
  100. 2 2
      src/views/system/leadingGroup/member/memberList.vue

+ 1 - 1
.gitignore

@@ -15,5 +15,5 @@ tests/**
 *.njsproj
 *.sln
 
-src/settings.js
+# src/settings.js
 dist.*

+ 1 - 1
src/components/ArtCatSelector/index.vue

@@ -45,7 +45,7 @@ export default {
     initArtCatData() {
       getArtCatByList().then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.artCatList = data
           this.treedata = packageTreeData({
             data,

+ 1 - 1
src/components/ChecklistCatSelector/index.vue

@@ -45,7 +45,7 @@ export default {
     initChecklistCatData() {
       getChecklistCatByList().then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.checklistCatList = data
         } else {
           this.$message.error(msg)

+ 1 - 1
src/components/ChecklistSelector/index.vue

@@ -45,7 +45,7 @@ export default {
     initChecklistData() {
       getChecklistByList().then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.checklistList = data
         } else {
           this.$message.error(msg)

+ 2 - 2
src/components/ChecklistTargetConfig/ChecklistSelected.vue

@@ -68,7 +68,7 @@ export default {
       getChecklistTargetByList(this.conditions).then((resp) => {
         const { code, data, msg } = resp
         this.listLoading = false
-        if (code === 0) {
+        if (code === 200) {
           this.dataList = data
         } else {
           this.$message.error(msg)
@@ -91,7 +91,7 @@ export default {
       const { targetId, checklistId } = data
       deleteChecklistTargetById(targetId, checklistId).then((resp) => {
         const { code, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.loadData()
           this.$emit('actionUpdate')
         } else {

+ 2 - 2
src/components/ChecklistTargetConfig/ChecklistUnselected.vue

@@ -85,7 +85,7 @@ export default {
       getChecklistSelectByList(this.conditions).then((resp) => {
         const { code, data, msg } = resp
         this.listLoading = false
-        if (code === 0) {
+        if (code === 200) {
           this.dataList = data
         } else {
           this.$message.error(msg)
@@ -110,7 +110,7 @@ export default {
       this.formData.checklistId = checklistId
       createChecklistTarget(this.formData).then((resp) => {
         const { code, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.loadData()
           this.$emit('actionUpdate')
         } else {

+ 1 - 1
src/components/ClientSelector/index.vue

@@ -46,7 +46,7 @@ export default {
     initClientData() {
       getClientByList().then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.clientList = data
         } else {
           this.$message.error(msg)

+ 1 - 1
src/components/EquipmentCatSelector/index.vue

@@ -45,7 +45,7 @@ export default {
     initEquipCatData() {
       getEquipmentCatByList().then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.equipCatList = data
         } else {
           this.$message.error(msg)

+ 1 - 1
src/components/FileUpload/avatarUpload.vue

@@ -47,7 +47,7 @@ export default {
       formData.append('file', file)
       uploadFile(formData).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.imageUrl = data.fileUrl
         } else {
           this.$message.error(msg)

+ 1 - 1
src/components/FileUpload/cardUpload.vue

@@ -107,7 +107,7 @@ export default {
       formData.append('file', file)
       uploadFile(formData).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           const of = {}
           of.fileId = 0
           of.fileTitle = data.fileTitle

+ 1 - 1
src/components/FileUpload/index.vue

@@ -87,7 +87,7 @@ export default {
       uploadFile(formData).then((resp) => {
         const { code, data, msg } = resp
         loading.close()
-        if (code === 0) {
+        if (code === 200) {
           var ofile = {}
           ofile.fileId = 0
           ofile.oriFileName = data.oriFileName

+ 1 - 1
src/components/FileUpload/multiUpload.vue

@@ -111,7 +111,7 @@ export default {
       uploadFile(formData).then((resp) => {
         loading.close()
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           const of = {}
           of.fileId = data.fileId
           of.fileTitle = data.fileTitle

+ 1 - 1
src/components/GridSelector/index.vue

@@ -68,7 +68,7 @@ export default {
     initGridData() {
       getGridByList({}).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.gridList = data
         } else {
           this.$message.error(msg)

+ 1 - 1
src/components/GroupCatSelector/index.vue

@@ -45,7 +45,7 @@ export default {
     initGroupCatData() {
       getGroupCatByList().then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.groupCatList = data
         } else {
           this.$message.error(msg)

+ 1 - 1
src/components/GroupSelector/index.vue

@@ -58,7 +58,7 @@ export default {
     initGroupData() {
       getGroupView().then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.groupData = data
         } else {
           this.$message.error(msg)

+ 1 - 1
src/components/IndexScoreImagePanel/IndexScoreDetail.vue

@@ -64,7 +64,7 @@ export default {
       const pointId = data.pointId
       getStoryTargetItemPointById(storyId, itemId, pointId).then((resp) => {
         const { code, data } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.pageData = data
         }
       }).catch((error) => {

+ 1 - 1
src/components/MapSelector/index.vue

@@ -47,7 +47,7 @@ export default {
     initMapData() {
       getMapByList({}).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.mapList = data
           if (data && data.length > 0) {
             const node = data[0]

+ 1 - 1
src/components/MsgCatSelector/index.vue

@@ -45,7 +45,7 @@ export default {
     initMsgCatListData() {
       getMsgCatByList().then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.msgCatList = data
         } else {
           this.$message.error(msg)

+ 1 - 1
src/components/OcSelector/index.vue

@@ -44,7 +44,7 @@ export default {
     initOcData() {
       getOcByList().then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.ocList = data
         } else {
           this.$message.error(msg)

+ 1 - 1
src/components/OrgCatSelector/index.vue

@@ -44,7 +44,7 @@ export default {
     initOrgCatList() {
       getOrgCatByList().then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.orgCatList = data
         } else {
           this.$message.error(msg)

+ 1 - 1
src/components/PositionSelector/index.vue

@@ -60,7 +60,7 @@ export default {
     initPositionData() {
       selectPositionByList(this.conditions).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.positionList = data
         } else {
           this.$message.error(msg)

+ 1 - 1
src/components/TaskCatSelector/index.vue

@@ -45,7 +45,7 @@ export default {
     initTaskCatListData() {
       getTaskCatByList().then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.taskCatList = data
         } else {
           this.$message.error(msg)

+ 1 - 1
src/components/TaskPanel/index.vue

@@ -101,7 +101,7 @@ export default {
       getTaskByList(this.conditions).then((resp) => {
         const { code, data, total, msg } = resp
         this.listLoading = false
-        if (code === 0) {
+        if (code === 200) {
           this.total = total
           this.dataList = data
         } else {

+ 1 - 1
src/components/UserSelector/index.vue

@@ -77,7 +77,7 @@ export default {
     initUserListData() {
       getUserList().then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.userList = data
         } else {
           this.$message.error(msg)

+ 1 - 1
src/components/WorkFlow/ActivityHandleRecord.vue

@@ -89,7 +89,7 @@ export default {
       getWorkflowById(wfInsId).then((resp) => {
         this.listLoading = false
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.flowData = data
         } else {
           this.$message.error(msg)

+ 3 - 3
src/components/WorkFlow/index.vue

@@ -107,7 +107,7 @@ export default {
     async start(wfDefId) {
       this.resetFormData()
       const { code, data, msg } = await startWorkflow(wfDefId)
-      if (code === 0) {
+      if (code === 200) {
         this.flowData = data
         this.formData.wfDefId = data.wfDefId
         this.formData.wfInsId = data.wfInsId
@@ -148,7 +148,7 @@ export default {
       this.resetFormData()
       getWorkflowById(wfInsId).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.flowData = data
           this.formData.wfDefId = data.wfDefId
           this.formData.wfInsId = data.wfInsId
@@ -223,7 +223,7 @@ export default {
       const param1 = JSON.parse(JSON.stringify(this.formData))
       const params = { ...param1, ...param2 }
       const { code, msg, data } = await handleWorkflow(params)
-      if (code === 0) {
+      if (code === 200) {
         const flowData = {
           activityCode: this.formData.activityCode,
           actionId: this.formData.actionId,

+ 2 - 2
src/layout/components/Message/index.vue

@@ -168,7 +168,7 @@ export default {
       getMsgSentByPage(this.conditions).then((resp) => {
         const { code, data, total } = resp
         this.listLoading = false
-        if (code === 0) {
+        if (code === 200) {
           this.total = total
           this.viewData.msgList = data
         }
@@ -182,7 +182,7 @@ export default {
       getMsgReceivedByPage(this.conditions).then((resp) => {
         const { code, data, total } = resp
         this.listLoading = false
-        if (code === 0) {
+        if (code === 200) {
           this.conditions.total = total
           this.viewData.msgList = data
         }

+ 57 - 0
src/settings.js

@@ -0,0 +1,57 @@
+module.exports = {
+  title: '六院联创数字化管理平台',
+
+  /**
+   * @type {boolean} true | false
+   * @description Whether show the settings right-panel
+   */
+  showSettings: false,
+
+  /**
+   * @type {boolean} true | false
+   * @description Whether need tagsView
+   */
+  tagsView: false,
+
+  /**
+   * @type {boolean} true | false
+   * @description Whether fix the header
+   */
+  fixedHeader: false,
+
+  /**
+   * @type {boolean} true | false
+   * @description Whether show the logo in sidebar
+   */
+  sidebarLogo: true,
+
+  /**
+   * @type {string | array} 'production' | ['production', 'development']
+   * @description Need show err logs component.
+   * The default is only used in the production env
+   * If you want to also use it in dev, you can pass ['production', 'development']
+   */
+  errorLog: 'production',
+
+  /**
+  * 服务API地址
+  */
+  serverUrl: 'http://192.168.1.214:8080/', // 正式环境
+  devServerUrl: 'http://1.15.92.205:8001/', // 开发环境
+  // serverUrl: 'http://114.116.19.14:8080/', // 正式环境
+  // devServerUrl: 'http://192.168.3.5:8080',
+  /**
+  * websocket 地址
+  * dev 开发环境
+  * pro正式环境
+  */
+  appID: '10005',
+  appKey: '82a8bf439373e309',
+  appSecret: '82a8bf439373e309',
+  permitTplId: 7,
+  mqttUrl: 'mqtt://1.15.92.205:8083/mqtt',
+  wsServerUrl: {
+    dev: 'ws://ws.58yunkang.com/websocket/link',
+    pro: 'ws://ws.58yunkang.com/websocket/link'
+  }
+}

+ 1 - 1
src/store/modules/user.js

@@ -80,7 +80,7 @@ const actions = {
     return new Promise((resolve, reject) => {
       getPermit(state.token).then(response => {
         const { code, data } = response
-        if (code !== 0) {
+        if (code !== 200) {
           reject('用户信息验证失败,请重新登录!')
           return
         }

+ 1 - 1
src/utils/request.js

@@ -37,7 +37,7 @@ service.interceptors.request.use(
 service.interceptors.response.use(
   response => {
     const res = response.data
-    if (res.code !== 0) {
+    if (res.code !== 200) {
       // 50008: Illegal token; 50012: Other clients logged in; 50014: Token expired;
       if (res.code === 401) {
         // to re-login

+ 1 - 1
src/views/hos/checklist/components/Basic.vue

@@ -97,7 +97,7 @@ export default {
       this.dialogVisible = true
       getChecklistById(checklistId).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.viewData = data
         } else {
           this.$message.error(msg)

+ 3 - 3
src/views/hos/checklist/components/Checklist.vue

@@ -96,7 +96,7 @@ export default {
       this.dialogVisible = true
       getChecklistById(checklistId).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.formData = data
         } else {
           this.$message.error(msg)
@@ -124,7 +124,7 @@ export default {
             case ACTION_ADD:
               createChecklist(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.$message.success(msg)
                   this.formSuccess()
@@ -139,7 +139,7 @@ export default {
             case ACTION_UPDATE:
               updateChecklist(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.$message.success(msg)
                   this.formSuccess()

+ 1 - 1
src/views/hos/checklist/components/Content.vue

@@ -84,7 +84,7 @@ export default {
       this.dialogVisible = true
       getChecklistViewById(checklistId).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.title = data.checklistTitle
           this.viewData = data
         } else {

+ 2 - 2
src/views/hos/checklist/index.vue

@@ -107,7 +107,7 @@ export default {
       getChecklistByPage(this.conditions).then((resp) => {
         this.listLoading = false
         const { code, msg, data, total } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.dataList = data
           this.total = total
         } else {
@@ -145,7 +145,7 @@ export default {
       }).then(() => {
         deleteChecklistById(checklistId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {

+ 1 - 1
src/views/hos/components/ArtDetail.vue

@@ -70,7 +70,7 @@ export default {
     getData() {
       getArtById(this.artId).then((res) => {
         const { code, msg, data } = res
-        if (code === 0) {
+        if (code === 200) {
           if (data) {
             this.artInfo = data
           } else {

+ 1 - 1
src/views/hos/components/ArtList.vue

@@ -71,7 +71,7 @@ export default {
     getData() {
       getArtByList(this.conditions).then((resp) => {
         const { code, data } = resp
-        if (code === 0) {
+        if (code === 200) {
           const temp = toTree(data, {
             value: 'artId',
             name: 'artTitle',

+ 1 - 1
src/views/hos/components/ArtPanel.vue

@@ -74,7 +74,7 @@ export default {
     getData() {
       getRecentArtByList(this.conditions).then((resp) => {
         const { code, msg, data } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.dataList = data
         } else {
           this.$message.error(msg)

+ 2 - 2
src/views/hos/components/AssessDetail.vue

@@ -167,7 +167,7 @@ export default {
       getAssessByList(this.conditions).then((resp) => {
         this.listLoading = false
         const { code, msg, data } = resp
-        if (code === 0) {
+        if (code === 200) {
           if (data) {
             this.assessList = data
             this.rowspan('itemId')
@@ -182,7 +182,7 @@ export default {
       getAssessMonthRecordByList(this.conditions).then((resp) => {
         this.listLoading = false
         const { code, msg, data } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.recordList = data
         } else {
           this.$message.error(msg)

+ 1 - 1
src/views/hos/components/AssessList.vue

@@ -158,7 +158,7 @@ export default {
       getAssessByList(this.conditions).then((resp) => {
         this.listLoading = false
         const { code, msg, data, total } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.total = total
           if (Array.isArray(data) && data.length > 0) {
             this.dataList = this.sortArray(data, 'targetId')

+ 1 - 1
src/views/hos/components/AssessRecord.vue

@@ -110,7 +110,7 @@ export default {
           getAssessRecordByList(this.conditions).then((resp) => {
             this.listLoading = false
             const { code, data } = resp
-            if (code === 0) {
+            if (code === 200) {
               this.recordList = data
             }
           }).catch((error) => {

+ 2 - 2
src/views/hos/components/AssessReport.vue

@@ -206,7 +206,7 @@ export default {
       this.listLoading = true
       getMonthScoreByList(this.conditions).then((resp) => {
         const { code, msg, data } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.monthScoreList = data
         } else {
           this.$message.error(msg)
@@ -218,7 +218,7 @@ export default {
       getAssessMonthRecordByList(this.conditions).then((resp) => {
         this.listLoading = false
         const { code, msg, data } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.recordList = data
         } else {
           this.$message.error(msg)

+ 1 - 1
src/views/hos/components/ImprovingAdvice.vue

@@ -87,7 +87,7 @@ export default {
       getAssessImprovingByList(this.conditions).then((resp) => {
         this.listLoading = false
         const { code, msg, data } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.pointList = data
         } else {
           this.$message.error(msg)

+ 2 - 2
src/views/hos/components/PointAssess.vue

@@ -105,7 +105,7 @@ export default {
       const { storyId, targetId, itemId, pointId } = this.viewData
       getAssessById(storyId, targetId, itemId, pointId).then((resp) => {
         const { code, data } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.viewData = data
         }
       }).catch((error) => {
@@ -144,7 +144,7 @@ export default {
         if (valid) {
           updateAssess(this.formData).then((resp) => {
             const { code, msg } = resp
-            if (code === 0) {
+            if (code === 200) {
               this.dialogVisible = false
               this.$message.success(msg)
               this.formSuccess()

+ 1 - 1
src/views/hos/components/StoryMonthScore.vue

@@ -89,7 +89,7 @@ export default {
       this.listLoading = true
       getMonthScoreByList(this.conditions).then((resp) => {
         const { code, msg, data } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.showYearMonth(data)
         } else {
           this.$message.error(msg)

+ 1 - 1
src/views/hos/components/StoryTargetItemSelector.vue

@@ -71,7 +71,7 @@ export default {
     initItemData() {
       getStoryTargetItemByList({ storyId: this.storyId, targetId: this.targetId }).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.itemList = data
         } else {
           this.$message.error(msg)

+ 1 - 1
src/views/hos/components/StoryTargetSelector.vue

@@ -63,7 +63,7 @@ export default {
     initTargetData() {
       getStoryTargetByList({ storyId: this.storyId }).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.targetList = data
         } else {
           this.$message.error(msg)

+ 1 - 1
src/views/hos/components/TaskPanel.vue

@@ -107,7 +107,7 @@ export default {
       getRecentTaskByList(this.conditions).then((resp) => {
         const { code, data, msg } = resp
         this.listLoading = false
-        if (code === 0) {
+        if (code === 200) {
           this.dataList = data
         } else {
           this.$message.error(msg)

+ 3 - 3
src/views/hos/doctor/components/Doctor.vue

@@ -133,7 +133,7 @@ export default {
       this.dialogVisible = true
       getDoctorById(doctorId).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.formData = data
         } else {
           this.$message.error(msg)
@@ -176,7 +176,7 @@ export default {
         case ACTION_ADD:
           createDoctor(this.formData).then((resp) => {
             const { code, msg } = resp
-            if (code === 0) {
+            if (code === 200) {
               this.dialogVisible = false
               this.$message.success(msg)
               this.formSuccess()
@@ -191,7 +191,7 @@ export default {
         case ACTION_UPDATE:
           updateDoctor(this.formData).then((resp) => {
             const { code, msg } = resp
-            if (code === 0) {
+            if (code === 200) {
               this.dialogVisible = false
               this.$message.success(msg)
               this.formSuccess()

+ 2 - 2
src/views/hos/doctor/index.vue

@@ -142,7 +142,7 @@ export default {
       getDoctorByPage(this.conditions).then((resp) => {
         const { code, msg, data, total } = resp
         this.listLoading = false
-        if (code === 0) {
+        if (code === 200) {
           this.total = total
           this.dataList = data
         } else {
@@ -174,7 +174,7 @@ export default {
       }).then(() => {
         deleteDoctorById(doctorId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {

+ 3 - 3
src/views/hos/grid/components/Grid.vue

@@ -139,7 +139,7 @@ export default {
       this.dialogVisible = true
       getGridById(gridId).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.formData = data
         } else {
           this.$message.error(msg)
@@ -182,7 +182,7 @@ export default {
         case ACTION_ADD:
           createGrid(this.formData).then((resp) => {
             const { code, msg } = resp
-            if (code === 0) {
+            if (code === 200) {
               this.dialogVisible = false
               this.$message.success(msg)
               this.formSuccess()
@@ -197,7 +197,7 @@ export default {
         case ACTION_UPDATE:
           updateGrid(this.formData).then((resp) => {
             const { code, msg } = resp
-            if (code === 0) {
+            if (code === 200) {
               this.dialogVisible = false
               this.$message.success(msg)
               this.formSuccess()

+ 2 - 2
src/views/hos/grid/index.vue

@@ -140,7 +140,7 @@ export default {
       getGridByPage(this.conditions).then((resp) => {
         const { code, msg, data, total } = resp
         this.listLoading = false
-        if (code === 0) {
+        if (code === 200) {
           this.total = total
           this.dataList = data
         } else {
@@ -170,7 +170,7 @@ export default {
       }).then(() => {
         deleteGridById(gridId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {

+ 2 - 2
src/views/hos/overview/index.vue

@@ -151,7 +151,7 @@ export default {
     getData() {
       getStoryOverview(this.year, this.month, this.storyId).then((resp) => {
         const { code, msg, data } = resp
-        if (code === 0) {
+        if (code === 200) {
           if (!data) {
             this.score = 0
             this.yearScore = 0
@@ -214,7 +214,7 @@ export default {
       this.month = params.x
       getStoryOverview(this.year, params.x, this.storyId).then((resp) => {
         const { code, msg, data } = resp
-        if (code === 0) {
+        if (code === 200) {
           if (!data) {
             this.score = 0
             this.yearScore = 0

+ 2 - 2
src/views/hos/profile/hos.vue

@@ -169,7 +169,7 @@ export default {
 
       getHosProfile().then((resp) => {
         const { code, data } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.formData = data
           if (this.formData.entXzqhdm) { this.viewData.cityCode = this.formData.entXzqhdm.split(',') }
         }
@@ -200,7 +200,7 @@ export default {
         if (valid) {
           updateHosProfile(this.formData).then((resp) => {
             const { code, msg } = resp
-            if (code === 0) {
+            if (code === 200) {
               this.dialogVisible = false
               this.$message.success(msg)
               this.$emit('formSuccess')

+ 1 - 1
src/views/hos/profile/index.vue

@@ -91,7 +91,7 @@ export default {
     getData() {
       getHosProfile().then((resp) => {
         const { code, msg, data } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.viewData = data
           this.mapCenter = [data.hosWzjd, data.hosWzwd]
         } else {

+ 3 - 3
src/views/system/access/api/access.vue

@@ -115,7 +115,7 @@ export default {
       this.dialogVisible = true
       getAccessById(accessId).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.formData = data
         } else {
           this.$message.error(msg)
@@ -159,7 +159,7 @@ export default {
         case ACTION_ADD:
           createAccess(this.formData).then((resp) => {
             const { code, msg } = resp
-            if (code === 0) {
+            if (code === 200) {
               this.dialogVisible = false
               this.$message.success(msg)
               this.formSuccess()
@@ -174,7 +174,7 @@ export default {
         case ACTION_UPDATE:
           updateAccess(this.formData).then((resp) => {
             const { code, msg } = resp
-            if (code === 0) {
+            if (code === 200) {
               this.dialogVisible = false
               this.$message.success(msg)
               this.formSuccess()

+ 3 - 3
src/views/system/access/api/index.vue

@@ -126,7 +126,7 @@ export default {
       getAccessByPage(this.conditions).then((resp) => {
         const { code, data, total, msg } = resp
         this.listLoading = false
-        if (code === 0) {
+        if (code === 200) {
           this.total = total
           this.dataList = data
         } else {
@@ -153,7 +153,7 @@ export default {
       const { accessId } = data
       updateAccessStatus(accessId, status).then((resp) => {
         const { code, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.$message.success(msg)
         } else {
           this.$message.error(msg)
@@ -173,7 +173,7 @@ export default {
       }).then(() => {
         deleteAccessById(accessId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {

+ 3 - 3
src/views/system/access/client/client.vue

@@ -96,7 +96,7 @@ export default {
       this.dialogVisible = true
       getClientById(clientId).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.formData = data
         } else {
           this.$message.error(msg)
@@ -137,7 +137,7 @@ export default {
         case ACTION_ADD:
           createClient(this.formData).then((resp) => {
             const { code, msg } = resp
-            if (code === 0) {
+            if (code === 200) {
               this.dialogVisible = false
               this.$message.success(msg)
               this.formSuccess()
@@ -152,7 +152,7 @@ export default {
         case ACTION_UPDATE:
           updateClient(this.formData).then((resp) => {
             const { code, msg } = resp
-            if (code === 0) {
+            if (code === 200) {
               this.dialogVisible = false
               this.$message.success(msg)
               this.formSuccess()

+ 3 - 3
src/views/system/access/client/index.vue

@@ -113,7 +113,7 @@ export default {
       getClientByPage(this.conditions).then((resp) => {
         const { code, data, total, msg } = resp
         this.listLoading = false
-        if (code === 0) {
+        if (code === 200) {
           this.total = total
           this.dataList = data
         } else {
@@ -139,7 +139,7 @@ export default {
     handlerChangeStatus(status, data) {
       updateClientStatus(data.clientId, status).then((resp) => {
         const { code, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.$message.success(msg)
         } else {
           this.$message.error(msg)
@@ -159,7 +159,7 @@ export default {
       }).then(() => {
         deleteClientById(clientId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {

+ 3 - 3
src/views/system/app/manage/appCat.vue

@@ -73,7 +73,7 @@ export default {
       this.dialogVisible = true
       getAppCatById(id).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.formData = data
         } else {
           this.$message.error(msg)
@@ -97,7 +97,7 @@ export default {
             case ACTION_ADD:
               createAppCat(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.$message.success(msg)
                   this.formSuccess()
@@ -112,7 +112,7 @@ export default {
             case ACTION_UPDATE:
               updateAppCat(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.$message.success(msg)
                   this.formSuccess()

+ 2 - 2
src/views/system/app/manage/appList.vue

@@ -115,7 +115,7 @@ export default {
       getAppByList(this.conditions).then((resp) => {
         const { code, msg, data, total } = resp
         this.listLoading = false
-        if (code === 0) {
+        if (code === 200) {
           this.total = total
           this.dataList = data
         } else {
@@ -160,7 +160,7 @@ export default {
       }).then(() => {
         deleteAppById(appId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {

+ 2 - 2
src/views/system/app/manage/leftCat.vue

@@ -64,7 +64,7 @@ export default {
     getData() {
       getAppCatByList().then((resp) => {
         const { code, data } = resp
-        if (code === 0) {
+        if (code === 200) {
           const temp = toTree(data, {
             value: 'appCatId',
             name: 'appCatTitle'
@@ -126,7 +126,7 @@ export default {
       }).then(() => {
         deleteAppCatById(data.appCatId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {

+ 3 - 3
src/views/system/art/art.vue

@@ -144,7 +144,7 @@ export default {
       this.dialogVisible = true
       getArtById(artId).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.formData = data
         } else {
           this.$message.error(msg)
@@ -174,7 +174,7 @@ export default {
             case ACTION_ADD:
               createArt(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.$message.success(msg)
                   this.formSuccess()
@@ -190,7 +190,7 @@ export default {
             case ACTION_UPDATE:
               updateArt(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.$message.success(msg)
                   this.formSuccess()

+ 3 - 3
src/views/system/art/artCat.vue

@@ -70,7 +70,7 @@ export default {
       this.dialogVisible = true
       getArtCatById(id).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.formData = data
         } else {
           this.$message.error(msg)
@@ -96,7 +96,7 @@ export default {
             case ACTION_ADD:
               createArtCat(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.$message.success(msg)
                   this.formSuccess()
@@ -111,7 +111,7 @@ export default {
             case ACTION_UPDATE:
               updateArtCat(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.$message.success(msg)
                   this.formSuccess()

+ 1 - 1
src/views/system/art/artDetail.vue

@@ -50,7 +50,7 @@ export default {
     getData() {
       getArtById(this.artId).then((res) => {
         const { code, msg, data } = res
-        if (code === 0) {
+        if (code === 200) {
           if (data) {
             this.artInfo = data
           } else {

+ 2 - 2
src/views/system/art/artList.vue

@@ -121,7 +121,7 @@ export default {
       getArtByPage(this.conditions).then((resp) => {
         this.listLoading = false
         const { code, msg, data, total } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.total = total
           this.dataList = data
         } else {
@@ -152,7 +152,7 @@ export default {
       }).then(() => {
         deleteArtById(artId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {

+ 2 - 2
src/views/system/art/leftCat.vue

@@ -68,7 +68,7 @@ export default {
       getArtCatByList().then((resp) => {
         this.listLoading = false
         const { code, data } = resp
-        if (code === 0) {
+        if (code === 200) {
           const temp = toTree(data, {
             value: 'artCatId',
             name: 'artCatTitle',
@@ -140,7 +140,7 @@ export default {
       }).then(() => {
         deleteArtCatById(data.artCatId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {

+ 1 - 1
src/views/system/components/LeadingGroupPositionSelector/index.vue

@@ -42,7 +42,7 @@ export default {
     getData() {
       getLeadingGroupPositionByList().then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.lgpList = data
         } else {
           this.$message.error(msg)

+ 4 - 4
src/views/system/customer/ent/ent.vue

@@ -462,7 +462,7 @@ export default {
     initEntCatList() {
       getEntCatByList().then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.entCatList = data
         } else {
           this.$message.error(msg)
@@ -491,7 +491,7 @@ export default {
       this.dialogVisible = true
       getEntById(id).then((resp) => {
         const { code, data } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.formData = data
           this.viewData.cityCode = this.formData.entXzqhdm.split(',')
         }
@@ -570,7 +570,7 @@ export default {
               }
               createEnt(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.$message.success(msg)
                   this.$emit('formSuccess')
@@ -586,7 +586,7 @@ export default {
               this.formData.entXzqhdm = this.viewData.cityCode.join(',')
               updateEnt(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.$message.success(msg)
                   this.$emit('formSuccess')

+ 3 - 3
src/views/system/customer/ent/entAdmin.vue

@@ -77,7 +77,7 @@ export default {
       this.dialogVisible = true
       getEntAdmin(ocId).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.formData = data
         } else {
           this.$message.error(msg)
@@ -113,7 +113,7 @@ export default {
             case ACTION_ADD:
               createEntAdmin(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.$message.success(msg)
                   this.$emit('formSuccess')
@@ -128,7 +128,7 @@ export default {
             case ACTION_UPDATE:
               updateEntAdmin(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.$message.success(msg)
                   this.$emit('formSuccess')

+ 4 - 4
src/views/system/customer/ent/index.vue

@@ -122,7 +122,7 @@ export default {
       getEntByPage(this.conditions).then((resp) => {
         const { code, data, total, msg } = resp
         this.listLoading = false
-        if (code === 0) {
+        if (code === 200) {
           this.total = total
           this.dataList = data
         } else {
@@ -166,7 +166,7 @@ export default {
       }).then(() => {
         deleteEntById(ocId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {
@@ -193,7 +193,7 @@ export default {
       }).then(() => {
         resetAdminPwd(ocId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {
@@ -212,7 +212,7 @@ export default {
       const { ocId } = row
       updateEntStatus(ocId, status).then((resp) => {
         const { code, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.getData()
           this.$message.success(msg)
         } else {

+ 4 - 4
src/views/system/customer/org/index.vue

@@ -122,7 +122,7 @@ export default {
       getOrgByList(this.conditions).then((resp) => {
         const { code, data, total, msg } = resp
         this.listLoading = false
-        if (code === 0) {
+        if (code === 200) {
           const temp = toTree(data, {
             value: 'ocId',
             name: 'label',
@@ -175,7 +175,7 @@ export default {
       }).then(() => {
         deleteOrgById(ocId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {
@@ -199,7 +199,7 @@ export default {
       }).then(() => {
         resetAdminPwd(ocId, adminId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {
@@ -218,7 +218,7 @@ export default {
       const { ocId } = row
       updateOrgStatus(ocId, status).then((resp) => {
         const { code, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.getData()
           this.$message.success(msg)
         } else {

+ 3 - 3
src/views/system/customer/org/org.vue

@@ -181,7 +181,7 @@ export default {
       this.dialogVisible = true
       getOrgById(id).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.formData = data
           this.viewData.cityCode = this.formData.orgAreaCode.split(',')
         } else {
@@ -230,7 +230,7 @@ export default {
               }
               createOrg(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.$message.success(msg)
                   this.$emit('formSuccess')
@@ -246,7 +246,7 @@ export default {
               this.formData.orgAreaCode = this.viewData.cityCode.join(',')
               updateOrg(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.$message.success(msg)
                   this.$emit('formSuccess')

+ 3 - 3
src/views/system/customer/org/orgAdmin.vue

@@ -86,7 +86,7 @@ export default {
       this.dialogVisible = true
       getOrgAdmin(ocId).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.formData = data
         } else {
           this.$message.error(msg)
@@ -114,7 +114,7 @@ export default {
             case ACTION_ADD:
               createOrgAdmin(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.$message.success(msg)
                   this.$emit('formSuccess')
@@ -129,7 +129,7 @@ export default {
             case ACTION_UPDATE:
               updateOrgAdmin(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.$message.success(msg)
                   this.$emit('formSuccess')

+ 4 - 4
src/views/system/customer/partner/index.vue

@@ -110,7 +110,7 @@ export default {
       getPartnerByPage(this.conditions).then((resp) => {
         const { code, msg, data, total } = resp
         this.listLoading = false
-        if (code === 0) {
+        if (code === 200) {
           this.total = total
           this.dataList = data
         } else {
@@ -154,7 +154,7 @@ export default {
       }).then(() => {
         deletePartner(ocId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {
@@ -178,7 +178,7 @@ export default {
       }).then(() => {
         resetAdminPwd(ocId, adminId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {
@@ -197,7 +197,7 @@ export default {
       const { ocId } = row
       updatePartnerStatus(ocId, status).then((resp) => {
         const { code, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.getData()
           this.$message.success(msg)
         } else {

+ 4 - 4
src/views/system/customer/partner/partner.vue

@@ -206,7 +206,7 @@ export default {
     initPartnerCatList() {
       getPartnerCatByList().then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.partnerCatList = data
         } else {
           this.$message.error(msg)
@@ -225,7 +225,7 @@ export default {
       this.formData.ocId = ocId
       getPartnerById(ocId).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.formData = data
           this.viewData.cityCode = this.formData.partnerAreaCode.split(',')
         } else {
@@ -276,7 +276,7 @@ export default {
               }
               createPartner(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.$message.success(msg)
                   this.$emit('formSuccess')
@@ -292,7 +292,7 @@ export default {
               this.formData.partnerAreaCode = this.viewData.cityCode.join(',')
               updatePartner(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.$message.success(msg)
                   this.$emit('formSuccess')

+ 3 - 3
src/views/system/customer/partner/partnerAdmin.vue

@@ -86,7 +86,7 @@ export default {
       this.dialogVisible = true
       getPartnerAdmin(ocId).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.formData = data
         } else {
           this.$message.error(msg)
@@ -114,7 +114,7 @@ export default {
             case ACTION_ADD:
               createPartnerAdmin(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.$message.success(msg)
                   this.$emit('formSuccess')
@@ -129,7 +129,7 @@ export default {
             case ACTION_UPDATE:
               updatePartnerAdmin(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.$message.success(msg)
                   this.$emit('formSuccess')

+ 3 - 3
src/views/system/doc/dir.vue

@@ -68,7 +68,7 @@ export default {
       this.dialogVisible = true
       getDir(dirId).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.formData = data
         } else {
           this.$message.error(msg)
@@ -95,7 +95,7 @@ export default {
             case ACTION_ADD:
               createDir(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.$message.success(msg)
                   this.formSuccess()
@@ -110,7 +110,7 @@ export default {
             case ACTION_UPDATE:
               updateDir(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.$message.success(msg)
                   this.formSuccess()

+ 3 - 3
src/views/system/doc/dirTree.vue

@@ -72,7 +72,7 @@ export default {
     getData() {
       getDirByList().then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           const temp = toTree(data, {
             value: 'dirId',
             name: 'dirTitle',
@@ -150,7 +150,7 @@ export default {
       }).then(() => {
         deleteDir(data.dirId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {
@@ -173,7 +173,7 @@ export default {
       }).then(() => {
         moveDir(data.dirId, type).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {

+ 3 - 3
src/views/system/doc/file.vue

@@ -102,7 +102,7 @@ export default {
       this.dialogVisible = true
       getFile(fileId).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.formData = data
         } else {
           this.$message.error(msg)
@@ -131,7 +131,7 @@ export default {
             case ACTION_ADD:
               createFile(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.formSuccess()
                   this.$message.success(msg)
@@ -146,7 +146,7 @@ export default {
             case ACTION_UPDATE:
               updateFile(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.formSuccess()
                   this.$message.success(msg)

+ 3 - 3
src/views/system/doc/fileList.vue

@@ -109,7 +109,7 @@ export default {
       getFileByPage(this.conditions).then((resp) => {
         this.listLoading = false
         const { code, msg, data, total } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.total = total
           this.dataList = data
         } else {
@@ -139,7 +139,7 @@ export default {
       }).then(() => {
         deleteFile(data.fileId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {
@@ -168,7 +168,7 @@ export default {
       uploadFile(formData).then((resp) => {
         this.listLoading = false
         const { code, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.$message.success(msg)
           this.getData()
         } else {

+ 3 - 3
src/views/system/group/group/group.vue

@@ -94,7 +94,7 @@ export default {
       this.dialogVisible = true
       getGroupById(id).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.formData = data
         } else {
           this.$message.error(msg)
@@ -135,7 +135,7 @@ export default {
         case ACTION_ADD:
           createGroup(this.formData).then((resp) => {
             const { code, msg } = resp
-            if (code === 0) {
+            if (code === 200) {
               this.dialogVisible = false
               this.$emit('formSuccess')
               this.$message.success(msg)
@@ -150,7 +150,7 @@ export default {
         case ACTION_UPDATE:
           updateGroup(this.formData).then((resp) => {
             const { code, msg } = resp
-            if (code === 0) {
+            if (code === 200) {
               this.dialogVisible = false
               this.$emit('formSuccess')
               this.$message.success(msg)

+ 2 - 2
src/views/system/group/group/groupTree.vue

@@ -68,7 +68,7 @@ export default {
     getData() {
       getGroupByList().then((resp) => {
         const { code, data } = resp
-        if (code === 0) {
+        if (code === 200) {
           const temp = toTree(data, {
             value: 'groupId',
             name: 'label',
@@ -128,7 +128,7 @@ export default {
       }).then(() => {
         deleteGroupById(data.groupId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {

+ 4 - 4
src/views/system/group/user/grantGroup.vue

@@ -83,7 +83,7 @@ export default {
     initGroupList() {
       getGroupByList().then((resp) => {
         const { code, data } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.groupList = data
         }
       }).catch((error) => {
@@ -107,7 +107,7 @@ export default {
       this.dialogVisible = true
       getGrantGroupById(gmpgId).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.formData = data
         } else {
           this.$message.error(msg)
@@ -143,7 +143,7 @@ export default {
         case ACTION_ADD:
           createGrantGroup(this.formData).then((resp) => {
             const { code, msg } = resp
-            if (code === 0) {
+            if (code === 200) {
               this.dialogVisible = false
               this.$emit('formSuccess')
               this.$message.success(msg)
@@ -158,7 +158,7 @@ export default {
         case ACTION_UPDATE:
           updateGrantGroup(this.formData).then((resp) => {
             const { code, msg } = resp
-            if (code === 0) {
+            if (code === 200) {
               this.dialogVisible = false
               this.$emit('formSuccess')
               this.$message.success(msg)

+ 3 - 3
src/views/system/group/user/user.vue

@@ -133,7 +133,7 @@ export default {
       this.dialogVisible = true
       getUserById(groupId, userId).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.formData = data
           this.viewData.isFixed = data.isFixed
         } else {
@@ -176,7 +176,7 @@ export default {
         case ACTION_ADD:
           createUser(this.formData).then((resp) => {
             const { code, msg } = resp
-            if (code === 0) {
+            if (code === 200) {
               this.dialogVisible = false
               this.$emit('formSuccess')
               this.$message.success(msg)
@@ -191,7 +191,7 @@ export default {
         case ACTION_UPDATE:
           updateUser(this.formData).then((resp) => {
             const { code, msg } = resp
-            if (code === 0) {
+            if (code === 200) {
               this.dialogVisible = false
               this.$message.success(msg)
               this.$emit('formSuccess')

+ 4 - 4
src/views/system/group/user/userList.vue

@@ -155,7 +155,7 @@ export default {
     handlerChangeUserStatus(status, data) {
       updateUserStatus(data.accountId, status).then((resp) => {
         const { code, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.$message.success(msg)
         } else {
           this.$message.error(msg)
@@ -203,7 +203,7 @@ export default {
       getUserByPage(this.conditions).then((resp) => {
         this.listLoading = false
         const { code, data, total, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.total = total
           this.dataList = data
         } else {
@@ -237,7 +237,7 @@ export default {
       }).then(() => {
         resetPassword(data.accountId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.$message.success(msg)
           } else {
             this.$message.error(msg)
@@ -263,7 +263,7 @@ export default {
       }).then(() => {
         deleteUserById(data.accountId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {

+ 2 - 2
src/views/system/industry/manage/index.vue

@@ -108,7 +108,7 @@ export default {
       getIndustryByList().then((resp) => {
         const { code, data, total, msg } = resp
         this.listLoading = false
-        if (code === 0) {
+        if (code === 200) {
           const temp = toTree(data, {
             value: 'industryId',
             name: 'label',
@@ -155,7 +155,7 @@ export default {
       }).then(() => {
         deleteIndustryById(industryId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {

+ 3 - 3
src/views/system/industry/manage/industry.vue

@@ -97,7 +97,7 @@ export default {
       this.actionType = ACTION_UPDATE
       getIndustryById(industryId).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.formData = data
         } else {
           this.$message.error(msg)
@@ -129,7 +129,7 @@ export default {
             case ACTION_ADD:
               createIndustry(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.$emit('formSuccess')
                   this.$message.success(msg)
@@ -144,7 +144,7 @@ export default {
             case ACTION_UPDATE:
               updateIndustry(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.$emit('formSuccess')
                   this.$message.success(msg)

+ 2 - 2
src/views/system/industry/type/index.vue

@@ -65,7 +65,7 @@ export default {
       this.listLoading = true
       getIndustryTypeByList(this.conditions).then((resp) => {
         const { code, msg, data, total } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.conditions.total = total
           this.dataList = data
         } else {
@@ -104,7 +104,7 @@ export default {
       }).then(() => {
         deleteIndustryTypeById(industryTypeId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {

+ 3 - 3
src/views/system/industry/type/industryType.vue

@@ -71,7 +71,7 @@ export default {
       this.dialogVisible = true
       getIndustryTypeById(industryId).then((resp) => {
         const { code, data } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.formData = data
         }
       }).catch((error) => {
@@ -107,7 +107,7 @@ export default {
         case ACTION_ADD:
           createIndustryType(this.formData).then((resp) => {
             const { code, msg } = resp
-            if (code === 0) {
+            if (code === 200) {
               this.$message.success(msg)
               this.dialogVisible = false
               this.formSuccess()
@@ -122,7 +122,7 @@ export default {
         case ACTION_UPDATE:
           updateIndustryType(this.formData).then((resp) => {
             const { code, msg } = resp
-            if (code === 0) {
+            if (code === 200) {
               this.dialogVisible = false
               this.formSuccess()
               this.$message.success(msg)

+ 3 - 3
src/views/system/job/job/index.vue

@@ -115,7 +115,7 @@ export default {
       getJobByPage(this.conditions).then((resp) => {
         const { code, data, total } = resp
         this.listLoading = false
-        if (code === 0) {
+        if (code === 200) {
           this.conditions.total = total
           this.dataList = data
         }
@@ -129,7 +129,7 @@ export default {
       const jobId = data.jobId
       updateJobStatus(jobId, status).then((resp) => {
         const { code, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.$message.success(msg)
         } else {
           this.$message.error(msg)
@@ -158,7 +158,7 @@ export default {
       }).then(() => {
         deleteJobById(data.jobId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {

+ 3 - 3
src/views/system/job/job/job.vue

@@ -97,7 +97,7 @@ export default {
 
       getJobById(jobId).then((resp) => {
         const { code, data } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.formData = data
         }
       }).catch((error) => {
@@ -138,7 +138,7 @@ export default {
         case ACTION_ADD:
           createJob(this.formData).then((resp) => {
             const { code, msg } = resp
-            if (code === 0) {
+            if (code === 200) {
               this.dialogVisible = false
               this.formSuccess()
             }
@@ -155,7 +155,7 @@ export default {
         case ACTION_UPDATE:
           updateJob(this.formData).then((resp) => {
             const { code, msg } = resp
-            if (code === 0) {
+            if (code === 200) {
               this.dialogVisible = false
               this.formSuccess()
             }

+ 2 - 2
src/views/system/job/schedule/index.vue

@@ -104,7 +104,7 @@ export default {
       getJobScheduleByPage(this.conditions).then((resp) => {
         const { code, data, total, msg } = resp
         this.listLoading = false
-        if (code === 0) {
+        if (code === 200) {
           this.total = total
           this.dataList = data
         } else {
@@ -139,7 +139,7 @@ export default {
       }).then(() => {
         deleteJobScheduleById(jobId, scheduleId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {

+ 5 - 5
src/views/system/job/schedule/schedule.vue

@@ -96,7 +96,7 @@ export default {
     initJobList() {
       getJobByList().then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.jobList = data
         } else {
           this.$message.error(msg)
@@ -110,7 +110,7 @@ export default {
     initTriggerList() {
       getJobTriggerByList().then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.triggerList = data
         } else {
           this.$message.error(msg)
@@ -143,7 +143,7 @@ export default {
 
       getJobScheduleById(jobId, triggerId).then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.formData = data
         } else {
           this.$message.error(msg)
@@ -188,7 +188,7 @@ export default {
         case ACTION_ADD:
           createJobSchedule(this.formData).then((resp) => {
             const { code, msg } = resp
-            if (code === 0) {
+            if (code === 200) {
               this.dialogVisible = false
               this.formSuccess()
             }
@@ -205,7 +205,7 @@ export default {
         case ACTION_UPDATE:
           updateJobSchedule(this.formData).then((resp) => {
             const { code, msg } = resp
-            if (code === 0) {
+            if (code === 200) {
               this.dialogVisible = false
               this.formSuccess()
             }

+ 3 - 3
src/views/system/job/trigger/index.vue

@@ -110,7 +110,7 @@ export default {
       getJobTriggerByList(this.conditions).then((resp) => {
         const { code, data, total } = resp
         this.listLoading = false
-        if (code === 0) {
+        if (code === 200) {
           this.total = total
           this.dataList = data
         }
@@ -123,7 +123,7 @@ export default {
     handlerChangeStatus(status, data) {
       updateJobTriggerStatus(data.triggerId, status).then((resp) => {
         const { code, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.$message.success(msg)
         } else {
           this.$message.error(msg)
@@ -155,7 +155,7 @@ export default {
       }).then(() => {
         deleteJobTriggerById(triggerId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {

+ 3 - 3
src/views/system/job/trigger/trigger.vue

@@ -86,7 +86,7 @@ export default {
 
       getJobTriggerById(triggerId).then((resp) => {
         const { code, data } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.formData = data
         }
       }).catch((error) => {
@@ -127,7 +127,7 @@ export default {
         case ACTION_ADD:
           createJobTrigger(this.formData).then((resp) => {
             const { code, msg } = resp
-            if (code === 0) {
+            if (code === 200) {
               this.dialogVisible = false
               this.formSuccess()
             }
@@ -144,7 +144,7 @@ export default {
         case ACTION_UPDATE:
           updateJobTrigger(this.formData).then((resp) => {
             const { code, msg } = resp
-            if (code === 0) {
+            if (code === 200) {
               this.dialogVisible = false
               this.formSuccess()
             }

+ 1 - 1
src/views/system/leadingGroup/components/LgpSelector.vue

@@ -42,7 +42,7 @@ export default {
     getData() {
       getLeadingGroupPositionByList().then((resp) => {
         const { code, data, msg } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.lgpList = data
         } else {
           this.$message.error(msg)

+ 3 - 3
src/views/system/leadingGroup/group/leadingGroup.vue

@@ -78,7 +78,7 @@ export default {
       this.dialogVisible = true
       getLeadingGroupById(id).then((resp) => {
         const { code, data } = resp
-        if (code === 0) {
+        if (code === 200) {
           this.formData = data
         }
       }).catch((error) => {
@@ -113,7 +113,7 @@ export default {
             case ACTION_ADD:
               createLeadingGroup(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.formSuccess()
                 }
@@ -126,7 +126,7 @@ export default {
             case ACTION_UPDATE:
               updateLeadingGroup(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.$message.success(msg)
                   this.dialogVisible = false
                   this.formSuccess()

+ 2 - 2
src/views/system/leadingGroup/group/leftGroup.vue

@@ -64,7 +64,7 @@ export default {
     getData() {
       getLeadingGroupTopByList().then((resp) => {
         const { code, data } = resp
-        if (code === 0) {
+        if (code === 200) {
           if (data && isArray(data)) {
             this.treeData = data
             if (data.length > 0) {
@@ -113,7 +113,7 @@ export default {
       }).then(() => {
         deleteLeadingGroupById(lgId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {

+ 2 - 2
src/views/system/leadingGroup/member/member.vue

@@ -149,7 +149,7 @@ export default {
             case ACTION_ADD:
               createLeadingGroupMember(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.formSuccess()
                   this.$message.success(msg)
@@ -164,7 +164,7 @@ export default {
             case ACTION_UPDATE:
               updateLeadingGroupMember(this.formData).then((resp) => {
                 const { code, msg } = resp
-                if (code === 0) {
+                if (code === 200) {
                   this.dialogVisible = false
                   this.formSuccess()
                   this.$message.success(msg)

+ 2 - 2
src/views/system/leadingGroup/member/memberList.vue

@@ -118,7 +118,7 @@ export default {
       }).then(() => {
         deleteLeadingGroupMemberById(lgId, lgmId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {
@@ -144,7 +144,7 @@ export default {
       }).then(() => {
         deleteLeadingGroupById(lgId).then((resp) => {
           const { code, msg } = resp
-          if (code === 0) {
+          if (code === 200) {
             this.getData()
             this.$message.success(msg)
           } else {

Niektóre pliki nie zostały wyświetlone z powodu dużej ilości zmienionych plików