获取纤度校验详情的接口联调,字段调试+根据规格的2个值处理数据得到对应的目的纤度+
| | |
| | | import request from "@/common/untils/request.js" |
| | | // 纤度检验列表 |
| | | export function getInspectCheckList(data) { |
| | | return request({ |
| | | url: "/api-jl/v1/fineness/check?page="+ data.page+"&pageSize="+data.pageSize+"&keyword="+data.keyword, |
| | | method: "get", |
| | | data |
| | | }) |
| | | } |
| | | |
| | | // 跟进记录列表 |
| | | export function getFollowRecordList(data) { |
| | | //保存纤度检验 |
| | | export function saveCheck(data) { |
| | | return request({ |
| | | url: "/api/followRecord/list", |
| | | url: "/api-jl/v1/fineness/check", |
| | | method: "post", |
| | | data |
| | | }) |
| | | } |
| | | // 添加跟进记录 |
| | | export function getAddFollowRecord(data) { |
| | | // 纤度检验的详情 |
| | | export function getCheckDetails(data) { |
| | | return request({ |
| | | url: "/api/followRecord/add", |
| | | method: "post", |
| | | url: "/api-jl/v1/fineness/check/"+data.id, |
| | | method: "get", |
| | | data |
| | | }) |
| | | } |
| | | // 删除跟进记录 |
| | | export function getDeleteFollowRecord(data) { |
| | | // 纤度检验删除 |
| | | export function getInspectCheckDelete(data) { |
| | | return request({ |
| | | url: "/api/followRecord/delete", |
| | | url: "/api-jl/v1/fineness/check/"+data.id, |
| | | method: "delete", |
| | | data |
| | | }) |
| | | } |
| | | // 更新跟进记录 |
| | | export function getUpdateFollowRecord(data) { |
| | | return request({ |
| | | url: "/api/followRecord/update", |
| | | method: "put", |
| | | data |
| | | }) |
| | | } |
| | | |
| | | // 联系方式列表 |
| | | export function getContactInfoList() { |
| | | return request({ |
| | | url: "/api/contactInformation/list", |
| | | method: "get" |
| | | }) |
| | | } |
| | |
| | | name: "silkRegisterAddPage", |
| | | component: silkRegisterAddPage, |
| | | meta: { |
| | | title: "新增纤度登记表/纤度检验表" |
| | | title: "纤度登记表/纤度检验表" |
| | | } |
| | | }, |
| | | { |
| | |
| | | <template slot="tableButton"> |
| | | <el-table-column label="操作" width="90" fixed="right"> |
| | | <template slot-scope="scope"> |
| | | <el-button @click="handleClick(scope.row)" type="text" size="small">编辑</el-button> |
| | | <el-button @click="handleClick(scope.row)" type="text" size="small">修改</el-button> |
| | | <el-button @click="delClick(scope.row.ID)" type="text" size="small">删除</el-button> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | this.$router.push({ |
| | | path:"/productManage/silkRegisterForm/addPage", |
| | | query:{ |
| | | id:row.ID, |
| | | activeName:'second' |
| | | activeName:'second', |
| | | inspectID:row.ID, |
| | | id:row.finenessRegisterID, |
| | | number:row.number, |
| | | } |
| | | }); |
| | | }, |