This commit is contained in:
闫晓茹 2023-02-20 10:00:58 +08:00
parent 833acd8476
commit 5b9acc7051
3 changed files with 19 additions and 11 deletions

View File

@ -183,7 +183,7 @@
v-model="item.classifySort"
placeholder="请输入分类排序"
oninput="value=value.replace(/[^\d]/g,'')"
maxLength="10"
maxLength="5"
/>
</el-form-item>
<el-form-item
@ -254,7 +254,7 @@
v-model="form.classifySort"
placeholder="请输入分类排序"
oninput="value=value.replace(/[^\d]/g,'')"
maxLength="10"
maxLength="5"
/>
</el-form-item>
</el-form>

View File

@ -527,6 +527,11 @@ export default {
if (obj.pictureUrlList.length > 0) {
updatePicture(obj).then((res) => {});
}
if (this.imgsurl.pictureUrlList.length > 0) {
updatePicture(this.imgsurl).then((res) => {});
}
this.imgsurl = { pictureUrlList: [] };
// var obj = { pictureUrlList: [] };
// if (this.form.leadThumbnailUrl != this.leadThumbnailUrl) {
// obj.pictureUrlList.push(this.leadThumbnailUrl);
@ -624,6 +629,7 @@ export default {
if (obj.pictureUrlList.length > 0) {
updatePicture(obj).then((res) => {});
}
this.imgsurl = { pictureUrlList: [] };
this.open = false;
this.getList();
});

View File

@ -9,7 +9,7 @@
label-width="110px"
>
<el-form-item label="护理站名称" prop="nurseStationId">
<el-button type="" class="stationbtn" @click="ParamsStation(true)">{{
<el-button type="" class="stationbtn" @click="ParamsStation(true)">{{
queryParams.nurseStationName
}}</el-button>
</el-form-item>
@ -204,6 +204,7 @@
maxlength="50"
/>
</el-form-item>
<el-form-item label="海报所属模块" prop="moduleType">
<el-select
v-model="form.moduleType"
@ -219,6 +220,14 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item label="海报显示顺序" prop="poserSort">
<el-input
v-model="form.poserSort"
placeholder="请输入海报显示顺序"
oninput="value=value.replace(/[^\d]/g,'')"
maxLength="5"
/>
</el-form-item>
<el-form-item
label="所属护理站"
prop="nurseStationId"
@ -296,14 +305,7 @@
>
</template></el-form-item
>
<el-form-item label="海报显示顺序" prop="poserSort">
<el-input
v-model="form.poserSort"
placeholder="请输入海报显示顺序"
oninput="value=value.replace(/[^\d]/g,'')"
maxLength="5"
/>
</el-form-item>
<el-form-item label="海报图片" prop="posterPictureUrl">
<el-table
label-width="50px"