|
|
@@ -118,7 +118,7 @@
|
|
|
</el-card>
|
|
|
<el-card>
|
|
|
<el-table :data="entityList" border height="calc(100vh - 250px)" highlight-current-row style="width: 100%"
|
|
|
- @sort-change="orderby">
|
|
|
+ @sort-change="orderby" @current-change="saveTableRow" @row-dblclick="dbTableRow">
|
|
|
<el-table-column v-if="this.DataStatus==0||this.DataStatus==5||this.DataStatus==3" label="操作" min-width="190"
|
|
|
align="center" fixed>
|
|
|
<template slot-scope="scope">
|
|
|
@@ -144,58 +144,58 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="紧密距(mm)" align="center">
|
|
|
- <el-table-column prop="CloseDistanceOut" sortable min-width="90" label="外螺纹" align="center"
|
|
|
+ <el-table-column prop="CloseDistanceOut" sortable min-width="110" label="外螺纹" align="center"
|
|
|
show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.CloseDistanceOut" style="width: 100%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.CloseDistanceOut" style="width: 100%"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="CloseDistanceIn" sortable min-width="90" label="内螺纹" align="center"
|
|
|
+ <el-table-column prop="CloseDistanceIn" sortable min-width="110" label="内螺纹" align="center"
|
|
|
show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.CloseDistanceIn" style="width: 100%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.CloseDistanceIn" style="width: 100%"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="锥度公差·10-3(in/in)" align="center">
|
|
|
- <el-table-column prop="TaperToleranceOut" sortable min-width="140" label="外螺纹" align="center"
|
|
|
+ <el-table-column prop="TaperToleranceOut" sortable min-width="220" label="外螺纹" align="center"
|
|
|
show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.TaperToleranceOut1" style="width: 50%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.TaperToleranceOut1" style="width: 50%"></el-input>
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.TaperToleranceOut2" style="width: 50%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.TaperToleranceOut2" style="width: 50%"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="TaperToleranceIn" sortable min-width="140" label="内螺纹" align="center"
|
|
|
+ <el-table-column prop="TaperToleranceIn" sortable min-width="220" label="内螺纹" align="center"
|
|
|
show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.TaperToleranceIn1" style="width: 50%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.TaperToleranceIn1" style="width: 50%"></el-input>
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.TaperToleranceIn2" style="width: 50%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.TaperToleranceIn2" style="width: 50%"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="螺距公差·10-3(in/in)" align="center">
|
|
|
- <el-table-column prop="PitchToleranceOut" sortable min-width="140" label="外螺纹" align="center"
|
|
|
+ <el-table-column prop="PitchToleranceOut" sortable min-width="220" label="外螺纹" align="center"
|
|
|
show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.PitchToleranceOut1" style="width: 50%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.PitchToleranceOut1" style="width: 50%"></el-input>
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.PitchToleranceOut2" style="width: 50%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.PitchToleranceOut2" style="width: 50%"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="PitchToleranceIn" sortable min-width="140" label="内螺纹" align="center"
|
|
|
+ <el-table-column prop="PitchToleranceIn" sortable min-width="220" label="内螺纹" align="center"
|
|
|
show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.PitchToleranceIn1" style="width: 50%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.PitchToleranceIn1" style="width: 50%"></el-input>
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.PitchToleranceIn2" style="width: 50%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.PitchToleranceIn2" style="width: 50%"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
@@ -204,121 +204,121 @@
|
|
|
show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.ShoulderSurface" style="width: 100%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.ShoulderSurface" style="width: 100%"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="EndFace" sortable min-width="150" label="与端面垂直度" align="center"
|
|
|
show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.EndFace" style="width: 100%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.EndFace" style="width: 100%"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
<el-table-column sortable min-width="160" label="管体外径(mm)" align="center" show-overflow-tooltip>
|
|
|
- <el-table-column prop="MajorAxis" sortable min-width="150" label="长轴" align="center" show-overflow-tooltip>
|
|
|
+ <el-table-column prop="MajorAxis" sortable min-width="110" label="长轴" align="center" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.MajorAxis" style="width: 100%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.MajorAxis" style="width: 100%"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="ShortAxis" sortable min-width="150" label="短轴" align="center" show-overflow-tooltip>
|
|
|
+ <el-table-column prop="ShortAxis" sortable min-width="110" label="短轴" align="center" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.ShortAxis" style="width: 100%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.ShortAxis" style="width: 100%"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="OutDiaDif" sortable min-width="130" label="外径差(mm)" align="center"
|
|
|
+ <el-table-column prop="OutDiaDif" sortable min-width="150" label="外径差(mm)" align="center"
|
|
|
show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.OutDiaDif" style="width: 100%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.OutDiaDif" style="width: 100%"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="DF" sortable min-width="120" label="DF(mm)" align="center" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.DF" style="width: 100%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.DF" style="width: 100%"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="QC" sortable min-width="125" label="QC(mm)" align="center" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.QC" style="width: 100%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.QC" style="width: 100%"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="DRG" sortable min-width="140" label="DRG(mm)" align="center" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.DRG" style="width: 100%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.DRG" style="width: 100%"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="LPC" sortable min-width="130" label="LPC(mm)" align="center" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.LPC" style="width: 100%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.LPC" style="width: 100%"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column sortable min-width="350" label="壁厚(mm)" align="center" show-overflow-tooltip>
|
|
|
- <el-table-column prop="WallDif1" sortable min-width="100" label="t大" align="center" show-overflow-tooltip>
|
|
|
+ <el-table-column prop="WallDif1" sortable min-width="110" label="t大" align="center" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.WallDif1" style="width: 100%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.WallDif1" style="width: 100%"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="ExDiameterM1" sortable min-width="100" label="t小" align="center"
|
|
|
+ <el-table-column prop="ExDiameterM1" sortable min-width="110" label="t小" align="center"
|
|
|
show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.ExDiameterM1" style="width: 100%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.ExDiameterM1" style="width: 100%"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="WallDifference1" sortable min-width="100" label="△" align="center"
|
|
|
+ <el-table-column prop="WallDifference1" sortable min-width="110" label="△" align="center"
|
|
|
show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.WallDifference1" style="width: 100%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.WallDifference1" style="width: 100%"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="WallDif2" sortable min-width="100" label="t大" align="center" show-overflow-tooltip>
|
|
|
+ <el-table-column prop="WallDif2" sortable min-width="110" label="t大" align="center" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.WallDif2" style="width: 100%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.WallDif2" style="width: 100%"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="ExDiameterM2" sortable min-width="100" label="t小" align="center"
|
|
|
+ <el-table-column prop="ExDiameterM2" sortable min-width="110" label="t小" align="center"
|
|
|
show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.ExDiameterM2" style="width: 100%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.ExDiameterM2" style="width: 100%"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="WallDifference2" sortable min-width="100" label="△" align="center"
|
|
|
+ <el-table-column prop="WallDifference2" sortable min-width="110" label="△" align="center"
|
|
|
show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.WallDifference2" style="width: 100%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.WallDifference2" style="width: 100%"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="WallDif3" sortable min-width="100" label="t大" align="center" show-overflow-tooltip>
|
|
|
+ <el-table-column prop="WallDif3" sortable min-width="110" label="t大" align="center" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.WallDif3" style="width: 100%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.WallDif3" style="width: 100%"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="ExDiameterM3" sortable min-width="100" label="t小" align="center"
|
|
|
+ <el-table-column prop="ExDiameterM3" sortable min-width="110" label="t小" align="center"
|
|
|
show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.ExDiameterM3" style="width: 100%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.ExDiameterM3" style="width: 100%"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="WallDifference3" sortable min-width="100" label="△" align="center"
|
|
|
+ <el-table-column prop="WallDifference3" sortable min-width="110" label="△" align="center"
|
|
|
show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.WallDifference3" style="width: 100%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.WallDifference3" style="width: 100%"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
@@ -326,14 +326,14 @@
|
|
|
show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.InterDiameter" style="width: 100%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.InterDiameter" style="width: 100%"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="TubeLength" sortable min-width="150" label="管体长度(m)" align="center"
|
|
|
show-overflow-tooltip>
|
|
|
<template slot-scope="scope">
|
|
|
<el-input size="small" :disabled="DataStatus != 0 && DataStatus!=5 && DataStatus!=3"
|
|
|
- v-model="scope.row.TubeLength" style="width: 100%"></el-input>
|
|
|
+ type="number" step="0.01" v-model.number="scope.row.TubeLength" style="width: 100%"></el-input>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
|
|
|
@@ -516,7 +516,7 @@
|
|
|
</el-dialog>
|
|
|
<data-opera ref="DataoperaCompoment" :DataEntryId="DataEntryId+''" :TaskBalanceId="TaskBalanceId+''" :EId="EId+''"
|
|
|
@init-data="initDatas"></data-opera>
|
|
|
-
|
|
|
+ <data-history ref="historyDataCompoment" @init-datalist="initDatas"></data-history>
|
|
|
</div>
|
|
|
</template>
|
|
|
<script>
|
|
|
@@ -525,6 +525,8 @@
|
|
|
} from 'vuex'
|
|
|
import api from '@/api/wzjys/limsdrillcollar'
|
|
|
import DataOpera from './operation.vue'
|
|
|
+ import DataHistory from './datahistory.vue'
|
|
|
+ import cmp from '@/utils/strings.js'
|
|
|
|
|
|
export default {
|
|
|
computed: {
|
|
|
@@ -534,7 +536,8 @@
|
|
|
},
|
|
|
name: 'limsdrillcollar',
|
|
|
components: {
|
|
|
- DataOpera
|
|
|
+ DataOpera,
|
|
|
+ DataHistory
|
|
|
},
|
|
|
data () {
|
|
|
return {
|
|
|
@@ -562,6 +565,9 @@
|
|
|
},
|
|
|
formDataMain: {
|
|
|
Id: '',
|
|
|
+ EId: '',
|
|
|
+ DocId: '',
|
|
|
+ TaskId: '',
|
|
|
Product: '',
|
|
|
Spec: '',
|
|
|
SamplingBase: '',
|
|
|
@@ -630,6 +636,14 @@
|
|
|
SuccessStatus: 2,
|
|
|
AuditorRemark: '',
|
|
|
DataEntryId: 0
|
|
|
+ },
|
|
|
+ rowHistory: {},
|
|
|
+ params: {
|
|
|
+ Id: '',
|
|
|
+ EId: '',
|
|
|
+ DataDocId: '',
|
|
|
+ TaskBalanceId: '',
|
|
|
+ DataEntryId: ''
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -674,14 +688,25 @@
|
|
|
getDataEntry () {
|
|
|
this.$axios.get('/limsdataentry/getdataentry/' + this.DataEntryId).then(res => {
|
|
|
this.formDataMain = res.data
|
|
|
+ if (!this.formDataMain.InspectionDate || this.formDataMain.InspectionDate.indexOf('0001-01-01') !== -1) {
|
|
|
+ this.formDataMain.InspectionDate = new Date()
|
|
|
+ }
|
|
|
// this.params.Id = res.data.Id
|
|
|
}).catch(error => {
|
|
|
console.log(error)
|
|
|
})
|
|
|
},
|
|
|
- getDataHistory () {
|
|
|
|
|
|
+ getDataHistory () {
|
|
|
+ this.params.DataDocId = this.formDataMain.DocId
|
|
|
+ this.params.TaskBalanceId = this.formDataMain.TaskId
|
|
|
+ this.params.EId = this.formDataMain.EId
|
|
|
+ this.params.DataEntryId = this.formDataMain.Id
|
|
|
+ this.params.Id = this.formDataMain.Id
|
|
|
+ this.$refs['historyDataCompoment'].dialogTableVisible = true
|
|
|
+ this.$refs['historyDataCompoment'].OpenOrignDataInput(this.params)
|
|
|
},
|
|
|
+
|
|
|
initDatas () {
|
|
|
// 分页及列表条件
|
|
|
let params = {
|
|
|
@@ -833,6 +858,42 @@
|
|
|
})
|
|
|
},
|
|
|
|
|
|
+ dbTableRow (row) {
|
|
|
+ if (this.entityList.length === 1) {
|
|
|
+ this.updateTableRow(row)
|
|
|
+ }
|
|
|
+ },
|
|
|
+ saveTableRow (row, oldRow) {
|
|
|
+ let noChange = true
|
|
|
+ if (oldRow && row) {
|
|
|
+ let tmpRow = {}
|
|
|
+ Object.assign(tmpRow, oldRow)
|
|
|
+ noChange = cmp(this.rowHistory, tmpRow)
|
|
|
+ }
|
|
|
+ if (oldRow && oldRow.Id > 0 && !noChange) {
|
|
|
+ this.updateTableRow(oldRow)
|
|
|
+ }
|
|
|
+ Object.assign(this.rowHistory, row)
|
|
|
+ },
|
|
|
+ updateTableRow (row) {
|
|
|
+ api.updateEntity(row.Id, row, this.$axios).then(res => {
|
|
|
+ if (res.data.code === 0) {
|
|
|
+ // 保存成功后,初始化数据,变成修改
|
|
|
+ this.$message({
|
|
|
+ type: 'success',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ this.$message({
|
|
|
+ type: 'warning',
|
|
|
+ message: res.data.message
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }).catch(err => {
|
|
|
+ console.error(err)
|
|
|
+ })
|
|
|
+ },
|
|
|
+
|
|
|
searchCommand (command) {
|
|
|
if (command === 'search') {
|
|
|
this.dialogVisible = true
|