@@ -397,38 +397,40 @@
this.$nextTick(() => {
let strVal = ''
if (val === 1013) {
- if(type==1) {
+ if (type === 1) {
strVal = this.dataForm.partType
}
}
this.$refs.baseList.init(val, strVal)
})
},
+
/* 列表方法的回调 */
getBaseData (val) {
if (this.tagNo === 1013) {
- if(this.tagNo1==1) {
+ if (this.tagNo1 === 1) {
this.dataForm.partType = val.Base_id
this.dataForm.partTypeDesc = val.Base_desc
}
}
},
- //初始化组件的参数
- init(inData) {
- if(this.dataForm.codeNo!=null&&this.dataForm.codeNo!=''){
- return false;
- }
- //初始化参数
- this.searchData = JSON.parse(JSON.stringify(inData));
- if(this.searchData.ifDisableFlag){
- this.ifDisableFlag=true
- }
- //刷新表格
- this.searchTable();
+ // 初始化组件的参数
+ init (inData) {
+ // if (this.dataForm.codeNo != null && this.dataForm.codeNo !== '') {
+ // return false;
+ // }
+ // 初始化参数
+ this.searchData = JSON.parse(JSON.stringify(inData))
+ if (this.searchData.ifDisableFlag) {
+ this.ifDisableFlag = true
+ }
+ // 刷新表格
+ this.searchTable()
},
- refresh(){
- if(this.searchData.codeNo===''||this.searchData.codeNo===null){
+
+ refresh () {
+ if (this.searchData.codeNo === '' || this.searchData.codeNo === null) {
this.$alert('刷新失败请重新打开技术参数卡', '失败', {
confirmButtonText: '确定'
})
@@ -436,48 +438,46 @@
}
this.$clearHighLight()
tsdBasicInformationSearch(this.searchData).then(({data}) => {
- this.baseForm=data.row;
+ this.baseForm = data.row
this.getNodeAuthority(data.row)
})
getOADetailForBM(this.searchData).then(({data}) => {
this.spForm.nodeName = data.row.nodeName
- this.spForm.sp = data.row.sp==null?'':data.row.sp
+ this.spForm.sp = data.row.sp == null ? '' : data.row.sp
// console.log('审批人:'+this.spForm.sp)
// console.log('用户:'+this.searchData.username)
// console.log(this.spForm.sp.includes(this.searchData.username))
-
})
searchBMcustomerInfo(this.searchData).then(({data}) => {
- if(data.rows.length>0){
- this.dataForm = data.rows[0];
+ if (data.rows.length > 0) {
+ this.dataForm = data.rows[0]
this.$message.success( '操作成功')
}else {
- this.dataForm.site=this.searchData.site
- this.dataForm.codeNo=this.searchData.codeNo
+ this.dataForm.site = this.searchData.site
+ this.dataForm.codeNo = this.searchData.codeNo
}
-
-
- });
+ })
},
- searchTable(){
+
+ searchTable () {
getOADetailForBM(this.searchData).then(({data}) => {
this.spForm.nodeName = data.row.nodeName
- this.spForm.sp = data.row.sp==null?'':data.row.sp
+ this.spForm.sp = data.row.sp == null ? '' : data.row.sp
})
tsdBasicInformationSearch(this.searchData).then(({data}) => {
- this.baseForm=data.row;
+ this.baseForm = data.row
this.getNodeAuthority(data.row)
})
searchBMcustomerInfo(this.searchData).then(({data}) => {
- if(data.rows.length>0){
- this.dataForm = data.rows[0];
- }else {
- this.dataForm.site=this.searchData.site
- this.dataForm.codeNo=this.searchData.codeNo
+ if (data.rows.length > 0) {
+ this.dataForm = data.rows[0]
+ } else {
+ this.dataForm.site = this.searchData.site
+ this.dataForm.codeNo = this.searchData.codeNo
}
- });
-
+ })
},
+
saveData(){
this.$confirm("是否保存信息?", '保存提示', {
confirmButtonText: '确定',
@@ -577,18 +577,18 @@
})
},
- openNewPage(url){
+ openNewPage (url) {
// window.open(this.$store.state.user.bmPicUrl +url);
- let urlIn=url.replaceAll('\\','/')
- if(url==null||url===''){
+ let urlIn = url.replaceAll('\\','/')
+ if (url === '') {
this.$alert("链接没有数据!", '错误', {
confirmButtonText: '确定'
})
return false;
}
// window.open(url);
- let data={
- url:urlIn
+ let data = {
+ url: urlIn
}
checkUrl(data).then(({data}) => {
if (data && data.code === 0) {
@@ -607,8 +607,8 @@
if (data && data.code === 0) {
submitChange(tempData).then(({data}) => {
if (data && data.code === 0) {
- // this.searchTable()
- window.location.reload();
+ this.searchTable()
+ // window.location.reload();
this.submitModalFlag = false
this.submitLoading = false
this.$message({message: '操作成功', type: 'success'})
diff --git a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue
index 45078be..7625a55 100644
--- a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue
+++ b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue
@@ -181,76 +181,66 @@
})
},
methods: {
- //初始化组件的参数
- init(inData) {
- if(this.searchData.codeNo!=null&&this.searchData.codeNo!=''){
- return false;
- }
- //初始化参数
- this.searchData = JSON.parse(JSON.stringify(inData));
- if(this.searchData.ifDisableFlag){
- this.ifDisableFlag=true
+ // 初始化组件的参数
+ init (inData) {
+ // if (this.searchData.codeNo != null && this.searchData.codeNo !== '') {
+ // return false;
+ // }
+ // 初始化参数
+ this.searchData = JSON.parse(JSON.stringify(inData))
+ if (this.searchData.ifDisableFlag) {
+ this.ifDisableFlag = true
}
//this.searchData.type= JSON.parse(JSON.stringify(this.type));
- //刷新表格
+ // 刷新表格
this.$nextTick(()=>{
// this.searchTable();
getOADetailForBM(this.searchData).then(({data}) => {
this.spForm.nodeName = data.row.nodeName
- this.spForm.sp = data.row.sp==null?'':data.row.sp
+ this.spForm.sp = data.row.sp == null ? '' : data.row.sp
})
searchBMPropertiesValue(this.searchData).then(({data}) => {
-
- this.tableData = data.rows;
- // this.$message({
- // message: '操作成功',
- // type: 'success',
- // duration: 1500,
- // onClose: () => {
- // }
- // })
- });
+ this.tableData = data.rows
+ })
searchBMPropertiesHeaderForBM(this.searchData).then(({data}) => {
// this.searchData.propertiesCodeNo = data.row.propertiesCodeNo;
- this.$set(this.searchData, 'propertiesCodeNo', data.row.propertiesCodeNo);
- });
+ this.$set(this.searchData, 'propertiesCodeNo', data.row.propertiesCodeNo)
+ })
tsdBasicInformationSearch(this.searchData).then(({data}) => {
- this.baseForm=data.row;
+ this.baseForm = data.row
this.getNodeAuthority(data.row)
})
this.$clearHighLight()
- } )
-
-
+ })
},
- searchTable(){
+
+ searchTable () {
getOADetailForBM(this.searchData).then(({data}) => {
this.spForm.nodeName = data.row.nodeName
- this.spForm.sp = data.row.sp==null?'':data.row.sp
+ this.spForm.sp = data.row.sp == null ? '' : data.row.sp
})
searchBMPropertiesValue(this.searchData).then(({data}) => {
-
- this.tableData = data.rows;
+ this.tableData = data.rows
this.$message({
message: '操作成功',
type: 'success',
duration: 1500,
- onClose: () => {
- }
+ onClose: () => {}
})
- });
+ })
searchBMPropertiesHeaderForBM(this.searchData).then(({data}) => {
// this.searchData.propertiesCodeNo = data.row.propertiesCodeNo;
- this.$set(this.searchData, 'propertiesCodeNo', data.row.propertiesCodeNo);
- });
+ this.$set(this.searchData, 'propertiesCodeNo', data.row.propertiesCodeNo)
+ })
tsdBasicInformationSearch(this.searchData).then(({data}) => {
- this.baseForm=data.row;
+ this.baseForm = data.row
this.getNodeAuthority(data.row)
})
this.$clearHighLight()
},
- refreshBMPageModal(){
+
+ refreshBMPageModal () {
this.$confirm(`是否刷新至最新模板界面,已填数据会更新到新模板中,若旧属性在新模板中被删除,该条数据会消失。`, '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
@@ -258,24 +248,17 @@
}).then(() => {
refreshBMPageModal(this.searchData).then(({data}) => {
if (data && data.code === 0) {
- this.searchTable();
- // this.$message({
- // message: '操作成功',
- // type: 'success',
- // duration: 1500,
- // onClose: () => {
- // }
- // })
+ this.searchTable()
} else {
this.$alert(data.msg, '错误', {
confirmButtonText: '确定'
})
}
})
- }).catch(() => {
})
},
- saveTable(){
+
+ saveTable () {
saveBMPropertiesValue(this.tableData).then(({data}) => {
if (data && data.code === 0) {
this.$clearHighLight()
@@ -292,12 +275,13 @@
confirmButtonText: '确定'
})
}
- });
+ })
},
+
openNewPage(url){
// window.open(this.$store.state.user.bmPicUrl +url);
let urlIn=url.replaceAll('\\','/')
- if(url==null||url===''){
+ if (url === '') {
this.$alert("链接没有数据!", '错误', {
confirmButtonText: '确定'
})
@@ -315,9 +299,9 @@
confirmButtonText: '确定'
})
}
- });
-
+ })
},
+
// 获取流程的配置权限
getNodeAuthority (row) {
getBMStatusDesc(this.searchData).then(({data}) => {
@@ -405,8 +389,8 @@
if (data && data.code === 0) {
submitChange(tempData).then(({data}) => {
if (data && data.code === 0) {
- // this.searchTable()
- window.location.reload();
+ this.searchTable()
+ // window.location.reload();
this.submitModalFlag = false
this.submitLoading = false
this.$emit("closeModel")
diff --git a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_packageInfo.vue b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_packageInfo.vue
index 424b053..215ac35 100644
--- a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_packageInfo.vue
+++ b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_packageInfo.vue
@@ -66,14 +66,15 @@ export default {
}
}
},
- //初始化组件的参数
- init(inData) {
+
+ // 初始化组件的参数
+ init (inData) {
//初始化参数
- this.searchData = JSON.parse(JSON.stringify(inData));
+ this.searchData = JSON.parse(JSON.stringify(inData))
if (this.searchData.ifDisableFlag) {
this.ifDisableFlag = true
}
- //刷新表格
+ // 刷新表格
this.searchData.type = 'PackageInfo'
this.$refs.PackageInfo.init(JSON.parse(JSON.stringify(this.searchData)))
},
diff --git a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_routing.vue b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_routing.vue
index 7276228..5574af6 100644
--- a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_routing.vue
+++ b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_routing.vue
@@ -1095,92 +1095,87 @@
},
methods: {
// 获取基础数据列表S
- getBaseList ( type) {
- if(this.ifDisableFlag){
+ getBaseList (type) {
+ if (this.ifDisableFlag) {
return false
}
this.tagNo1 = type
this.$nextTick(() => {
let strVal = ''
let roleId = ''
- if(type==1) {
+ if (type === 1) {
strVal = this.sheetData.overPrintOperator
roleId = 'R018'
}
- if(type==2) {
+ if (type===2) {
strVal = this.sheetData.printOperator
roleId = 'R019'
}
-
this.$refs.baseList.init(this.searchData.site,this.searchData.buNo, strVal,roleId)
})
},
+
/* 列表方法的回调 */
getBaseData (val) {
-
- if(this.tagNo1==1) {
+ if (this.tagNo1 === 1) {
this.sheetData.overPrintOperator = val.username
this.sheetData.overPrintOperatorName = val.userDisplay
this.$nextTick(() => {
- this.$triggerInputEvent(this.$refs.overPrintOperatorName);
- });
+ this.$triggerInputEvent(this.$refs.overPrintOperatorName)
+ })
}
- if(this.tagNo1==2) {
+ if (this.tagNo1 === 2) {
this.sheetData.printOperator = val.username
this.sheetData.printOperatorName = val.userDisplay
this.$nextTick(() => {
- this.$triggerInputEvent(this.$refs.printOperatorName);
- });
+ this.$triggerInputEvent(this.$refs.printOperatorName)
+ })
}
-
},
-
-
//初始化组件的参数
- init(inData) {
- if(this.dataForm.codeNo!=null&&this.dataForm.codeNo!=''){
- return false;
- }
+ init (inData) {
+ // if (this.dataForm.codeNo != null && this.dataForm.codeNo !== '') {
+ // return false;
+ // }
//初始化参数
- this.searchData = JSON.parse(JSON.stringify(inData));
+ this.searchData = JSON.parse(JSON.stringify(inData))
//刷新表格
- this.searchTable();
-
+ this.searchTable()
},
- searchTable(type){
+
+ searchTable (type) {
tsdBasicInformationSearch(this.searchData).then(({data}) => {
- if(data&& data.code===0){
- this.sheetData=data.row
- this.baseForm=data.row;
- this.routeData.site=data.row.site
- this.routeData.partNo=data.row.finalPartNo
+ if (data&& data.code === 0) {
+ this.sheetData = data.row
+ this.baseForm = data.row
+ this.routeData.site = data.row.site
+ this.routeData.partNo = data.row.finalPartNo
this.getNodeAuthority(data.row)
- if(type){
+ if (type) {
this.$message.success( '操作成功')
}
- }else {
+ } else {
this.$message.error(data.msg)
}
-
- });
+ })
getOADetailForBM(this.searchData).then(({data}) => {
this.spForm.nodeName = data.row.nodeName
- this.spForm.sp = data.row.sp==null?'':data.row.sp
+ this.spForm.sp = data.row.sp == null ? '' : data.row.sp
})
- if(this.searchData.buNo==='RDC'){
+ if (this.searchData.buNo === 'RDC') {
searchBMRoutingDetail(this.searchData).then(({data}) => {
- if(data&& data.code===0){
- if(data.rows.length>0){
- this.dataForm=data.rows[0]
- }else {
- this.dataForm.site=this.searchData.site
- this.dataForm.codeNo=this.searchData.codeNo
+ if (data&& data.code === 0) {
+ if (data.rows.length > 0) {
+ this.dataForm = data.rows[0]
+ } else {
+ this.dataForm.site = this.searchData.site
+ this.dataForm.codeNo = this.searchData.codeNo
}
- }else {
+ } else {
this.$message.error(data.msg)
}
- });
+ })
let inData = {
site: this.searchData.site,
codeNo: this.searchData.codeNo,
@@ -1205,16 +1200,15 @@
searchTechnicalSpecificationTeamStr(inData3).then(({data}) => {
this.dataForm.peEngineerList = data.rows
})
-
- }else {
+ } else {
searchBMRoute(this.searchData).then(({data}) => {
- if(data&& data.code===0){
- this.tableData = data.rows;
- this.routeData = data.row;
- }else {
+ if (data&& data.code === 0) {
+ this.tableData = data.rows
+ this.routeData = data.row
+ } else {
this.$message.error(data.msg)
}
- });
+ })
}
},
@@ -1791,9 +1785,9 @@
this.submitLoading = true
await submitChange(tempData).then(({data}) => {
if (data && data.code === 0) {
- // this.searchTable();
+ this.searchTable()
// 2025-05-31 操作成功才刷新界面,如果报错了则不刷新界面
- window.location.reload();
+ //window.location.reload();
this.submitModalFlag = false
this.submitLoading = false
this.$message({message: '操作成功', type: 'success'})
diff --git a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue
index e56848b..a176ca0 100644
--- a/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue
+++ b/src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue
@@ -632,9 +632,9 @@
// 初始化组件的参数
init (inData) {
- if (this.dataForm.codeNo != null && this.dataForm.codeNo !== '') {
- return false;
- }
+ // if (this.dataForm.codeNo != null && this.dataForm.codeNo !== '') {
+ // return false;
+ // }
// 初始化参数
this.searchData = JSON.parse(JSON.stringify(inData));
if (this.searchData.ifDisableFlag) {
@@ -1125,8 +1125,8 @@
if (data && data.code === 0) {
issueChange(tempData).then(({data}) => {
if (data && data.code === 0) {
- //this.searchTable()
- window.location.reload();
+ this.searchTable()
+ // window.location.reload();
this.$message({message: '操作成功', type: 'success'})
} else {
this.$alert(data.msg, '错误', {
@@ -1205,8 +1205,8 @@
if (data && data.code === 0) {
submitChange(tempData).then(({data}) => {
if (data && data.code === 0) {
- //this.searchTable()
- window.location.reload();
+ this.searchTable()
+ // window.location.reload();
this.submitModalFlag = false
this.submitLoading = false
this.$message({message: '操作成功', type: 'success'})
diff --git a/src/views/modules/sampleManagement/technicalSpecificationDetail/technicalSpecificationDetail.vue b/src/views/modules/sampleManagement/technicalSpecificationDetail/technicalSpecificationDetail.vue
index a7af5e0..d0f8d5c 100644
--- a/src/views/modules/sampleManagement/technicalSpecificationDetail/technicalSpecificationDetail.vue
+++ b/src/views/modules/sampleManagement/technicalSpecificationDetail/technicalSpecificationDetail.vue
@@ -165,106 +165,130 @@
}
},
methods: {
- refreshCurrentTabTable(){
- this.dataForm.fieldId=this.activeName
+
+ refreshCurrentTabTable () {
+ this.dataForm.fieldId = this.activeName
//先调整页面的高度
this.changeHeightAuto()
- if (this.activeName == 'baseInfo') {
- this.getBaseInfoData();
+ if (this.activeName === 'baseInfo') {
+ this.getBaseInfoData()
// }else if (this.activeName == 'remarkPage') {
// this.changeHeight(800);
// this.getRemarkSlot();
- }else if(this.activeName == 'customerInfo'){
+ } else if (this.activeName === 'customerInfo') {
//有的页面要高一点
- this.changeHeight(800);
- this.getCustomerInfo();
- }else if(this.activeName == 'packageInfo'){
- this.getPackageInfo();
- }else if(this.activeName == 'bom'){
- this.getBom();
- }else if(this.activeName == 'routing'){
- this.changeHeight(2000);
- this.getRouting();
- }else if(this.activeName == 'technicalRequirement'){
- this.getTechnicalRequirement();
- }else if(this.activeName == 'PEConfirm'){
- this.getPEConfirm();
- }else if(this.activeName == 'drawing'){
- this.getDrawing();
- }else if(this.activeName == 'qualityDocument'){
- this.getQualityDocument();
- }else if(this.activeName == 'documentControl'){
- this.getDocumentControl();
- }else if(this.activeName == 'peReviewed'){
- this.getPeReviewed();
- }else if(this.activeName == 'queteConfirm'){
- this.getQueteConfirm();
- }else if(this.activeName == 'fai'){
- this.getFai();
- }else if(this.activeName == 'cqeComfirm'){
- this.getCqeComfirm();
- }else if(this.activeName == 'tpInfo'){
- this.changeHeight(800);
- this.getTpInfo();
-
+ this.changeHeight(800)
+ this.getCustomerInfo()
+ } else if (this.activeName === 'packageInfo') {
+ this.getPackageInfo()
+ } else if (this.activeName === 'bom') {
+ this.getBom()
+ } else if (this.activeName === 'routing') {
+ this.changeHeight(2000)
+ this.getRouting()
+ } else if (this.activeName === 'technicalRequirement') {
+ this.getTechnicalRequirement()
+ } else if (this.activeName === 'PEConfirm') {
+ this.getPEConfirm()
+ } else if (this.activeName === 'drawing') {
+ this.getDrawing()
+ } else if (this.activeName === 'qualityDocument') {
+ this.getQualityDocument()
+ } else if (this.activeName === 'documentControl') {
+ this.getDocumentControl()
+ } else if (this.activeName === 'peReviewed') {
+ this.getPeReviewed()
+ } else if (this.activeName === 'queteConfirm') {
+ this.getQueteConfirm()
+ } else if (this.activeName === 'fai') {
+ this.getFai()
+ } else if (this.activeName === 'cqeComfirm') {
+ this.getCqeComfirm()
+ } else if (this.activeName === 'tpInfo') {
+ this.changeHeight(800)
+ this.getTpInfo()
}
},
- getBaseInfoData(){
+
+ // 基本信息
+ getBaseInfoData () {
this.$refs.basicInformation.init(JSON.parse(JSON.stringify(this.dataForm)))
},
- getRemarkSlot(){
+
+ getRemarkSlot () {
this.$refs.remarkPage.init(JSON.parse(JSON.stringify(this.dataForm)))
},
- getCustomerInfo(){
+
+ // 客户信息
+ getCustomerInfo () {
this.$refs.customerInfo.init(JSON.parse(JSON.stringify(this.dataForm)))
},
- getPackageInfo(){
+
+ // 包装信息
+ getPackageInfo () {
this.$refs.packageInfo.init(JSON.parse(JSON.stringify(this.dataForm)))
},
- getBom(){
+
+ // BOM
+ getBom () {
this.$refs.bom.init(JSON.parse(JSON.stringify(this.dataForm)))
},
- getRouting(){
+
+ // Routing
+ getRouting () {
this.$refs.routing.init(JSON.parse(JSON.stringify(this.dataForm)))
},
- getTechnicalRequirement(){
- this.dataForm.type='technicalRequirement'
+
+ getTechnicalRequirement () {
+ this.dataForm.type = 'technicalRequirement'
this.$refs.technicalRequirement.init(JSON.parse(JSON.stringify(this.dataForm)))
},
- getPEConfirm(){
- this.dataForm.type='PEConfirm'
+
+ getPEConfirm () {
+ this.dataForm.type = 'PEConfirm'
this.$refs.PEConfirm.init(JSON.parse(JSON.stringify(this.dataForm)))
},
- getDrawing(){
- this.dataForm.type='drawing'
+
+ // 图稿信息
+ getDrawing () {
+ this.dataForm.type = 'drawing'
this.$refs.drawing.init(JSON.parse(JSON.stringify(this.dataForm)))
},
- getQualityDocument(){
- this.dataForm.type='qualityDocument'
+
+ // 品质文件
+ getQualityDocument () {
+ this.dataForm.type = 'qualityDocument'
this.$refs.qualityDocument.init(JSON.parse(JSON.stringify(this.dataForm)))
},
- getDocumentControl(){
- this.dataForm.type='documentControl'
+
+ getDocumentControl () {
+ this.dataForm.type = 'documentControl'
this.$refs.documentControl.init(JSON.parse(JSON.stringify(this.dataForm)))
},
- getPeReviewed(){
+
+ getPeReviewed () {
this.dataForm.type='peReviewed'
this.$refs.peReviewed.init(JSON.parse(JSON.stringify(this.dataForm)))
},
- getQueteConfirm(){
- this.dataForm.type='queteConfirm'
+
+ getQueteConfirm () {
+ this.dataForm.type = 'queteConfirm'
this.$refs.queteConfirm.init(JSON.parse(JSON.stringify(this.dataForm)))
},
- getFai(){
- this.dataForm.type='fai'
+
+ // FAI
+ getFai () {
+ this.dataForm.type = 'fai'
this.$refs.fai.init(JSON.parse(JSON.stringify(this.dataForm)))
},
- getCqeComfirm(){
- this.dataForm.type='cqeComfirm'
+
+ getCqeComfirm () {
+ this.dataForm.type = 'cqeComfirm'
this.$refs.cqeComfirm.init(JSON.parse(JSON.stringify(this.dataForm)))
},
- getTpInfo(){
- this.dataForm.type='tpInfo'
+
+ getTpInfo () {
+ this.dataForm.type = 'tpInfo'
this.$refs.tpInfo.init(JSON.parse(JSON.stringify(this.dataForm)))
},
diff --git a/src/views/modules/sampleManagement/technicalSpecificationList.vue b/src/views/modules/sampleManagement/technicalSpecificationList.vue
index df5ae84..048daa2 100644
--- a/src/views/modules/sampleManagement/technicalSpecificationList.vue
+++ b/src/views/modules/sampleManagement/technicalSpecificationList.vue
@@ -1120,7 +1120,7 @@
immediate: true // 立即触发一次 handler,确保初始化时也执行逻辑
}
},
- activated() {
+ activated () {
if (this.$route.params.type === 'tokenLogin') {
if (this.$route.params.docNo) {
// this.searchData.applyNo = this.$route.params.docNo