zhangqiOMG 2 роки тому
батько
коміт
c3ac90824b

+ 10 - 14
src/HDrpManagement/orderManage/modules/add.vue

@@ -209,20 +209,16 @@ export default {
   methods:{
     async handleCommand (command) {
       this.form.type = command
-      if (command === '工具订单') {
-        const res = await this.$api.requested({
-          "id": 20221108111402,
-          "content":this.form
-        })
-        this.tool.showMessage(res,()=>{
-          this.$store.dispatch('changeDetailDrawer',true)
-          this.$router.push({path:'/orderdetail',query:{id:res.data.sa_orderid,rowindex:res.data.rowindex}})
-        })
-      } else {
-        this.drawer = true
-        this.specordermx()
-      }
-     
+      // const res = await this.$api.requested({
+      //   "id": 20221108111402,
+      //   "content":this.form
+      // })
+      // this.tool.showMessage(res,()=>{
+      //   this.$store.dispatch('changeDetailDrawer',true)
+      //   this.$router.push({path:'/orderdetail',query:{id:res.data.sa_orderid,rowindex:res.data.rowindex}})
+      // })
+      this.drawer = true
+      this.specordermx()
     },
     submitForm() {
       console.log(this.form)

+ 0 - 71
src/HManagement/siteManage/messageSendtype/index copy.vue

@@ -1,71 +0,0 @@
-<template>
-  <div>
-    <div class="container normal-panel normal-margin">
-      <el-button size="small" type="warning" @click="updateSite_Parameter">保 存</el-button>
-    </div>
-    <div class="container normal-panel normal-margin">
-      <p class="normal-title normal-margin">消息提醒设置</p>
-      <div class="flex-align-center">
-        <div class="flex-align-center switch-panel">
-          <small>系统弹窗提醒&emsp;</small>
-          <el-switch
-            :active-value="1"
-            :inactive-value="0"
-            v-model="form.remind_showdialog">
-          </el-switch>
-        </div>
-        <div class="flex-align-center switch-panel">
-          <small>邮件提醒&emsp;</small>
-          <el-switch
-            :active-value="1"
-            :inactive-value="0"
-            v-model="form.remind_mail">
-          </el-switch>
-        </div>
-      </div>
-    </div>
-  </div>
-</template>
-
-<script>
-
-export default {
-  data () {
-    return {
-      form:{}
-    }
-  },
-  computed:{
-  },
-  methods:{
-    async querySite_Parameter () {
-      const res = await this.$api.requested({
-        "classname": "webmanage.site.site",
-        "method": "querySite_Parameter",
-        "content": {
-        }
-      })
-      this.form = Object.assign({},this.form,res.data)
-    },
-    async updateSite_Parameter () {
-      const res = await this.$api.requested({
-        "classname": "webmanage.site.site",
-        "method": "updateSite_Parameter",
-        "content": this.form
-      })
-      this.tool.showMessage(res)
-    },
-  },
-  mounted () {
-    this.querySite_Parameter()
-  }
-}
-
-</script>
-<style>
-</style>
-<style scoped>
-.switch-panel{
-  width: 250px;
-}
-</style>

+ 5 - 2
src/HManagement/siteManage/securityConfig/index.vue

@@ -53,7 +53,7 @@
           <img width="72" height="72" src="../../../assets/icons/login_type_3.png" alt="">
           <div class="text-panel">
             <p class="explain-title">登录方式</p>
-            <p class="explain-tips">当前设置:账号登录,微信登录</p>
+            <p class="explain-tips">当前设置:{{obj.loginmode_account==1?'账号登录,':''}}{{obj.loginmode_phonenumber==1?'短信登录,':''}}</p>
           </div>
         </div>
         <login-select v-if="tool.checkAuth($route.name,'loginType')"></login-select>
@@ -127,7 +127,10 @@ export default {
         password_needlowercase:res.data.password_needlowercase,
         password_neednum:res.data.password_neednum,
         password_needspecialchar:res.data.password_needspecialchar,
-        password_length:res.data.password_length
+        password_length:res.data.password_length,
+        loginmode_account:res.data.loginmode_account,
+        loginmode_phonenumber:res.data.loginmode_phonenumber,
+        loginmode_wechat:res.data.loginmode_wechat
       }
     },
   },