浏览代码

支出申请

master
pangdongxu 3 年前
父节点
当前提交
b21139d050
共有 8 个文件被更改,包括 26 次插入16 次删除
  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 查看文件

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


+ 8
- 4
env/env.js 查看文件

@@ -1,14 +1,18 @@
module.exports = { module.exports = {
DEV: { 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: { 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: { 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: { 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 查看文件

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


.ICBC{ .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%; background-size: 100% 100%;
} }
.ABC{ .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%; background-size: 100% 100%;
} }
.CCB{ .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%; background-size: 100% 100%;
} }
.RCB{ .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%; background-size: 100% 100%;
} }




+ 1
- 0
pages/apply/paymentTemplate/add/add.js 查看文件

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


+ 5
- 0
pages/handle/liist.js 查看文件

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


+ 1
- 1
pages/handle/liist.wxml 查看文件

@@ -91,7 +91,7 @@
</scroll-view> </scroll-view>
<scroll-view scroll-y="true" wx-if="{{active==4}}" style="height: {{wrokScrollHeight}}px;"> <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--> <!--1-->
<view class="workflow_list"> <view class="workflow_list">
<view class="process_intro"> <view class="process_intro">


+ 5
- 5
pages/index/index.wxml 查看文件

@@ -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="top_title" style="height:{{CustomMenuButton.bottom}}px;z-index: 7777;padding-top: {{CustomMenuButton.top}}px;"></view>
<!--账户信息--> <!--账户信息-->
<view class="information_header"> <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="portrait_head"></view>
<view class="information_main"> <view class="information_main">
<view class="name_wrap"> <view class="name_wrap">
<text class="name">{{userInfoObj.nickName}}</text> <text class="name">{{userInfoObj.nickName}}</text>
<view class="jobs"> <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}} {{userInfoObj.remark}}
</view> </view>
</view> </view>
@@ -18,7 +18,7 @@
<view class="flex_block"> <view class="flex_block">
<!-- <view class="desc">未完成</view> --> <!-- <view class="desc">未完成</view> -->
<view class="event" bindtap="pickAddress"> <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 || "请选择" }} {{ region || "请选择" }}
</view> </view>
</view> </view>
@@ -29,7 +29,7 @@
<view class="event"> <view class="event">
<picker bindchange="bindPickerChange" value="{{index}}" range-key="bookName" range="{{bookList}}"> <picker bindchange="bindPickerChange" value="{{index}}" range-key="bookName" range="{{bookList}}">
<view class="picker"> <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}} {{array[index]|| bookName}}
</view> </view>
</picker> </picker>


+ 1
- 1
pages/user/login/login.wxml 查看文件

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


<import src="/templates/global/global"/> <import src="/templates/global/global"/>
<template is="toast" data="{{...toastData}}"></template> <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="header" >
<view class="principal">农村事项审批与记账</view> <view class="principal">农村事项审批与记账</view>
<view class="instructions">报账简单,操作便捷</view> <view class="instructions">报账简单,操作便捷</view>


正在加载...
取消
保存