ruanqi 3 years ago
parent
commit
0c22a34b9c
  1. 1
      src/api/project/project.js
  2. 2
      src/api/sampleManagement/technicalSpecificationList.js
  3. 3
      src/views/modules/base/factoryInformation.vue
  4. 6
      src/views/modules/common/Chooselist.vue
  5. 51
      src/views/modules/outReport/report001.vue
  6. 49
      src/views/modules/outReport/report002.vue
  7. 49
      src/views/modules/outReport/report003.vue
  8. 49
      src/views/modules/outReport/report004.vue
  9. 49
      src/views/modules/outReport/report005.vue
  10. 49
      src/views/modules/outReport/report006.vue
  11. 49
      src/views/modules/outReport/report007.vue
  12. 49
      src/views/modules/outReport/report008.vue
  13. 49
      src/views/modules/outReport/report009.vue
  14. 49
      src/views/modules/outReport/report010.vue
  15. 0
      src/views/modules/sampleManagement/com_technical-add-or-update.vue
  16. 20
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue
  17. 21
      src/views/modules/sampleManagement/technicalSpecificationDetail/technicalSpecificationDetail.vue
  18. 285
      src/views/modules/sampleManagement/technicalSpecificationList.vue

1
src/api/project/project.js

@ -33,3 +33,4 @@ export const saveProjectPart= data => createAPI(`/project/saveProjectPart`,'post
export const deleteProjectPartWithId= data => createAPI(`/project/deleteProjectPartWithId`,'post',data)
export const getPlmToolPurchaseRequestDataByProject= data => createAPI(`/project/getPlmToolPurchaseRequestDataByProject`,'post',data)
export const savePlmToolPurchaseRequestData= data => createAPI(`/project/savePlmToolPurchaseRequestData`,'post',data)
export const searchBIAddress= data => createAPI(`/project/searchBIAddress`,'post',data)

2
src/api/sampleManagement/technicalSpecificationList.js

@ -3,4 +3,6 @@ import { createAPI } from "@/utils/httpRequest.js";
export const technicalSpecificationListSearch = data => createAPI(`/technicalSpecification/technicalSpecificationListSearch`,'post',data)
export const saveTechnicalSpecificationSheet = data => createAPI(`/technicalSpecification/saveTechnicalSpecificationSheet`,'post',data)
export const searchTechnicalSpecificationTeamStr = data => createAPI(`/technicalSpecification/searchTechnicalSpecificationTeamStr`,'post',data)
export const deleteTechnicalSpecificationList = data => createAPI(`/technicalSpecification/deleteTechnicalSpecificationList`,'post',data)
export const getTechnicalCustomerInfoData = data => createAPI(`/technicalSpecification/getTechnicalCustomerInfoData`,'post',data)
export const tsdBasicInformationSearch = data => createAPI(`/technicalSpecification/tsdBasicInformationSearch`,'post',data)

3
src/views/modules/base/factoryInformation.vue

@ -33,7 +33,8 @@
label="操作">
<template slot-scope="scope">
<a type="text" size="small" v-if="!authEdit" @click="editSite(scope.row)">{{buttons.update}}</a>
<a type="text" size="small" v-if="jumpFlag" @click="getCompanyInformation(scope.row)">{{buttons.companyInformation}}</a>
<a type="text" size="small" @click="getCompanyInformation(scope.row)">{{buttons.companyInformation}}</a>
<!-- //v-if="jumpFlag"-->
</template>
</el-table-column>
<el-table-column

6
src/views/modules/common/Chooselist.vue

@ -14,10 +14,10 @@
<el-form-item :label="baseListData.caption2" v-if="baseListData.caption2!='' && baseListData.caption2!=null">
<el-input v-model="param2"></el-input>
</el-form-item>
<el-form-item :label="baseListData.caption4" v-if="baseListData.caption4!='' && baseListData.caption4!=null">
<!-- <el-form-item :label="baseListData.caption4" v-if="baseListData.caption4!='' && baseListData.caption4!=null">-->
<el-input v-model="param4" style="width: 120px"></el-input>
</el-form-item>
<!-- <el-input v-model="param4" style="width: 120px"></el-input>-->
<!-- </el-form-item>-->
<el-form-item :label="baseListData.caption3" v-if="baseListData.caption3!='' && baseListData.caption3!=null&&(this.tagNo<501||this.tagNo>999)">
<el-select v-model="param3" style="width: 120px">
<el-option label="全部" value=""></el-option>

51
src/views/modules/outReport/report001.vue

@ -0,0 +1,51 @@
<template>
<div>
<iframe :src="address" class="fullscreen-iframe"></iframe>
</div>
</template>
<script>
import {
searchBIAddress,
} from "@/api/project/project.js"
export default {
name: "report1",
data() {
return {
searchData:{
//menuid
menuId:this.$route.meta.menuId,
},
address:'',
}
},
methods: {
searchAddress(){
//menuidbi
searchBIAddress(this.searchData).then(({data}) => {
//
if (data && data.code == 0) {
this.address = data.row.address
} else {
this.address = '';
}
});
},
},
created() {
this.searchAddress();
},
}
</script>
<style scoped>
.fullscreen-iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none; /* 可选,根据需要设置边框 */
}
</style>

