页面代码提交

master
zhangdi 6 months ago
parent 65e753a3e8
commit c831336f03
  1. 72
      src/views/oem/oemOrderSettlement/components/reviewDailog.vue
  2. 410
      src/views/oem/oemOrderSettlement/components/settlementAnomaly.vue
  3. 457
      src/views/oem/oemOrderSettlement/components/settlementCompleted.vue
  4. 78
      src/views/oem/oemOrderSettlement/components/settlementDailog.vue
  5. 427
      src/views/oem/oemOrderSettlement/components/settlementIn.vue
  6. 397
      src/views/oem/oemOrderSettlement/components/unsettled.vue
  7. 39
      src/views/oem/oemOrderSettlement/index.vue
  8. 280
      src/views/oem/priceQuery/index.vue
  9. 149
      src/views/oem/settlementRules/components/addDialog.vue
  10. 59
      src/views/oem/settlementRules/components/batchDialog.vue
  11. 252
      src/views/oem/settlementRules/components/plate.vue
  12. 273
      src/views/oem/settlementRules/components/process.vue
  13. 146
      src/views/oem/settlementRules/components/processDialog.vue
  14. 253
      src/views/oem/settlementRules/components/settlement.vue
  15. 37
      src/views/oem/settlementRules/index.vue
  16. 484
      src/views/safetyManagement/safetyInspectionPoint/index.vue
  17. 491
      src/views/safetyManagement/safetyInspectionTask/index.vue

@ -0,0 +1,72 @@
<template>
<el-dialog title="审核" append-to-body :modelValue="openShow" width="30%" @close="closeDialog">
<avue-form :option="option"></avue-form>
<template #footer>
<span class="dialog-footer">
<el-button @click="closeDialog"> </el-button>
<el-button type="primary" @click="submit"> </el-button>
</span>
</template>
</el-dialog>
</template>
<script>
export default {
props: {
showDialog: {
type: Boolean,
default: false
},
},
data() {
return {
openShow: false,
option: {
submitBtn: false,
emptyBtn: false,
column: [
{
label: '审批结果',
prop: 'input',
span: 24,
type: 'radio',
dicData: [
{ label: '审批通过', value: 0 },
{ label: '审批不通过', value: 1 },
],
rules: [
{ required: true, message: '请输入姓名', trigger: 'blur' }
]
},
{
label: '驳回原因',
prop: 'input2',
type: 'select',
span: 24,
dicData: [
{
label: '不需要结算',
value: '1',
},
{
label: '基础数据有误',
value: '2',
}
]
}
]
}
}
},
mounted() {
this.openShow = this.showDialog
},
methods: {
closeDialog() {
this.openShow = false
this.$emit('closeDialog');
}
}
}
</script>
<style lang="scss" scoped></style>

@ -0,0 +1,410 @@
<template>
<div>
<avue-crud :option="option" :table-loading="loading" :data="data" v-model="form" v-model:page="page" ref="crud"
@row-del="rowDel" @search-change="searchChange" @search-reset="searchReset"
@selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange"
@refresh-change="refreshChange" @on-load="onLoad">
<template #menu-left>
<el-form ref="form" :model="form" label-width="100px" :inline="true">
<el-form-item label="现执行价格:">
<el-input v-model="form.name"></el-input>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="settlementFn">结算</el-button>
</el-form-item>
</el-form>
</template>
<template #menu-right>
</template>
<template #menu="scope">
</template>
</avue-crud>
<settlementDailog v-if="isOpen" :showDialog="isOpen" @closeDialog="closeDialog"> </settlementDailog>
</div>
</template>
<script>
import settlementDailog from './SettlementDailog.vue'
export default {
components: {
settlementDailog
},
data() {
return {
selectionList: [],
option: {
height: 'auto',
calcHeight: 32,
tip: false,
size: 'medium',
simplePage: true,
searchShow: true,
searchMenuSpan: 6,
searchIcon: true,
searchIndex: 3,
tree: false,
border: true,
index: true,
selection: true,
editBtn: false,
viewBtn: false,
delBtn: false,
addBtn: false,
editBtnText: '修改',
viewBtnIcon: ' ',
delBtnIcon: ' ',
editBtnIcon: ' ',
viewBtnText: '详情',
labelWidth: 120,
menuWidth: 180,
dialogWidth: 640,
dialogClickModal: false,
searchEnter: true,
excelBtn: false,
filterBtn: true,
searchShowBtn: false,
columnSort: true,
excelBtn: true,
columnSort: true,
index: false,
showOverflowTooltip: true,
menu: false,
column: [
{
label: '外协单号',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '车间订单单号',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 140,
},
{
label: '零件号',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '零件名称',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '批次号',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '生产标识',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '工序',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '工艺能力',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '镀后入库时间',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 140,
},
{
label: '生产数量',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '单位面积(d㎡)',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 140,
},
{
label: '总面积(d㎡)',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 140,
},
{
label: '外协厂商',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '镀种',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '镀层厚度',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '涂色标个数',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '涂色带个数',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '涂箭头个数',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '报价单号',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '异常原因',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: true,
width: 120,
},
]
},
form: {
},
page: {
pageSize: 10,
currentPage: 1,
total: 0,
},
isOpen: false,
}
},
methods: {
closeDialog(){
this.isOpen = false
},
settlementFn() {
this.isOpen = true
},
closeDialog() {
this.isOpen = false
},
handleDelete() {
if (this.selectionList.length === 0) {
this.$message.warning('请选择至少一条数据');
return;
}
this.$confirm('确定将选择数据删除?', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
}).then(() => {
})
},
//
selectionChange(list) {
this.selectionList = list;
},
onLoad() {
this.loading = true
this.data = [
{
"bsTeamSet": null,
"bsWorkCenter": {
"area": 13000.0,
"batchNo": null,
"bigBatch": false,
"bsJfCenter": {
"createMan": {
"userId": 1,
"userName": "admin"
},
"createTime": "2024-12-09 00:00:00",
"deleted": false,
"jcCode": "RBZX",
"jcId": 1,
"jcName": "热表中心",
"keyValue": 1,
"updateTime": "2024-12-09 00:00:00"
},
"checkout": false,
"craftAbility": "化学镀镍",
"createMan": {
"userId": 1,
"userName": "admin"
},
"createTime": "2023-02-06 12:31:36",
"deleted": false,
"describe": null,
"endPoint": null,
"keyValue": 81,
"leaderUser": {
"userId": 541,
"userName": "崔殿龙"
},
"limitType": 0,
"processes": "上挂、下挂、交检、化学镀镍、喷砂",
"quantity": null,
"roundCycle": null,
"saturation": 85.0,
"sign": "4",
"startPoint": null,
"team": "化学镀镍一班崔胜伟、化学镀镍一班郭家梁",
"updateTime": "2023-03-06 18:42:47",
"wcCode": "001",
"wcId": 81,
"wcName": "化学镀镍作业中心",
"whetherPlate": false
},
"createMan": {
"userId": 1,
"userName": "admin"
},
"createTime": "2025-04-09 11:27:09",
"deEquipmentCard": {
"bindQty": 4,
"categorys": "产线设备",
"deviceCode": "9652247",
"deviceIp": "192.168.43.179",
"deviceName": "化学镀镍",
"docking": true,
"ecId": 1,
"keyValue": 1,
"macCode": "9652247",
"macSpec": null,
"memo": null,
"rfId": "SYM-HCP-L4",
"status": true,
"typeName": "9652247",
"updateTime": null,
"used": 1,
"usedText": "正常服役",
"virtualMac": false
},
"keyValue": 121,
"pureWater": 1.0,
"quotaArea": 0.0,
"tapWater": 1.0,
"updateTime": "2025-04-09 11:27:09",
"uqDate": "2025-04-09",
"uqId": 121,
"uqType": 0,
"useElectric": 0.0,
"workCenterId": "[81]",
"workCenterName": "[\"化学镀镍作业中心\"]",
"workCenterNames": "化学镀镍作业中心"
}
]
this.page.total = this.data.length
this.loading = false
setTimeout(() => {
this.selectionClear()
}, 500)
}
}
}
</script>
<style lang="scss" scoped></style>

