Commit c1c5ce77 authored by 高宇's avatar 高宇

删除菜单

parent 0d8fdc5d
......@@ -373,7 +373,7 @@
<!-- 权限验证-->
<el-dialog :title="title" :visible.sync="openLogin" width="500px" append-to-body :close-on-click-modal="false" @close="handleClose">
<div style="text-align: center">
<span style="font-size: 15px">该操作需要权限认</span>
<span style="font-size: 15px">您选择的设备入库时间较早,需要权限验</span>
</div>
<el-form ref="form" :model="loginform" label-width="80px">
<el-form-item label="密码">
......@@ -591,7 +591,7 @@ export default {
// 处理弹窗里的勾选确定
handleCance() {
this.loadingDetail = true
this.title = '权限菜单'
this.title = '权限验证'
if (this.multipleSelection.length === 0) {
this.$message.warning('请至少选择一个要处理的设备')
} else {
......@@ -711,7 +711,7 @@ export default {
this.openHandle = true
}
})
this.title = '处理'
this.title = '权限验证'
this.loadingDetail = true
},
......
......@@ -41,7 +41,7 @@
</el-col>
</el-row>
<el-row>
<el-col :span="12" style="padding-left: 8.6%;">
<el-col :span="12" style="padding-left: 9%;">
<el-form-item label="prank:" style="flex-basis: 50%;" prop="prank">
<el-input ref="input7" v-model="form.prank" placeholder="请输入prank" clearable style="width: 400px" :maxlength="8" @keyup.enter.native="handelTab(7,$event)" />
</el-form-item>
......
......@@ -233,7 +233,7 @@
<!-- TODO: 处理 -->
<el-dialog :title="title" :visible.sync="openHandle" width="1200px" append-to-body :close-on-click-modal="false" @close="handlecanceClose">
<el-form class="aboutSingleDetails" ref="formDetails" :model="singleDetails" size="small" label-width="90px">
<el-form ref="formDetails" class="aboutSingleDetails" :model="singleDetails" size="small" label-width="90px">
<el-row>
<el-col :span="8">
<el-form-item label="pn:" prop="pn">
......@@ -380,7 +380,7 @@
<el-dialog title="权限校验" :visible.sync="menu" width="500px" append-to-body :close-on-click-modal="false" @close="handlemenuClose">
<div style="text-align: center">
<span style="font-size: 15px">当前选择跨越设备需要权限密码</span>
<span style="font-size: 15px">您选择的设备入库日期较早,需要权限验证 </span>
</div>
<el-form ref="form" :model="menuform" label-width="80px">
<el-form-item label="密码">
......@@ -394,7 +394,7 @@
<!-- 菜单权限验证-->
<el-dialog :title="title" :visible.sync="openLogin" width="500px" append-to-body :close-on-click-modal="false" @close="handleClose">
<div style="text-align: center">
<span style="font-size: 15px">该操作需要权限认</span>
<span style="font-size: 15px">当前选择跨越设备需要权限验</span>
</div>
<el-form ref="form" :model="loginform" label-width="80px">
<el-form-item label="密码">
......@@ -658,7 +658,7 @@ export default {
if (res.data.createDate !== null) {
res.data.createDate = parseTime(res.data.createDate, '{y}-{m}-{d}')
}
console.log('radio1',this.radio1)
console.log('radio1', this.radio1)
this.loginform.password = ''
this.detailApplyList = res.data
this.loadingDetail = false
......@@ -805,7 +805,7 @@ export default {
this.openHandle = true
}
})
this.title = '处理'
this.title = '权限验证'
this.loadingDetail = true
},
......@@ -895,9 +895,9 @@ export default {
},
// 登录
login() {
console.log('radio1',this.radio1)
console.log('radio1', this.radio1)
if (this.radio1 === '1') {
this.title = '权限证'
this.title = '权限证'
this.openLogin = true
this.openHandle = false
} else {
......
......@@ -187,7 +187,7 @@
{{ singleDetails.fqMcode }}
</el-form-item>
<el-form-item label="fqYy:" prop="fqYy">
{{ singleDetails.fqYy }}
{{ replace(singleDetails.fqYy) }}
</el-form-item>
</el-col>
</el-row>
......@@ -217,6 +217,7 @@
import { exportInventoryRecord, findSingleLogDetail, listLog } from '@/api/processMangement/InventoryRecord'
import BaseTable from '@/components/Table/BaseTable/index.vue'
import { BaseTableArgumentsTest } from '@/components/Table/AllTableArguments/BaseTableArguments'
import { getDictData } from '@/api/equipment/application'
export default {
name: 'InventoryRecord',
......@@ -225,6 +226,7 @@ export default {
],
data() {
return {
dictList: [],
textPrimary: 'text',
deleteName: '删除',
deleteSize: 'mini',
......@@ -402,6 +404,7 @@ export default {
}
},
computed: {
BaseTable() {
return BaseTable
},
......@@ -434,12 +437,26 @@ export default {
this.queryParams = { ...param }
}
this.getList()
this.getDict()
},
mounted() {
this.$refs.autoGetFocusInput.focus()
},
methods: {
replace(value) {
return this.dictList.find(item => item.dictLabel === value).dictValue
},
getDict() {
const obj = {
key: 'FQ_CODE'
}
getDictData(obj).then(res => {
console.log('res', res)
if (res.code === 200 && res.data !== null) {
this.dictList = res.data
}
})
},
/** TODO:查询工序库的出入库记录列表 */
getList() {
this.loading = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment