农机 项目代码

This commit is contained in:
likehai 2024-01-05 18:23:19 +08:00
parent e7ad6bf8eb
commit 805e8b3d67
6 changed files with 79 additions and 28 deletions

View File

@ -230,6 +230,11 @@
<el-table-column label="作业路线" align="center" prop="fieldFour" :show-overflow-tooltip="true"/> <el-table-column label="作业路线" align="center" prop="fieldFour" :show-overflow-tooltip="true"/>
<el-table-column label="行进方向" align="center" prop="fieldFive"/> <el-table-column label="行进方向" align="center" prop="fieldFive"/>
<el-table-column label="行进速度" align="center" prop="fieldSix"/> <el-table-column label="行进速度" align="center" prop="fieldSix"/>
<el-table-column label="时间" align="center" prop="nowTimeOne" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.nowTimeOne, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<!-- <el-table-column label="是否预警" align="center" prop="fieldNineteen">--> <!-- <el-table-column label="是否预警" align="center" prop="fieldNineteen">-->
<!-- <template slot-scope="scope">--> <!-- <template slot-scope="scope">-->
<!-- <dict-tag :options="dict.type.sys_yes_no" :value="scope.row.fieldNineteen"/>--> <!-- <dict-tag :options="dict.type.sys_yes_no" :value="scope.row.fieldNineteen"/>-->
@ -284,15 +289,7 @@
<!-- 添加或修改新能源通用对话框 --> <!-- 添加或修改新能源通用对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body> <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px"> <el-form ref="form" :model="form" :rules="rules" label-width="80px">
<!-- <el-form-item label="时间" prop="nowTimeOne">-->
<!-- <el-date-picker clearable-->
<!-- v-model="form.nowTimeOne"-->
<!-- type="date"-->
<!-- value-format="yyyy-MM-dd"-->
<!-- placeholder="请选择时间"-->
<!-- >-->
<!-- </el-date-picker>-->
<!-- </el-form-item>-->
<!-- <el-form-item label="时间2" prop="nowTimeTwo">--> <!-- <el-form-item label="时间2" prop="nowTimeTwo">-->
<!-- <el-date-picker clearable--> <!-- <el-date-picker clearable-->
<!-- v-model="form.nowTimeTwo"--> <!-- v-model="form.nowTimeTwo"-->
@ -331,6 +328,15 @@
></el-option> ></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="预警时间" prop="nowTimeOne">
<el-date-picker clearable
v-model="form.nowTimeOne"
type="date"
value-format="yyyy-MM-dd"
placeholder="请选择时间"
>
</el-date-picker>
</el-form-item>
<el-form-item label="预警内容" prop="fieldSeven"> <el-form-item label="预警内容" prop="fieldSeven">
<el-input v-model="form.fieldSeven" placeholder="请输入预警内容"/> <el-input v-model="form.fieldSeven" placeholder="请输入预警内容"/>
</el-form-item> </el-form-item>

View File

@ -213,11 +213,7 @@
<!-- <el-table-column type="selection" width="55" align="center" />--> <!-- <el-table-column type="selection" width="55" align="center" />-->
<!-- <el-table-column label="主键id" align="center" prop="id" />--> <!-- <el-table-column label="主键id" align="center" prop="id" />-->
<!-- <el-table-column label="模块区分" align="center" prop="moduleType" />--> <!-- <el-table-column label="模块区分" align="center" prop="moduleType" />-->
<!-- <el-table-column label="时间" align="center" prop="nowTimeOne" width="180">-->
<!-- <template slot-scope="scope">-->
<!-- <span>{{ parseTime(scope.row.nowTimeOne, '{y}-{m}-{d}') }}</span>-->
<!-- </template>-->
<!-- </el-table-column>-->
<!-- <el-table-column label="时间2" align="center" prop="nowTimeTwo" width="180">--> <!-- <el-table-column label="时间2" align="center" prop="nowTimeTwo" width="180">-->
<!-- <template slot-scope="scope">--> <!-- <template slot-scope="scope">-->
<!-- <span>{{ parseTime(scope.row.nowTimeTwo, '{y}-{m}-{d}') }}</span>--> <!-- <span>{{ parseTime(scope.row.nowTimeTwo, '{y}-{m}-{d}') }}</span>-->
@ -235,6 +231,11 @@
<dict-tag :options="dict.type.sys_yes_no" :value="scope.row.fieldNineteen"/> <dict-tag :options="dict.type.sys_yes_no" :value="scope.row.fieldNineteen"/>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="预警时间" align="center" prop="nowTimeOne" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.nowTimeOne, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column label="预警内容" align="center" prop="fieldSeven"/> <el-table-column label="预警内容" align="center" prop="fieldSeven"/>
<el-table-column label="预警处理结果" align="center" prop="fieldEleven"/> <el-table-column label="预警处理结果" align="center" prop="fieldEleven"/>
<el-table-column label="备注" align="center" prop="remark"/> <el-table-column label="备注" align="center" prop="remark"/>

