|
|
|
@ -1,9 +1,11 @@ |
|
|
|
<template> |
|
|
|
<div class="mod-config"> |
|
|
|
<el-form :inline="true" label-position="top" label-width="100px" style="margin-top: 0px;"> |
|
|
|
<el-button @click="getData()" type="primary" style="margin-left: 2px;margin-top: 0px">{{buttons.search}}</el-button> |
|
|
|
<el-button @click="addModal()" type="primary" :disabled = "authAdd" |
|
|
|
style="margin-left: 2px;margin-top: 0px">{{buttons.add}}</el-button> |
|
|
|
<el-button @click="getData()" type="primary" style="margin-left: 2px;margin-top: 0px">{{ buttons.search }} |
|
|
|
</el-button> |
|
|
|
<el-button @click="addModal()" type="primary" :disabled="authAdd" |
|
|
|
style="margin-left: 2px;margin-top: 0px">{{ buttons.add }} |
|
|
|
</el-button> |
|
|
|
<download-excel |
|
|
|
:fields="fields()" |
|
|
|
:data="exportData" |
|
|
|
@ -33,10 +35,11 @@ |
|
|
|
fixed="right" |
|
|
|
label="操作"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<a type="text" size="small" v-if="scope.row.active=='Y'" @click="accessSiteModel(scope.row)">{{buttons.role}}</a> |
|
|
|
<a type="text" size="small" v-if="!authEdit" @click="editSite(scope.row)">{{buttons.update}}</a> |
|
|
|
<a type="text" size="small" @click="getCompanyInformation(scope.row)">{{buttons.companyInformation}}</a> |
|
|
|
<!-- //v-if="jumpFlag"--> |
|
|
|
<a type="text" size="small" v-if="scope.row.active=='Y'" |
|
|
|
@click="accessSiteModel(scope.row)">{{ buttons.role }}</a> |
|
|
|
<a type="text" size="small" v-if="!authEdit" @click="editSite(scope.row)">{{ buttons.update }}</a> |
|
|
|
<a type="text" size="small" @click="getCompanyInformation(scope.row)">{{ buttons.companyInformation }}</a> |
|
|
|
<!-- //v-if="jumpFlag"--> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column |
|
|
|
@ -50,13 +53,14 @@ |
|
|
|
:width="item.columnWidth" |
|
|
|
:label="item.columnLabel"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<span v-if="!item.columnHidden"> {{scope.row[item.columnProp]}}</span> |
|
|
|
<span v-if="!item.columnHidden"> {{ scope.row[item.columnProp] }}</span> |
|
|
|
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" |
|
|
|
style="width: 100px; height: 80px"/></span> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
|
<el-dialog :title=labels.factoryInformation :close-on-click-modal="false" v-drag :visible.sync="siteFlag" width="630px" > |
|
|
|
<el-dialog :title=labels.factoryInformation :close-on-click-modal="false" v-drag :visible.sync="siteFlag" |
|
|
|
width="630px"> |
|
|
|
<el-form :inline="true" label-position="top" style="margin-left: 7px;margin-top: -5px;"> |
|
|
|
<el-form-item :label="labels.site"> |
|
|
|
<el-input v-model="siteData.siteID" :disabled="siteInputFlag" style="width: 130px"></el-input> |
|
|
|
@ -72,8 +76,8 @@ |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-form :inline="true" label-position="top" style="margin-left: 7px;margin-top: -5px;"> |
|
|
|
<el-form-item > |
|
|
|
<span slot="label" style="" @click="getBaseList(1003)"><a herf="#">{{labels.company}}</a></span> |
|
|
|
<el-form-item> |
|
|
|
<span slot="label" style="" @click="getBaseList(1003)"><a herf="#">{{ labels.company }}</a></span> |
|
|
|
<el-input v-model="siteData.companyID" style="width: 130px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label=labels.referenceCustomerID> |
|
|
|
@ -112,23 +116,26 @@ |
|
|
|
</el-form> |
|
|
|
<el-form :inline="true" label-position="top" style="margin-left: 7px;margin-top: -5px;"> |
|
|
|
<el-form-item :label=labels.address> |
|
|
|
<el-input v-model="siteData.address" type="textarea" :autosize="{ minRows: 1, maxRows: 6}" style="width: 562px"></el-input> |
|
|
|
<el-input v-model="siteData.address" type="textarea" :autosize="{ minRows: 1, maxRows: 6}" |
|
|
|
style="width: 562px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-form :inline="true" label-position="top" style="margin-left: 7px;margin-top: 0px;"> |
|
|
|
|
|
|
|
<el-form-item :label=labels.addressE> |
|
|
|
<el-input v-model="siteData.addressE" type="textarea" :autosize="{ minRows: 1, maxRows: 6}" style="width: 562px"></el-input> |
|
|
|
<el-input v-model="siteData.addressE" type="textarea" :autosize="{ minRows: 1, maxRows: 6}" |
|
|
|
style="width: 562px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-form :inline="true" label-position="top" style="margin-left: 7px;margin-top: 0px;"> |
|
|
|
<el-form-item :label=labels.website> |
|
|
|
<el-input v-model="siteData.website" type="textarea" :autosize="{ minRows: 1, maxRows: 6}" style="width: 562px"></el-input> |
|
|
|
<el-input v-model="siteData.website" type="textarea" :autosize="{ minRows: 1, maxRows: 6}" |
|
|
|
style="width: 562px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-footer style="height:40px;margin-top: 20px;text-align:center"> |
|
|
|
<el-button type="primary" @click="siteSave()">{{buttons.save}}</el-button> |
|
|
|
<el-button type="primary" @click="siteFlag = false">{{buttons.close}}</el-button> |
|
|
|
<el-button type="primary" @click="siteSave()">{{ buttons.save }}</el-button> |
|
|
|
<el-button type="primary" @click="siteFlag = false">{{ buttons.close }}</el-button> |
|
|
|
</el-footer> |
|
|
|
</el-dialog> |
|
|
|
<!-- 动态列 --> |
|
|
|
@ -161,38 +168,36 @@ |
|
|
|
|
|
|
|
<script> |
|
|
|
|
|
|
|
import column from "@/views/modules/common/column"; |
|
|
|
import { |
|
|
|
import column from "@/views/modules/common/column"; |
|
|
|
import { |
|
|
|
getSiteData, |
|
|
|
getCompanyData, |
|
|
|
siteSave, |
|
|
|
searchAccessSiteListBySite, |
|
|
|
saveAccessSiteForSite |
|
|
|
} from "@/api/base/site.js" |
|
|
|
import { |
|
|
|
|
|
|
|
} from "@/api/base/site.js" |
|
|
|
import { |
|
|
|
searchFunctionButtonList, |
|
|
|
|
|
|
|
} from "@/api/sysLanguage.js" |
|
|
|
import { |
|
|
|
} from "@/api/sysLanguage.js" |
|
|
|
import { |
|
|
|
getTableDefaultListLanguage, |
|
|
|
getTableUserListLanguage, |
|
|
|
} from "@/api/table.js" |
|
|
|
import Chooselist from '@/views/modules/common/Chooselist' |
|
|
|
} from "@/api/table.js" |
|
|
|
import Chooselist from '@/views/modules/common/Chooselist' |
|
|
|
|
|
|
|
var functionId='100001002'; |
|
|
|
var functionId = '100001002'; |
|
|
|
|
|
|
|
export default { |
|
|
|
export default { |
|
|
|
name: "factoryInformation", |
|
|
|
components: { |
|
|
|
column,Chooselist |
|
|
|
column, Chooselist |
|
|
|
}, |
|
|
|
data() { |
|
|
|
return { |
|
|
|
rowSite:'', |
|
|
|
accessSiteVisible:false, |
|
|
|
accessSiteList:[], |
|
|
|
userList:[], |
|
|
|
rowSite: '', |
|
|
|
accessSiteVisible: false, |
|
|
|
accessSiteList: [], |
|
|
|
userList: [], |
|
|
|
queryTable: { |
|
|
|
functionId: this.$route.meta.menuId, |
|
|
|
tableId: "100001002Table", |
|
|
|
@ -206,15 +211,15 @@ |
|
|
|
status: true, |
|
|
|
languageCode: this.$i18n.locale |
|
|
|
}, |
|
|
|
jumpFlag:true, |
|
|
|
jumpFlag: true, |
|
|
|
authEdit: false, |
|
|
|
authAdd: false, |
|
|
|
authDelete: false, |
|
|
|
menuId: this.$route.meta.menuId, |
|
|
|
tagNo:'', |
|
|
|
tagNo: '', |
|
|
|
// 导出 start |
|
|
|
exportData: [], |
|
|
|
exportName: "工厂信息"+this.dayjs().format('YYYYMMDDHHmmss'), |
|
|
|
exportName: "工厂信息" + this.dayjs().format('YYYYMMDDHHmmss'), |
|
|
|
exportHeader: ["工厂信息"], |
|
|
|
exportFooter: [], |
|
|
|
// 导出 end |
|
|
|
@ -267,7 +272,7 @@ |
|
|
|
tableId: '*', |
|
|
|
}, |
|
|
|
], |
|
|
|
labelsList:[ |
|
|
|
labelsList: [ |
|
|
|
{ |
|
|
|
functionId: functionId, |
|
|
|
languageValue: '工厂编码', |
|
|
|
@ -367,32 +372,32 @@ |
|
|
|
}, |
|
|
|
], |
|
|
|
labels: { |
|
|
|
site:'工厂编码', |
|
|
|
factoryInformation:'工厂信息', |
|
|
|
siteName_cn:'工厂名称(中文)', |
|
|
|
siteName_en:'工厂名称(英文)', |
|
|
|
postCode:'邮政编码', |
|
|
|
company:'会计单位', |
|
|
|
referenceCustomerID:'参照客户编码', |
|
|
|
active:'在用', |
|
|
|
shipTime:'发货时间', |
|
|
|
contactName:'联系人', |
|
|
|
phoneNo:'电话', |
|
|
|
email:'email', |
|
|
|
faxNo:'传真', |
|
|
|
address:'地址(中文)', |
|
|
|
addressE:'地址(英文)', |
|
|
|
website:'公司网站', |
|
|
|
}, |
|
|
|
buttons:{ |
|
|
|
search:'查询', |
|
|
|
add:'新增', |
|
|
|
download:'导出', |
|
|
|
update:'修改', |
|
|
|
companyInformation:'查看会计单位信息', |
|
|
|
save:'保存', |
|
|
|
close:'关闭', |
|
|
|
role:'授权', |
|
|
|
site: '工厂编码', |
|
|
|
factoryInformation: '工厂信息', |
|
|
|
siteName_cn: '工厂名称(中文)', |
|
|
|
siteName_en: '工厂名称(英文)', |
|
|
|
postCode: '邮政编码', |
|
|
|
company: '会计单位', |
|
|
|
referenceCustomerID: '参照客户编码', |
|
|
|
active: '在用', |
|
|
|
shipTime: '发货时间', |
|
|
|
contactName: '联系人', |
|
|
|
phoneNo: '电话', |
|
|
|
email: 'email', |
|
|
|
faxNo: '传真', |
|
|
|
address: '地址(中文)', |
|
|
|
addressE: '地址(英文)', |
|
|
|
website: '公司网站', |
|
|
|
}, |
|
|
|
buttons: { |
|
|
|
search: '查询', |
|
|
|
add: '新增', |
|
|
|
download: '导出', |
|
|
|
update: '修改', |
|
|
|
companyInformation: '查看会计单位信息', |
|
|
|
save: '保存', |
|
|
|
close: '关闭', |
|
|
|
role: '授权', |
|
|
|
}, |
|
|
|
queryButton: { |
|
|
|
functionId: functionId, |
|
|
|
@ -407,30 +412,30 @@ |
|
|
|
objectType: 'label' |
|
|
|
}, |
|
|
|
|
|
|
|
visible:false, |
|
|
|
visible: false, |
|
|
|
// 多语言 end |
|
|
|
height: 200, |
|
|
|
siteFlag:false, |
|
|
|
siteInputFlag:true, |
|
|
|
siteFlag: false, |
|
|
|
siteInputFlag: true, |
|
|
|
siteData: { |
|
|
|
add:'', |
|
|
|
siteID:'', |
|
|
|
siteName:'', |
|
|
|
siteNameE:'', |
|
|
|
companyID:'', |
|
|
|
postCode:'', |
|
|
|
address:'', |
|
|
|
addressE:'', |
|
|
|
website:'', |
|
|
|
contactName:'', |
|
|
|
phoneNo:'', |
|
|
|
faxNo:'', |
|
|
|
email:'', |
|
|
|
active:'Y', |
|
|
|
shipTime:'', |
|
|
|
referenceCustomerID:'', |
|
|
|
}, |
|
|
|
dataList:[], |
|
|
|
add: '', |
|
|
|
siteID: '', |
|
|
|
siteName: '', |
|
|
|
siteNameE: '', |
|
|
|
companyID: '', |
|
|
|
postCode: '', |
|
|
|
address: '', |
|
|
|
addressE: '', |
|
|
|
website: '', |
|
|
|
contactName: '', |
|
|
|
phoneNo: '', |
|
|
|
faxNo: '', |
|
|
|
email: '', |
|
|
|
active: 'Y', |
|
|
|
shipTime: '', |
|
|
|
referenceCustomerID: '', |
|
|
|
}, |
|
|
|
dataList: [], |
|
|
|
columnList: [ |
|
|
|
{ |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
@ -712,14 +717,14 @@ |
|
|
|
}) |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
'$route' (to, from) { |
|
|
|
if(localStorage.getItem('factoryInformation')!=undefined){ |
|
|
|
'$route'(to, from) { |
|
|
|
if (localStorage.getItem('factoryInformation') != undefined) { |
|
|
|
this.getData(); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
getBaseData(val){ |
|
|
|
getBaseData(val) { |
|
|
|
|
|
|
|
this.$nextTick(() => { |
|
|
|
if (this.tagNo === 1003) { |
|
|
|
@ -729,74 +734,74 @@ |
|
|
|
|
|
|
|
}, |
|
|
|
// 获取基础数据列表 |
|
|
|
getBaseList(val){ |
|
|
|
getBaseList(val) { |
|
|
|
this.tagNo = val |
|
|
|
this.$nextTick(() => { |
|
|
|
let strVal = ""; |
|
|
|
if (val === 1003 && this.siteData.companyID){ |
|
|
|
if (val === 1003 && this.siteData.companyID) { |
|
|
|
strVal = this.siteData.companyID |
|
|
|
} |
|
|
|
this.$refs.baseList.init(val,strVal) |
|
|
|
this.$refs.baseList.init(val, strVal) |
|
|
|
}) |
|
|
|
}, |
|
|
|
getData(){ |
|
|
|
let data={}; |
|
|
|
if(localStorage.getItem('factoryInformation')!=undefined){ |
|
|
|
data=JSON.parse(localStorage.getItem('factoryInformation')); |
|
|
|
getData() { |
|
|
|
let data = {}; |
|
|
|
if (localStorage.getItem('factoryInformation') != undefined) { |
|
|
|
data = JSON.parse(localStorage.getItem('factoryInformation')); |
|
|
|
} |
|
|
|
localStorage.removeItem('factoryInformation'); |
|
|
|
getSiteData(data).then(({data}) => { |
|
|
|
this.dataList = data.rows |
|
|
|
}) |
|
|
|
}, |
|
|
|
addModal(){ |
|
|
|
this.siteData={ |
|
|
|
add:'', |
|
|
|
siteID:'', |
|
|
|
siteName:'', |
|
|
|
siteNameE:'', |
|
|
|
companyID:'', |
|
|
|
postCode:'', |
|
|
|
address:'', |
|
|
|
addressE:'', |
|
|
|
website:'', |
|
|
|
contactName:'', |
|
|
|
phoneNo:'', |
|
|
|
faxNo:'', |
|
|
|
email:'', |
|
|
|
active:'Y', |
|
|
|
shipTime:'', |
|
|
|
referenceCustomerID:'', |
|
|
|
|
|
|
|
}, |
|
|
|
this.siteData.add=0; |
|
|
|
this.siteInputFlag=false; |
|
|
|
this.siteData.active='Y'; |
|
|
|
this.siteFlag=true; |
|
|
|
}, |
|
|
|
editSite(row){ |
|
|
|
this.siteData=JSON.parse(JSON.stringify(row)); |
|
|
|
this.siteData.add=1; |
|
|
|
this.siteInputFlag=true; |
|
|
|
this.siteFlag=true; |
|
|
|
}, |
|
|
|
siteSave(){ |
|
|
|
addModal() { |
|
|
|
this.siteData = { |
|
|
|
add: '', |
|
|
|
siteID: '', |
|
|
|
siteName: '', |
|
|
|
siteNameE: '', |
|
|
|
companyID: '', |
|
|
|
postCode: '', |
|
|
|
address: '', |
|
|
|
addressE: '', |
|
|
|
website: '', |
|
|
|
contactName: '', |
|
|
|
phoneNo: '', |
|
|
|
faxNo: '', |
|
|
|
email: '', |
|
|
|
active: 'Y', |
|
|
|
shipTime: '', |
|
|
|
referenceCustomerID: '', |
|
|
|
|
|
|
|
}, |
|
|
|
this.siteData.add = 0; |
|
|
|
this.siteInputFlag = false; |
|
|
|
this.siteData.active = 'Y'; |
|
|
|
this.siteFlag = true; |
|
|
|
}, |
|
|
|
editSite(row) { |
|
|
|
this.siteData = JSON.parse(JSON.stringify(row)); |
|
|
|
this.siteData.add = 1; |
|
|
|
this.siteInputFlag = true; |
|
|
|
this.siteFlag = true; |
|
|
|
}, |
|
|
|
siteSave() { |
|
|
|
siteSave(this.siteData).then(({data}) => { |
|
|
|
if(this.siteData.companyID==''||this.siteData.companyID==null){ |
|
|
|
this.$alert("请选择会计单位!",'错误',{ |
|
|
|
confirmButtonText:'确定' |
|
|
|
if (this.siteData.companyID == '' || this.siteData.companyID == null) { |
|
|
|
this.$alert("请选择会计单位!", '错误', { |
|
|
|
confirmButtonText: '确定' |
|
|
|
}) |
|
|
|
return false; |
|
|
|
} |
|
|
|
if(this.siteData.siteID==''||this.siteData.siteID==null){ |
|
|
|
this.$alert("请输入工厂编码!",'错误',{ |
|
|
|
confirmButtonText:'确定' |
|
|
|
if (this.siteData.siteID == '' || this.siteData.siteID == null) { |
|
|
|
this.$alert("请输入工厂编码!", '错误', { |
|
|
|
confirmButtonText: '确定' |
|
|
|
}) |
|
|
|
return false; |
|
|
|
} |
|
|
|
if(this.siteData.siteName==''||this.siteData.siteName==null){ |
|
|
|
this.$alert("请输入工厂名称!",'错误',{ |
|
|
|
confirmButtonText:'确定' |
|
|
|
if (this.siteData.siteName == '' || this.siteData.siteName == null) { |
|
|
|
this.$alert("请输入工厂名称!", '错误', { |
|
|
|
confirmButtonText: '确定' |
|
|
|
}) |
|
|
|
return false; |
|
|
|
} |
|
|
|
@ -812,22 +817,22 @@ |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
saveAccessSite(){ |
|
|
|
let accessSiteList=[] |
|
|
|
for (let i = 0; i <this.accessSiteList.length ; i++) { |
|
|
|
let inData={ |
|
|
|
site:this.rowSite, |
|
|
|
userid:this.accessSiteList[i] |
|
|
|
saveAccessSite() { |
|
|
|
let accessSiteList = [] |
|
|
|
for (let i = 0; i < this.accessSiteList.length; i++) { |
|
|
|
let inData = { |
|
|
|
site: this.rowSite, |
|
|
|
userid: this.accessSiteList[i] |
|
|
|
} |
|
|
|
accessSiteList.push(inData) |
|
|
|
} |
|
|
|
let saveData={ |
|
|
|
site:this.rowSite, |
|
|
|
accessSiteList:accessSiteList, |
|
|
|
let saveData = { |
|
|
|
site: this.rowSite, |
|
|
|
accessSiteList: accessSiteList, |
|
|
|
} |
|
|
|
saveAccessSiteForSite(saveData).then(({data}) => { |
|
|
|
if (data && data.code === 0) { |
|
|
|
this.$message.success( '操作成功') |
|
|
|
this.$message.success('操作成功') |
|
|
|
this.accessSiteVisible = false |
|
|
|
} else { |
|
|
|
this.$message.error(data.msg) |
|
|
|
@ -862,19 +867,19 @@ |
|
|
|
return s |
|
|
|
}, |
|
|
|
// 导出 end |
|
|
|
getCompanyInformation(row){ |
|
|
|
let inData={companyID:row.companyID,companyName:row.companyName}; |
|
|
|
getCompanyInformation(row) { |
|
|
|
let inData = {companyID: row.companyID, companyName: row.companyName}; |
|
|
|
localStorage.setItem('companyInformation', JSON.stringify(inData)) |
|
|
|
this.$router.replace('base-companyInformation') |
|
|
|
}, |
|
|
|
|
|
|
|
//获取按钮的权限数据 |
|
|
|
getButtonAuthData(){ |
|
|
|
let updateFlag = this.isAuth(this.menuId+":revise"); |
|
|
|
let fullControFlag = this.isAuth(this.menuId+":fullContro"); |
|
|
|
let deleteFlag = this.isAuth(this.menuId+":remove"); |
|
|
|
getButtonAuthData() { |
|
|
|
let updateFlag = this.isAuth(this.menuId + ":revise"); |
|
|
|
let fullControFlag = this.isAuth(this.menuId + ":fullContro"); |
|
|
|
let deleteFlag = this.isAuth(this.menuId + ":remove"); |
|
|
|
//处理页面的权限数据 |
|
|
|
this.authEdit = !updateFlag ||!fullControFlag; |
|
|
|
this.authEdit = !updateFlag || !fullControFlag; |
|
|
|
this.authAdd = !fullControFlag; |
|
|
|
this.authDelete = !deleteFlag; |
|
|
|
|
|
|
|
@ -885,14 +890,15 @@ |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
accessSiteModel(row){ |
|
|
|
searchAccessSiteListBySite({site:row.siteID, |
|
|
|
accessSiteModel(row) { |
|
|
|
searchAccessSiteListBySite({ |
|
|
|
site: row.siteID, |
|
|
|
}).then(({data}) => { |
|
|
|
this.accessSiteList = data.accessSiteList |
|
|
|
this.userList=data.userList |
|
|
|
this.userList = data.userList |
|
|
|
}) |
|
|
|
this.rowSite=row.siteID |
|
|
|
this.accessSiteVisible=true; |
|
|
|
this.rowSite = row.siteID |
|
|
|
this.accessSiteVisible = true; |
|
|
|
}, |
|
|
|
|
|
|
|
//多语言 |
|
|
|
@ -922,7 +928,7 @@ |
|
|
|
let queryTable = { |
|
|
|
userId: this.$store.state.user.name, |
|
|
|
functionId: this.$route.meta.menuId, |
|
|
|
tableId:this.queryTable .tableId, |
|
|
|
tableId: this.queryTable.tableId, |
|
|
|
languageCode: this.$i18n.locale |
|
|
|
} |
|
|
|
this.$nextTick(() => { |
|
|
|
@ -952,25 +958,28 @@ |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
getSiteDataDemo(params){ |
|
|
|
this.$message.success("这里是Site") |
|
|
|
} |
|
|
|
}, |
|
|
|
created() { |
|
|
|
this.getMultiLanguageList()//刷新按钮 |
|
|
|
this.getData(); |
|
|
|
|
|
|
|
//获取按钮的权限 |
|
|
|
this.getButtonAuthData(); |
|
|
|
|
|
|
|
|
|
|
|
this.getTableUserColumn() |
|
|
|
}, |
|
|
|
activated() { |
|
|
|
this.$store.commit("sift/commitSearchFunction",this.getSiteDataDemo) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
|
|
|
|
<style > |
|
|
|
<style> |
|
|
|
|
|
|
|
|
|
|
|
.el-textarea__inner { |
|
|
|
.el-textarea__inner { |
|
|
|
padding: 5px 5px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
</style> |