Ver Fonte

微服务名称修改

gongyb há 4 anos atrás
pai
commit
c89bbafbc7

+ 8 - 8
src/dashoo.cn/frontend_animal/src/components/samples/samplesearchdialog.vue

@@ -378,7 +378,7 @@ export default {
       }],
       data1: [{
         value: 'BarCode',
-        label: '样本唯一码',
+        label: '样本码',
         type: 'str'
       }, {
         value: 'SampleCode',
@@ -476,7 +476,7 @@ export default {
   // },
   methods: {
     getOrgTreeList () {
-      service.postRequest('dashoo.biobank.bee-0.1', 'Sample', 'BasicSampleType')
+      service.postRequest('dashoo.biobank.bee-0.1-jlw', 'Sample', 'BasicSampleType')
         .then(res => {
           this.orgtreelist = utils.toolfun_gettreejson(res.data, 'id', 'parent_id', 'id,label')
         })
@@ -580,7 +580,7 @@ export default {
     // 查询扩展字段
     searchKuoZhanData () {
       this.data3 = []
-      service.postRequest('dashoo.biobank.bee-0.1', 'SampleRelated', 'CustomizeSearch', {type: 'Sample'})
+      service.postRequest('dashoo.biobank.bee-0.1-jlw', 'SampleRelated', 'CustomizeSearch', {type: 'Sample'})
         .then(res => {
           var models = res.data
           for (var i = 0; i < models.length; i++) {
@@ -611,7 +611,7 @@ export default {
     },
     searchSourceKuoZhanData () {
       this.data = []
-      service.postRequest('dashoo.biobank.bee-0.1', 'SampleRelated', 'CustomizeSearch', {type: 'SampleSource'})
+      service.postRequest('dashoo.biobank.bee-0.1-jlw', 'SampleRelated', 'CustomizeSearch', {type: 'SampleSource'})
         .then(res => {
           var models = res.data
           for (var i = 0; i < models.length; i++) {
@@ -642,7 +642,7 @@ export default {
     },
     // getSampleSourceTypeExpand () {
     //   this.data2 = []
-    //   service.postRequest('dashoo.biobank.bee-0.1', 'SampleSource', 'SourceTypeExpand')
+    //   service.postRequest('dashoo.biobank.bee-0.1-jlw', 'SampleSource', 'SourceTypeExpand')
     //     .then(res => {
     //       var models = res
     //       // cascader判断
@@ -695,7 +695,7 @@ export default {
     },
     getAllSearchTab () {
       let _this = this
-      service.postRequest('dashoo.biobank.bee-0.1', 'SampleRelated', 'GetSearchTemplate', { type: 'Sample' })
+      service.postRequest('dashoo.biobank.bee-0.1-jlw', 'SampleRelated', 'GetSearchTemplate', { type: 'Sample' })
         // getSearchTemplate({ Type: 'sample' })
         .then(res => {
           console.log('searchTemplates', _this.searchTemplates)
@@ -736,7 +736,7 @@ export default {
         cancelButtonText: '取消',
         type: 'warning'
       }).then(() => {
-        service.postRequest('dashoo.biobank.bee-0.1', 'SampleRelated', 'DeleteSearchTemplate', {id: Id})
+        service.postRequest('dashoo.biobank.bee-0.1-jlw', 'SampleRelated', 'DeleteSearchTemplate', {id: Id})
           .then(res => {
             if (res.code === 0) {
               _this.$message({
@@ -875,7 +875,7 @@ export default {
       // console.log(template, 'BBBBBBBBB')
 
       // 保存确定
-      service.postRequest('dashoo.biobank.bee-0.1', 'SampleRelated', 'SaveSearchTemplate', {id: this.currentSearchId, name: this.currentSearchTemplateName, template: template, type: 'Sample'})
+      service.postRequest('dashoo.biobank.bee-0.1-jlw', 'SampleRelated', 'SaveSearchTemplate', {id: this.currentSearchId, name: this.currentSearchTemplateName, template: template, type: 'Sample'})
         // putSearchTemplate(this.currentSearchTemplateName, this.currentSearchId, template, 'sample')
         .then(res => {
           if (res.code === 0) {

+ 6 - 6
src/dashoo.cn/frontend_animal/src/components/samples/samplesourcesearchdialog.vue

@@ -407,7 +407,7 @@ export default {
   // },
   methods: {
     getOrgTreeList () {
-      service.postRequest('dashoo.biobank.bee-0.1', 'SampleRelated', 'BasicSampleType')
+      service.postRequest('dashoo.biobank.bee-0.1-jlw', 'SampleRelated', 'BasicSampleType')
         .then(res => {
           this.orgtreelist = utils.toolfun_gettreejson(res.data, 'id', 'parent_id', 'id,label')
         })
@@ -510,7 +510,7 @@ export default {
     // 查询扩展字段
     searchKuoZhanData () {
       this.data = []
-      service.postRequest('dashoo.biobank.bee-0.1', 'SampleRelated', 'CustomizeSearch', {type: 'SampleSource'})
+      service.postRequest('dashoo.biobank.bee-0.1-jlw', 'SampleRelated', 'CustomizeSearch', {type: 'SampleSource'})
         .then(res => {
           var models = res.data
           for (var i = 0; i < models.length; i++) {
@@ -542,7 +542,7 @@ export default {
 
     // getSampleSourceTypeExpand () {
     //   this.data2 = []
-    //   service.postRequest('dashoo.biobank.bee-0.1', 'SampleSource', 'SourceTypeExpand')
+    //   service.postRequest('dashoo.biobank.bee-0.1-jlw', 'SampleSource', 'SourceTypeExpand')
     //     .then(res => {
     //       var models = res
     //       // cascader判断
@@ -585,7 +585,7 @@ export default {
     },
     getAllSearchTab () {
       let _this = this
-      service.postRequest('dashoo.biobank.bee-0.1', 'SampleRelated', 'GetSearchTemplate', { type: 'SampleSource' })
+      service.postRequest('dashoo.biobank.bee-0.1-jlw', 'SampleRelated', 'GetSearchTemplate', { type: 'SampleSource' })
       // getSearchTemplate({ Type: 'sample' })
         .then(res => {
           console.log('searchTemplates', _this.searchTemplates)
@@ -625,7 +625,7 @@ export default {
         cancelButtonText: '取消',
         type: 'warning'
       }).then(() => {
-        service.postRequest('dashoo.biobank.bee-0.1', 'SampleRelated', 'DeleteSearchTemplate', {id: Id})
+        service.postRequest('dashoo.biobank.bee-0.1-jlw', 'SampleRelated', 'DeleteSearchTemplate', {id: Id})
           .then(res => {
             if (res.code === 0) {
               _this.$message({
@@ -762,7 +762,7 @@ export default {
       // console.log(template, 'BBBBBBBBB')
 
       // 保存确定
-      service.postRequest('dashoo.biobank.bee-0.1', 'SampleRelated', 'SaveSearchTemplate', {id: this.currentSearchId, name: this.currentSearchTemplateName, template: template, type: 'SampleSource'})
+      service.postRequest('dashoo.biobank.bee-0.1-jlw', 'SampleRelated', 'SaveSearchTemplate', {id: this.currentSearchId, name: this.currentSearchTemplateName, template: template, type: 'SampleSource'})
       // putSearchTemplate(this.currentSearchTemplateName, this.currentSearchId, template, 'sample')
         .then(res => {
           if (res.code === 0) {

+ 1 - 1
src/dashoo.cn/frontend_animal/src/pages/biobank/source/animal.vue

@@ -950,7 +950,7 @@ export default {
         params.size = 0
       }
       // 样本来源相关导出
-      service.downloadExcel('dashoo.biobank.bee-0.1-jlw-jlw', 'SampleRelated', 'ExportExcel', params)
+      service.downloadExcel('dashoo.biobank.bee-0.1-jlw', 'SampleRelated', 'ExportExcel', params)
     },
     exportSamples () {
       const dateInfo = this.formatExportDate(new Date())