Browse Source

支出申请

master
pangdongxu 3 years ago
parent
commit
b21139d050
8 changed files with 26 additions and 16 deletions
  1. +1
    -1
      app.json
  2. +8
    -4
      env/env.js
  3. +4
    -4
      pages/apply/index.wxss
  4. +1
    -0
      pages/apply/paymentTemplate/add/add.js
  5. +5
    -0
      pages/handle/liist.js
  6. +1
    -1
      pages/handle/liist.wxml
  7. +5
    -5
      pages/index/index.wxml
  8. +1
    -1
      pages/user/login/login.wxml

+ 1
- 1
app.json View File

@@ -21,7 +21,7 @@
"window": {
"backgroundTextStyle": "light",
"navigationStyle": "custom",
"enablePullDownRefresh": true,
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "农燊高科",
"navigationBarTextStyle": "black"


+ 8
- 4
env/env.js View File

@@ -1,14 +1,18 @@
module.exports = {
DEV: {
URL_PREFIX: 'http://192.168.31.178/api',
// URL_PREFIX: 'http://192.168.31.178/api',
URL_PREFIX: 'https://dazu.nongshen.net/api',
},
PRE: {
URL_PREFIX: 'http://192.168.31.178:8080/api',
// URL_PREFIX: 'http://192.168.31.178:8080/api',
URL_PREFIX: 'https://dazu.nongshen.net/api',
},
PROD: {
URL_PREFIX: 'http://192.168.31.178:8080/api',
// URL_PREFIX: 'http://192.168.31.178:8080/api',
URL_PREFIX: 'https://dazu.nongshen.net/api',
},
IMGURL: {
URL_PREFIX: 'http://192.168.31.178:8080',
// URL_PREFIX: 'http://192.168.31.178:8080',
URL_PREFIX: 'https://dazu.nongshen.net',
}
}

+ 4
- 4
pages/apply/index.wxss View File

@@ -42,19 +42,19 @@
}

.ICBC{
background:url('http://192.168.31.196:81/bj/bg_ICBC.png') no-repeat center;
background:url('https://dazu.nongshen.net/api/profile/wechat/bg_ICBC.png') no-repeat center;
background-size: 100% 100%;
}
.ABC{
background:url('http://192.168.31.196:81/bj/bg_ABC.png') no-repeat center;
background:url('https://dazu.nongshen.net/api/profile/wechat/bg_ABC.png') no-repeat center;
background-size: 100% 100%;
}
.CCB{
background:url('http://192.168.31.196:81/bj/bg_CCB.png') no-repeat center;
background:url('https://dazu.nongshen.net/api/profile/wechat/bg_CCB.png') no-repeat center;
background-size: 100% 100%;
}
.RCB{
background:url('http://192.168.31.196:81/bj/bg_RCB.png') no-repeat center;
background:url('https://dazu.nongshen.net/api/profile/wechat/bg_RCB.png') no-repeat center;
background-size: 100% 100%;
}



+ 1
- 0
pages/apply/paymentTemplate/add/add.js View File

@@ -113,6 +113,7 @@ Page({
*/
onLoad(options) {
var that = this;
console.log(options);
if(options.id){
setTimeout(function(){
UTIL.httpRequest(API.URL_GET_APPROVALITEMS+options.id, {method:'GET'}, {


+ 5
- 0
pages/handle/liist.js View File

@@ -199,6 +199,11 @@ Page({
delta: 1
})
},
godetail:function(e){
wx.navigateTo({
url: '/pages/apply/paymentTemplate/add/add?id='+e.currentTarget.dataset.id,
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/


+ 1
- 1
pages/handle/liist.wxml View File

@@ -91,7 +91,7 @@
</scroll-view>
<scroll-view scroll-y="true" wx-if="{{active==4}}" style="height: {{wrokScrollHeight}}px;">
<view class="workflow" wx:if="{{active=='4'}}" wx:for-item="item" wx:for="{{yzdList}}" wx:key="id">
<view class="workflow" wx:if="{{active=='4'}}" wx:for-item="item" wx:for="{{yzdList}}" wx:key="id" data-id="{{item.id}}" bindtap="godetail">
<!--1-->
<view class="workflow_list">
<view class="process_intro">


+ 5
- 5
pages/index/index.wxml View File

@@ -1,16 +1,16 @@
<view class="container" style="background:url('../../image/index/header_bg.png') top center no-repeat; background-size: 100% auto;">
<view class="container" style="background:url('https://dazu.nongshen.net/api/profile/wechat/header_bg.png') top center no-repeat; background-size: 100% auto;">
<!--自定义 顶部标题样式和位置-->
<view class="top_title" style="height:{{CustomMenuButton.bottom}}px;z-index: 7777;padding-top: {{CustomMenuButton.top}}px;"></view>
<!--账户信息-->
<view class="information_header">
<navigator url="{{'settle/index?item='+item}}" class="setup" style="background:url('../../image/index/setup.png') no-repeat; background-size: 100% 100%;"></navigator>
<navigator url="{{'settle/index?item='+item}}" class="setup" style="background:url('https://dazu.nongshen.net/api/profile/wechat/setup.png') no-repeat; background-size: 100% 100%;"></navigator>
<view class="portrait_head"></view>
<view class="information_main">
<view class="name_wrap">
<text class="name">{{userInfoObj.nickName}}</text>
<view class="jobs">
<view class="icon" style="background:url('../../image/index/header_job.png') no-repeat; background-size: 100% 100%;"></view>
<view class="icon" style="background:url('https://dazu.nongshen.net/api/profile/wechat/header_job.png') no-repeat; background-size: 100% 100%;"></view>
{{userInfoObj.remark}}
</view>
</view>
@@ -18,7 +18,7 @@
<view class="flex_block">
<!-- <view class="desc">未完成</view> -->
<view class="event" bindtap="pickAddress">
<view class="icon" style="background:url('../../image/index/local.png') no-repeat; background-size: 100% 100%;"></view>
<view class="icon" style="background:url('https://dazu.nongshen.net/api/profile/wechat/local.png') no-repeat; background-size: 100% 100%;"></view>
{{ region || "请选择" }}
</view>
</view>
@@ -29,7 +29,7 @@
<view class="event">
<picker bindchange="bindPickerChange" value="{{index}}" range-key="bookName" range="{{bookList}}">
<view class="picker">
<view class="icon" style="background:url('../../image/index/dept.png') no-repeat; background-size: 100% 100%;"></view>
<view class="icon" style="background:url('https://dazu.nongshen.net/api/profile/wechat/dept.png') no-repeat; background-size: 100% 100%;"></view>
{{array[index]|| bookName}}
</view>
</picker>


+ 1
- 1
pages/user/login/login.wxml View File

@@ -1,7 +1,7 @@

<import src="/templates/global/global"/>
<template is="toast" data="{{...toastData}}"></template>
<view class="container" style="background: url('../../../image/login/container_bg.jpg') center center no-repeat; background-size: 100% auto;">
<view class="container" style="background: url('https://dazu.nongshen.net/api/profile/wechat/container_bg.jpg') center center no-repeat; background-size: 100% auto;">
<view class="header" >
<view class="principal">农村事项审批与记账</view>
<view class="instructions">报账简单,操作便捷</view>


Loading…
Cancel
Save