View File

@ -237,11 +237,7 @@
<!-- <el-table-column type="selection" width="55" align="center"/>--> <!-- <el-table-column type="selection" width="55" align="center"/>-->
<!-- <el-table-column label="主键id" align="center" prop="id"/>--> <!-- <el-table-column label="主键id" align="center" prop="id"/>-->
<!-- <el-table-column label="模块区分" align="center" prop="moduleType"/>--> <!-- <el-table-column label="模块区分" align="center" prop="moduleType"/>-->
<!-- <el-table-column label="时间" align="center" prop="nowTimeOne" width="180">-->
<!-- <template slot-scope="scope">-->
<!-- <span>{{ parseTime(scope.row.nowTimeOne, '{y}-{m}-{d}') }}</span>-->
<!-- </template>-->
<!-- </el-table-column>-->
<!-- <el-table-column label="时间2" align="center" prop="nowTimeTwo" width="180">--> <!-- <el-table-column label="时间2" align="center" prop="nowTimeTwo" width="180">-->
<!-- <template slot-scope="scope">--> <!-- <template slot-scope="scope">-->
<!-- <span>{{ parseTime(scope.row.nowTimeTwo, '{y}-{m}-{d}') }}</span>--> <!-- <span>{{ parseTime(scope.row.nowTimeTwo, '{y}-{m}-{d}') }}</span>-->
@ -257,6 +253,11 @@
<el-table-column label="转向角度" align="center" prop="fieldSeven"/> <el-table-column label="转向角度" align="center" prop="fieldSeven"/>
<el-table-column label="掉头转弯" align="center" prop="fieldEleven"/> <el-table-column label="掉头转弯" align="center" prop="fieldEleven"/>
<el-table-column label="转弯角度" align="center" prop="fieldNine"/> <el-table-column label="转弯角度" align="center" prop="fieldNine"/>
<el-table-column label="操作时间" align="center" prop="nowTimeOne" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.nowTimeOne, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<!-- <el-table-column label="${comment}" align="center" prop="fieldTen" />--> <!-- <el-table-column label="${comment}" align="center" prop="fieldTen" />-->
<!-- <el-table-column label="${comment}" align="center" prop="fieldEight" />--> <!-- <el-table-column label="${comment}" align="center" prop="fieldEight" />-->
<!-- <el-table-column label="${comment}" align="center" prop="fieldTwelve" />--> <!-- <el-table-column label="${comment}" align="center" prop="fieldTwelve" />-->
@ -306,15 +307,7 @@
<!-- 添加或修改新能源通用对话框 --> <!-- 添加或修改新能源通用对话框 -->
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body> <el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
<el-form ref="form" :model="form" :rules="rules" label-width="80px"> <el-form ref="form" :model="form" :rules="rules" label-width="80px">
<!-- <el-form-item label="时间" prop="nowTimeOne">-->
<!-- <el-date-picker clearable-->
<!-- v-model="form.nowTimeOne"-->
<!-- type="date"-->
<!-- value-format="yyyy-MM-dd"-->
<!-- placeholder="请选择时间"-->
<!-- >-->
<!-- </el-date-picker>-->
<!-- </el-form-item>-->
<!-- <el-form-item label="时间2" prop="nowTimeTwo">--> <!-- <el-form-item label="时间2" prop="nowTimeTwo">-->
<!-- <el-date-picker clearable--> <!-- <el-date-picker clearable-->
<!-- v-model="form.nowTimeTwo"--> <!-- v-model="form.nowTimeTwo"-->
@ -354,6 +347,15 @@
<el-form-item label="转弯角度" prop="fieldNine"> <el-form-item label="转弯角度" prop="fieldNine">
<el-input v-model="form.fieldNine" placeholder="请输入转弯角度"/> <el-input v-model="form.fieldNine" placeholder="请输入转弯角度"/>
</el-form-item> </el-form-item>
<el-form-item label="操作时间" prop="nowTimeOne">
<el-date-picker clearable
v-model="form.nowTimeOne"
type="date"
value-format="yyyy-MM-dd"
placeholder="请选择时间"
>
</el-date-picker>
</el-form-item>
<!-- <el-form-item label="${comment}" prop="fieldTen">--> <!-- <el-form-item label="${comment}" prop="fieldTen">-->
<!-- <el-input v-model="form.fieldTen" placeholder="请输入${comment}"/>--> <!-- <el-input v-model="form.fieldTen" placeholder="请输入${comment}"/>-->
<!-- </el-form-item>--> <!-- </el-form-item>-->

