dev01 2 years ago
parent
commit
4a2857bb7e

+ 1 - 0
src/pages/applyDepart/enterprise.jsx

@@ -141,6 +141,7 @@ class Enterprise extends Component {
     return (
       <>
         <AtSearchBar
+          placeholder="请输入企业/渠道"
           showActionButton
           value={this.state.value}
           onChange={this.onChange}

+ 3 - 1
src/pages/applyDepart/index.jsx

@@ -99,7 +99,7 @@ class ApplyDepart extends Component {
     }
   }
 
-  componentDidMount() {}
+  componentDidMount() { }
 
   onReachBottom() {
     if (this.state.current === 0) {
@@ -108,6 +108,7 @@ class ApplyDepart extends Component {
   }
 
   render() {
+    let userInfor = Taro.getStorageSync('userInfor');
     return (
       <View className="applyDepart">
         <MessageNoticebar />
@@ -127,6 +128,7 @@ class ApplyDepart extends Component {
                   <AtButton
                     circle
                     size="small"
+                    disabled={item.type === 1 && userInfor.type !== 3}
                     type={
                       this.state.type == item.type ? "primary" : "secondary"
                     }

+ 1 - 1
src/pages/examine/index.jsx

@@ -185,7 +185,7 @@ class Examine extends Component {
           <View className='searchTop'>
             <AtSearchBar
               showActionButton
-              placeholder='请输入企业名称'
+              placeholder='请输入企业/渠道'
               value={this.state.searchValue}
               onActionClick={() => {
                 this.getPublicReleaseList();

+ 1 - 1
src/pages/mybusiness/index.jsx

@@ -182,7 +182,7 @@ class Examine extends Component {
           <View className='searchTop'>
             <AtSearchBar
               showActionButton
-              placeholder='请输入企业名称'
+              placeholder='请输入企业/渠道'
               value={this.state.searchValue}
               onActionClick={() => {
                 this.getPublicReleaseList();