@ -0,0 +1,457 @@
<template>
<div>
<avue-crud :option="option" :table-loading="loading" :data="data" v-model="form" v-model:page="page" ref="crud"
@row-del="rowDel" @search-change="searchChange" @search-reset="searchReset"
@selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange"
@refresh-change="refreshChange" @on-load="onLoad">
<template #menu-left>
</template>
<template #menu-right>
</template>
<template #menu="scope">
</template>
</avue-crud>
</div>
</template>
<script>
export default {
components: {
},
data() {
return {
selectionList: [],
option: {
height: 'auto',
calcHeight: 32,
tip: false,
size: 'medium',
simplePage: true,
searchShow: true,
searchMenuSpan: 6,
searchIcon: true,
searchIndex: 3,
tree: false,
border: true,
index: true,
selection: true,
editBtn: false,
viewBtn: false,
delBtn: false,
addBtn: false,
editBtnText: '修改',
viewBtnIcon: ' ',
delBtnIcon: ' ',
editBtnIcon: ' ',
viewBtnText: '详情',
labelWidth: 120,
menuWidth: 180,
dialogWidth: 640,
dialogClickModal: false,
searchEnter: true,
excelBtn: false,
filterBtn: true,
searchShowBtn: false,
columnSort: true,
excelBtn: true,
columnSort: true,
index: false,
showOverflowTooltip: true,
menu: false,
column: [
{
label: '外协单号',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: true,
width: 120,
},
{
label: '车间订单单号',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: true,
width: 140,
searchLabelWidth: 110,
},
{
label: '零件号',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: true,
width: 120,
},
{
label: '零件名称',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '批次号',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: true,
width: 120,
},
{
label: '生产标识',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: true,
width: 120,
},
{
label: '工序',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: true,
width: 120,
},
{
label: '工艺能力',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '镀后入库时间',
prop: 'duhoutime',
sortable: true,
filter: true,
span: 24,
search: true,
width: 140,
searchLabelWidth: 110,
type: "date",
searchRange: true,
format: 'YYYY-MM-DD',
valueFormat: 'YYYY-MM-DD',
startPlaceholder: '开始时间',
endPlaceholder: '结束时间',
},
{
label: '生产数量',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '单位面积(d㎡)',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 140,
},
{
label: '总面积(d㎡)',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 140,
},
{
label: '外协厂商',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: true,
width: 120,
},
{
label: '镀种',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '镀层厚度',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '涂色标个数',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '涂色带个数',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '涂箭头个数',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '报价单号',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '计量单位',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '结算单价',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '结算金额',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '结算状态',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: true,
width: 120,
type:'select',
dicData:[
{
lable:'已推送',
value:'1'
},
{
lable:'已审批',
value:'2'
},
{
lable:'已结算',
value:'3'
},
{
lable:'已确认',
value:'4'
},
{
lable:'已挂账',
value:'5'
},
]
}
]
},
form: {
name:'',
},
page: {
pageSize: 10,
currentPage: 1,
total: 0,
},
isOpen: false,
}
},
methods: {
batchMaintain() {
this.isOpen = true
},
closeDialog() {
this.isOpen = false
},
handleDelete() {
if (this.selectionList.length === 0) {
this.$message.warning('请选择至少一条数据');
return;
}
this.$confirm('确定将选择数据删除?', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
}).then(() => {
})
},
//
selectionChange(list) {
this.selectionList = list;
},
onLoad() {
this.loading = true
this.data = [
{
"bsTeamSet": null,
"bsWorkCenter": {
"area": 13000.0,
"batchNo": null,
"bigBatch": false,
"bsJfCenter": {
"createMan": {
"userId": 1,
"userName": "admin"
},
"createTime": "2024-12-09 00:00:00",
"deleted": false,
"jcCode": "RBZX",
"jcId": 1,
"jcName": "热表中心",
"keyValue": 1,
"updateTime": "2024-12-09 00:00:00"
},
"checkout": false,
"craftAbility": "化学镀镍",
"createMan": {
"userId": 1,
"userName": "admin"
},
"createTime": "2023-02-06 12:31:36",
"deleted": false,
"describe": null,
"endPoint": null,
"keyValue": 81,
"leaderUser": {
"userId": 541,
"userName": "崔殿龙"
},
"limitType": 0,
"processes": "上挂、下挂、交检、化学镀镍、喷砂",
"quantity": null,
"roundCycle": null,
"saturation": 85.0,
"sign": "4",
"startPoint": null,
"team": "化学镀镍一班崔胜伟、化学镀镍一班郭家梁",
"updateTime": "2023-03-06 18:42:47",
"wcCode": "001",
"wcId": 81,
"wcName": "化学镀镍作业中心",
"whetherPlate": false
},
"createMan": {
"userId": 1,
"userName": "admin"
},
"createTime": "2025-04-09 11:27:09",
"deEquipmentCard": {
"bindQty": 4,
"categorys": "产线设备",
"deviceCode": "9652247",
"deviceIp": "192.168.43.179",
"deviceName": "化学镀镍",
"docking": true,
"ecId": 1,
"keyValue": 1,
"macCode": "9652247",
"macSpec": null,
"memo": null,
"rfId": "SYM-HCP-L4",
"status": true,
"typeName": "9652247",
"updateTime": null,
"used": 1,
"usedText": "正常服役",
"virtualMac": false
},
"keyValue": 121,
"pureWater": 1.0,
"quotaArea": 0.0,
"tapWater": 1.0,
"updateTime": "2025-04-09 11:27:09",
"uqDate": "2025-04-09",
"uqId": 121,
"uqType": 0,
"useElectric": 0.0,
"workCenterId": "[81]",
"workCenterName": "[\"化学镀镍作业中心\"]",
"workCenterNames": "化学镀镍作业中心"
}
]
this.page.total = this.data.length
this.loading = false
setTimeout(() => {
this.selectionClear()
}, 500)
}
}
}
</script>
<style lang="scss" scoped></style>

@ -0,0 +1,78 @@
<template>
<el-dialog title="计算" append-to-body :modelValue="openShow" width="30%" @close="closeDialog">
<div v-if="calculationIn" class="box">
<div v-loading="isLoading" style="height:100px"></div>
<h3>计算中</h3>
<div>正在计算(80/100),请勿关闭</div>
</div>
<div v-if="!calculationIn" class="box">
<el-icon style="font-size: 48px;">
<DocumentChecked />
</el-icon>
<h3>计算完成</h3>
</div>
<div v-if="!calculationIn">
<h4>计算结果</h4>
<div class="box-txt">
<el-icon style="color:#67c23a;margin-right: 4px;margin-top: 2px;">
<SuccessFilled />
</el-icon>结算成功20条,<i style="color: blue;">待审核></i>
</div>
<div class="box-txt">
<el-icon style="color:#f56c6c;margin-right: 4px;margin-top: 2px;">
<CircleCloseFilled />
</el-icon>结算异常2条,<i style="color: blue;">待审核></i>
</div>
</div>
<!-- <template #footer>
<span class="dialog-footer">
<el-button @click="closeDialog"> </el-button>
<el-button type="primary" @click="submit"> </el-button>
</span>
</template> -->
</el-dialog>
</template>
<script>
export default {
props: {
showDialog: {
type: Boolean,
default: false
},
},
data() {
return {
isLoading: true,
openShow: false,
calculationIn: true
}
},
mounted() {
this.openShow = this.showDialog
setTimeout(() => {
this.calculationIn = false
}, 2000)
},
methods: {
closeDialog() {
this.openShow = false
this.$emit('closeDialog');
}
}
}
</script>
<style lang="scss" scoped>
i {
font-style: normal;
}
.box-txt {
margin: 12px 0 12px 0;
}
.box {
text-align: center;
}
</style>

@ -0,0 +1,427 @@
<template>
<div>
<avue-crud :option="option" :table-loading="loading" :data="data" v-model="form" v-model:page="page" ref="crud"
@row-del="rowDel" @search-change="searchChange" @search-reset="searchReset"
@selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange"
@refresh-change="refreshChange" @on-load="onLoad">
<template #menu-left>
<el-button type="primary" @click="reviewFn">审核</el-button>
</template>
<template #menu-right>
</template>
<template #menu="scope">
</template>
</avue-crud>
<reviewDailog v-if="isOpen" :showDialog="isOpen" @closeDialog="closeDialog"></reviewDailog>
</div>
</template>
<script>
import reviewDailog from './reviewDailog.vue'
export default {
components: {
reviewDailog
},
data() {
return {
selectionList: [],
option: {
height: 'auto',
calcHeight: 32,
tip: false,
size: 'medium',
simplePage: true,
searchShow: true,
searchMenuSpan: 6,
searchIcon: true,
searchIndex: 3,
tree: false,
border: true,
index: true,
selection: true,
editBtn: false,
viewBtn: false,
delBtn: false,
addBtn: false,
editBtnText: '修改',
viewBtnIcon: ' ',
delBtnIcon: ' ',
editBtnIcon: ' ',
viewBtnText: '详情',
labelWidth: 120,
menuWidth: 180,
dialogWidth: 640,
dialogClickModal: false,
searchEnter: true,
excelBtn: false,
filterBtn: true,
searchShowBtn: false,
columnSort: true,
excelBtn: true,
columnSort: true,
index: false,
showOverflowTooltip: true,
menu: false,
column: [
{
label: '外协单号',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: true,
width: 120,
},
{
label: '车间订单单号',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: true,
width: 140,
searchLabelWidth: 110,
},
{
label: '零件号',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: true,
width: 120,
},
{
label: '零件名称',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '批次号',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: true,
width: 120,
},
{
label: '生产标识',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: true,
width: 120,
},
{
label: '工序',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: true,
width: 120,
},
{
label: '工艺能力',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '镀后入库时间',
prop: 'duhoutime',
sortable: true,
filter: true,
span: 24,
search: true,
width: 140,
searchLabelWidth: 110,
type: "date",
searchRange: true,
format: 'YYYY-MM-DD',
valueFormat: 'YYYY-MM-DD',
startPlaceholder: '开始时间',
endPlaceholder: '结束时间',
},
{
label: '生产数量',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '单位面积(d㎡)',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 140,
},
{
label: '总面积(d㎡)',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 140,
},
{
label: '外协厂商',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: true,
width: 120,
},
{
label: '镀种',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '镀层厚度',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '涂色标个数',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '涂色带个数',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '涂箭头个数',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '报价单号',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '计量单位',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '结算单价',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '结算金额',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
]
},
form: {
name: '',
},
page: {
pageSize: 10,
currentPage: 1,
total: 0,
},
isOpen: false,
}
},
methods: {
reviewFn() {
this.isOpen = true
},
closeDialog() {
this.isOpen = false
},
handleDelete() {
if (this.selectionList.length === 0) {
this.$message.warning('请选择至少一条数据');
return;
}
this.$confirm('确定将选择数据删除?', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
}).then(() => {
})
},
//
selectionChange(list) {
this.selectionList = list;
},
onLoad() {
this.loading = true
this.data = [
{
"bsTeamSet": null,
"bsWorkCenter": {
"area": 13000.0,
"batchNo": null,
"bigBatch": false,
"bsJfCenter": {
"createMan": {
"userId": 1,
"userName": "admin"
},
"createTime": "2024-12-09 00:00:00",
"deleted": false,
"jcCode": "RBZX",
"jcId": 1,
"jcName": "热表中心",
"keyValue": 1,
"updateTime": "2024-12-09 00:00:00"
},
"checkout": false,
"craftAbility": "化学镀镍",
"createMan": {
"userId": 1,
"userName": "admin"
},
"createTime": "2023-02-06 12:31:36",
"deleted": false,
"describe": null,
"endPoint": null,
"keyValue": 81,
"leaderUser": {
"userId": 541,
"userName": "崔殿龙"
},
"limitType": 0,
"processes": "上挂、下挂、交检、化学镀镍、喷砂",
"quantity": null,
"roundCycle": null,
"saturation": 85.0,
"sign": "4",
"startPoint": null,
"team": "化学镀镍一班崔胜伟、化学镀镍一班郭家梁",
"updateTime": "2023-03-06 18:42:47",
"wcCode": "001",
"wcId": 81,
"wcName": "化学镀镍作业中心",
"whetherPlate": false
},
"createMan": {
"userId": 1,
"userName": "admin"
},
"createTime": "2025-04-09 11:27:09",
"deEquipmentCard": {
"bindQty": 4,
"categorys": "产线设备",
"deviceCode": "9652247",
"deviceIp": "192.168.43.179",
"deviceName": "化学镀镍",
"docking": true,
"ecId": 1,
"keyValue": 1,
"macCode": "9652247",
"macSpec": null,
"memo": null,
"rfId": "SYM-HCP-L4",
"status": true,
"typeName": "9652247",
"updateTime": null,
"used": 1,
"usedText": "正常服役",
"virtualMac": false
},
"keyValue": 121,
"pureWater": 1.0,
"quotaArea": 0.0,
"tapWater": 1.0,
"updateTime": "2025-04-09 11:27:09",
"uqDate": "2025-04-09",
"uqId": 121,
"uqType": 0,
"useElectric": 0.0,
"workCenterId": "[81]",
"workCenterName": "[\"化学镀镍作业中心\"]",
"workCenterNames": "化学镀镍作业中心"
}
]
this.page.total = this.data.length
this.loading = false
setTimeout(() => {
this.selectionClear()
}, 500)
}
}
}
</script>
<style lang="scss" scoped></style>

