Merge branch 'hi-ucs-dev' into release

This commit is contained in:
a0049873 2023-01-10 09:41:49 +08:00
commit 2f38c2edae
4 changed files with 16 additions and 3 deletions

View File

@ -281,6 +281,9 @@ export default {
// //
getDetail (data) { getDetail (data) {
this.dataForm = data this.dataForm = data
const _imgObj = data.fuseAttrList.find(v => v.attrType == '服务图片') || {}
this.imageUrl = _imgObj.attrValue
}, },
handleAvatarSuccess (res, file) { handleAvatarSuccess (res, file) {
if (res.code !== 0) { if (res.code !== 0) {

View File

@ -81,7 +81,8 @@ js:
<!-- <el-radio-group v-model:value="data.note1" v-else-if="type == 'radio'"> <!-- <el-radio-group v-model:value="data.note1" v-else-if="type == 'radio'">
<el-radio v-for="item in options" :label="item.dictLabel" :key="item.dictLabel">{{item.dictLabel}}</el-radio> <el-radio v-for="item in options" :label="item.dictLabel" :key="item.dictLabel">{{item.dictLabel}}</el-radio>
</el-radio-group> --> </el-radio-group> -->
<a-textarea v-else-if="type == 'textArea'" @change="changeIiem(name,data.note1)" v-model:value="data.note1" :showCount="true" :maxlength="200" :placeholder="'请填写' + name" /> <a-textarea v-else-if="type == 'textArea'" @change="changeIiem(name,data.note1)" v-model:value="data.note1"
maxLength="200" :placeholder="'请填写' + name" />
<div class="block" v-else-if="type == 'date'"> <div class="block" v-else-if="type == 'date'">
<el-date-picker v-model="data.note1" type="date" :placeholder="'选择' + name" value-format="yyyy-MM-dd"> <el-date-picker v-model="data.note1" type="date" :placeholder="'选择' + name" value-format="yyyy-MM-dd">
</el-date-picker> </el-date-picker>

View File

@ -157,7 +157,11 @@ const addShoppingCart = () => {
} }
// //
const openScene = (val) => { const openScene = (val) => {
window.open(val, '_blank') if(val==''){
message.info("未配置场景入口")
}else{
window.open(val, '_blank')
}
} }
// // // //
function toView() { function toView() {

View File

@ -392,7 +392,12 @@
// //
const openScene = (val) => { const openScene = (val) => {
window.open(val, '_blank') if(val==''){
message.info("未配置场景入口")
}else{
window.open(val, '_blank')
}
} }
const selectNav = (key) => { const selectNav = (key) => {
selectNow.value = key selectNow.value = key