更新细节
This commit is contained in:
parent
a98c354966
commit
a1f30a238c
|
@ -2,8 +2,8 @@ const config = {
|
||||||
terminal: 1, //终端
|
terminal: 1, //终端
|
||||||
title: '后台管理系统', //网站默认标题
|
title: '后台管理系统', //网站默认标题
|
||||||
version: '1.6.0', //版本号
|
version: '1.6.0', //版本号
|
||||||
baseUrl: `${import.meta.env.VITE_APP_BASE_URL || ''}/`, //请求接口域名
|
// baseUrl: `${import.meta.env.VITE_APP_BASE_URL || ''}/`, //请求接口域名
|
||||||
// baseUrl: 'http://127.0.0.1:30005/',
|
baseUrl: 'http://127.0.0.1:30005/',
|
||||||
urlPrefix: 'adminapi', //请求默认前缀
|
urlPrefix: 'adminapi', //请求默认前缀
|
||||||
timeout: 10 * 1000 //请求超时时长
|
timeout: 10 * 1000 //请求超时时长
|
||||||
}
|
}
|
||||||
|
|
|
@ -52,9 +52,9 @@
|
||||||
/>
|
/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="种植图片" prop="pic">
|
<!-- <el-form-item label="种植图片" prop="pic">
|
||||||
<material-picker v-model="formData.pic" :limit="4" />
|
<material-picker v-model="formData.pic" :limit="4" />
|
||||||
</el-form-item>
|
</el-form-item> -->
|
||||||
<el-form-item label="播种时间" prop="plant_date">
|
<el-form-item label="播种时间" prop="plant_date">
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
class="flex-1 !flex"
|
class="flex-1 !flex"
|
||||||
|
@ -104,7 +104,6 @@ const formData = reactive({
|
||||||
user: '',
|
user: '',
|
||||||
remark: '',
|
remark: '',
|
||||||
status: '',
|
status: '',
|
||||||
pic: '',
|
|
||||||
qr_code: '',
|
qr_code: '',
|
||||||
plant_date: ''
|
plant_date: ''
|
||||||
})
|
})
|
||||||
|
|
|
@ -52,7 +52,6 @@ class LandPlantLogic extends BaseLogic
|
||||||
'user' => $params['user'],
|
'user' => $params['user'],
|
||||||
'remark' => $params['remark'],
|
'remark' => $params['remark'],
|
||||||
'status' => $params['status'],
|
'status' => $params['status'],
|
||||||
'pic' => json_encode($params['pic']),
|
|
||||||
'qr_code' => $params['qr_code'],
|
'qr_code' => $params['qr_code'],
|
||||||
'plant_date' => strtotime($params['plant_date']),
|
'plant_date' => strtotime($params['plant_date']),
|
||||||
]);
|
]);
|
||||||
|
@ -91,7 +90,6 @@ class LandPlantLogic extends BaseLogic
|
||||||
'user' => $params['user'],
|
'user' => $params['user'],
|
||||||
'remark' => $params['remark'],
|
'remark' => $params['remark'],
|
||||||
'status' => $params['status'],
|
'status' => $params['status'],
|
||||||
'pic' => json_encode($params['pic']),
|
|
||||||
'qr_code' => $params['qr_code'],
|
'qr_code' => $params['qr_code'],
|
||||||
'plant_date' => strtotime($params['plant_date']),
|
'plant_date' => strtotime($params['plant_date']),
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in New Issue