@ -0,0 +1,397 @@
<template>
<div>
<avue-crud :option="option" :table-loading="loading" :data="data" v-model="form" v-model:page="page" ref="crud"
@row-del="rowDel" @search-change="searchChange" @search-reset="searchReset"
@selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange"
@refresh-change="refreshChange" @on-load="onLoad">
<template #menu-left>
<el-form ref="form" :model="form" label-width="100px" :inline="true">
<el-form-item label="现执行价格:">
<el-input v-model="form.name"></el-input>
</el-form-item>
<el-form-item>
<el-button type="primary" @click="settlementFn">预结算</el-button>
<el-button type="primary" @click="settlementFn">结算</el-button>
<el-button type="danger" @click="onSubmit">无需结算</el-button>
</el-form-item>
</el-form>
</template>
<template #menu-right>
</template>
<template #menu="scope">
</template>
</avue-crud>
<settlementDailog v-if="isOpen" :showDialog="isOpen" @closeDialog="closeDialog"></settlementDailog>
</div>
</template>
<script>
import settlementDailog from './SettlementDailog.vue'
export default {
components: {
settlementDailog
},
data() {
return {
selectionList: [],
option: {
height: 'auto',
calcHeight: 32,
tip: false,
size: 'medium',
simplePage: true,
searchShow: true,
searchMenuSpan: 6,
searchIcon: true,
searchIndex: 3,
tree: false,
border: true,
index: true,
selection: true,
editBtn: false,
viewBtn: false,
delBtn: false,
addBtn: false,
editBtnText: '修改',
viewBtnIcon: ' ',
delBtnIcon: ' ',
editBtnIcon: ' ',
viewBtnText: '详情',
labelWidth: 120,
menuWidth: 180,
dialogWidth: 640,
dialogClickModal: false,
searchEnter: true,
excelBtn: false,
filterBtn: true,
searchShowBtn: false,
columnSort: true,
excelBtn: true,
columnSort: true,
index: false,
showOverflowTooltip: true,
menu: false,
column: [
{
label: '外协单号',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: true,
width: 120,
},
{
label: '车间订单单号',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: true,
width: 140,
searchLabelWidth: 110,
},
{
label: '零件号',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: true,
width: 120,
},
{
label: '零件名称',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '批次号',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: true,
width: 120,
},
{
label: '生产标识',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: true,
width: 120,
},
{
label: '工序',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: true,
width: 120,
},
{
label: '工艺能力',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '镀后入库时间',
prop: 'duhoutime',
sortable: true,
filter: true,
span: 24,
search: true,
width: 140,
searchLabelWidth: 110,
type: "date",
searchRange: true,
format: 'YYYY-MM-DD',
valueFormat: 'YYYY-MM-DD',
startPlaceholder: '开始时间',
endPlaceholder: '结束时间',
},
{
label: '生产数量',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '单位面积(d㎡)',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 140,
},
{
label: '总面积(d㎡)',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 140,
},
{
label: '外协厂商',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: true,
width: 120,
},
{
label: '镀种',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '镀层厚度',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '涂色标个数',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '涂色带个数',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
{
label: '涂箭头个数',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
width: 120,
},
]
},
form: {
name: '',
},
page: {
pageSize: 10,
currentPage: 1,
total: 0,
},
isOpen: false,
}
},
methods: {
settlementFn() {
this.isOpen = true
},
closeDialog() {
this.isOpen = false
},
handleDelete() {
if (this.selectionList.length === 0) {
this.$message.warning('请选择至少一条数据');
return;
}
this.$confirm('确定将选择数据删除?', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
}).then(() => {
})
},
//
selectionChange(list) {
this.selectionList = list;
},
onLoad() {
this.loading = true
this.data = [
{
"bsTeamSet": null,
"bsWorkCenter": {
"area": 13000.0,
"batchNo": null,
"bigBatch": false,
"bsJfCenter": {
"createMan": {
"userId": 1,
"userName": "admin"
},
"createTime": "2024-12-09 00:00:00",
"deleted": false,
"jcCode": "RBZX",
"jcId": 1,
"jcName": "热表中心",
"keyValue": 1,
"updateTime": "2024-12-09 00:00:00"
},
"checkout": false,
"craftAbility": "化学镀镍",
"createMan": {
"userId": 1,
"userName": "admin"
},
"createTime": "2023-02-06 12:31:36",
"deleted": false,
"describe": null,
"endPoint": null,
"keyValue": 81,
"leaderUser": {
"userId": 541,
"userName": "崔殿龙"
},
"limitType": 0,
"processes": "上挂、下挂、交检、化学镀镍、喷砂",
"quantity": null,
"roundCycle": null,
"saturation": 85.0,
"sign": "4",
"startPoint": null,
"team": "化学镀镍一班崔胜伟、化学镀镍一班郭家梁",
"updateTime": "2023-03-06 18:42:47",
"wcCode": "001",
"wcId": 81,
"wcName": "化学镀镍作业中心",
"whetherPlate": false
},
"createMan": {
"userId": 1,
"userName": "admin"
},
"createTime": "2025-04-09 11:27:09",
"deEquipmentCard": {
"bindQty": 4,
"categorys": "产线设备",
"deviceCode": "9652247",
"deviceIp": "192.168.43.179",
"deviceName": "化学镀镍",
"docking": true,
"ecId": 1,
"keyValue": 1,
"macCode": "9652247",
"macSpec": null,
"memo": null,
"rfId": "SYM-HCP-L4",
"status": true,
"typeName": "9652247",
"updateTime": null,
"used": 1,
"usedText": "正常服役",
"virtualMac": false
},
"keyValue": 121,
"pureWater": 1.0,
"quotaArea": 0.0,
"tapWater": 1.0,
"updateTime": "2025-04-09 11:27:09",
"uqDate": "2025-04-09",
"uqId": 121,
"uqType": 0,
"useElectric": 0.0,
"workCenterId": "[81]",
"workCenterName": "[\"化学镀镍作业中心\"]",
"workCenterNames": "化学镀镍作业中心"
}
]
this.page.total = this.data.length
this.loading = false
setTimeout(() => {
this.selectionClear()
}, 500)
}
}
}
</script>
<style lang="scss" scoped></style>

@ -1,3 +1,38 @@
<template>
外协订单结算
</template>
<basic-container>
<el-tabs v-model="activeName" class="demo-tabs" @tab-change="tabPositionChange">
<el-tab-pane label="未结算" name="1"></el-tab-pane>
<el-tab-pane label="结算中" name="2"></el-tab-pane>
<el-tab-pane label="结算异常" name="3"></el-tab-pane>
<el-tab-pane label="结算完成" name="4"></el-tab-pane>
</el-tabs>
<unsettled v-if="activeName=='1'"></unsettled>
<settlementIn v-if="activeName=='2'"></settlementIn>
<settlementAnomaly v-if="activeName=='3'"></settlementAnomaly>
<settlementCompleted v-if="activeName=='4'"></settlementCompleted>
</basic-container>
</template>
<script>
import unsettled from './components/unsettled.vue'
import settlementIn from './components/settlementIn.vue'
import settlementAnomaly from './components/settlementAnomaly.vue'
import settlementCompleted from './components/settlementCompleted.vue'
export default {
components:{
unsettled,
settlementIn,
settlementAnomaly,
settlementCompleted
},
data() {
return {
activeName: '1',
isOpen:false,
}
},
methods:{
}
}
</script>