49
src/views/modules/outReport/report002.vue

@ -0,0 +1,49 @@
<template>
<div>
<iframe :src="address" class="fullscreen-iframe"></iframe>
</div>
</template>
<script>
import {
searchBIAddress,
} from "@/api/project/project.js"
export default {
name: "report1",
data() {
return {
searchData:{
menuId:this.$route.meta.menuId,
},
address:'',
}
},
methods: {
searchAddress(){
searchBIAddress(this.searchData).then(({data}) => {
//
if (data && data.code == 0) {
this.address = data.row.address
} else {
this.address = '';
}
});
},
},
created() {
this.searchAddress();
},
}
</script>
<style scoped>
.fullscreen-iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none; /* 可选,根据需要设置边框 */
}
</style>

49
src/views/modules/outReport/report003.vue

@ -0,0 +1,49 @@
<template>
<div>
<iframe :src="address" class="fullscreen-iframe"></iframe>
</div>
</template>
<script>
import {
searchBIAddress,
} from "@/api/project/project.js"
export default {
name: "report1",
data() {
return {
searchData:{
menuId:this.$route.meta.menuId,
},
address:'',
}
},
methods: {
searchAddress(){
searchBIAddress(this.searchData).then(({data}) => {
//
if (data && data.code == 0) {
this.address = data.row.address
} else {
this.address = '';
}
});
},
},
created() {
this.searchAddress();
},
}
</script>
<style scoped>
.fullscreen-iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none; /* 可选,根据需要设置边框 */
}
</style>

49
src/views/modules/outReport/report004.vue

@ -0,0 +1,49 @@
<template>
<div>
<iframe :src="address" class="fullscreen-iframe"></iframe>
</div>
</template>
<script>
import {
searchBIAddress,
} from "@/api/project/project.js"
export default {
name: "report1",
data() {
return {
searchData:{
menuId:this.$route.meta.menuId,
},
address:'',
}
},
methods: {
searchAddress(){
searchBIAddress(this.searchData).then(({data}) => {
//
if (data && data.code == 0) {
this.address = data.row.address
} else {
this.address = '';
}
});
},
},
created() {
this.searchAddress();
},
}
</script>
<style scoped>
.fullscreen-iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none; /* 可选,根据需要设置边框 */
}
</style>

49
src/views/modules/outReport/report005.vue

@ -0,0 +1,49 @@
<template>
<div>
<iframe :src="address" class="fullscreen-iframe"></iframe>
</div>
</template>
<script>
import {
searchBIAddress,
} from "@/api/project/project.js"
export default {
name: "report1",
data() {
return {
searchData:{
menuId:this.$route.meta.menuId,
},
address:'',
}
},
methods: {
searchAddress(){
searchBIAddress(this.searchData).then(({data}) => {
//
if (data && data.code == 0) {
this.address = data.row.address
} else {
this.address = '';
}
});
},
},
created() {
this.searchAddress();
},
}
</script>
<style scoped>
.fullscreen-iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none; /* 可选,根据需要设置边框 */
}
</style>

49
src/views/modules/outReport/report006.vue

