wxy 4 年 前
コミット
7a23d05c09

+ 3 - 3
src/views/market/detail/techDetail.vue

@@ -69,14 +69,14 @@
                 合作方式
               </el-col>
               <el-col :span="16" class="otherInfo textOver">
-                {{ detailInfo.cooperation || '暂无' }}
+                {{ policyInfo.contact_user ? policyInfo.contact_user : '暂无' }}
               </el-col>
             </el-col>
             <el-col :span="24">
               <el-col :span="4" class="otherInfo textOver">
                 机构代码
               </el-col>
-              <el-col :span="20" class="otherInfo textOver"> {{ detailInfo.zzjgdm || '暂无' }} </el-col>
+              <el-col :span="20" class="otherInfo textOver"> {{ policyInfo.contact_tel ? policyInfo.contact_tel : '暂无' }} </el-col>
             </el-col>
             <el-col :span="12">
               <el-col :span="8" class="otherInfo textOver">
@@ -118,7 +118,7 @@
               <h2>需求现状</h2>
             </el-col>
             <el-col :span="20" class="info">
-              {{ detailInfo.present || '暂无' }}
+              {{ detailInfo.expect || '暂无' }}
             </el-col>
           </el-col>
           <el-col :span="24" class="downInfo">

+ 4 - 1
src/views/superAdminCenter/index.vue

@@ -47,6 +47,7 @@ import manager from './manager/index.vue';
 import bindWx from './bindWx/index.vue';
 import notice from './notice/index.vue';
 import productSolicit from './productSolicit/index.vue';
+import updatepwd from './xiugai/xiugai.vue';
 import heads from '@/layout/userCenter/heads.vue';
 import foot from '@/layout/live/foot.vue';
 
@@ -76,16 +77,18 @@ export default {
     productSolicit,
     menus,
     top,
+    updatepwd,
   },
   data: function() {
     return {
-      cpt: 'role',
+      cpt: 'updatepwd',
       topTitle: '',
     };
   },
   created() {},
   methods: {
     setRight(menu) {
+      console.log(menu);
       let { name, cpt } = menu;
       this.$set(this, `topTitle`, name);
       this.$set(this, `cpt`, cpt);

+ 61 - 0
src/views/superAdminCenter/xiugai/xiugai.vue

@@ -0,0 +1,61 @@
+<template>
+  <div id="xiugai">
+    <el-row>
+      <el-col :span="12" :offset="6" class="main">
+        <el-form ref="form" :model="form" label-width="100px">
+          <el-form-item label="请输入原密码">
+            <el-input v-model="form.oldpwd" show-password></el-input>
+          </el-form-item>
+          <el-form-item label="请输入新密码">
+            <el-input v-model="form.newpwd" show-password></el-input>
+          </el-form-item>
+          <el-form-item>
+            <el-button type="primary">确定</el-button>
+            <el-button>取消</el-button>
+          </el-form-item>
+        </el-form>
+      </el-col>
+    </el-row>
+  </div>
+</template>
+
+<script>
+import { mapState, createNamespacedHelpers } from 'vuex';
+export default {
+  metaInfo() {
+    return { title: this.$route.meta.title };
+  },
+  name: 'xiugai',
+  props: {},
+  components: {},
+  data: function() {
+    return {
+      form: {
+        oldpwd: '',
+        newpwd: '',
+      },
+    };
+  },
+  created() {},
+  methods: {},
+  computed: {
+    ...mapState(['user']),
+  },
+};
+</script>
+
+<style lang="less" scoped>
+.main {
+  margin-top: 50px;
+  padding: 10px;
+  text-align: center;
+  .pwd {
+    text-align: right;
+    height: 40px;
+    line-height: 40px;
+  }
+  .con {
+    margin-top: 10px;
+  }
+}
+</style>