✨ feat: 关闭验证码,修复待检任务
This commit is contained in:
@@ -34,62 +34,4 @@ export default function createFetch(url) {
|
||||
url: '/api/track/coil/position',
|
||||
})
|
||||
}
|
||||
}
|
||||
/**
|
||||
* 手动调整钢卷位置
|
||||
* data.targetPos 目标位置 必须
|
||||
* data.currentPos 当前位置 必须
|
||||
*/
|
||||
export function adjustPosition(data) {
|
||||
return l2Request({
|
||||
method: 'put',
|
||||
url: '/api/track/position',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 手动操作钢卷
|
||||
* {
|
||||
"porIdx": 0, // 必须
|
||||
"trIdx": 0, // 必须
|
||||
"planId": "", // 必须
|
||||
"entryMatId": "", // 必须
|
||||
"planNo": "", // 必须
|
||||
"operation": "", // 必须
|
||||
"returnMatId": "", // 必须
|
||||
"returnWeight": 0, // 必须
|
||||
"returnRemark": "", // 必须
|
||||
"coilLength": 0 // 必须
|
||||
}
|
||||
*/
|
||||
export function operateMat(data) {
|
||||
return l2Request({
|
||||
method: 'put',
|
||||
url: '/api/track/manual/operate/mat',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取回退数据
|
||||
* params.posIdx 必须
|
||||
*/
|
||||
export function getBackData(params) {
|
||||
return l2Request({
|
||||
method: 'get',
|
||||
url: '/api/track/return/info',
|
||||
params
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取跟踪带钢位置
|
||||
*/
|
||||
export function getTrackMatPosition() {
|
||||
return l2Request({
|
||||
method: 'get',
|
||||
url: '/api/track/coil/position',
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
@@ -11,9 +11,9 @@
|
||||
|
||||
<screenfull id="screenfull" class="right-menu-item hover-effect" />
|
||||
|
||||
<el-tooltip content="布局大小" effect="dark" placement="bottom">
|
||||
<!-- <el-tooltip content="布局大小" effect="dark" placement="bottom">
|
||||
<size-select id="size-select" class="right-menu-item hover-effect" />
|
||||
</el-tooltip>
|
||||
</el-tooltip> -->
|
||||
</template>
|
||||
|
||||
<el-dropdown class="avatar-container right-menu-item hover-effect" trigger="click">
|
||||
@@ -43,10 +43,10 @@ import Breadcrumb from '@/components/Breadcrumb'
|
||||
import TopNav from '@/components/TopNav'
|
||||
import Hamburger from '@/components/Hamburger'
|
||||
import Screenfull from '@/components/Screenfull'
|
||||
import SizeSelect from '@/components/SizeSelect'
|
||||
// import SizeSelect from '@/components/SizeSelect'
|
||||
import Search from '@/components/HeaderSearch'
|
||||
import RuoYiGit from '@/components/RuoYi/Git'
|
||||
import RuoYiDoc from '@/components/RuoYi/Doc'
|
||||
// import RuoYiGit from '@/components/RuoYi/Git'
|
||||
// import RuoYiDoc from '@/components/RuoYi/Doc'
|
||||
|
||||
export default {
|
||||
components: {
|
||||
@@ -54,10 +54,10 @@ export default {
|
||||
TopNav,
|
||||
Hamburger,
|
||||
Screenfull,
|
||||
SizeSelect,
|
||||
// SizeSelect,
|
||||
Search,
|
||||
RuoYiGit,
|
||||
RuoYiDoc
|
||||
// RuoYiGit,
|
||||
// RuoYiDoc
|
||||
},
|
||||
computed: {
|
||||
...mapGetters([
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
<item v-if="item.meta" :icon="item.meta && item.meta.icon" :title="item.meta.title" />
|
||||
</template>
|
||||
<sidebar-item
|
||||
v-for="child in item.children"
|
||||
:key="child.path"
|
||||
v-for="(child, idx) in item.children"
|
||||
:key="child.path + idx"
|
||||
:is-nest="true"
|
||||
:item="child"
|
||||
:base-path="resolvePath(child.path)"
|
||||
|
||||
@@ -198,7 +198,7 @@ $--metal-gradient-light: linear-gradient(145deg, #f5f5f5, #fff);
|
||||
}
|
||||
|
||||
.login-box {
|
||||
width: 500px;
|
||||
width: 400px;
|
||||
padding: 40px 32px 32px 32px;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 4px 32px 0 rgba(0, 0, 0, 0.2);
|
||||
@@ -215,6 +215,7 @@ $--metal-gradient-light: linear-gradient(145deg, #f5f5f5, #fff);
|
||||
|
||||
.login-form {
|
||||
.el-input {
|
||||
margin-top: 20px;
|
||||
input {
|
||||
height: 40px !important;
|
||||
color: $--color-text-primary; // 白色文字
|
||||
|
||||
@@ -211,10 +211,10 @@ export default {
|
||||
watch: {
|
||||
"$route.query.commissionId": {
|
||||
handler(newVal) {
|
||||
if (newVal) {
|
||||
// if (newVal) {
|
||||
this.queryParams.commissionId = newVal;
|
||||
this.getList();
|
||||
}
|
||||
// }
|
||||
},
|
||||
immediate: true
|
||||
}
|
||||
|
||||
@@ -185,7 +185,7 @@ export default {
|
||||
detailData: {}
|
||||
};
|
||||
},
|
||||
created() {
|
||||
mounted() {
|
||||
this.getList();
|
||||
},
|
||||
components: {
|
||||
|
||||
Reference in New Issue
Block a user