schangxiang@126.com
2024-09-11 5690161529a894a2d7642b0a2e3fe0335e054556
增加来源
已修改3个文件
18 ■■■■ 文件已修改
yiqi_pda/api/api.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
yiqi_pda/config/modules/ajax.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
yiqi_pda/pages/retrospect/index.vue 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
yiqi_pda/api/api.js
@@ -1,7 +1,7 @@
// 同时发送异步请求的次数,防止一次点击有多次请求
let ajaxTime = 0;
//export const baseUrl = 'http://localhost:7788'
export const baseUrl = 'http://10.135.75.70:7788' //生产用
export const baseUrl = 'http://localhost:7788'
//export const baseUrl = 'http://10.135.75.70:7788' //生产用
//export const baseUrl = 'http://192.168.216.203:7788' //测试用
// 公共的request方法
yiqi_pda/config/modules/ajax.js
@@ -1,9 +1,9 @@
export default {
    errMsg:'网络错误!',
    host:{  //接口调用的域名设置
        'default':'http://10.135.75.70:7788',//生产用
        //'default':'http://10.135.75.70:7788',//生产用
        //'default':'http://192.168.216.203:7788', //生产环境地址
        //'default':'http://localhost:7788',
        'default':'http://localhost:7788',
        'mock':'http://localhost:3012'
    },
    block:{
yiqi_pda/pages/retrospect/index.vue
@@ -54,7 +54,15 @@
    onLoad() {
        // this.barDetail = {special: "SAE1041(0.80%~1.10%Mn)",barType: "高碳钢",barSpec: "70号",material: "229-255HBS",status: 1};
        // this.statusArr = [{code: 1,title: '不合格'},{code: 2,title: '合格'},{code: 3,title: '疑似'}]
        this.detailArr = [{code: "operationType",title: '操作类型'},{code: "startTime",title: '工序上线时间'},{code: "endTime",title: '工序下线时间'},{code: "timeSceonds",title: '加工时长'},{code: 'qualityStateName',title: '质量状态'}]
        this.detailArr = [
            {code: "operationType",title: '操作类型'},
            {code: "startTime",title: '工序上线时间'},
            {code: "endTime",title: '工序下线时间'},
            {code: "timeSceonds",title: '加工时长'},
            {code: 'qualityStateName',title: '质量状态'},
            {code: 'dataCapturePointCname',title: '来源'},
            {code: 'createUserName',title: '来源代码'}
        ]
    },
    methods:{
        onSearchContainter(barId) {