chengjunhui месяцев назад: 6
Родитель
Сommit
805204b682

BIN
renren-admin/src/main/resources/statics/images/login/qyhLogo.png


+ 1 - 1
renren-admin/src/main/resources/statics/js/modules/qmgj/codeDetail.js

@@ -38,7 +38,7 @@ $(function () {
     //获取积分值
     $.ajax({
         type: "GET",
-        url: baseURL + "qyh/pointsRecord/getIntegralValue?memberId=" + i,
+        url: baseURL + "qmjz/scoreStu/getIntegralValue?memberId=" + i,
         contentType: "application/json",
         success: function(r){
             if(r.code == 0){

+ 41 - 19
renren-admin/src/main/resources/statics/js/modules/qmgj/work.js

@@ -20,8 +20,13 @@ $(function () {
         contentType: "application/json",
         async: false,
         success: function(r){
-            if(r.code == 0){
-                vm.dict.memberList = r.dictList;
+            if (r.code == 0) {
+                vm.dict.memberList = r.dictList.map(v => {
+                    return {
+                        itemcode: v.itemcode == '1' ? true : false,
+                        itemname: v.itemname
+                    }
+                });
             }else{
                 layer.alert("读取字典项失败");
             }
@@ -525,8 +530,25 @@ var vm = new Vue({
 			vm.showList = false;
 			vm.title = "新增";
             vm.againType = true
-			vm.work = {};
-            vm.work.isAppletsRelease = 0;
+            vm.work = {
+                isAppletsRelease: 0,
+                isNeedVip: null,
+                city: 420100,
+                isTop: '0',
+                uniqueRestriction: true,
+                category: '',
+                type: '',
+                province: '',
+                area: '',
+                unit: '',
+                cashMethod: '',
+                staffId: '',
+                sexlimit: '',
+                heightlimit: '',
+                workSystem: '',
+                contactInstructions: '',
+            };
+            // vm.work.isAppletsRelease = 0;
             /*数据初始化*/
             ue.ready(function(){
                 ue.setContent('');
@@ -534,21 +556,21 @@ var vm = new Vue({
             uePlain.ready(function(){
                 uePlain.setContent('');
             });
-            vm.work.category = '';
-            vm.work.type = '';
-            vm.work.isNeedVip = null;
-            vm.work.province = '';
-            vm.work.city = 420100;
-            vm.work.area = '';
-            vm.work.unit = '';
-            vm.work.cashMethod = '';
-            vm.work.staffId = '';
-            vm.work.sexlimit = '';
-            vm.work.heightlimit = '';
-            vm.work.isTop = '0';
-            vm.work.uniqueRestriction = true;
-            vm.work.workSystem = '';
-            vm.work.contactInstructions = '';
+            // vm.work.category = '';
+            // vm.work.type = '';
+            // vm.work.isNeedVip = false;
+            // vm.work.province = '';
+            // vm.work.city = 420100;
+            // vm.work.area = '';
+            // vm.work.unit = '';
+            // vm.work.cashMethod = '';
+            // vm.work.staffId = '';
+            // vm.work.sexlimit = '';
+            // vm.work.heightlimit = '';
+            // vm.work.isTop = '0';
+            // vm.work.uniqueRestriction = true;
+            // vm.work.workSystem = '';
+            // vm.work.contactInstructions = '';
             // vm.location.city = {};
             // vm.location.area = {};
             $("#mapIframe").attr("src","work_map.html");

+ 3 - 3
renren-admin/src/main/resources/templates/index.html

@@ -47,12 +47,12 @@
             <span class="logo-mini"><b>青雲慧运营平台</b></span>
             <!-- logo for regular state and mobile devices -->
             <span class="logo-lg"><b>
-                <img style="width: 13rem;
-                    height: 2.7rem;
+                <img style="width: 106px;
+                    height: 27px;
                     position: relative;
                     top: -0.4rem;
                     left: -0.5rem;"
-                            src="${request.contextPath}/statics/images/login/wechatIMG291.png">
+                            src="${request.contextPath}/statics/images/login/qyhLogo.png">
             </b></span>
         </a>
         <!-- Header Navbar: style can be found in header.less -->

+ 3 - 9
renren-admin/src/main/resources/templates/modules/qmgj/work.html

@@ -287,25 +287,19 @@
                 <div class="col-sm-4">
                     <select class="form-control" v-model="work.isNeedVip">
                         <option value="null" disabled hidden>--是否需要会员--</option>
-                        <option v-for="item in dict.memberList" :value="item.itemcode==='1'?true:false">{{item.itemname}}</option>
+                        <option v-for="item in dict.memberList" :value="item.itemcode">{{item.itemname}}</option>
                     </select>
                 </div>
             </div>
 
-            <div class="form-group" v-if="work.isNeedVip===true">
+            <div class="form-group" v-if="work.isNeedVip">
                 <div class="col-sm-2 control-label"><span style="color: red">*</span>非付费会员所需积分</div>
                 <div class="col-sm-3">
                     <input type="text" class="form-control" v-model="work.needPoints" show-word-limit maxlength="15"
                         placeholder="非付费会员所需积分" lay-verify="required"/>
                 </div>
             </div>
-    
-            <div class="form-group" v-if="work.isNeedVip===false">
-                <div class="col-sm-2 control-label"><span style="color: red">*</span>非会员所需积分</div>
-                <div class="col-sm-3">
-                    <input type="text" class="form-control" v-model="work.needVipPoints" show-word-limit maxlength="15" placeholder="非会员所需积分"/>
-                </div>
-            </div>
+
             <div class="form-group">
                 <div class="col-sm-2 control-label"><span style="color: red">*</span>身高要求</div>
                 <div class="col-sm-4">