|
|
@ -127,7 +127,8 @@ |
|
|
|
|
|
|
|
|
<el-row :gutter="20" style="margin-top: 60px"> |
|
|
<el-row :gutter="20" style="margin-top: 60px"> |
|
|
<el-col :span="24"><div class="grid-content bg-purple"> |
|
|
<el-col :span="24"><div class="grid-content bg-purple"> |
|
|
<el-form-item :label="'附加客户图纸/Attach Customer Drawing'"> |
|
|
|
|
|
|
|
|
<el-form-item > |
|
|
|
|
|
<span slot="label" style="" @click="openNewPage(dataForm.pictureAddess)"><a herf="#">附加客户图纸/Attach Customer Drawing(点击跳转)</a></span> |
|
|
<el-input v-model="dataForm.pictureAddess" :disabled="ifDisableFlag" ></el-input> |
|
|
<el-input v-model="dataForm.pictureAddess" :disabled="ifDisableFlag" ></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</div></el-col> |
|
|
</div></el-col> |
|
|
@ -206,6 +207,7 @@ |
|
|
tsdBasicInformationSearch,getBMStatusDesc, |
|
|
tsdBasicInformationSearch,getBMStatusDesc, |
|
|
submitChange, // 提交 |
|
|
submitChange, // 提交 |
|
|
getOADetailForBM, |
|
|
getOADetailForBM, |
|
|
|
|
|
checkUrl, |
|
|
} from "@/api/sampleManagement/technicalSpecificationList.js" |
|
|
} from "@/api/sampleManagement/technicalSpecificationList.js" |
|
|
import { |
|
|
import { |
|
|
getNodeAuthority, // 获取节点权限 |
|
|
getNodeAuthority, // 获取节点权限 |
|
|
@ -451,6 +453,30 @@ |
|
|
this.submitData(tempData) |
|
|
this.submitData(tempData) |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
|
|
|
openNewPage(url){ |
|
|
|
|
|
// window.open(this.$store.state.user.bmPicUrl +url); |
|
|
|
|
|
let urlIn=url.replaceAll('\\','/') |
|
|
|
|
|
if(url==null||url===''){ |
|
|
|
|
|
this.$alert("链接没有数据!", '错误', { |
|
|
|
|
|
confirmButtonText: '确定' |
|
|
|
|
|
}) |
|
|
|
|
|
return false; |
|
|
|
|
|
} |
|
|
|
|
|
// window.open(url); |
|
|
|
|
|
let data={ |
|
|
|
|
|
url:urlIn |
|
|
|
|
|
} |
|
|
|
|
|
checkUrl(data).then(({data}) => { |
|
|
|
|
|
if (data && data.code === 0) { |
|
|
|
|
|
window.open(data.url); |
|
|
|
|
|
} else { |
|
|
|
|
|
this.$alert(data.msg, '错误', { |
|
|
|
|
|
confirmButtonText: '确定' |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
submitData (tempData) { |
|
|
submitData (tempData) { |
|
|
|
|
|
|
|
|
updateBMcustomerInfo(this.dataForm).then(({data}) => { |
|
|
updateBMcustomerInfo(this.dataForm).then(({data}) => { |
|
|
|