@ -1,3 +1,279 @@
<template>
报价单查询
</template>
<basic-container>
<avue-crud :option="option" :table-loading="loading" :data="data" v-model="form" v-model:page="page" ref="crud"
@row-del="rowDel" @search-change="searchChange" @search-reset="searchReset"
@selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange"
@refresh-change="refreshChange" @on-load="onLoad">
<template #menu-left>
</template>
<template #menu-right>
</template>
<template #menu="scope">
<el-button type="text" size="mini" @click="handle(scope.row.tbId)">处理</el-button>
</template>
</avue-crud>
</basic-container>
</template>
<script>
export default {
data() {
return {
selectionList: [],
option: {
height: 'auto',
calcHeight: 32,
tip: false,
size: 'medium',
simplePage: true,
searchShow: true,
searchMenuSpan: 6,
searchIcon: true,
searchIndex: 3,
tree: false,
border: true,
index: true,
selection: false,
viewBtn: false,
delBtn: true,
addBtn: false,
editBtnText: '修改',
viewBtnIcon: ' ',
delBtnIcon: ' ',
editBtnIcon: ' ',
viewBtnText: '详情',
labelWidth: 120,
menuWidth: 180,
dialogWidth: 1040,
dialogClickModal: false,
searchEnter: true,
excelBtn: false,
filterBtn: true,
searchShowBtn: false,
columnSort: true,
excelBtn: true,
columnSort: true,
showOverflowTooltip: true,
menu:false,
column: [
{
label: '厂家代码',
prop: 'splycode',
sortable: true,
filter: true,
span: 12,
search: false,
width:120,
},
{
label: '厂家名称',
prop: 'splyname',
sortable: true,
filter: true,
span: 12,
search: false,
width:120,
},
{
label: '物料号',
prop: 'prtno',
sortable: true,
filter: true,
span: 12,
search: false,
width:120,
},
{
label: '物料名称',
prop: 'prtdesc',
sortable: true,
filter: true,
span: 12,
search: false,
width:120,
},
{
label: '生产标识',
prop: 'prtlotno',
sortable: true,
filter: true,
span: 12,
search: false,
width:120,
},
{
label: '工序内容',
prop: 'gxinfo',
sortable: true,
filter: true,
span: 12,
search: false,
width:120,
},
{
label: '阶梯判断标识',
prop: 'stairflag',
sortable: true,
filter: true,
span: 12,
search: false,
width:140,
},
{
label: '阶梯上限',
prop: 'lower',
sortable: true,
filter: true,
span: 12,
search: false,
width:120,
},
{
label: '阶梯下限',
prop: 'upper',
sortable: true,
filter: true,
span: 12,
search: false,
width:120,
},
{
label: '不含税定价',
prop: 'price',
sortable: true,
filter: true,
span: 12,
search: false,
width:140,
},
{
label: '单位',
prop: 'prtum',
sortable: true,
filter: true,
span: 12,
search: false,
width:120,
},
{
label: '工作订单号',
prop: 'wono',
sortable: true,
filter: true,
span: 12,
search: false,
width:140,
},
{
label: '生效日期',
prop: 'startdat',
sortable: true,
filter: true,
span: 12,
search: false,
width:120,
},
{
label: '有效日期',
prop: 'validdat',
sortable: true,
filter: true,
span: 12,
search: false,
width:120,
},
{
label: '单据号',
prop: 'tbCode',
sortable: true,
filter: true,
span: 12,
search: false,
width:120,
},
{
label: '价格类型',
prop: 'pricetype',
sortable: true,
filter: true,
span: 12,
search: false,
width:120,
},
{
label: '制单人',
prop: 'inputman',
sortable: true,
filter: true,
span: 12,
search: false,
width:120,
},
{
label: '制单时间',
prop: 'inputdat',
sortable: true,
filter: true,
span: 12,
search: false,
width:120,
},
{
label: '备注',
prop: 'remark',
sortable: true,
filter: true,
span: 12,
search: false,
width:120,
},
]
},
form: {
},
page: {
pageSize: 10,
currentPage: 1,
total: 0,
},
}
},
methods: {
handleDelete() {
if (this.selectionList.length === 0) {
this.$message.warning('请选择至少一条数据');
return;
}
this.$confirm('确定将选择数据删除?', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
}).then(() => {
})
},
//
selectionChange(list) {
this.selectionList = list;
},
onLoad() {
this.loading = true
this.data = [
]
this.page.total = this.data.length
this.loading = false
setTimeout(() => {
this.selectionClear()
}, 500)
}
}
}
</script>
<style lang="scss" scoped></style>

@ -0,0 +1,149 @@
<template>
<el-dialog title="批量填报" append-to-body :modelValue="openShow" width="70%" @close="closeDialog">
<avue-crud ref="crud" :option="option" :data="data" @row-update="addUpdate" @row-save="rowSave"></avue-crud>
<template #footer>
<span class="dialog-footer">
<el-button @click="closeDialog"> </el-button>
<el-button type="primary" @click="submit"> </el-button>
</span>
</template>
</el-dialog>
</template>
<script>
export default {
props: {
showDialog: {
type: Boolean,
default: false
},
},
data() {
return {
openShow: false,
option: {
addBtn: false,
addRowBtn: true,
cellBtn: true,
menu: false,
addBtn: false,
column: [
{
label: '规则名称',
prop: 'name',
cell: true,
},
{
label: '阶梯-单个面积',
prop: 'name',
cell: true,
type: 'checkbox',
dicData: [
{
label: '',
value: '0'
}
],
},
{
label: '阶梯-总面积',
prop: 'name',
cell: true,
type: 'checkbox',
dicData: [
{
label: '',
value: '0'
}
],
},
{
label: '镀层厚度',
prop: 'name',
cell: true,
type: 'checkbox',
dicData: [
{
label: '',
value: '0'
}
],
},
{
label: '镀层描述',
prop: 'name',
},
{
label: '厂家',
prop: 'changjia',
cell: true,
type: 'checkbox',
dicData: [
{
label: '',
value: '0'
}
],
disabled: true,
value:'0'
},
{
label: '工序',
prop: 'gongxu',
cell: true,
type: 'checkbox',
dicData: [
{
label: '',
value: '0'
}
],
disabled: true,
value:'0'
},
{
label: '生效日期',
prop: 'shengxiaoriqi',
cell: true,
type: 'checkbox',
dicData: [
{
label: '',
value: '0'
}
],
disabled: true,
value:'0'
},
{
label: '有效期',
prop: 'xiaoxiaoqi',
cell: true,
type: 'checkbox',
dicData: [
{
label: '',
value: '0'
}
],
disabled: true,
value:'0'
},
]
}
}
},
mounted() {
this.openShow = this.showDialog
},
methods: {
closeDialog() {
this.openShow = false
this.$emit('closeDialog');
}
}
}
</script>
<style lang="scss" scoped></style>

@ -0,0 +1,59 @@
<template>
<el-dialog title="批量填报" append-to-body :modelValue="openShow" width="70%" @close="closeDialog">
<avue-crud ref="crud" :option="option" :data="data" @row-update="addUpdate" @row-save="rowSave"></avue-crud>
<template #footer>
<span class="dialog-footer">
<el-button @click="closeDialog"> </el-button>
<el-button type="primary" @click="submit"> </el-button>
</span>
</template>
</el-dialog>
</template>
<script>
export default {
props: {
showDialog: {
type: Boolean,
default: false
},
},
data() {
return {
openShow: false,
option: {
addBtn: false,
addRowBtn: true,
cellBtn: true,
menu: false,
addBtn: false,
index:true,
select:false,
column: [
{
label: '镀种',
prop: 'name',
cell: true,
},
{
label: '规则',
prop: 'name',
cell: true,
},
]
}
}
},
mounted() {
this.openShow = this.showDialog
},
methods: {
closeDialog() {
this.openShow = false
this.$emit('closeDialog');
}
}
}
</script>
<style lang="scss" scoped></style>

@ -0,0 +1,252 @@
<template>
<div>
<avue-crud :option="option" :table-loading="loading" :data="data" v-model="form" v-model:page="page" ref="crud"
@row-del="rowDel" @search-change="searchChange" @search-reset="searchReset"
@selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange"
@refresh-change="refreshChange" @on-load="onLoad">
<template #menu-left>
<el-button type="primary" @click="batchMaintain()">批量维护
</el-button>
</template>
<template #menu-right>
<el-button type="primary" @click="handleImport">导入
</el-button>
</template>
<template #menu="scope">
<el-button type="text" @click="batchMaintain()">维护
</el-button>
</template>
</avue-crud>
<processDialog :showDialog="isOpen" v-if="isOpen" @closeDialog="closeDialog" ></processDialog>
</div>
</template>
<script>
import processDialog from './processDialog.vue'
export default {
components: {
processDialog
},
data() {
return {
selectionList: [],
option: {
height: 'auto',
calcHeight: 32,
tip: false,
size: 'medium',
simplePage: true,
searchShow: true,
searchMenuSpan: 6,
searchIcon: true,
searchIndex: 3,
tree: false,
border: true,
index: true,
selection: true,
editBtn: false,
viewBtn: false,
delBtn: false,
addBtn: false,
editBtnText: '修改',
viewBtnIcon: ' ',
delBtnIcon: ' ',
editBtnIcon: ' ',
viewBtnText: '详情',
labelWidth: 120,
menuWidth: 180,
dialogWidth: 640,
dialogClickModal: false,
searchEnter: true,
excelBtn: false,
filterBtn: true,
searchShowBtn: false,
columnSort: true,
excelBtn: true,
columnSort: true,
index: false,
showOverflowTooltip: true,
column: [
{
label: '镀种',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: true,
hide:true,
},
{
label: '镀种-订单',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
},
{
label: '镀种描述-报价单',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
},
{
label: '维护人',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
},
{
label: '维护时间',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
},
]
},
form: {
},
page: {
pageSize: 10,
currentPage: 1,
total: 0,
},
isOpen:false,
}
},
methods: {
batchMaintain(){
this.isOpen = true
},
closeDialog(){
this.isOpen = false
},
handleDelete() {
if (this.selectionList.length === 0) {
this.$message.warning('请选择至少一条数据');
return;
}
this.$confirm('确定将选择数据删除?', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
}).then(() => {
})
},
//
selectionChange(list) {
this.selectionList = list;
},
onLoad() {
this.loading = true
this.data = [
{
"bsTeamSet": null,
"bsWorkCenter": {
"area": 13000.0,
"batchNo": null,
"bigBatch": false,
"bsJfCenter": {
"createMan": {
"userId": 1,
"userName": "admin"
},
"createTime": "2024-12-09 00:00:00",
"deleted": false,
"jcCode": "RBZX",
"jcId": 1,
"jcName": "热表中心",
"keyValue": 1,
"updateTime": "2024-12-09 00:00:00"
},
"checkout": false,
"craftAbility": "化学镀镍",
"createMan": {
"userId": 1,
"userName": "admin"
},
"createTime": "2023-02-06 12:31:36",
"deleted": false,
"describe": null,
"endPoint": null,
"keyValue": 81,
"leaderUser": {
"userId": 541,
"userName": "崔殿龙"
},
"limitType": 0,
"processes": "上挂、下挂、交检、化学镀镍、喷砂",
"quantity": null,
"roundCycle": null,
"saturation": 85.0,
"sign": "4",
"startPoint": null,
"team": "化学镀镍一班崔胜伟、化学镀镍一班郭家梁",
"updateTime": "2023-03-06 18:42:47",
"wcCode": "001",
"wcId": 81,
"wcName": "化学镀镍作业中心",
"whetherPlate": false
},
"createMan": {
"userId": 1,
"userName": "admin"
},
"createTime": "2025-04-09 11:27:09",
"deEquipmentCard": {
"bindQty": 4,
"categorys": "产线设备",
"deviceCode": "9652247",
"deviceIp": "192.168.43.179",
"deviceName": "化学镀镍",
"docking": true,
"ecId": 1,
"keyValue": 1,
"macCode": "9652247",
"macSpec": null,
"memo": null,
"rfId": "SYM-HCP-L4",
"status": true,
"typeName": "9652247",
"updateTime": null,
"used": 1,
"usedText": "正常服役",
"virtualMac": false
},
"keyValue": 121,
"pureWater": 1.0,
"quotaArea": 0.0,
"tapWater": 1.0,
"updateTime": "2025-04-09 11:27:09",
"uqDate": "2025-04-09",
"uqId": 121,
"uqType": 0,
"useElectric": 0.0,
"workCenterId": "[81]",
"workCenterName": "[\"化学镀镍作业中心\"]",
"workCenterNames": "化学镀镍作业中心"
}
]
this.page.total = this.data.length
this.loading = false
setTimeout(() => {
this.selectionClear()
}, 500)
}
}
}
</script>
<style lang="scss" scoped></style>

