dev_forum
杨树林 6 years ago
parent d364d58a59
commit 2d8b2ef96f

@ -75,7 +75,7 @@ class Listofworks extends Component {
teacherlist: undefined, teacherlist: undefined,
searchtext: "", searchtext: "",
course_groupysls: undefined, course_groupysls: undefined,
course_groupyslstwo: undefined, course_groupyslstwo: [],
visible: false, visible: false,
userid: 0, userid: 0,
course_group: null, course_group: null,
@ -1164,7 +1164,7 @@ class Listofworks extends Component {
// console.log(checkedValues); // console.log(checkedValues);
this.setState({ this.setState({
unlimited: 0, unlimited: 0,
course_groupyslstwo: undefined, course_groupyslstwo: [],
loadingstate: true, loadingstate: true,
}) })
@ -1172,7 +1172,7 @@ class Listofworks extends Component {
} else if (checkedValues.length === data.length) { } else if (checkedValues.length === data.length) {
this.setState({ this.setState({
unlimited: 0, unlimited: 0,
course_groupyslstwo: undefined, course_groupyslstwo: [],
loadingstate: true, loadingstate: true,
}) })
this.Startsorting(this.state.order, checkedValues, this.state.checkedValuesineinfo, this.state.searchtext, this.state.page, this.state.limit); this.Startsorting(this.state.order, checkedValues, this.state.checkedValuesineinfo, this.state.searchtext, this.state.page, this.state.limit);
@ -1198,6 +1198,7 @@ class Listofworks extends Component {
this.setState({ this.setState({
unlimitedtwo: 1, unlimitedtwo: 1,
course_groupysls: undefined, course_groupysls: undefined,
checkedValuesineinfo:[],
loadingstate: true, loadingstate: true,
}) })
@ -1206,6 +1207,7 @@ class Listofworks extends Component {
this.setState({ this.setState({
unlimitedtwo: 1, unlimitedtwo: 1,
course_groupysls: undefined, course_groupysls: undefined,
checkedValuesineinfo:[],
loadingstate: true, loadingstate: true,
}) })
this.Startsorting(this.state.order, this.state.checcourse_groupyslstwokedValuesine, checkedValues, this.state.searchtext, this.state.page, this.state.limit); this.Startsorting(this.state.order, this.state.checcourse_groupyslstwokedValuesine, checkedValues, this.state.searchtext, this.state.page, this.state.limit);
@ -1485,22 +1487,22 @@ class Listofworks extends Component {
notlimiteds = () => { notlimiteds = () => {
this.setState({ this.setState({
checkedValuesine: undefined, checkedValuesine: undefined,
course_groupyslstwo: undefined, course_groupyslstwo: [],
unlimited: 0, unlimited: 0,
loadingstate: true, loadingstate: true,
}) })
this.Startsorting(this.state.order, null, this.state.checkedValuesineinfo, this.state.searchtext, this.state.page, this.state.limit); this.Startsorting(this.state.order, [], this.state.checkedValuesineinfo, this.state.searchtext, this.state.page, this.state.limit);
} }
notlimitedst = () => { notlimitedst = () => {
// console.log(this.state.course_group_info); // console.log(this.state.course_group_info);
this.setState({ this.setState({
unlimitedtwo: 1, unlimitedtwo: 1,
checkedValuesineinfo: undefined, checkedValuesineinfo: [],
course_groupysls: undefined, course_groupysls: undefined,
loadingstate: true, loadingstate: true,
}) })
this.Startsorting(this.state.order, this.state.course_groupyslstwo, undefined, this.state.searchtext, this.state.page, this.state.limit); this.Startsorting(this.state.order, this.state.course_groupyslstwo, [], this.state.searchtext, this.state.page, this.state.limit);
} }
//立即截止确定按钮 //立即截止确定按钮
coursetaskend = () => { coursetaskend = () => {

@ -30,7 +30,7 @@ class Trialapplication extends Component {
Phonenumberisnotco: undefined, Phonenumberisnotco: undefined,
Phonenumberisnotcobool: false, Phonenumberisnotcobool: false,
readonlyInput: true, readonlyInput: true,
user_phone_binded: false, user_phone_binded: props.user_phone_binded,
showTrial: false, showTrial: false,
user: undefined, user: undefined,
} }
@ -383,7 +383,7 @@ class Trialapplication extends Component {
{ {
isRenders === false ? "" : isRenders === false ? "" :
<div style={{"border-radius": "15px"}}> <div style={{"border-radius": "10px"}}>
<style> <style>
{ {
` `
@ -427,7 +427,7 @@ class Trialapplication extends Component {
#DialogIDysl div { #DialogIDysl div {
overflow-y:visible !important; overflow-y:visible !important;
box-shadow:none !important; box-shadow:none !important;
border-radius:15px !important; border-radius:10px !important;
} }
#wrapper{ #wrapper{
position: relative; position: relative;
@ -541,19 +541,19 @@ class Trialapplication extends Component {
style={{height: '0', width: '0', border: 'none', display: "none"}}/> style={{height: '0', width: '0', border: 'none', display: "none"}}/>
<Dialog open={true} id="DialogIDysl" <Dialog open={true} id="DialogIDysl"
style={{display: isRenders == false ? 'none' : '', "border-radius": "15px"}} style={{display: isRenders == false ? 'none' : '', "border-radius": "10px"}}
> >
<div id="closeIcon" onClick={() => { <div id="closeIcon" onClick={() => {
this.handleDialogClose() this.handleDialogClose()
}}> }}>
<i className="iconfont icon-shanchudiao"></i> <i className="iconfont icon-shanchudiao"></i>
</div> </div>
<div className={"login_register_content"} style={{"border-radius": "15px", "width": "560px"}}> <div className={"login_register_content"} style={{"border-radius": "10px", "width": "560px"}}>
<div className={"login_register_content"} style={ <div className={"login_register_content"} style={
user_phone_binded === true ? user_phone_binded === true ?
{ {
"width": "560px", "height": "280px", "width": "560px", "height": "295px",
"border-radius": "15px", "border-radius": "15px",
"background": " #FFFFff", "background": " #FFFFff",
"text-align": "center", "text-align": "center",
@ -564,8 +564,8 @@ class Trialapplication extends Component {
} }
: :
{ {
"width": "560px", "height": "390px", "width": "560px", "height": "410px",
"border-radius": "15px", "border-radius": "10px",
"background": " #FFFFff", "background": " #FFFFff",
"text-align": "center", "text-align": "center",
// "position": "absolute", // "position": "absolute",
@ -575,14 +575,12 @@ class Trialapplication extends Component {
} }
} }
> >
<ul> <ul style={{"margin-top": "10px","margin-bottom": "10px"}}>
<span style={{ <span style={{
"padding": "20px",
"text-align": "center!important", "text-align": "center!important",
"color": "#05101A", "color": "#05101A",
"font-weight": "bold", "font-weight": "bold",
"font-size": "17px", "font-size": "17px",
"margin-top": "10px",
}}>试用申请</span> }}>试用申请</span>
</ul> </ul>
@ -597,7 +595,7 @@ class Trialapplication extends Component {
{ {
user_phone_binded === true ? "" : user_phone_binded === true ? "" :
<div style={{ <div style={{
"margin-top": "15px", "padding-left": "50px", "margin-top": "20px", "padding-left": "50px",
"padding-right": "50px" "padding-right": "50px"
}}> }}>
<Input placeholder="请输入手机号码" value={login} <Input placeholder="请输入手机号码" value={login}
@ -611,7 +609,7 @@ class Trialapplication extends Component {
<p className="color-red mt5 mb5" style={{width: " 100%", height: "20px"}}> <p className="color-red mt5 mb5" style={{width: " 100%", height: "20px"}}>
<span>{Phonenumberisnotco}</span> <span>{Phonenumberisnotco}</span>
</p> </p>
: <div className="mt5 mb5" style={{height: "20px"}}></div> : <div style={{height: "20px"}}></div>
} }
</div> </div>
} }
@ -665,10 +663,10 @@ class Trialapplication extends Component {
{ {
Phonenumberisnotcocodes && Phonenumberisnotcocodes != "" ? Phonenumberisnotcocodes && Phonenumberisnotcocodes != "" ?
<p className="color-red mt2 mb2" style={{width: " 100%", height: "23px"}}> <p className="color-red " style={{width: " 100%", height: "20px"}}>
<span>{Phonenumberisnotcocodes}</span> <span>{Phonenumberisnotcocodes}</span>
</p> </p>
: <div className="mt2 mb2" style={{height: "23px"}}></div> : <div style={{height: "20px"}}></div>
} }
<div style={{ <div style={{
"padding-left": "50px", "padding-left": "50px",
@ -680,10 +678,10 @@ class Trialapplication extends Component {
name="mynames"></Input> name="mynames"></Input>
{ {
Phonenumberisnotcoreason && Phonenumberisnotcoreason != "" ? Phonenumberisnotcoreason && Phonenumberisnotcoreason != "" ?
<p className="color-red mt2 mb2" style={{width: " 100%", height: "23px"}}> <p className="color-red" style={{width: " 100%", height: "20px"}}>
<span>{Phonenumberisnotcoreason}</span> <span>{Phonenumberisnotcoreason}</span>
</p> </p>
: <div className="mt2 mb2" style={{height: "23px"}}></div> : <div style={{height: "20px"}}></div>
} }
</div> </div>

@ -170,7 +170,7 @@ class NewHeader extends Component {
submitapplications:false, submitapplications:false,
isRender:false, isRender:false,
isRenders:false, isRenders:false,
showTrial:true, showTrial:false,
} }
// console.log("176") // console.log("176")
// console.log(props); // console.log(props);

Loading…
Cancel
Save