View File

@ -257,6 +257,11 @@
<el-table-column label="转向角度" align="center" prop="fieldSeven"/> <el-table-column label="转向角度" align="center" prop="fieldSeven"/>
<el-table-column label="掉头转弯" align="center" prop="fieldEleven"/> <el-table-column label="掉头转弯" align="center" prop="fieldEleven"/>
<el-table-column label="转弯角度" align="center" prop="fieldNine"/> <el-table-column label="转弯角度" align="center" prop="fieldNine"/>
<el-table-column label="操作时间" align="center" prop="nowTimeOne" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.nowTimeOne, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<!-- <el-table-column label="${comment}" align="center" prop="fieldTen" />--> <!-- <el-table-column label="${comment}" align="center" prop="fieldTen" />-->
<!-- <el-table-column label="${comment}" align="center" prop="fieldEight" />--> <!-- <el-table-column label="${comment}" align="center" prop="fieldEight" />-->
<!-- <el-table-column label="${comment}" align="center" prop="fieldTwelve" />--> <!-- <el-table-column label="${comment}" align="center" prop="fieldTwelve" />-->
@ -342,6 +347,15 @@
<el-form-item label="行进速度" prop="fieldFive"> <el-form-item label="行进速度" prop="fieldFive">
<el-input v-model="form.fieldFive" placeholder="请输入行进速度"/> <el-input v-model="form.fieldFive" placeholder="请输入行进速度"/>
</el-form-item> </el-form-item>
<el-form-item label="操作时间" prop="nowTimeOne">
<el-date-picker clearable
v-model="form.nowTimeOne"
type="date"
value-format="yyyy-MM-dd"
placeholder="请选择时间"
>
</el-date-picker>
</el-form-item>
<!-- <el-form-item label="转向方向" prop="fieldSix">--> <!-- <el-form-item label="转向方向" prop="fieldSix">-->
<!-- <el-input v-model="form.fieldSix" placeholder="请输入转向方向"/>--> <!-- <el-input v-model="form.fieldSix" placeholder="请输入转向方向"/>-->
<!-- </el-form-item>--> <!-- </el-form-item>-->

View File

