|
|
@@ -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) {
|