@ -0,0 +1,49 @@
<template>
<div>
<iframe :src="address" class="fullscreen-iframe"></iframe>
</div>
</template>
<script>
import {
searchBIAddress,
} from "@/api/project/project.js"
export default {
name: "report1",
data() {
return {
searchData:{
menuId:this.$route.meta.menuId,
},
address:'',
}
},
methods: {
searchAddress(){
searchBIAddress(this.searchData).then(({data}) => {
//
if (data && data.code == 0) {
this.address = data.row.address
} else {
this.address = '';
}
});
},
},
created() {
this.searchAddress();
},
}
</script>
<style scoped>
.fullscreen-iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none; /* 可选,根据需要设置边框 */
}
</style>

49
src/views/modules/outReport/report007.vue

@ -0,0 +1,49 @@
<template>
<div>
<iframe :src="address" class="fullscreen-iframe"></iframe>
</div>
</template>
<script>
import {
searchBIAddress,
} from "@/api/project/project.js"
export default {
name: "report1",
data() {
return {
searchData:{
menuId:this.$route.meta.menuId,
},
address:'',
}
},
methods: {
searchAddress(){
searchBIAddress(this.searchData).then(({data}) => {
//
if (data && data.code == 0) {
this.address = data.row.address
} else {
this.address = '';
}
});
},
},
created() {
this.searchAddress();
},
}
</script>
<style scoped>
.fullscreen-iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none; /* 可选,根据需要设置边框 */
}
</style>

49
src/views/modules/outReport/report008.vue

@ -0,0 +1,49 @@
<template>
<div>
<iframe :src="address" class="fullscreen-iframe"></iframe>
</div>
</template>
<script>
import {
searchBIAddress,
} from "@/api/project/project.js"
export default {
name: "report1",
data() {
return {
searchData:{
menuId:this.$route.meta.menuId,
},
address:'',
}
},
methods: {
searchAddress(){
searchBIAddress(this.searchData).then(({data}) => {
//
if (data && data.code == 0) {
this.address = data.row.address
} else {
this.address = '';
}
});
},
},
created() {
this.searchAddress();
},
}
</script>
<style scoped>
.fullscreen-iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none; /* 可选,根据需要设置边框 */
}
</style>

49
src/views/modules/outReport/report009.vue

@ -0,0 +1,49 @@
<template>
<div>
<iframe :src="address" class="fullscreen-iframe"></iframe>
</div>
</template>
<script>
import {
searchBIAddress,
} from "@/api/project/project.js"
export default {
name: "report1",
data() {
return {
searchData:{
menuId:this.$route.meta.menuId,
},
address:'',
}
},
methods: {
searchAddress(){
searchBIAddress(this.searchData).then(({data}) => {
//
if (data && data.code == 0) {
this.address = data.row.address
} else {
this.address = '';
}
});
},
},
created() {
this.searchAddress();
},
}
</script>
<style scoped>
.fullscreen-iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none; /* 可选,根据需要设置边框 */
}
</style>

49
src/views/modules/outReport/report010.vue

@ -0,0 +1,49 @@
<template>
<div>
<iframe :src="address" class="fullscreen-iframe"></iframe>
</div>
</template>
<script>
import {
searchBIAddress,
} from "@/api/project/project.js"
export default {
name: "report1",
data() {
return {
searchData:{
menuId:this.$route.meta.menuId,
},
address:'',
}
},
methods: {
searchAddress(){
searchBIAddress(this.searchData).then(({data}) => {
//
if (data && data.code == 0) {
this.address = data.row.address
} else {
this.address = '';
}
});
},
},
created() {
this.searchAddress();
},
}
</script>
<style scoped>
.fullscreen-iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: none; /* 可选,根据需要设置边框 */
}
</style>

0
src/views/modules/sampleManagement/technicalSpecificationList/com_technical-add-or-update.vue → src/views/modules/sampleManagement/com_technical-add-or-update.vue

20
src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue

@ -160,10 +160,8 @@
<script>
import {
getProjectInfoPartList,
saveProjectPart,
deleteProjectPartWithId,
} from "@/api/project/project.js"
tsdBasicInformationSearch,
} from "@/api/sampleManagement/technicalSpecificationList.js"
import Chooselist from '@/views/modules/common/Chooselist'
export default {
components: {
@ -174,9 +172,10 @@
searchData: {
site: '',
username: this.$store.state.user.name,
projectId: '',
codeNo: '',
},
dataForm:{
site: '',
codeNo:'',
revNo:'',
workCenterNo:'',
@ -246,7 +245,16 @@
this.searchTable();
},
searchTable(){
tsdBasicInformationSearch(this.searchData).then(({data}) => {
//
if (data && data.code == 0) {
this.dataForm = data.row
} else {
this.dataList = '';
}
});
},
},
}

21
src/views/modules/sampleManagement/technicalSpecificationDetail/technicalSpecificationDetail.vue

@ -31,21 +31,38 @@
data() {
return {
dataForm:{
site:'',
codeNo:'',
username:this.$store.state.user.name,
},
activeName:'baseInfo',
}
},
mounted() {
if(localStorage.getItem('tsfData')!=undefined){
let data=JSON.parse(localStorage.getItem('tsfData'))
console.log(data)
this.dataForm.site=data.site
this.dataForm.codeNo=data.codeNo
console.log(this.dataForm)
localStorage.removeItem('tsfData');
}
this.$nextTick(() => {
//
var tabsElement = document.querySelector('.tabs');
tabsElement.style.minHeight = window.innerHeight-100+'px';
this.refreshCurrentTabTable()
})
},
methods: {
refreshCurrentTabTable(){
if (this.activeName == 'baseInfo') {
this.getBaseInfoData();
}
},
getBaseInfoData(){
this.$refs.basicInformation.init(JSON.parse(JSON.stringify(this.dataForm)))
},
},
}

285
src/views/modules/sampleManagement/technicalSpecificationList/technicalSpecificationList.vue → src/views/modules/sampleManagement/technicalSpecificationList.vue

