|
@@ -458,88 +458,93 @@ class Index extends Component {
|
|
|
<View className="l-box">
|
|
|
|
|
|
{this.renderTop()}
|
|
|
-
|
|
|
- <View className='scoped-has-right'>
|
|
|
- <View className="scoped-box">
|
|
|
- <View className="sb-title">跟进证明的视频
|
|
|
- {
|
|
|
- formObj.video
|
|
|
- ?
|
|
|
- <View className="s4" onClick={() => {
|
|
|
- this.setState({
|
|
|
- formObj: {
|
|
|
- ...formObj,
|
|
|
- video: ''
|
|
|
- }
|
|
|
- })
|
|
|
- }}>清除当前视频</View>
|
|
|
- : ''
|
|
|
- }
|
|
|
- </View>
|
|
|
-
|
|
|
- {
|
|
|
- formObj.video
|
|
|
- ?
|
|
|
- <View className="scoped-audio">
|
|
|
- <View className="si-op">
|
|
|
- <Video
|
|
|
- src={formObj.video}
|
|
|
- controls={true}
|
|
|
- autoplay={false}
|
|
|
- className="img"
|
|
|
- />
|
|
|
- </View>
|
|
|
+ <View className="scoped-box">
|
|
|
+ <View className="sb-title">备注(必填)</View>
|
|
|
+ <AtTextarea
|
|
|
+ value={formObj.remark}
|
|
|
+ onChange={this.baseFormChange.bind(this, 'remark')}
|
|
|
+ maxLength={300}
|
|
|
+ height={200}
|
|
|
+ placeholder='备注信息'
|
|
|
+ />
|
|
|
+ </View>
|
|
|
+ <View className="scoped-box">
|
|
|
+ <View className="sb-title">跟进证明的视频
|
|
|
+ {
|
|
|
+ formObj.video
|
|
|
+ ?
|
|
|
+ <View className="s4" onClick={() => {
|
|
|
+ this.setState({
|
|
|
+ formObj: {
|
|
|
+ ...formObj,
|
|
|
+ video: ''
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }}>清除当前视频</View>
|
|
|
+ : ''
|
|
|
+ }
|
|
|
+ </View>
|
|
|
+
|
|
|
+ {
|
|
|
+ formObj.video
|
|
|
+ ?
|
|
|
+ <View className="scoped-audio">
|
|
|
+ <View className="si-op">
|
|
|
+ <Video
|
|
|
+ src={formObj.video}
|
|
|
+ controls={true}
|
|
|
+ autoplay={false}
|
|
|
+ className="img"
|
|
|
+ />
|
|
|
</View>
|
|
|
- :
|
|
|
- <View className="scoped-img">
|
|
|
- <View className="si-op" onClick={this.viviHandle.bind(this)}>
|
|
|
- <Image src={addIcon2} className="img"/>
|
|
|
- </View>
|
|
|
+ </View>
|
|
|
+ :
|
|
|
+ <View className="scoped-img">
|
|
|
+ <View className="si-op" onClick={this.viviHandle.bind(this)}>
|
|
|
+ <Image src={addIcon2} className="img"/>
|
|
|
</View>
|
|
|
- }
|
|
|
- </View>
|
|
|
+ </View>
|
|
|
+ }
|
|
|
</View>
|
|
|
- <View className='scoped-has-right'>
|
|
|
- <View className="scoped-box">
|
|
|
- <View className="sb-title">跟进证明的录音
|
|
|
- {
|
|
|
- formObj.record_audio
|
|
|
- ?
|
|
|
- <View className="s4" onClick={() => {
|
|
|
- this.setState({
|
|
|
- formObj: {
|
|
|
- ...formObj,
|
|
|
- record_audio: ''
|
|
|
- }
|
|
|
- })
|
|
|
- }}>清除当前录音</View>
|
|
|
- : ''
|
|
|
- }
|
|
|
- </View>
|
|
|
- {
|
|
|
- formObj.record_audio
|
|
|
- ?
|
|
|
- <View className="scoped-audio">
|
|
|
- <View className="si-op">
|
|
|
- <Audio
|
|
|
- src={formObj.record_audio}
|
|
|
- controls={true}
|
|
|
- autoplay={false}
|
|
|
- loop={false}
|
|
|
- muted={true}
|
|
|
- initialTime='30'
|
|
|
- />
|
|
|
- </View>
|
|
|
+ <View className="scoped-box">
|
|
|
+ <View className="sb-title">跟进证明的录音
|
|
|
+ {
|
|
|
+ formObj.record_audio
|
|
|
+ ?
|
|
|
+ <View className="s4" onClick={() => {
|
|
|
+ this.setState({
|
|
|
+ formObj: {
|
|
|
+ ...formObj,
|
|
|
+ record_audio: ''
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }}>清除当前录音</View>
|
|
|
+ : ''
|
|
|
+ }
|
|
|
+ </View>
|
|
|
+ {
|
|
|
+ formObj.record_audio
|
|
|
+ ?
|
|
|
+ <View className="scoped-audio">
|
|
|
+ <View className="si-op">
|
|
|
+ <Audio
|
|
|
+ src={formObj.record_audio}
|
|
|
+ controls={true}
|
|
|
+ autoplay={false}
|
|
|
+ loop={false}
|
|
|
+ muted={true}
|
|
|
+ initialTime='30'
|
|
|
+ />
|
|
|
</View>
|
|
|
- :
|
|
|
- <View className="scoped-img">
|
|
|
- <View className="si-op" onClick={this.audioHandle.bind(this)}>
|
|
|
- <Image src={addIcon3} className="img"/>
|
|
|
- </View>
|
|
|
+ </View>
|
|
|
+ :
|
|
|
+ <View className="scoped-img">
|
|
|
+ <View className="si-op" onClick={this.audioHandle.bind(this)}>
|
|
|
+ <Image src={addIcon3} className="img"/>
|
|
|
</View>
|
|
|
- }
|
|
|
-
|
|
|
- </View>
|
|
|
+ </View>
|
|
|
+ }
|
|
|
+
|
|
|
</View>
|
|
|
<View className="scoped-box">
|
|
|
<View className="sb-title">跟进证明的图片
|
|
@@ -556,16 +561,6 @@ class Index extends Component {
|
|
|
}
|
|
|
</View>
|
|
|
</View>
|
|
|
- <View className="scoped-box">
|
|
|
- <View className="sb-title">备注</View>
|
|
|
- <AtTextarea
|
|
|
- value={formObj.remark}
|
|
|
- onChange={this.baseFormChange.bind(this, 'remark')}
|
|
|
- maxLength={300}
|
|
|
- height={200}
|
|
|
- placeholder='备注信息'
|
|
|
- />
|
|
|
- </View>
|
|
|
<View className="l-floor-footer t2">
|
|
|
<View className="lff-flex">
|
|
|
<View className="lff-btn full" onClick={this.saveHandle.bind(this)}>添加跟进</View>
|