|
@@ -3,6 +3,7 @@ import Taro, { getCurrentInstance } from "@tarojs/taro";
|
|
|
import { Text, View, Picker } from "@tarojs/components";
|
|
|
import ImagePicker from "../../components/common/imagePicker";
|
|
|
import InquiryModal from "../../components/common/inquiryModal";
|
|
|
+import AuditModal from "../../components/common/auditModal";
|
|
|
import {
|
|
|
getPridDetail,
|
|
|
getAccountList,
|
|
@@ -15,13 +16,13 @@ import {
|
|
|
getVehicleName,
|
|
|
commonAdd,
|
|
|
} from "../../utils/tools";
|
|
|
-import { AtTextarea, AtButton } from "taro-ui";
|
|
|
+import { AtTextarea, AtButton, AtIcon } from "taro-ui";
|
|
|
import { resourceAddress } from "../../utils/config";
|
|
|
+
|
|
|
import "taro-ui/dist/style/components/form.scss";
|
|
|
import "taro-ui/dist/style/components/button.scss";
|
|
|
import "taro-ui/dist/style/components/loading.scss";
|
|
|
import "taro-ui/dist/style/components/icon.scss";
|
|
|
-import "taro-ui/dist/style/components/icon.scss";
|
|
|
import "taro-ui/dist/style/components/textarea.scss";
|
|
|
import "taro-ui/dist/style/components/input.scss";
|
|
|
|
|
@@ -38,6 +39,7 @@ class Drafts extends Component {
|
|
|
total: 0,
|
|
|
bankData: {},
|
|
|
reason: "",
|
|
|
+ visible: false,
|
|
|
};
|
|
|
}
|
|
|
|
|
@@ -265,7 +267,7 @@ class Drafts extends Component {
|
|
|
<View className="formName">地点:</View>
|
|
|
<View className="formValue">
|
|
|
<View className="ftxt">{item.startDistrict}</View>
|
|
|
- 至
|
|
|
+ <Text style={{ fontSize: "30px", padding: "0 2px" }}>⇀</Text>
|
|
|
<View className="ftxt">{item.endDistrict}</View>
|
|
|
</View>
|
|
|
</View>
|
|
@@ -397,6 +399,20 @@ class Drafts extends Component {
|
|
|
</View>}
|
|
|
</View>}
|
|
|
|
|
|
+ <View
|
|
|
+ className="select"
|
|
|
+ onClick={(e) => {
|
|
|
+ e.stopPropagation();
|
|
|
+ this.setState({
|
|
|
+ visible: true,
|
|
|
+ id: data.id
|
|
|
+ });
|
|
|
+ }}
|
|
|
+ >
|
|
|
+ 查看审核详情
|
|
|
+ <AtIcon value="chevron-right" size="20" color="#fff" />
|
|
|
+ </View>
|
|
|
+
|
|
|
{
|
|
|
data.examine == 1 &&
|
|
|
<View>
|
|
@@ -484,6 +500,17 @@ class Drafts extends Component {
|
|
|
});
|
|
|
}}
|
|
|
/>
|
|
|
+ {/* 审核详情 */}
|
|
|
+ {this.state.visible &&
|
|
|
+ <AuditModal
|
|
|
+ id={this.state.id}
|
|
|
+ isOpened={this.state.visible}
|
|
|
+ onClose={() => {
|
|
|
+ this.setState({
|
|
|
+ visible: false
|
|
|
+ })
|
|
|
+ }}
|
|
|
+ />}
|
|
|
|
|
|
</View>
|
|
|
);
|