-
-
-
-
-
-
-
{{ tipMsg }}
+
\ No newline at end of file
diff --git a/src/views/enforce/sign.vue b/src/views/enforce/sign.vue
index a8f9a9d..86ae8f8 100644
--- a/src/views/enforce/sign.vue
+++ b/src/views/enforce/sign.vue
@@ -134,6 +134,8 @@ import {uploadFile} from "../../util/fileUpload";
const { useMy } = $globalStore
const router = useRouter();
+//路由参数
+const route = useRoute();
let queryaddressId = ref("");
const data = reactive({
showLawEnforcerFlag:false,
@@ -178,12 +180,18 @@ const tapBad = () => {
data.bad = "#7FFFD4";
submitData.reslut = 1;
}
+//初始化参数,获取扫码的企业统一信用编码
+const created = () =>{
+ console.log(route?.query?.enterpriseNumber);
+},
// 返回
const goBack = () => {
router.go(-1);
};
+
+
const uploadFiles = (file) =>{
uploadFile(file,(res) =>{
console.log(res);
@@ -212,7 +220,7 @@ const deleteFile = (file,index) =>{
const submit = () =>{
addEnforcementRegistration(submitData,success =>{
//重新设置本地存储
- useCommon.SET_USER_ENTERPRISE_NUMBER(submitData.enterpriseNumber);
+ // useCommon.SET_USER_ENTERPRISE_NUMBER(submitData.enterpriseNumber);
console.log(success)
//跳转企业二维码地址
if(success.success){
diff --git a/src/views/enforceHome.vue b/src/views/enforceHome.vue
index c57da8a..03c9fe6 100644
--- a/src/views/enforceHome.vue
+++ b/src/views/enforceHome.vue
@@ -87,7 +87,7 @@ const toScanCodeView = async() =>{
const toRegistrationListView = async() =>{
router.push({
- path: "/enterprise/registrationList",
+ path: "/historyCheck",
});
}
const toComplaintView = async() =>{
diff --git a/src/views/enterprise/complaint.vue b/src/views/enterprise/complaint.vue
index a310f55..1de9832 100644
--- a/src/views/enterprise/complaint.vue
+++ b/src/views/enterprise/complaint.vue
@@ -94,6 +94,7 @@ const data = reactive({
showPicker: false,
columns: [],
selectTypeValue : ref[0],
+ isSelect: false,
});
//保存参数
const submitData = reactive({
@@ -204,6 +205,7 @@ onMounted(() => {
console.log(route?.query?.lawEnforcementIncident);
submitData.relId = route?.query?.id;
submitData.lawEnforcementIncident = route?.query?.lawEnforcementIncident;
+ data.isSelect = route?.query?.isSelect;
getDict({"dictType": "caseType"},success =>{
console.log(success);
success.data.forEach(res =>{
diff --git a/src/views/enterprise/enterpriseInspectionList.vue b/src/views/enterprise/enterpriseInspectionList.vue
index e1689db..c8b58f3 100644
--- a/src/views/enterprise/enterpriseInspectionList.vue
+++ b/src/views/enterprise/enterpriseInspectionList.vue
@@ -69,7 +69,7 @@
-
{{ item.lawEnforcementItem }}
+
{{ item.checkItem }}
diff --git a/src/views/enterprise/qrCode.vue b/src/views/enterprise/qrCode.vue
index 64dbca3..b4498dc 100644
--- a/src/views/enterprise/qrCode.vue
+++ b/src/views/enterprise/qrCode.vue
@@ -11,8 +11,10 @@
-
+
+ {{ data.enterpriseName }}
+
{
console.log(success)
if(success.success){
data.qrCodeUrl = baseUrl + success.data.qrCodeUrl;
+ data.enterpriseName = success.data.enterpriseName;
console.log(data.qrCodeUrl)
}
},error =>{
@@ -88,12 +92,11 @@ const downloadFile = (url) => {
.qr_code{
width: 100%;
height: 60%;
- background-color:azure;
+ background-color:white;
position: relative;
.qr_code_img{
width: 80%;
height: 70%;
- background-color:black;
top: 8%;
left: 10%;
position: absolute;
@@ -105,6 +108,14 @@ const downloadFile = (url) => {
bottom: 4%;
left: 20%;
}
+ .qr_name{
+ position: absolute;
+ width: 100%;
+ height: 10%;
+ top: 3%;
+ text-align: center;
+ font-size: 16px;
+ }
}
}