| | |
| | | </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') |