@ -0,0 +1,273 @@
<template>
<div>
<avue-crud :option="option" :table-loading="loading" :data="data" v-model="form" v-model:page="page" ref="crud"
@row-del="rowDel" @search-change="searchChange" @search-reset="searchReset"
@selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange"
@refresh-change="refreshChange" @on-load="onLoad">
<template #menu-left>
<el-button type="primary" @click="batchMaintain()">批量维护
</el-button>
</template>
<template #menu-right>
<el-button type="primary" @click="handleImport">导入
</el-button>
</template>
<template #menu="scope">
<el-button type="text" @click="batchMaintain()">维护
</el-button>
</template>
</avue-crud>
<processDialog :showDialog="isOpen" v-if="isOpen" @closeDialog="closeDialog" ></processDialog>
</div>
</template>
<script>
import processDialog from './processDialog.vue'
export default {
components: {
processDialog
},
data() {
return {
selectionList: [],
option: {
height: 'auto',
calcHeight: 32,
tip: false,
size: 'medium',
simplePage: true,
searchShow: true,
searchMenuSpan: 6,
searchIcon: true,
searchIndex: 3,
tree: false,
border: true,
index: true,
selection: true,
editBtn: false,
viewBtn: false,
delBtn: false,
addBtn: false,
editBtnText: '修改',
viewBtnIcon: ' ',
delBtnIcon: ' ',
editBtnIcon: ' ',
viewBtnText: '详情',
labelWidth: 120,
menuWidth: 180,
dialogWidth: 640,
dialogClickModal: false,
searchEnter: true,
excelBtn: false,
filterBtn: true,
searchShowBtn: false,
columnSort: true,
excelBtn: true,
columnSort: true,
index: false,
showOverflowTooltip: true,
column: [
{
label: '工序编号',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
},
{
label: '工序名称',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: true,
},
{
label: '是否手动结算',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: true,
type: 'select',
searchLabelWidth: 120,
dicData: [
{
label: '是',
value: 1
},
{
label: '否',
value: 0
}
]
},
{
label: '结算规则',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
},
{
label: '维护人',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
},
{
label: '维护时间',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
},
]
},
form: {
},
page: {
pageSize: 10,
currentPage: 1,
total: 0,
},
isOpen:false,
}
},
methods: {
batchMaintain(){
this.isOpen = true
},
closeDialog(){
this.isOpen = false
},
handleDelete() {
if (this.selectionList.length === 0) {
this.$message.warning('请选择至少一条数据');
return;
}
this.$confirm('确定将选择数据删除?', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
}).then(() => {
})
},
//
selectionChange(list) {
this.selectionList = list;
},
onLoad() {
this.loading = true
this.data = [
{
"bsTeamSet": null,
"bsWorkCenter": {
"area": 13000.0,
"batchNo": null,
"bigBatch": false,
"bsJfCenter": {
"createMan": {
"userId": 1,
"userName": "admin"
},
"createTime": "2024-12-09 00:00:00",
"deleted": false,
"jcCode": "RBZX",
"jcId": 1,
"jcName": "热表中心",
"keyValue": 1,
"updateTime": "2024-12-09 00:00:00"
},
"checkout": false,
"craftAbility": "化学镀镍",
"createMan": {
"userId": 1,
"userName": "admin"
},
"createTime": "2023-02-06 12:31:36",
"deleted": false,
"describe": null,
"endPoint": null,
"keyValue": 81,
"leaderUser": {
"userId": 541,
"userName": "崔殿龙"
},
"limitType": 0,
"processes": "上挂、下挂、交检、化学镀镍、喷砂",
"quantity": null,
"roundCycle": null,
"saturation": 85.0,
"sign": "4",
"startPoint": null,
"team": "化学镀镍一班崔胜伟、化学镀镍一班郭家梁",
"updateTime": "2023-03-06 18:42:47",
"wcCode": "001",
"wcId": 81,
"wcName": "化学镀镍作业中心",
"whetherPlate": false
},
"createMan": {
"userId": 1,
"userName": "admin"
},
"createTime": "2025-04-09 11:27:09",
"deEquipmentCard": {
"bindQty": 4,
"categorys": "产线设备",
"deviceCode": "9652247",
"deviceIp": "192.168.43.179",
"deviceName": "化学镀镍",
"docking": true,
"ecId": 1,
"keyValue": 1,
"macCode": "9652247",
"macSpec": null,
"memo": null,
"rfId": "SYM-HCP-L4",
"status": true,
"typeName": "9652247",
"updateTime": null,
"used": 1,
"usedText": "正常服役",
"virtualMac": false
},
"keyValue": 121,
"pureWater": 1.0,
"quotaArea": 0.0,
"tapWater": 1.0,
"updateTime": "2025-04-09 11:27:09",
"uqDate": "2025-04-09",
"uqId": 121,
"uqType": 0,
"useElectric": 0.0,
"workCenterId": "[81]",
"workCenterName": "[\"化学镀镍作业中心\"]",
"workCenterNames": "化学镀镍作业中心"
}
]
this.page.total = this.data.length
this.loading = false
setTimeout(() => {
this.selectionClear()
}, 500)
}
}
}
</script>
<style lang="scss" scoped></style>

@ -0,0 +1,146 @@
<template>
<el-dialog title="批量填报" append-to-body :modelValue="openShow" width="70%" @close="closeDialog">
<avue-crud ref="crud" :option="option" :data="data" @row-update="addUpdate" @row-save="rowSave"></avue-crud>
<template #footer>
<span class="dialog-footer">
<el-button @click="closeDialog"> </el-button>
<el-button type="primary" @click="submit"> </el-button>
</span>
</template>
</el-dialog>
</template>
<script>
export default {
props: {
showDialog: {
type: Boolean,
default: false
},
},
data() {
return {
openShow: false,
option: {
addBtn: false,
addRowBtn: true,
cellBtn: true,
menu: false,
addBtn: false,
index: true,
select: false,
column: [
{
label: '工序',
prop: 'name',
cell: true,
},
{
label: '是否手动结算',
prop: 'shifou',
cell: true,
type: 'checkbox',
dicData: [
{
label: '',
value: '0'
}
],
},
{
label: '优先级1规则',
prop: 'name',
cell: true,
type: 'select',
dicData: [
{
label: '规则一',
value: '0'
},
{
label: '规则二',
value: '1'
},
{
label: '规则三',
value: '2'
}
]
},
{
label: '优先级2规则',
prop: 'name',
cell: true,
type: 'select',
dicData: [
{
label: '规则一',
value: '0'
},
{
label: '规则二',
value: '1'
},
{
label: '规则三',
value: '2'
}
]
},
{
label: '优先级3规则',
prop: 'name',
cell: true,
type: 'select',
dicData: [
{
label: '规则一',
value: '0'
},
{
label: '规则二',
value: '1'
},
{
label: '规则三',
value: '2'
}
]
},
{
label: '优先级4规则',
prop: 'name',
cell: true,
type: 'select',
dicData: [
{
label: '规则一',
value: '0'
},
{
label: '规则二',
value: '1'
},
{
label: '规则三',
value: '2'
}
]
},
]
}
}
},
mounted() {
this.openShow = this.showDialog
},
methods: {
closeDialog() {
this.openShow = false
this.$emit('closeDialog');
}
}
}
</script>
<style lang="scss" scoped></style>

