删了一点报错

This commit is contained in:
yanyizhou
2021-11-24 13:48:48 +08:00
parent 53ce91037b
commit 179238a76c
+7 -8
View File
@@ -14,7 +14,7 @@
<div class="more"> <div class="more">
<el-form :inline="true" :model="dynamic" class="demo-form-inline"> <el-form :inline="true" :model="dynamic" class="demo-form-inline">
<el-row :gutter="24"> <el-row :gutter="24">
<el-col span="24"> <el-col>
<el-form-item label="标准编号"> <el-form-item label="标准编号">
<el-input clearable size="mini" <el-input clearable size="mini"
v-model="dynamic.standCode" v-model="dynamic.standCode"
@@ -57,7 +57,7 @@
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="24"> <el-row :gutter="24">
<el-col span="24"> <el-col>
<el-form-item label="实施日期" style="margin-right: 10px" class="choose-time-area"> <el-form-item label="实施日期" style="margin-right: 10px" class="choose-time-area">
<el-date-picker <el-date-picker
size="mini" size="mini"
@@ -579,7 +579,7 @@ export default {
}, },
//查找适用车型 //查找适用车型
searchBtnClick() { searchBtnClick() {
this.$http.get('sys/EarlyWarning/StandWarning', { this.$http.get('StandWarning/getStandWarning', {
...this.pageConfig, ...this.pageConfig,
//标准编号 //标准编号
standCode: this.dynamic.standCode, standCode: this.dynamic.standCode,
@@ -771,10 +771,10 @@ export default {
this.warningTableHeight = $(window).height()*0.54; this.warningTableHeight = $(window).height()*0.54;
}; };
// alert(this.warningTableHeight) // alert(this.warningTableHeight)
this.height = $(".content").height(); // this.height = $(".content").height();
window.onresize = () => { // window.onresize = () => {
this.height = $(".content").height(); // this.height = $(".content").height();
}; // };
//从数据库中查询下拉框数据 //从数据库中查询下拉框数据
this.$http.get("sys/dictype/getDicTypeListCode", {}, { this.$http.get("sys/dictype/getDicTypeListCode", {}, {
_this: this _this: this
@@ -820,7 +820,6 @@ export default {
}) })
let arr = result.newItems.records let arr = result.newItems.records
arr.forEach(item => { arr.forEach(item => {
console.log(item.applyType)
// 适用车型转换 // 适用车型转换
if (item.applyType !== null) { if (item.applyType !== null) {
let k = (item.applyType || "").split(","); let k = (item.applyType || "").split(",");