| | |
| | | // console.log(1, data2); |
| | | list = this.formatData(data2); |
| | | } |
| | | console.log('list??', list, '============='); |
| | | |
| | | this.stationData = list; |
| | | }).catch((err) => { |
| | | console.log(err); |
| | |
| | | }, |
| | | openFile(obj) { |
| | | let { fileId, label, stationId } = obj; |
| | | debugger; |
| | | getParamByFileId(fileId).then((res) => { |
| | | const { code, data, data2 } = res.data; |
| | | if (code && data) { |
| | |
| | | export const testReport = (data) => { |
| | | return axios({ |
| | | method: "POST", |
| | | url: "excelExport/resTestReport", |
| | | url: "excelExport/resTestReport_cg", |
| | | responseType: 'blob', |
| | | data |
| | | }) |
| | |
| | | export const testCompareReport = (params, data) => { |
| | | return axios({ |
| | | method: "POST", |
| | | url: "excelExport/resTestCompareReport", |
| | | url: "excelExport/resTestCompareReport_cg", |
| | | responseType: 'blob', |
| | | params, |
| | | data |
| | |
| | | ></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="6"> |
| | | <!-- <el-col :span="6"> |
| | | <el-form-item :label="$t('ConnectionBar') + '(μΩ)'" prop="chainRes"> |
| | | <el-input type="number" v-model="info.chainRes"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-col> --> |
| | | <el-col :span="6"> |
| | | <el-form-item :label="$t('InstallationTime')"> |
| | | <el-date-picker |
| | |
| | | >{{ $t("Resistance") }}(mΩ)</el-checkbox |
| | | > |
| | | <!-- <el-checkbox label="Cap" name="type">{{ $t('Capacity') }}(Ah)</el-checkbox> --> |
| | | <el-checkbox label="Chain" name="type" |
| | | <!-- <el-checkbox label="Chain" name="type" |
| | | >{{ $t("ConnectionBar") }}(μΩ)</el-checkbox |
| | | > |
| | | > --> |
| | | <el-checkbox label="Cond" name="type" |
| | | >{{ $t("Conductance") }}(S)</el-checkbox |
| | | > |
| | |
| | | }, |
| | | parseFile(url, cbfn) { |
| | | let [stationId, fileId, fileName] = url.split("&&&&&"); |
| | | console.log('stationId', stationId, 'fileId', fileId, 'fileName', '============='); |
| | | |
| | | getParamByFileId(fileId).then((res) => { |
| | | const { code, data, data2 } = res.data; |
| | | if (code && data) { |
| | |
| | | this.toRes(data); |
| | | return false; |
| | | } |
| | | debugger; |
| | | updateFileParam(this.currFile.stationId, data).then((res) => { |
| | | const { code, data } = res.data; |
| | | if (code && data) { |
| | |
| | | <el-option :label="$t('Resistance')" value="res"></el-option> |
| | | <el-option :label="$t('Voltage')" value="vol"></el-option> |
| | | <el-option :label="$t('Conductance')" value="cond"></el-option> |
| | | <el-option :label="$t('ConnectionBar')" value="chain"></el-option> |
| | | <!-- <el-option :label="$t('ConnectionBar')" value="chain"></el-option> --> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item :label="$t('Evaluation')"> |
| | |
| | | // label: this.$t("result.estimatedCapacity") + "(Ah)", |
| | | // minWidth: 100, |
| | | // }, |
| | | { |
| | | prop: "preCapPercentStr", |
| | | label: this.$t("result.Estimatedcapacitypercentage"), |
| | | minWidth: 130, |
| | | }, |
| | | // { |
| | | // prop: "preCapPercentStr", |
| | | // label: this.$t("result.Estimatedcapacitypercentage"), |
| | | // minWidth: 130, |
| | | // }, |
| | | { |
| | | prop: "resDevRateStr", |
| | | label: this.$t("result.deviationratio"), |
| | | minWidth: 120, |
| | | }, |
| | | { |
| | | prop: "cr", |
| | | label: this.$t("result.ConnectionBar") + "(μΩ)", |
| | | minWidth: 120, |
| | | }, |
| | | // { |
| | | // prop: "cr", |
| | | // label: this.$t("result.ConnectionBar") + "(μΩ)", |
| | | // minWidth: 120, |
| | | // }, |
| | | { |
| | | prop: "bs", |
| | | label: this.$t("result.Conductance") + "(S)", |
| | |
| | | resVisiable: true, |
| | | capVisiable: false, |
| | | tableVisiable: true, |
| | | chainVisiable: true, |
| | | chainVisiable: false, |
| | | condVisiable: false, |
| | | params: undefined, |
| | | }, |