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-option v-for="option in options" :key="option.item.path" :value="option.item" :label="option.item.title.join(' > ')" />
|
||||||
</el-select>
|
</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>
|
<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>
|
||||||
</div>
|
</div>
|
||||||
@ -53,7 +53,6 @@ watch: {
|
|||||||
},
|
},
|
||||||
searchPool(list) {
|
searchPool(list) {
|
||||||
this.initFuse(list)
|
this.initFuse(list)
|
||||||
this.initQuickActionList();
|
|
||||||
},
|
},
|
||||||
show(value) {
|
show(value) {
|
||||||
if (value) {
|
if (value) {
|
||||||
@ -65,6 +64,7 @@ watch: {
|
|||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.searchPool = this.generateRoutes(this.routes);
|
this.searchPool = this.generateRoutes(this.routes);
|
||||||
|
this.initQuickActionList();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
initQuickActionList() {
|
initQuickActionList() {
|
||||||
@ -101,6 +101,7 @@ methods: {
|
|||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.show = false
|
this.show = false
|
||||||
})
|
})
|
||||||
|
this.initQuickActionList();
|
||||||
},
|
},
|
||||||
initFuse(list) {
|
initFuse(list) {
|
||||||
this.fuse = new Fuse(list, {
|
this.fuse = new Fuse(list, {
|
||||||
|
|||||||
@ -28,34 +28,16 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="quick-tool" style="line-height: 34px;">
|
<div class="quick-tool" style="line-height: 34px;">
|
||||||
<el-popover
|
<el-popover
|
||||||
|
|
||||||
placement="right"
|
placement="right"
|
||||||
width="400"
|
width="400"
|
||||||
trigger="click"
|
trigger="click"
|
||||||
ref="popoverRef"
|
ref="popoverRef"
|
||||||
effect="light"
|
effect="light"
|
||||||
:show-arrow="false"
|
:show-arrow="false"
|
||||||
|
:persistent="false"
|
||||||
|
@show="refreshId=Math.random().toString(36).substring(3,10)"
|
||||||
>
|
>
|
||||||
<!--
|
<search3 id="header-search" :key="refreshId"/>
|
||||||
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"/>
|
|
||||||
<span slot="reference">
|
<span slot="reference">
|
||||||
<i class="icon iconfont icon-icon_menhukuaijiecaidan" ></i>
|
<i class="icon iconfont icon-icon_menhukuaijiecaidan" ></i>
|
||||||
</span>
|
</span>
|
||||||
@ -79,6 +61,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
refreshId:'0',
|
||||||
// 当前激活菜单的 index
|
// 当前激活菜单的 index
|
||||||
currentIndex: undefined,
|
currentIndex: undefined,
|
||||||
domainId:undefined,
|
domainId:undefined,
|
||||||
|
|||||||
@ -21,7 +21,7 @@ const mutations = {
|
|||||||
try{
|
try{
|
||||||
var addActionLogData = {
|
var addActionLogData = {
|
||||||
title: view.meta.title,
|
title: view.meta.title,
|
||||||
path: view.path,
|
path: view.fullPath,
|
||||||
menuId: view.meta.menuId,
|
menuId: view.meta.menuId,
|
||||||
navPath: "",
|
navPath: "",
|
||||||
groupName: "",
|
groupName: "",
|
||||||
|
|||||||
@ -313,8 +313,8 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item :label="$t('目的网点')" prop="dispatchUnderlingSiteCode">
|
<el-form-item :label="$t('目的网点')" prop="dispatchUnderlingSiteName">
|
||||||
<el-input v-model="form.dispatchUnderlingSiteCode" placeholder="" disabled />
|
<el-input v-model="form.dispatchUnderlingSiteName" placeholder="" disabled />
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
@ -1456,6 +1456,7 @@ methods: {
|
|||||||
destinationCountry: null,
|
destinationCountry: null,
|
||||||
destinationCode: null,
|
destinationCode: null,
|
||||||
dispatchUnderlingSiteCode: null,
|
dispatchUnderlingSiteCode: null,
|
||||||
|
dispatchUnderlingSiteName:null,
|
||||||
destinationCenterCode: null,
|
destinationCenterCode: null,
|
||||||
marketManCode: null,
|
marketManCode: null,
|
||||||
payee: null,
|
payee: null,
|
||||||
@ -1651,7 +1652,7 @@ methods: {
|
|||||||
this.form.dispatchSite = response.data.siteName;
|
this.form.dispatchSite = response.data.siteName;
|
||||||
|
|
||||||
this.form.dispatchUnderlingSiteCode= response.data.siteCode;
|
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){
|
onDestinationChange(item){
|
||||||
// this.form.destinationCode = item.destCode;
|
// this.form.destinationCode = item.destCode;
|
||||||
this.form.dispatchUnderlingSiteCode= item.siteCode;
|
this.form.dispatchUnderlingSiteCode= item.siteCode;
|
||||||
this.form.dispatchSiteCode= item.siteCode;
|
// this.form.dispatchSiteCode= item.siteCode;
|
||||||
|
this.form.dispatchUnderlingSiteName= item.siteName;
|
||||||
this.form.dispatchUnderlingSite= item.siteName;
|
// this.form.dispatchSite= item.siteName;
|
||||||
this.form.dispatchSite= item.siteName;
|
|
||||||
},
|
},
|
||||||
onGoodsChange(goodsList,selNameStr){
|
onGoodsChange(goodsList,selNameStr){
|
||||||
this.form.goodsInfo = selNameStr;
|
this.form.goodsInfo = selNameStr;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user