@ -0,0 +1,253 @@
<template>
<div>
<avue-crud :option="option" :table-loading="loading" :data="data" v-model="form" v-model:page="page" ref="crud"
@row-del="rowDel" @search-change="searchChange" @search-reset="searchReset"
@selection-change="selectionChange" @current-change="currentChange" @size-change="sizeChange"
@refresh-change="refreshChange" @on-load="onLoad">
<template #menu-left>
<el-button type="primary" icon="el-icon-plus" @click="addRow()">新增
</el-button>
<el-button type="primary" icon="el-icon-plus" @click="batchMaintain()">批量维护
</el-button>
<el-button type="danger" icon="el-icon-delete" @click="handleDelete">删除
</el-button>
</template>
<template #menu-right>
<el-button type="primary" icon="el-icon-upload" @click="handleImport">导入
</el-button>
</template>
<template #menu="scope">
<el-button type="text" @click="batchMaintain(scope.row)">编辑
</el-button>
<el-button type="text" @click="handleDelete(scope.row)">删除
</el-button>
</template>
</avue-crud>
<addDialog :showDialog="isOpen" v-if="isOpen" @closeDialog="closeDialog"></addDialog>
<batchDialog :showDialog="isBatchOpen" v-if="isBatchOpen" @closeDialog="closeDialog"></batchDialog>
</div>
</template>
<script>
import addDialog from './addDialog.vue'
import batchDialog from './batchDialog.vue'
export default {
components:{
addDialog,
batchDialog
},
data() {
return {
selectionList: [],
option: {
height: 'auto',
calcHeight: 32,
tip: false,
size: 'medium',
simplePage: true,
searchShow: true,
searchMenuSpan: 6,
searchIcon: true,
searchIndex: 3,
tree: false,
border: true,
index: true,
selection: true,
viewBtn: false,
editBtn: false,
delBtn: false,
addBtn: false,
editBtnText: '修改',
viewBtnIcon: ' ',
delBtnIcon: ' ',
editBtnIcon: ' ',
viewBtnText: '详情',
labelWidth: 120,
menuWidth: 180,
dialogWidth: 640,
dialogClickModal: false,
searchEnter: true,
excelBtn: false,
filterBtn: true,
searchShowBtn: false,
columnSort: true,
excelBtn: true,
columnSort: true,
index: false,
showOverflowTooltip: true,
column: [
{
label: '规则名称',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
},
{
label: '规则内容',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
},
{
label: '维护人',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
},
{
label: '维护时间',
prop: 'workCenterNames',
sortable: true,
filter: true,
span: 24,
search: false,
},
]
},
form: {
},
page: {
pageSize: 10,
currentPage: 1,
total: 0,
},
isOpen:false,
isBatchOpen:false,
}
},
methods: {
closeDialog(){
this.isOpen = false
this.isBatchOpen = false
},
addRow(){
this.isOpen = true
},
batchMaintain(){
this.isBatchOpen = true
},
handleDelete() {
// if (this.selectionList.length === 0) {
// this.$message.warning('');
// return;
// }
this.$confirm('确定将选择数据删除?', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
}).then(() => {
})
},
//
selectionChange(list) {
this.selectionList = list;
},
onLoad() {
this.loading = true
this.data = [
{
"bsTeamSet": null,
"bsWorkCenter": {
"area": 13000.0,
"batchNo": null,
"bigBatch": false,
"bsJfCenter": {
"createMan": {
"userId": 1,
"userName": "admin"
},
"createTime": "2024-12-09 00:00:00",
"deleted": false,
"jcCode": "RBZX",
"jcId": 1,
"jcName": "热表中心",
"keyValue": 1,
"updateTime": "2024-12-09 00:00:00"
},
"checkout": false,
"craftAbility": "化学镀镍",
"createMan": {
"userId": 1,
"userName": "admin"
},
"createTime": "2023-02-06 12:31:36",
"deleted": false,
"describe": null,
"endPoint": null,
"keyValue": 81,
"leaderUser": {
"userId": 541,
"userName": "崔殿龙"
},
"limitType": 0,
"processes": "上挂、下挂、交检、化学镀镍、喷砂",
"quantity": null,
"roundCycle": null,
"saturation": 85.0,
"sign": "4",
"startPoint": null,
"team": "化学镀镍一班崔胜伟、化学镀镍一班郭家梁",
"updateTime": "2023-03-06 18:42:47",
"wcCode": "001",
"wcId": 81,
"wcName": "化学镀镍作业中心",
"whetherPlate": false
},
"createMan": {
"userId": 1,
"userName": "admin"
},
"createTime": "2025-04-09 11:27:09",
"deEquipmentCard": {
"bindQty": 4,
"categorys": "产线设备",
"deviceCode": "9652247",
"deviceIp": "192.168.43.179",
"deviceName": "化学镀镍",
"docking": true,
"ecId": 1,
"keyValue": 1,
"macCode": "9652247",
"macSpec": null,
"memo": null,
"rfId": "SYM-HCP-L4",
"status": true,
"typeName": "9652247",
"updateTime": null,
"used": 1,
"usedText": "正常服役",
"virtualMac": false
},
"keyValue": 121,
"pureWater": 1.0,
"quotaArea": 0.0,
"tapWater": 1.0,
"updateTime": "2025-04-09 11:27:09",
"uqDate": "2025-04-09",
"uqId": 121,
"uqType": 0,
"useElectric": 0.0,
"workCenterId": "[81]",
"workCenterName": "[\"化学镀镍作业中心\"]",
"workCenterNames": "化学镀镍作业中心"
}
]
this.page.total = this.data.length
this.loading = false
setTimeout(() => {
this.selectionClear()
}, 500)
}
}
}
</script>
<style lang="scss" scoped></style>

@ -1,3 +1,36 @@
<template>
结算规则维护
</template>
<basic-container>
<el-tabs v-model="activeName" class="demo-tabs" @tab-change="tabPositionChange">
<el-tab-pane label="结算规则维护" name="1"></el-tab-pane>
<el-tab-pane label="工序规则维护" name="2"></el-tab-pane>
<el-tab-pane label="镀种规则维护" name="3"></el-tab-pane>
</el-tabs>
<settlement v-if="activeName=='1'"></settlement>
<process v-if="activeName=='2'"></process>
<plate v-if="activeName=='3'"></plate>
</basic-container>
</template>
<script>
import settlement from './components/settlement.vue'
import process from './components/process.vue'
import plate from './components/plate.vue'
export default {
components:{
settlement,
process,
plate,
},
data() {
return {
activeName: '1',
isOpen:false,
}
},
methods:{
}
}
</script>

