| | |
| | | <el-table-column |
| | | align="center" |
| | | type="index" |
| | | |
| | | :label="$t('common.index')" |
| | | width="70px" |
| | | |
| | | ></el-table-column> |
| | | <el-table-column |
| | | align="center" |
| | | :label="$t('common.name')" |
| | | width="120" |
| | | |
| | | width="100" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <span v-if="scope.row.ismeta > 0"> |
| | |
| | | prop="dirName" |
| | | :label="$t('dataManage.dataUpObj.catalogue')" |
| | | width="300" |
| | | sortable |
| | | /> |
| | | <el-table-column |
| | | align="center" |
| | | prop="depName" |
| | | :label="$t('dataManage.dataUpObj.company')" |
| | | width="200" |
| | | sortable |
| | | /> |
| | | <el-table-column |
| | | align="center" |
| | | prop="verName" |
| | | sortable |
| | | :label="$t('dataManage.dataUpObj.versionNo')" |
| | | /> |
| | | <el-table-column |
| | | align="center" |
| | | prop="type" |
| | | :label="$t('common.type')" |
| | | sortable |
| | | /> |
| | | <el-table-column |
| | | align="center" |
| | | prop="sizes" |
| | | :label="$t('common.size')" |
| | | sortable |
| | | :formatter="changeSizeFile" |
| | | /> |
| | | <el-table-column |
| | | align="center" |
| | | :label="$t('dataManage.dataUpObj.tableName')" |
| | | |
| | | > |
| | | <template slot-scope="scope"> |
| | | <a |
| | |
| | | align="center" |
| | | prop="rows" |
| | | :label="$t('common.lineNuber')" |
| | | sortable |
| | | /> |
| | | <el-table-column |
| | | align="center" |
| | | :label="$t('common.dataStatus')" |
| | | :formatter="stateFormat" |
| | | |
| | | > |
| | | |
| | | </el-table-column> |
| | |
| | | <el-table-column |
| | | align="center" |
| | | prop="uname" |
| | | sortable |
| | | :label="$t('dataManage.vmobj.createonuser')" |
| | | /> |
| | | <el-table-column |
| | | align="center" |
| | | prop="createTime" |
| | | :label="$t('dataManage.vmobj.createontime')" |
| | | sortable |
| | | :formatter="changetimeFile" |
| | | width="100" |
| | | width="160" |
| | | /> |
| | | </el-table> |
| | | <div |
| | |
| | | if (this.formInline.acqTime) { |
| | | time = this.changetimeLayer(this.formInline.acqTime) |
| | | } |
| | | |
| | | for (var i in this.insertWareList) { |
| | | this.insertWareList[i].mataType = this.formInline.mataType; |
| | | this.insertWareList[i].sensortype = this.formInline.sensorType; |
| | | this.insertWareList[i].acqTime = time.toString(); |
| | | this.insertWareList[i].acqTime = time; |
| | | } |
| | | |
| | | |
| | |
| | | }, |
| | | //格式化时间 |
| | | changetimeFile(res) { |
| | | if (!res.createTime) return; |
| | | var time = new Date(res.createTime); |
| | | var y = time.getFullYear(); |
| | | var m = time.getMonth() + 1; |