|
|
@ -20,7 +20,7 @@ |
|
|
<el-col :span="5"> |
|
|
<el-col :span="5"> |
|
|
<el-form-item :label=labels.site prop="site"> |
|
|
<el-form-item :label=labels.site prop="site"> |
|
|
<span slot="label" style="" @click="getBaseList(1017)"><a herf="#">域</a></span> |
|
|
<span slot="label" style="" @click="getBaseList(1017)"><a herf="#">域</a></span> |
|
|
<el-input v-model="pageData.site" :disabled="!this.addFlag"></el-input> |
|
|
|
|
|
|
|
|
<el-input v-model="pageData.site" :disabled="!this.addFlag"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="5"> |
|
|
<el-col :span="5"> |
|
|
@ -379,7 +379,7 @@ export default { |
|
|
getBaseData (val) { |
|
|
getBaseData (val) { |
|
|
if (this.tagNo === 1017) { |
|
|
if (this.tagNo === 1017) { |
|
|
this.pageData.site = val.SiteID; |
|
|
this.pageData.site = val.SiteID; |
|
|
this.changeToolPrefix(); |
|
|
|
|
|
|
|
|
//this.changeToolPrefix(); |
|
|
}else if (this.tagNo === 1016) { |
|
|
}else if (this.tagNo === 1016) { |
|
|
this.pageData.toolType = val.tool_type; |
|
|
this.pageData.toolType = val.tool_type; |
|
|
this.pageData.toolTypeDesc = val.tool_type_desc; |
|
|
this.pageData.toolTypeDesc = val.tool_type_desc; |
|
|
@ -491,6 +491,12 @@ export default { |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
|
|
|
watch:{ |
|
|
|
|
|
'pageData.site': function(newValue, oldValue){ |
|
|
|
|
|
//调用方法 |
|
|
|
|
|
this.changeToolPrefix(); |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
created() { |
|
|
created() { |
|
|
// this.factoryList() |
|
|
// this.factoryList() |
|
|
// this.getLanguageList() |
|
|
// this.getLanguageList() |
|
|
|