Merge branch 'master' of http://114.132.189.42:9002/r/center-lims-before into master
| | |
| | | upProduct: "/capacityScope/upProduct", //修改产品 |
| | | getItemTree: "/capacityScope/getItemTree", //获取检验对象树 |
| | | importData: "/capacityScope/importData", //导入检验项目 |
| | | importEquipData: "/capacityScope/importEquipData", //装备电缆-导入检验项目 |
| | | importExcel: "/capacityScope/importExcel", // 导入能力范围 |
| | | } |
| | | |
| | |
| | | </div> |
| | | </div> |
| | | <div class="table"> |
| | | <ValueTable ref="itemParameterTable" :url="$api.capacityScope.selectItemParameterList" |
| | | <ValueTable ref="itemParameterTable" :url="$api.capacityScope.selectItemParameterList" v-if="PROJECT === '检测中心'" |
| | | :upUrl="$api.capacityScope.upItemParameter" :delUrl="$api.capacityScope.delItemParameter" |
| | | :inputUrl="$api.capacityScope.importData" :componentData="itemParameterData" :key="upIndex" /> |
| | | <ValueTable ref="itemParameterTable" :url="$api.capacityScope.selectItemParameterList" v-if="PROJECT === '装备电缆'" |
| | | :upUrl="$api.capacityScope.upItemParameter" :delUrl="$api.capacityScope.delItemParameter" |
| | | :inputUrl="$api.capacityScope.importEquipData" :componentData="itemParameterData" :key="upIndex" /> |
| | | </div> |
| | | </div> |
| | | <div class="bodys"> |
| | |
| | | uploading: false, |
| | | } |
| | | }, |
| | | created() { |
| | | if (this.PROJECT === '装备电缆') { |
| | | this.itemParameterData.requiredUp = ['sonLaboratory', 'inspectionItem', 'inspectionItemType', 'inspectionValueType', |
| | | 'unit', 'manDay', 'templateId' |
| | | ] |
| | | } else { |
| | | this.itemParameterData.requiredUp = ['sonLaboratory', 'inspectionItem', 'inspectionItemType', 'inspectionValueType', |
| | | 'unit', 'method', 'manDay', 'templateId' |
| | | ] |
| | | } |
| | | }, |
| | | mounted() { |
| | | this.token = { |
| | | 'token': sessionStorage.getItem('token') |