@ -0,0 +1,484 @@
<template>
<basic-container>
<avue-crud :option="option" :table-loading="loading" :data="data" v-model="form" v-model:page="page" ref="crud"
@row-del="rowDel" @search-change="searchChange" @search-reset="searchReset" @selection-change="selectionChange"
@current-change="currentChange" @size-change="sizeChange" @refresh-change="refreshChange" @on-load="onLoad">
<template #menu-left>
<el-button type="danger" icon="el-icon-delete" @click="handleDelete">删除
</el-button>
</template>
<template #menu-right>
<el-button type="primary" icon="el-icon-printer" @click="handleDelete">打印
</el-button>
<el-button type="primary" icon="el-icon-upload" @click="handleDelete">导入
</el-button>
</template>
</avue-crud>
</basic-container>
</template>
<script>
export default {
data() {
return {
page: {
pageSize: 10,
currentPage: 1,
total: 0,
},
data: [],
option: {
height: 'auto',
calcHeight: 32,
tip: false,
size: 'medium',
simplePage: true,
searchShow: true,
searchMenuSpan: 6,
searchIcon: true,
searchIndex: 3,
tree: false,
border: true,
index: true,
selection: true,
viewBtn: false,
delBtn: false,
editBtn: true,
editBtnText: '修改',
viewBtnIcon: ' ',
delBtnIcon: ' ',
editBtnIcon: ' ',
labelWidth: 120,
menuWidth: 150,
dialogWidth: 600,
dialogClickModal: false,
searchEnter: true,
excelBtn: false,
filterBtn: true,
searchShowBtn: false,
columnSort: true,
excelBtn: true,
columnSort: true,
index: false,
showOverflowTooltip: true,
column: [
{
label: '巡检点编号',
prop: 'patrolRegister',
sortable: true,
filter: true,
span: 24,
search: true,
searchLabelWidth: 90,
rules: [
{
required: false,
message: '请输入巡检点编号',
trigger: 'blur',
},
],
},
{
label: '巡检点位置',
prop: 'insSpot',
sortable: true,
filter: true,
span: 24,
search: true,
searchLabelWidth: 90,
rules: [
{
required: false,
message: '请输入巡检点位置',
trigger: 'blur',
},
],
},
// {
// label: '',
// prop: 'insSpotType',
// sortable: true,
// filter: true,
// span: 24,
// search: true,
// searchLabelWidth: 90,
// rules: [
// {
// required: false,
// message: '',
// trigger: 'blur',
// },
// ],
// },
{
label: '上次检验日期',
prop: 'lastInsCycle',
sortable: true,
filter: true,
span: 24,
search: false,
display: false,
searchLabelWidth: 100,
},
{
label: '备注',
prop: 'memo',
sortable: true,
filter: true,
span: 24,
search: false,
type: 'textarea',
searchLabelWidth: 90,
rows: 3,
rules: [
{
required: false,
message: '请输入备注',
trigger: 'blur',
},
],
},
]
},
}
},
methods: {
onLoad() {
this.loading = true
this.data = [
{
insSpotType:'设备',
"createMan": {
"accountId": null,
"card": null,
"createTime": "2023-02-06",
"curStatus": 1,
"deleted": false,
"deptName": null,
"dimissionTime": null,
"factoryId": 41,
"head": 0,
"jobName": "实施",
"keyValue": 89,
"ldapName": "hak",
"mail": null,
"mobile": null,
"pfDepartment": {
"appLink": null,
"createTime": "2022-08-31",
"deleted": false,
"deptCode": "001",
"deptId": 1,
"deptName": "MES开发部",
"deptType": 1,
"deptTypeTitle": "厂",
"keyValue": 1,
"memo": null,
"orders": "00",
"parentDeptId": null,
"parentPath": null,
"ucDeptId": null,
"updateTime": "2022-08-31 16:32:46"
},
"pinyinIndex": "HAK,HAK",
"ucUserId": null,
"updateTime": "2023-02-06 17:20:33",
"userCode": "hak",
"userId": 89,
"userName": "hak",
"userSex": 1,
"userSources": "hak",
"userString": "89:A:hak",
"userType": "A"
},
"createTime": "2023-03-13 09:20:24",
"insSpot": "纯水站配电室",
"ipId": 21,
"keyValue": 21,
"lastInsCycle": null,
"memo": "配电柜上方有无漏水(平时不关)",
"patrolRegister": "1",
"updateTime": "2023-03-13 09:20:24"
},
{
insSpotType:'废水',
"createMan": {
"accountId": null,
"card": null,
"createTime": "2023-02-06",
"curStatus": 1,
"deleted": false,
"deptName": null,
"dimissionTime": null,
"factoryId": 41,
"head": 0,
"jobName": "实施",
"keyValue": 89,
"ldapName": "hak",
"mail": null,
"mobile": null,
"pfDepartment": {
"appLink": null,
"createTime": "2022-08-31",
"deleted": false,
"deptCode": "001",
"deptId": 1,
"deptName": "MES开发部",
"deptType": 1,
"deptTypeTitle": "厂",
"keyValue": 1,
"memo": null,
"orders": "00",
"parentDeptId": null,
"parentPath": null,
"ucDeptId": null,
"updateTime": "2022-08-31 16:32:46"
},
"pinyinIndex": "HAK,HAK",
"ucUserId": null,
"updateTime": "2023-02-06 17:20:33",
"userCode": "hak",
"userId": 89,
"userName": "hak",
"userSex": 1,
"userSources": "hak",
"userString": "89:A:hak",
"userType": "A"
},
"createTime": "2023-03-13 09:20:24",
"insSpot": "水处理鼓风机房",
"ipId": 22,
"keyValue": 22,
"lastInsCycle": null,
"memo": "电机运行情况,下班时是否关闭",
"patrolRegister": "2",
"updateTime": "2023-03-13 09:20:24"
},
{
insSpotType:'废气',
"createMan": {
"accountId": null,
"card": null,
"createTime": "2023-02-06",
"curStatus": 1,
"deleted": false,
"deptName": null,
"dimissionTime": null,
"factoryId": 41,
"head": 0,
"jobName": "实施",
"keyValue": 89,
"ldapName": "hak",
"mail": null,
"mobile": null,
"pfDepartment": {
"appLink": null,
"createTime": "2022-08-31",
"deleted": false,
"deptCode": "001",
"deptId": 1,
"deptName": "MES开发部",
"deptType": 1,
"deptTypeTitle": "厂",
"keyValue": 1,
"memo": null,
"orders": "00",
"parentDeptId": null,
"parentPath": null,
"ucDeptId": null,
"updateTime": "2022-08-31 16:32:46"
},
"pinyinIndex": "HAK,HAK",
"ucUserId": null,
"updateTime": "2023-02-06 17:20:33",
"userCode": "hak",
"userId": 89,
"userName": "hak",
"userSex": 1,
"userSources": "hak",
"userString": "89:A:hak",
"userType": "A"
},
"createTime": "2023-03-13 09:20:24",
"insSpot": "水处理储药间",
"ipId": 23,
"keyValue": 23,
"lastInsCycle": null,
"memo": "配电柜、污泥干化设备运行情况,下班时是否关闭",
"patrolRegister": "3",
"updateTime": "2023-03-13 09:20:24"
},
{
insSpotType:'设备',
"createMan": {
"accountId": null,
"card": null,
"createTime": "2023-02-06",
"curStatus": 1,
"deleted": false,
"deptName": null,
"dimissionTime": null,
"factoryId": 41,
"head": 0,
"jobName": "实施",
"keyValue": 89,
"ldapName": "hak",
"mail": null,
"mobile": null,
"pfDepartment": {
"appLink": null,
"createTime": "2022-08-31",
"deleted": false,
"deptCode": "001",
"deptId": 1,
"deptName": "MES开发部",
"deptType": 1,
"deptTypeTitle": "厂",
"keyValue": 1,
"memo": null,
"orders": "00",
"parentDeptId": null,
"parentPath": null,
"ucDeptId": null,
"updateTime": "2022-08-31 16:32:46"
},
"pinyinIndex": "HAK,HAK",
"ucUserId": null,
"updateTime": "2023-02-06 17:20:33",
"userCode": "hak",
"userId": 89,
"userName": "hak",
"userSex": 1,
"userSources": "hak",
"userString": "89:A:hak",
"userType": "A"
},
"createTime": "2023-03-13 09:20:24",
"insSpot": "水处理中控室",
"ipId": 24,
"keyValue": 24,
"lastInsCycle": null,
"memo": "有无异常报警,配电柜/控制柜、室内门窗电器下班时是否关闭",
"patrolRegister": "4",
"updateTime": "2023-03-13 09:20:24"
},
{
insSpotType:'废水',
"createMan": {
"accountId": null,
"card": null,
"createTime": "2023-02-06",
"curStatus": 1,
"deleted": false,
"deptName": null,
"dimissionTime": null,
"factoryId": 41,
"head": 0,
"jobName": "实施",
"keyValue": 89,
"ldapName": "hak",
"mail": null,
"mobile": null,
"pfDepartment": {
"appLink": null,
"createTime": "2022-08-31",
"deleted": false,
"deptCode": "001",
"deptId": 1,
"deptName": "MES开发部",
"deptType": 1,
"deptTypeTitle": "厂",
"keyValue": 1,
"memo": null,
"orders": "00",
"parentDeptId": null,
"parentPath": null,
"ucDeptId": null,
"updateTime": "2022-08-31 16:32:46"
},
"pinyinIndex": "HAK,HAK",
"ucUserId": null,
"updateTime": "2023-02-06 17:20:33",
"userCode": "hak",
"userId": 89,
"userName": "hak",
"userSex": 1,
"userSources": "hak",
"userString": "89:A:hak",
"userType": "A"
},
"createTime": "2023-03-13 09:20:24",
"insSpot": "西厂房二层南监控室",
"ipId": 25,
"keyValue": 25,
"lastInsCycle": null,
"memo": "有无异常报警,配电柜/控制柜、室内门窗电器下班时是否关闭",
"patrolRegister": "5",
"updateTime": "2023-03-13 09:20:24"
},
{
insSpotType:'设备',
"createMan": {
"accountId": null,
"card": null,
"createTime": "2023-02-06",
"curStatus": 1,
"deleted": false,
"deptName": null,
"dimissionTime": null,
"factoryId": 41,
"head": 0,
"jobName": "实施",
"keyValue": 89,
"ldapName": "hak",
"mail": null,
"mobile": null,
"pfDepartment": {
"appLink": null,
"createTime": "2022-08-31",
"deleted": false,
"deptCode": "001",
"deptId": 1,
"deptName": "MES开发部",
"deptType": 1,
"deptTypeTitle": "厂",
"keyValue": 1,
"memo": null,
"orders": "00",
"parentDeptId": null,
"parentPath": null,
"ucDeptId": null,
"updateTime": "2022-08-31 16:32:46"
},
"pinyinIndex": "HAK,HAK",
"ucUserId": null,
"updateTime": "2023-02-06 17:20:33",
"userCode": "hak",
"userId": 89,
"userName": "hak",
"userSex": 1,
"userSources": "hak",
"userString": "89:A:hak",
"userType": "A"
},
"createTime": "2023-03-13 09:20:24",
"insSpot": "铜件化学镍槽",
"ipId": 26,
"keyValue": 26,
"lastInsCycle": null,
"memo": "加热槽液位是否加满、剧毒品槽位是否落锁,水电气是否关闭",
"patrolRegister": "6",
"updateTime": "2023-03-13 09:20:24"
}
]
this.page.total = this.data.length
this.loading = false
setTimeout(() => {
this.selectionClear()
}, 500)
}
}
}
</script>
<style></style>

