md
This commit is contained in:
parent
a8714dfba0
commit
205accb71c
@ -13,7 +13,7 @@
|
||||
>
|
||||
<el-option v-for="option in options" :key="option.item.path" :value="option.item" :label="option.item.title.join(' > ')" />
|
||||
</el-select>
|
||||
<div style="margin-top: 20px;">
|
||||
<div style="margin-top: 20px;display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; padding-top: 5px;">
|
||||
<el-button size="mini" type="text" plain v-for="(quickItem,index) in quickActionList" :key="index" @click="change(quickItem)"><span>{{ quickItem.title }}</span></el-button>
|
||||
</div>
|
||||
</div>
|
||||
@ -53,7 +53,6 @@ watch: {
|
||||
},
|
||||
searchPool(list) {
|
||||
this.initFuse(list)
|
||||
this.initQuickActionList();
|
||||
},
|
||||
show(value) {
|
||||
if (value) {
|
||||
@ -65,6 +64,7 @@ watch: {
|
||||
},
|
||||
mounted() {
|
||||
this.searchPool = this.generateRoutes(this.routes);
|
||||
this.initQuickActionList();
|
||||
},
|
||||
methods: {
|
||||
initQuickActionList() {
|
||||
@ -101,6 +101,7 @@ methods: {
|
||||
this.$nextTick(() => {
|
||||
this.show = false
|
||||
})
|
||||
this.initQuickActionList();
|
||||
},
|
||||
initFuse(list) {
|
||||
this.fuse = new Fuse(list, {
|
||||
|
||||
@ -28,34 +28,16 @@
|
||||
</div>
|
||||
<div class="quick-tool" style="line-height: 34px;">
|
||||
<el-popover
|
||||
|
||||
placement="right"
|
||||
width="400"
|
||||
trigger="click"
|
||||
ref="popoverRef"
|
||||
effect="light"
|
||||
:show-arrow="false"
|
||||
:persistent="false"
|
||||
@show="refreshId=Math.random().toString(36).substring(3,10)"
|
||||
>
|
||||
<!--
|
||||
ref="popoverRef"
|
||||
width="400"
|
||||
placement="right-bottom"
|
||||
trigger="click"
|
||||
popper-class="quick-menu-popover"
|
||||
:offset="{ x: 10, y: 10 }"
|
||||
:show-arrow="false"
|
||||
:open-delay="500"
|
||||
|
||||
placement="right"
|
||||
width="200"
|
||||
trigger="hover"
|
||||
ref="popoverRef"
|
||||
effect="light"
|
||||
:show-arrow="false"
|
||||
-->
|
||||
<!-- <div style="text-align: center;">
|
||||
</div> -->
|
||||
<search3 id="header-search"/>
|
||||
<search3 id="header-search" :key="refreshId"/>
|
||||
<span slot="reference">
|
||||
<i class="icon iconfont icon-icon_menhukuaijiecaidan" ></i>
|
||||
</span>
|
||||
@ -79,6 +61,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
refreshId:'0',
|
||||
// 当前激活菜单的 index
|
||||
currentIndex: undefined,
|
||||
domainId:undefined,
|
||||
|
||||
@ -21,7 +21,7 @@ const mutations = {
|
||||
try{
|
||||
var addActionLogData = {
|
||||
title: view.meta.title,
|
||||
path: view.path,
|
||||
path: view.fullPath,
|
||||
menuId: view.meta.menuId,
|
||||
navPath: "",
|
||||
groupName: "",
|
||||
|
||||
@ -313,8 +313,8 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item :label="$t('目的网点')" prop="dispatchUnderlingSiteCode">
|
||||
<el-input v-model="form.dispatchUnderlingSiteCode" placeholder="" disabled />
|
||||
<el-form-item :label="$t('目的网点')" prop="dispatchUnderlingSiteName">
|
||||
<el-input v-model="form.dispatchUnderlingSiteName" placeholder="" disabled />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="24">
|
||||
@ -1456,6 +1456,7 @@ methods: {
|
||||
destinationCountry: null,
|
||||
destinationCode: null,
|
||||
dispatchUnderlingSiteCode: null,
|
||||
dispatchUnderlingSiteName:null,
|
||||
destinationCenterCode: null,
|
||||
marketManCode: null,
|
||||
payee: null,
|
||||
@ -1651,7 +1652,7 @@ methods: {
|
||||
this.form.dispatchSite = response.data.siteName;
|
||||
|
||||
this.form.dispatchUnderlingSiteCode= response.data.siteCode;
|
||||
this.form.dispatchUnderlingSite= response.data.siteName;
|
||||
this.form.dispatchUnderlingSiteName= response.data.siteName;
|
||||
|
||||
});
|
||||
}
|
||||
@ -1846,10 +1847,9 @@ methods: {
|
||||
onDestinationChange(item){
|
||||
// this.form.destinationCode = item.destCode;
|
||||
this.form.dispatchUnderlingSiteCode= item.siteCode;
|
||||
this.form.dispatchSiteCode= item.siteCode;
|
||||
|
||||
this.form.dispatchUnderlingSite= item.siteName;
|
||||
this.form.dispatchSite= item.siteName;
|
||||
// this.form.dispatchSiteCode= item.siteCode;
|
||||
this.form.dispatchUnderlingSiteName= item.siteName;
|
||||
// this.form.dispatchSite= item.siteName;
|
||||
},
|
||||
onGoodsChange(goodsList,selNameStr){
|
||||
this.form.goodsInfo = selNameStr;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user