|
|
@@ -1,7 +1,7 @@ |
|
|
|
<!-- |
|
|
|
* @Author: Do not edit |
|
|
|
* @Date: 2024-01-09 13:49:03 |
|
|
|
* @LastEditTime: 2024-01-30 08:56:57 |
|
|
|
* @LastEditTime: 2024-01-30 10:28:52 |
|
|
|
* @LastEditors: DY |
|
|
|
* @Description: |
|
|
|
--> |
|
|
@@ -79,7 +79,7 @@ |
|
|
|
<el-col :span="12"> |
|
|
|
<div class="whiteForm"> |
|
|
|
<el-form-item label="时间" prop="logTime"> |
|
|
|
<el-date-picker type="datetime" placeholder="选择日期" value-format="yyyy-MM-dd HH:mm:ss" v-model="ruleForm.logTime" style="width: 100%;"></el-date-picker> |
|
|
|
<el-date-picker type="datetime" placeholder="选择日期" value-format="timestamp" v-model="ruleForm.logTime" style="width: 100%;"></el-date-picker> |
|
|
|
</el-form-item> |
|
|
|
</div> |
|
|
|
</el-col> |
|
|
@@ -163,7 +163,8 @@ export default { |
|
|
|
lineId: undefined, |
|
|
|
sectionId: undefined, |
|
|
|
remark: undefined, |
|
|
|
logTime: new Date() |
|
|
|
source: 1, |
|
|
|
logTime: new Date().getTime() |
|
|
|
}, |
|
|
|
show: false, |
|
|
|
simpleShow: false, |
|
|
@@ -251,7 +252,8 @@ export default { |
|
|
|
lineId: undefined, |
|
|
|
sectionId: undefined, |
|
|
|
remark: undefined, |
|
|
|
logTime: new Date() |
|
|
|
source: 1, |
|
|
|
logTime: new Date().getTime() |
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
@@ -369,6 +371,8 @@ export default { |
|
|
|
console.log('res', res.data.data) |
|
|
|
if (res && res.data.data.datas.length > 0) { |
|
|
|
this.lineArray = res.data.data.datas |
|
|
|
this.ruleForm.lineId = this.lineArray[0].id |
|
|
|
this.getSection(this.ruleForm.lineId) |
|
|
|
} else { |
|
|
|
this.lineArray = [] |
|
|
|
} |
|
|
@@ -392,7 +396,7 @@ export default { |
|
|
|
type: 'success' |
|
|
|
}) |
|
|
|
this.$router.push({ |
|
|
|
path: 'home' |
|
|
|
path: 'list' |
|
|
|
}) |
|
|
|
} |
|
|
|
}) |
|
|
|