@ -61,6 +61,7 @@
fixed="right"
label="操作">
<template slot-scope="scope">
<a type="text" size="small" @click="jumpDetail(scope.row)">详情</a>
<a type="text" size="small" @click="addOrUpdateHandle(scope.row.id)">修改</a>
<a type="text" size="small" @click="deleteData(scope.row)">删除</a>
</template>
@ -105,122 +106,166 @@
</el-form-item>
</div></el-col>
</el-row>
</el-form>
<el-form :inline="true" label-position="top" label-width="100px" >
<el-form-item :label="'ECN变更'">
<el-input v-model="infoData.ecnFlag" readonly style="width: 130px" ></el-input>
</el-form-item>
<el-form-item :label="'ECN单据号'">
<el-input v-model="infoData.ecnNo" readonly style="width: 206px" ></el-input>
</el-form-item>
<el-form-item :label="'ECN文档链接'">
<el-input v-model="infoData.ecnAddress" readonly style="width: 564px" ></el-input>
</el-form-item>
</el-form>
<el-form :inline="true" label-position="top" label-width="100px" >
<el-form-item :label="'报价员'">
<el-input v-model="infoData.quotationOfficer" readonly style="width: 300px" ></el-input>
</el-form-item>
<el-form-item :label="'工程师'">
<el-input v-model="infoData.engineer" readonly style="width: 300px" ></el-input>
</el-form-item>
<el-form-item :label="'技术员'">
<el-input v-model="infoData.technician" readonly style="width: 300px" ></el-input>
</el-form-item>
</el-form>
<el-form :inline="true" label-position="top" label-width="100px" style="height: 70px">
<el-form-item :label="'备注信息'">
<el-input
type="textarea"
v-model="infoData.remark "
:rows="3"
resize='none'
maxlength="120"
show-word-limit
readonly
style="width: 926px;height: 60px">
</el-input>
</el-form-item>
<el-row :gutter="20">
<el-col :span="6"><div class="grid-content bg-purple">
<el-form-item :label="'ECN变更'">
<el-input v-model="infoData.ecnFlag" readonly ></el-input>
</el-form-item>
</div></el-col>
<el-col :span="6"><div class="grid-content bg-purple">
<el-form-item :label="'ECN单据号'">
<el-input v-model="infoData.ecnNo" readonly ></el-input>
</el-form-item>
</div></el-col>
<el-col :span="12"><div class="grid-content bg-purple">
<el-form-item :label="'ECN文档链接'">
<el-input v-model="infoData.ecnAddress" readonly ></el-input>
</el-form-item>
</div></el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="8"><div class="grid-content bg-purple">
<el-form-item :label="'报价员'">
<el-input v-model="infoData.quotationOfficer" readonly ></el-input>
</el-form-item>
</div></el-col>
<el-col :span="8"><div class="grid-content bg-purple">
<el-form-item :label="'工程师'">
<el-input v-model="infoData.engineer" readonly ></el-input>
</el-form-item>
</div></el-col>
<el-col :span="8"><div class="grid-content bg-purple">
<el-form-item :label="'技术员'">
<el-input v-model="infoData.technician" readonly ></el-input>
</el-form-item>
</div></el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24"><div class="grid-content bg-purple">
<el-form-item :label="'备注信息'" style="height: 70px">
<el-input
type="textarea"
v-model="infoData.remark "
:rows="3"
resize='none'
maxlength="120"
show-word-limit
readonly
style="height: 60px">
</el-input>
</el-form-item>
</div></el-col>
</el-row>
</el-form>
</el-tab-pane>
<el-tab-pane label="客户信息" name="customerInfo">
<el-form :inline="true" label-position="top" label-width="100px" >
<el-form-item :label="'客户代码'">
<el-input v-model="customerData.customerId" readonly style="width: 150px" ></el-input>
</el-form-item>
<el-form-item :label="'客户名称'">
<el-input v-model="customerData.customerDesc" readonly style="width: 150px" ></el-input>
</el-form-item>
<el-form-item :label="'客户描述'">
<el-input v-model="customerData.customerDescription" readonly style="width: 600px" ></el-input>
</el-form-item>
</el-form>
<el-form :inline="true" label-position="top" label-width="100px" >
<el-form-item :label="'终端客户'">
<el-input v-model="customerData.finalCustomer" readonly style="width: 150px" ></el-input>
</el-form-item>
<el-form-item :label="'直接客户'">
<el-input v-model="customerData.finalCustomer" readonly style="width: 150px" ></el-input>
</el-form-item>
<el-form-item :label="'客户版本'">
<el-input v-model="customerData.finalCustomer" readonly style="width: 150px" ></el-input>
</el-form-item>
<el-form-item :label="'需要的认证'">
<el-input v-model="customerData.finalCustomer" readonly style="width: 150px" ></el-input>
</el-form-item>
</el-form>
<el-form :inline="true" label-position="top" label-width="100px" style="height: 70px">
<el-form-item :label="'客户要求'">
<el-input
type="textarea"
v-model="customerData.customerRemark "
:rows="3"
resize='none'
maxlength="120"
show-word-limit
readonly
style="width: 926px;height: 60px">
</el-input>
</el-form-item>
</el-form>
<el-form :inline="true" label-position="top" label-width="100px" style="margin-top: 15px">
<el-form-item :label="'客户图纸'">
<el-input v-model="customerData.finalCustomer" readonly style="width: 926px" ></el-input>
</el-form-item>
</el-form>
<el-form :inline="true" label-position="top" label-width="100px" >
<el-form-item :label="'客户图纸变更说明'">
<el-input v-model="customerData.finalCustomer" readonly style="width: 926px" ></el-input>
</el-form-item>
</el-form>
<el-form :inline="true" label-position="top" label-width="100px" style="height: 70px">
<el-form-item :label="'转量产附档说明'">
<el-input
type="textarea"
v-model="customerData.finalCustomer "
:rows="3"
resize='none'
maxlength="120"
show-word-limit
readonly
style="width: 926px;height: 60px">
</el-input>
</el-form-item>
</el-form>
<el-form :inline="true" label-position="top" label-width="100px" style="height: 70px;margin-top: 15px">
<el-form-item :label="'其他特殊要求'">
<el-input
type="textarea"
v-model="customerData.remark "
:rows="3"
resize='none'
maxlength="120"
show-word-limit
readonly
style="width: 926px;height: 60px">
</el-input>
</el-form-item>
<el-form label-position="top" label-width="100px" >
<el-row :gutter="20">
<el-col :span="6"><div class="grid-content bg-purple">
<el-form-item :label="'客户代码'">
<el-input v-model="customerData.customerId" readonly ></el-input>
</el-form-item>
</div></el-col>
<el-col :span="6"><div class="grid-content bg-purple">
<el-form-item :label="'客户名称'">
<el-input v-model="customerData.customerDesc" readonly ></el-input>
</el-form-item>
</div></el-col>
<el-col :span="12"><div class="grid-content bg-purple">
<el-form-item :label="'客户描述'">
<el-input v-model="customerData.customerDescription" readonly ></el-input>
</el-form-item>
</div></el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="6"><div class="grid-content bg-purple">
<el-form-item :label="'终端客户'">
<el-input v-model="customerData.finalCustomer" readonly ></el-input>
</el-form-item>
</div></el-col>
<el-col :span="6"><div class="grid-content bg-purple">
<el-form-item :label="'直接客户'">
<el-input v-model="customerData.finalCustomer" readonly ></el-input>
</el-form-item>
</div></el-col>
<el-col :span="6"><div class="grid-content bg-purple">
<el-form-item :label="'客户版本'">
<el-input v-model="customerData.finalCustomer" readonly ></el-input>
</el-form-item>
</div></el-col>
<el-col :span="6"><div class="grid-content bg-purple">
<el-form-item :label="'需要的认证'">
<el-input v-model="customerData.finalCustomer" readonly ></el-input>
</el-form-item>
</div></el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24"><div class="grid-content bg-purple">
<el-form-item :label="'客户要求'" style="height: 70px">
<el-input
type="textarea"
v-model="customerData.customerRemark "
:rows="3"
resize='none'
maxlength="120"
show-word-limit
readonly
style=";height: 60px">
</el-input>
</el-form-item>
</div></el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24"><div class="grid-content bg-purple">
<el-form-item :label="'客户图纸'" style="margin-top: 15px">
<el-input v-model="customerData.finalCustomer" readonly ></el-input>
</el-form-item>
</div></el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24"><div class="grid-content bg-purple">
<el-form-item :label="'客户图纸变更说明'">
<el-input v-model="customerData.finalCustomer" readonly ></el-input>
</el-form-item>
</div></el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24"><div class="grid-content bg-purple" >
<el-form-item :label="'转量产附档说明'" style="height: 70px">
<el-input
type="textarea"
v-model="customerData.finalCustomer "
:rows="3"
resize='none'
maxlength="120"
show-word-limit
readonly
style="height: 60px">
</el-input>
</el-form-item>
</div></el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="24"><div class="grid-content bg-purple" >
<el-form-item :label="'其他特殊要求'" style="height: 70px;margin-top: 15px">
<el-input
type="textarea"
v-model="customerData.remark "
:rows="3"
resize='none'
maxlength="120"
show-word-limit
readonly
style="height: 60px">
</el-input>
</el-form-item>
</div></el-col>
</el-row>
</el-form>
<!-- <el-form :inline="true" label-position="top" label-width="100px" style="height: 70px;margin-top: 15px">-->
<!-- <el-form-item :label="'客户应用/要求'">-->
<!-- <el-input-->
@ -246,6 +291,7 @@
import {
getTechnicalCustomerInfoData,
technicalSpecificationListSearch,
deleteTechnicalSpecificationList,
} from "@/api/sampleManagement/technicalSpecificationList.js"
import Chooselist from '@/views/modules/common/Chooselist'
import AddOrUpdate from './com_technical-add-or-update'
@ -658,18 +704,25 @@
this.$refs.addOrUpdate.init(id)
})
},
jumpDetail(row){
let inData={
site:this.$store.state.user.site,
codeNo:row.codeNo,
username:this.$store.state.user.name};
localStorage.setItem('tsfData', JSON.stringify(inData))
this.$router.replace('sampleManagement-technicalSpecificationDetail/technicalSpecificationDetail')
},
deleteData(){
deleteData(row){
this.$confirm('确定要删除这条数据?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
deleteProjectPartWithId(this.dataForm).then(({data}) => {
deleteTechnicalSpecificationList(row).then(({data}) => {
if (data && data.code === 0) {
this.$message.success( '操作成功')
this.searchTable();
this.search();
} else {
this.$message.error(data.msg)
}
Loading…
Cancel
Save