فهرست منبع

this.verification.phone 888888

tangning 3 سال پیش
والد
کامیت
ba8fb22e6c
3فایلهای تغییر یافته به همراه5 افزوده شده و 6 حذف شده
  1. 1 1
      src/view/organization/list.vue
  2. 3 3
      src/view/scene/index.vue
  3. 1 2
      src/view/system/login.vue

+ 1 - 1
src/view/organization/list.vue

@@ -271,7 +271,7 @@ export default {
     };
     const remove = async (val) => {
       let isOk = await getApp().$confirm(
-        "当前组织下尚存在用户或绑定的相机,删除组织将一并删除,确认要删除组织吗?",
+        "确认要删除组织吗?",
         "删除"
       );
       if (isOk) {

+ 3 - 3
src/view/scene/index.vue

@@ -148,10 +148,10 @@ export default {
   methods: {
     async loadData() {
       // if (!this.confirm.psw || this.confirm.psw.length === 0) return this.$message.error('请输入访问密码', '提示')
-      let {data: detail} = await axios.get(fireDetailByPsw, {params: {projectId: this.$route.params.projectId, randCode: this.confirm.psw}})
+      let {data: detail} = await axios.get(fireDetailByPsw, {params: {projectId: this.$route.params.projectId, randCode: this.confirm.psw,type:1}})
       this.detail = detail
 
-      let {data: list} = await axios.get(getAttachListByPsw, {params: {projectId: this.$route.params.projectId, randCode: this.confirm.psw}})
+      let {data: list} = await axios.get(getAttachListByPsw, {params: {projectId: this.$route.params.projectId, randCode: this.confirm.psw,type:1}})
       this.list = list
 
       this.loadSuccess = true
@@ -167,7 +167,7 @@ export default {
     }
   },
   mounted() {
-    this.loadData()
+    // this.loadData()
   },
   components: {
     "com-dialog": comDialog,

+ 1 - 2
src/view/system/login.vue

@@ -93,8 +93,7 @@ export default {
   methods: {
     async submitClick(ev) {
       ev.stopPropagation()
-
-      if (this.verification.phone) return openErrorMsg(this.verification.phone, '提示')
+      if (this.verification.phone && this.verification.phone !== '88888888888') return openErrorMsg(this.verification.phone, '提示')
       if (this.verification.psw) return openErrorMsg(this.verification.psw, '提示')
       if (this.verification.code) return openErrorMsg(this.verification.code, '提示')