@ -0,0 +1,491 @@
<template>
<basic-container>
<avue-crud :option="option" :table-loading="loading" :data="data" v-model="form" v-model:page="page" ref="crud"
@row-del="rowDel" @search-change="searchChange" @search-reset="searchReset" @selection-change="selectionChange"
@current-change="currentChange" @size-change="sizeChange" @refresh-change="refreshChange" @on-load="onLoad">
<template #menu-left>
</template>
<template #menu-right>
</template>
</avue-crud>
</basic-container>
</template>
<script>
export default {
data() {
return {
page: {
pageSize: 10,
currentPage: 1,
total: 0,
},
data: [],
option: {
height: 'auto',
calcHeight: 32,
tip: false,
size: 'medium',
simplePage: true,
searchShow: true,
searchMenuSpan: 6,
searchIcon: true,
searchIndex: 3,
tree: false,
border: true,
index: true,
selection: true,
viewBtn: false,
delBtn: false,
editBtn: true,
editBtnText: '修改',
viewBtnIcon: ' ',
delBtnIcon: ' ',
editBtnIcon: ' ',
labelWidth: 120,
menuWidth: 150,
dialogWidth: 600,
dialogClickModal: false,
searchEnter: true,
excelBtn: false,
filterBtn: true,
searchShowBtn: false,
columnSort: true,
excelBtn: true,
columnSort: true,
index: false,
showOverflowTooltip: true,
menu:false,
header:false,
column: [
{
label: '巡检点编号',
prop: 'patrolRegister',
sortable: true,
filter: true,
search: true,
searchLabelWidth:100,
},
{
label: '巡检点位置',
prop: 'insSpot',
sortable: true,
filter: true,
search: true,
searchLabelWidth:100,
},
// {
// label: '',
// prop: 'insSpotType',
// sortable: true,
// filter: true,
// span: 24,
// search: true,
// searchLabelWidth: 90,
// rules: [
// {
// required: false,
// message: '',
// trigger: 'blur',
// },
// ],
// },
{
label: '等待周期',
prop: 'lastInsCycle',
sortable: true,
filter: true,
search: false,
display: false,
},
{
label: '巡检点备注',
prop: 'lastInsCycle',
sortable: true,
filter: true,
search: false,
display: false,
searchLabelWidth:110,
},
{
label: '发起时间',
prop: 'lastInsCycle',
sortable: true,
filter: true,
search: true,
display: false,
},
{
label: '巡检人',
prop: 'lastInsCycle',
sortable: true,
filter: true,
search: true,
},
{
label: '检验时间',
prop: 'lastInsCycle',
sortable: true,
filter: true,
search: true,
},
{
label: '任务状态',
prop: 'lastInsCycle',
sortable: true,
filter: true,
search: true,
},
{
label: '备注',
prop: 'memo',
sortable: true,
filter: true,
search: false,
},
]
},
}
},
methods: {
onLoad() {
this.loading = true
this.data = [
{
insSpotType:'设备',
"createMan": {
"accountId": null,
"card": null,
"createTime": "2023-02-06",
"curStatus": 1,
"deleted": false,
"deptName": null,
"dimissionTime": null,
"factoryId": 41,
"head": 0,
"jobName": "实施",
"keyValue": 89,
"ldapName": "hak",
"mail": null,
"mobile": null,
"pfDepartment": {
"appLink": null,
"createTime": "2022-08-31",
"deleted": false,
"deptCode": "001",
"deptId": 1,
"deptName": "MES开发部",
"deptType": 1,
"deptTypeTitle": "厂",
"keyValue": 1,
"memo": null,
"orders": "00",
"parentDeptId": null,
"parentPath": null,
"ucDeptId": null,
"updateTime": "2022-08-31 16:32:46"
},
"pinyinIndex": "HAK,HAK",
"ucUserId": null,
"updateTime": "2023-02-06 17:20:33",
"userCode": "hak",
"userId": 89,
"userName": "hak",
"userSex": 1,
"userSources": "hak",
"userString": "89:A:hak",
"userType": "A"
},
"createTime": "2023-03-13 09:20:24",
"insSpot": "纯水站配电室",
"ipId": 21,
"keyValue": 21,
"lastInsCycle": null,
"memo": "配电柜上方有无漏水(平时不关)",
"patrolRegister": "1",
"updateTime": "2023-03-13 09:20:24"
},
{
insSpotType:'废水',
"createMan": {
"accountId": null,
"card": null,
"createTime": "2023-02-06",
"curStatus": 1,
"deleted": false,
"deptName": null,
"dimissionTime": null,
"factoryId": 41,
"head": 0,
"jobName": "实施",
"keyValue": 89,
"ldapName": "hak",
"mail": null,
"mobile": null,
"pfDepartment": {
"appLink": null,
"createTime": "2022-08-31",
"deleted": false,
"deptCode": "001",
"deptId": 1,
"deptName": "MES开发部",
"deptType": 1,
"deptTypeTitle": "厂",
"keyValue": 1,
"memo": null,
"orders": "00",
"parentDeptId": null,
"parentPath": null,
"ucDeptId": null,
"updateTime": "2022-08-31 16:32:46"
},
"pinyinIndex": "HAK,HAK",
"ucUserId": null,
"updateTime": "2023-02-06 17:20:33",
"userCode": "hak",
"userId": 89,
"userName": "hak",
"userSex": 1,
"userSources": "hak",
"userString": "89:A:hak",
"userType": "A"
},
"createTime": "2023-03-13 09:20:24",
"insSpot": "水处理鼓风机房",
"ipId": 22,
"keyValue": 22,
"lastInsCycle": null,
"memo": "电机运行情况,下班时是否关闭",
"patrolRegister": "2",
"updateTime": "2023-03-13 09:20:24"
},
{
insSpotType:'废气',
"createMan": {
"accountId": null,
"card": null,
"createTime": "2023-02-06",
"curStatus": 1,
"deleted": false,
"deptName": null,
"dimissionTime": null,
"factoryId": 41,
"head": 0,
"jobName": "实施",
"keyValue": 89,
"ldapName": "hak",
"mail": null,
"mobile": null,
"pfDepartment": {
"appLink": null,
"createTime": "2022-08-31",
"deleted": false,
"deptCode": "001",
"deptId": 1,
"deptName": "MES开发部",
"deptType": 1,
"deptTypeTitle": "厂",
"keyValue": 1,
"memo": null,
"orders": "00",
"parentDeptId": null,
"parentPath": null,
"ucDeptId": null,
"updateTime": "2022-08-31 16:32:46"
},
"pinyinIndex": "HAK,HAK",
"ucUserId": null,
"updateTime": "2023-02-06 17:20:33",
"userCode": "hak",
"userId": 89,
"userName": "hak",
"userSex": 1,
"userSources": "hak",
"userString": "89:A:hak",
"userType": "A"
},
"createTime": "2023-03-13 09:20:24",
"insSpot": "水处理储药间",
"ipId": 23,
"keyValue": 23,
"lastInsCycle": null,
"memo": "配电柜、污泥干化设备运行情况,下班时是否关闭",
"patrolRegister": "3",
"updateTime": "2023-03-13 09:20:24"
},
{
insSpotType:'设备',
"createMan": {
"accountId": null,
"card": null,
"createTime": "2023-02-06",
"curStatus": 1,
"deleted": false,
"deptName": null,
"dimissionTime": null,
"factoryId": 41,
"head": 0,
"jobName": "实施",
"keyValue": 89,
"ldapName": "hak",
"mail": null,
"mobile": null,
"pfDepartment": {
"appLink": null,
"createTime": "2022-08-31",
"deleted": false,
"deptCode": "001",
"deptId": 1,
"deptName": "MES开发部",
"deptType": 1,
"deptTypeTitle": "厂",
"keyValue": 1,
"memo": null,
"orders": "00",
"parentDeptId": null,
"parentPath": null,
"ucDeptId": null,
"updateTime": "2022-08-31 16:32:46"
},
"pinyinIndex": "HAK,HAK",
"ucUserId": null,
"updateTime": "2023-02-06 17:20:33",
"userCode": "hak",
"userId": 89,
"userName": "hak",
"userSex": 1,
"userSources": "hak",
"userString": "89:A:hak",
"userType": "A"
},
"createTime": "2023-03-13 09:20:24",
"insSpot": "水处理中控室",
"ipId": 24,
"keyValue": 24,
"lastInsCycle": null,
"memo": "有无异常报警,配电柜/控制柜、室内门窗电器下班时是否关闭",
"patrolRegister": "4",
"updateTime": "2023-03-13 09:20:24"
},
{
insSpotType:'废水',
"createMan": {
"accountId": null,
"card": null,
"createTime": "2023-02-06",
"curStatus": 1,
"deleted": false,
"deptName": null,
"dimissionTime": null,
"factoryId": 41,
"head": 0,
"jobName": "实施",
"keyValue": 89,
"ldapName": "hak",
"mail": null,
"mobile": null,
"pfDepartment": {
"appLink": null,
"createTime": "2022-08-31",
"deleted": false,
"deptCode": "001",
"deptId": 1,
"deptName": "MES开发部",
"deptType": 1,
"deptTypeTitle": "厂",
"keyValue": 1,
"memo": null,
"orders": "00",
"parentDeptId": null,
"parentPath": null,
"ucDeptId": null,
"updateTime": "2022-08-31 16:32:46"
},
"pinyinIndex": "HAK,HAK",
"ucUserId": null,
"updateTime": "2023-02-06 17:20:33",
"userCode": "hak",
"userId": 89,
"userName": "hak",
"userSex": 1,
"userSources": "hak",
"userString": "89:A:hak",
"userType": "A"
},
"createTime": "2023-03-13 09:20:24",
"insSpot": "西厂房二层南监控室",
"ipId": 25,
"keyValue": 25,
"lastInsCycle": null,
"memo": "有无异常报警,配电柜/控制柜、室内门窗电器下班时是否关闭",
"patrolRegister": "5",
"updateTime": "2023-03-13 09:20:24"
},
{
insSpotType:'废气',
"createMan": {
"accountId": null,
"card": null,
"createTime": "2023-02-06",
"curStatus": 1,
"deleted": false,
"deptName": null,
"dimissionTime": null,
"factoryId": 41,
"head": 0,
"jobName": "实施",
"keyValue": 89,
"ldapName": "hak",
"mail": null,
"mobile": null,
"pfDepartment": {
"appLink": null,
"createTime": "2022-08-31",
"deleted": false,
"deptCode": "001",
"deptId": 1,
"deptName": "MES开发部",
"deptType": 1,
"deptTypeTitle": "厂",
"keyValue": 1,
"memo": null,
"orders": "00",
"parentDeptId": null,
"parentPath": null,
"ucDeptId": null,
"updateTime": "2022-08-31 16:32:46"
},
"pinyinIndex": "HAK,HAK",
"ucUserId": null,
"updateTime": "2023-02-06 17:20:33",
"userCode": "hak",
"userId": 89,
"userName": "hak",
"userSex": 1,
"userSources": "hak",
"userString": "89:A:hak",
"userType": "A"
},
"createTime": "2023-03-13 09:20:24",
"insSpot": "铜件化学镍槽",
"ipId": 26,
"keyValue": 26,
"lastInsCycle": null,
"memo": "加热槽液位是否加满、剧毒品槽位是否落锁,水电气是否关闭",
"patrolRegister": "6",
"updateTime": "2023-03-13 09:20:24"
}
]
this.page.total = this.data.length
this.loading = false
setTimeout(() => {
this.selectionClear()
}, 500)
}
}
}
</script>
<style></style>
Loading…
Cancel
Save