Lou
2024-02-06 0bcdf6c342896d59cbc189adc48c669b8c6cf2df
更新
4 files modified
33 ■■■■ changed files
common/setting.js 4 ●●●● patch | view | raw | blame | history
http/api.js 4 ●●● patch | view | raw | blame | history
subPackage/workbench/views/cscj.vue 20 ●●●● patch | view | raw | blame | history
subPackage/workbench/views/labelReportDetail.vue 5 ●●●●● patch | view | raw | blame | history
common/setting.js
@@ -10,8 +10,8 @@
    version: '2.0.0',
    // 开发环境接口Url
    // devUrl: 'http://z4042833u6.wicp.vip',
    // devUrl: 'http://192.168.2.109:9528',
    devUrl: 'https://srgdjczzxtpt.com:2080/api',
    devUrl: 'http://192.168.2.109:9528',
    // devUrl: 'https://srgdjczzxtpt.com:2080/api',
    // devUrl: 'https://kt39592615.goho.co',
    minioBaseUrl: "https://srgdjczzxtpt.com:2080/gminio/jczz/",
    // minioBaseUrl: "http://192.168.0.101:9528/",
http/api.js
@@ -26,6 +26,8 @@
    }
    if (accessToken) {
        config.header['Blade-Auth'] = 'bearer ' + accessToken;
        config.header['roleName'] = uni.getStorageSync("activeRole").roleAlias || "";
        config.header['communityCode'] = uni.getStorageSync("siteInfo").id || ""
    }
    if (config.params.tenantId) {
        config.header['Tenant-Id'] = config.params.tenantId;
@@ -129,7 +131,7 @@
        uni.showModal({
            title: "提示",
            content: "请登录",
            showCancel: false,
            // showCancel: false,
            success: res => {
                if (res.confirm) {
                    uni.redirectTo({
subPackage/workbench/views/cscj.vue
@@ -867,9 +867,19 @@
            //表单提交
            submit() {
                const that = this
                this.$refs.form.validate().then(valid => {
                    if (valid) {
                if (!this.form.placeName) {
                    this.$showTips("请输入场所名称")
                    return
                }
                if (!this.form.label) {
                    this.$showTips("请选择标签")
                    return
                }
                // this.$refs.form.validate().then(valid => {
                // if (valid) {
                        if (this.form?.images?.length > 0) {
                            let urls = []
                            this.form.images.forEach(e => {
@@ -914,8 +924,8 @@
                                }
                            })
                        })
                    }
                })
                // }
                // })
            },
            async buildColumn() {
subPackage/workbench/views/labelReportDetail.vue
@@ -116,6 +116,11 @@
                        label: '交易过程',
                        name: 'transactionProcess',
                        value: '未完善'
                    },
                    {
                        label: '时间',
                        name: 'createTime',
                        value: '未完善'
                    }
                ],
                form: {