|
|
@ -3,7 +3,7 @@ |
|
|
<el-dialog :title="titleCon" v-drag v-bind="$attrs" v-on="$listeners" |
|
|
<el-dialog :title="titleCon" v-drag v-bind="$attrs" v-on="$listeners" |
|
|
width="450px" style="height: 680px;" class="customer-dialog"> |
|
|
width="450px" style="height: 680px;" class="customer-dialog"> |
|
|
<el-container> |
|
|
<el-container> |
|
|
<el-container style="height: 120px;"> |
|
|
|
|
|
|
|
|
<el-container style="height: 180px;"> |
|
|
<el-form :inline="true" label-position="top" label-width="80px"> |
|
|
<el-form :inline="true" label-position="top" label-width="80px"> |
|
|
<!-- 停机时间和时长 --> |
|
|
<!-- 停机时间和时长 --> |
|
|
<el-row style="margin-top: -10px;"> |
|
|
<el-row style="margin-top: -10px;"> |
|
|
@ -31,7 +31,7 @@ |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="8" > |
|
|
<el-col :span="8" > |
|
|
<el-form-item :label="'时长:'"> |
|
|
<el-form-item :label="'时长:'"> |
|
|
<el-input ref="totalTime" type="number" v-model="pageData.totalTime" style="width: 120px"></el-input> |
|
|
|
|
|
|
|
|
<el-input ref="totalTime" type="number" v-model="pageData.totalTime" style="width: 115px"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
</el-row> |
|
|
</el-row> |
|
|
@ -44,7 +44,14 @@ |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="16"> |
|
|
<el-col :span="16"> |
|
|
<el-form-item :label="'停机描述:'"> |
|
|
<el-form-item :label="'停机描述:'"> |
|
|
<el-input :readonly="true" v-model="pageData.downTimeDesc" style="width: 180px"></el-input> |
|
|
|
|
|
|
|
|
<el-input :readonly="true" v-model="pageData.downTimeDesc" style="width: 240px"></el-input> |
|
|
|
|
|
</el-form-item> |
|
|
|
|
|
</el-col> |
|
|
|
|
|
</el-row> |
|
|
|
|
|
<el-row> |
|
|
|
|
|
<el-col :span="16"> |
|
|
|
|
|
<el-form-item :label="'备注说明:'"> |
|
|
|
|
|
<el-input v-model="pageData.remark" type="textarea" style="width: 360px"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
</el-row> |
|
|
</el-row> |
|
|
@ -148,6 +155,7 @@ export default { |
|
|
totalTime: 0, |
|
|
totalTime: 0, |
|
|
downTimeCode: '', |
|
|
downTimeCode: '', |
|
|
downTimeDesc: '', |
|
|
downTimeDesc: '', |
|
|
|
|
|
remark: '' |
|
|
}, |
|
|
}, |
|
|
operatorData: { |
|
|
operatorData: { |
|
|
site: this.$store.state.user.site, |
|
|
site: this.$store.state.user.site, |
|
|
@ -263,6 +271,7 @@ export default { |
|
|
this.pageData.totalTime = 0; |
|
|
this.pageData.totalTime = 0; |
|
|
this.pageData.downTimeCode = ''; |
|
|
this.pageData.downTimeCode = ''; |
|
|
this.pageData.downTimeDesc = ''; |
|
|
this.pageData.downTimeDesc = ''; |
|
|
|
|
|
this.pageData.remark = ''; |
|
|
//自动获取焦点 |
|
|
//自动获取焦点 |
|
|
this.$nextTick(() => { |
|
|
this.$nextTick(() => { |
|
|
this.$refs.totalTime.focus(); |
|
|
this.$refs.totalTime.focus(); |
|
|
|