@ -257,6 +257,11 @@
<el-table-column label="转向角度" align="center" prop="fieldSeven"/> <el-table-column label="转向角度" align="center" prop="fieldSeven"/>
<el-table-column label="掉头转弯" align="center" prop="fieldEleven"/> <el-table-column label="掉头转弯" align="center" prop="fieldEleven"/>
<el-table-column label="转弯角度" align="center" prop="fieldNine"/> <el-table-column label="转弯角度" align="center" prop="fieldNine"/>
<el-table-column label="操作时间" align="center" prop="nowTimeOne" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.nowTimeOne, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<!-- <el-table-column label="${comment}" align="center" prop="fieldTen" />--> <!-- <el-table-column label="${comment}" align="center" prop="fieldTen" />-->
<!-- <el-table-column label="${comment}" align="center" prop="fieldEight" />--> <!-- <el-table-column label="${comment}" align="center" prop="fieldEight" />-->
<!-- <el-table-column label="${comment}" align="center" prop="fieldTwelve" />--> <!-- <el-table-column label="${comment}" align="center" prop="fieldTwelve" />-->
@ -348,6 +353,15 @@
<el-form-item label="转向角度" prop="fieldSeven"> <el-form-item label="转向角度" prop="fieldSeven">
<el-input v-model="form.fieldSeven" placeholder="请输入转向角度"/> <el-input v-model="form.fieldSeven" placeholder="请输入转向角度"/>
</el-form-item> </el-form-item>
<el-form-item label="操作时间" prop="nowTimeOne">
<el-date-picker clearable
v-model="form.nowTimeOne"
type="date"
value-format="yyyy-MM-dd"
placeholder="请选择时间"
>
</el-date-picker>
</el-form-item>
<!-- <el-form-item label="掉头转弯" prop="fieldEleven">--> <!-- <el-form-item label="掉头转弯" prop="fieldEleven">-->
<!-- <el-input v-model="form.fieldEleven" placeholder="请输入掉头转弯"/>--> <!-- <el-input v-model="form.fieldEleven" placeholder="请输入掉头转弯"/>-->
<!-- </el-form-item>--> <!-- </el-form-item>-->

View File

@ -257,6 +257,11 @@
<el-table-column label="转向角度" align="center" prop="fieldSeven"/> <el-table-column label="转向角度" align="center" prop="fieldSeven"/>
<el-table-column label="掉头转弯" align="center" prop="fieldEleven"/> <el-table-column label="掉头转弯" align="center" prop="fieldEleven"/>
<el-table-column label="转弯角度" align="center" prop="fieldNine"/> <el-table-column label="转弯角度" align="center" prop="fieldNine"/>
<el-table-column label="操作时间" align="center" prop="nowTimeOne" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.nowTimeOne, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<!-- <el-table-column label="${comment}" align="center" prop="fieldTen" />--> <!-- <el-table-column label="${comment}" align="center" prop="fieldTen" />-->
<!-- <el-table-column label="${comment}" align="center" prop="fieldEight" />--> <!-- <el-table-column label="${comment}" align="center" prop="fieldEight" />-->
<!-- <el-table-column label="${comment}" align="center" prop="fieldTwelve" />--> <!-- <el-table-column label="${comment}" align="center" prop="fieldTwelve" />-->
@ -354,6 +359,15 @@
<el-form-item label="转弯角度" prop="fieldNine"> <el-form-item label="转弯角度" prop="fieldNine">
<el-input v-model="form.fieldNine" placeholder="请输入转弯角度"/> <el-input v-model="form.fieldNine" placeholder="请输入转弯角度"/>
</el-form-item> </el-form-item>
<el-form-item label="操作时间" prop="nowTimeOne">
<el-date-picker clearable
v-model="form.nowTimeOne"
type="date"
value-format="yyyy-MM-dd"
placeholder="请选择时间"
>
</el-date-picker>
</el-form-item>
<!-- <el-form-item label="${comment}" prop="fieldTen">--> <!-- <el-form-item label="${comment}" prop="fieldTen">-->
<!-- <el-input v-model="form.fieldTen" placeholder="请输入${comment}"/>--> <!-- <el-input v-model="form.fieldTen" placeholder="请输入${comment}"/>-->
<!-- </el-form-item>--> <!-- </el-form-item>-->