// 车辆审核
<template>
  <div class="center">
    <div class="center_css">
      <div class="top_css">
        <el-row>
          <el-col :span="14" style="height: 45px;">
            <!-- <el-button type="primary">添加</el-button> -->
          </el-col>
          <el-col :span="10">
            <div class="screen">
              <el-input class='find' placeholder="可按司机姓名、账号、车牌号查找" v-model="searchkeyWord" @keyup.enter.native="find" clearable @change="find"></el-input>
              <el-button class="search" @click="find"><img width="16" height="16" style="margin-left: -8px"
                  src="../../../public/img/sousuo.png" /></el-button><span
                class="count_css">共{{ deptBudgetTotal }}条</span>
            </div>
          </el-col>
        </el-row>
        <el-row>
          <el-col>
            <div class="search_btn">
              <div :class="search == '' ? 'search' : 'searchNo'" class="search_item search_block"
                @click="searchBtn('')">
                全部
              </div>
              <div :class="search == 1 ? 'search' : 'searchNo'" class="search_item" @click="searchBtn(1)">
                待审核
              </div>
              <div :class="search == 2 ? 'search' : 'searchNo'" class="search_item" @click="searchBtn(2)">
                已通过
              </div>
              <div :class="search == 3 ? 'search' : 'searchNo'" class="search_item" @click="searchBtn(3)">
                已驳回
              </div>
              <div :class="search == 4 ? 'search' : 'searchNo'" class="search_item" @click="searchBtn(4)">
                已删除
              </div>
              <div :class="search == 5 ? 'search' : 'searchNo'" class="search_item" @click="searchBtn(5)">
                已注销
              </div>
            </div>
          </el-col>
        </el-row>
      </div>
      <el-table :data="tableData" style="width: 98%; margin: 0 auto; border-radius: 10px" height="58vh" border highlight-current-row>
        <el-table-column type="index" width="60"  label="序号" align="center">
            <template scope="scope">
                <span>{{scope.$index + 1}}</span>
                <!-- <span v-else>{{scope.$index}}</span> -->
            </template>
        </el-table-column>
        <el-table-column prop="driverName" label="司机姓名" min-width="130"></el-table-column>
        <el-table-column prop="driverPhone" label="账号" min-width="110"></el-table-column>
        <el-table-column prop="numberCard" label="身份证号" min-width="165"></el-table-column>
        <el-table-column prop="carCategory" label="车型">
          <template scope="scope">
            <span>{{scope.row.carCategory}}</span>
            <span>{{scope.row.carType}}</span>
          </template>
        </el-table-column> 
        <el-table-column prop="carNumber" label="车牌号" min-width="90"></el-table-column>
        <el-table-column prop="guaCarNumber" label="挂车车牌号" min-width="100"></el-table-column>
        <el-table-column prop="amountMoney" label="附件">
          <template scope="scope">
            <div>
              <span class="btn_css" @click="fujianLook(scope.row)">查看</span>
              <el-tooltip placement="top" v-if="
                scope.row.overdueFlag == 1 ||
                scope.row.driverOverdueFlag == 1 || //驾驶证过期标志
                scope.row.drivingOverdueFlag == 1 || //行驶证过期标志
                scope.row.trailerOverdueFlag == 1 ||  //挂车行驶证过期标志
                scope.row.operationOverdueFlag == 1 || //运营证过期标志
                scope.row.operationOverdueFlag == 1 || //道路运输证过期标志
                scope.row.trailerOperationOverdueFlag == 1 //挂车道路运输证过期标志
              ">
                <div slot="content">
                  <span v-if="scope.row.overdueFlag == 1">身份证已过有效期<br /></span>
                  <span v-if="scope.row.driverOverdueFlag == 1">驾驶证已过有效期<br /></span>
                  <span v-if="scope.row.drivingOverdueFlag == 1">行驶证已过有效期<br /></span>
                  <span v-if="scope.row.trailerOverdueFlag == 1">挂车行驶证已过有效期<br /></span>
                  <span v-if="scope.row.operationOverdueFlag == 1">运营证已过有效期<br /></span>
                  <span v-if="scope.row.operationOverdueFlag == 1">道路运输证已过有效期<br /></span>
                  <span v-if="scope.row.trailerOperationOverdueFlag == 1">挂车道路运输证已过有效期<br /></span>
                </div>
                <span style="margin-top: 10px"></span>
                <img src="../../../public/img/wenhao.png" alt="" class="ask_css" />
              </el-tooltip>
            </div>

          </template>
        </el-table-column>
        <el-table-column prop="energyType" label="能源类型"></el-table-column>
        <el-table-column prop="status" label="状态"></el-table-column>
        <el-table-column prop="updateDate" label="更新日期" min-width="160"></el-table-column>
        <el-table-column label="操作" min-width="200">
          <template slot-scope="scope">
            <el-link target="_blank" @click="adopt(scope.row)" type="primary" :underline="false"
              :disabled="scope.row.status != '审核中'">通过</el-link>
            <el-divider direction="vertical"></el-divider>
            <el-link target="_blank" @click="reject(scope.row)" type="primary" :underline="false"
              :disabled="scope.row.status != '审核中'">驳回</el-link>
              <el-divider direction="vertical"></el-divider>
              <el-link target="_blank" @click="lookmessage(scope.row)" type="primary" :underline="false">查看</el-link>
          </template>
        </el-table-column>
      </el-table>
    </div>
    <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="currentPage"
      style="text-align: center; margin-top: 10px" :page-size="deptCircularPage.pageSize"
      layout="total, sizes, prev, pager, next, jumper" :total="deptBudgetTotal">
    </el-pagination>
    <el-dialog :close-on-click-modal='false' title="车辆信息" :visible.sync="carInfo" width="500px" :before-close="carClose">
      <div class="car_css">
        <div class="title_css">人车合影</div>
        <img :src="carSee.addressUrl" class="car_item" />
        <div class="title_css">身份证人像面</div>
        <img :src="carSee.cardAddressUrl" class="car_item" />
        <div class="title_css">身份证国徽面</div>
        <img :src="carSee.cardAddressUrl" class="car_item" />
        <div class="form_btn">
          <el-button @click="carClose">关闭</el-button>
        </div>
      </div>
    </el-dialog>
    <el-dialog :close-on-click-modal='false' title="附件" :visible.sync="fujianInfo" width="830px" :before-close="fujianClose">
      <div class="file">
        <div class="fujian_css">
          <div class="fujian_item" :class="count == 1 ? 'file_btn' : ''" @click="btnChange(1)">
            身份证
          </div>
          <!-- <div class="fujian_item" :class="count == 2 ? 'file_btn' : ''" @click="btnChange(2)">
            驾驶证
          </div> -->
          <div class="fujian_item" :class="count == 3 ? 'file_btn' : ''" @click="btnChange(3)">
            行驶证
          </div>
          <!-- <div class="fujian_item" :class="count == 4 ? 'file_btn' : ''" @click="btnChange(4)">
            从业资格证
          </div> -->
          <div v-if='file.carCategory=="挂车"' class="fujian_item" :class="count == 5 ? 'file_btn' : ''" @click="btnChange(5)">
            挂车行驶证
          </div>
          <div class="fujian_item" :class="count == 6 ? 'file_btn' : ''" @click="btnChange(6)">
            道路运输证
          </div>
          <div v-if='file.carCategory=="挂车"' class="fujian_item" :class="count == 7 ? 'file_btn' : ''" @click="btnChange(7)">
            挂车道路运输证
          </div>
          <div class="fujian_item" :class="count == 8 ? 'file_btn' : ''" @click="btnChange(8)">
            人车合影
          </div>
          <div class="fujian_item" :class="count == 9 ? 'file_btn' : ''" @click="btnChange(9)">
            人和挂车合影
          </div>
        </div>
        <div class="file_tips">
          <span v-if="count == 3">有效期：{{file.drivingLicenseValidityDate}} </span><span v-if="count == 3"> 注册日期：{{file.drivingLicenseRegistrationDate}} </span> <span v-if="count == 3"> 发证日期：{{file.drivingLicenseIssueDate}} </span> <span v-if="count == 3"> 发证机关：{{file.lssuingAuthority}}</span>
          <span v-if="count == 5">有效期：{{file.trailerLicenseValidityDate}} </span><span v-if="count == 5"> 注册日期：{{file.trailerLicenseRegistrationDate}} </span> <span v-if="count == 5"> 发证日期：{{file.trailerLicenseIssueDate}} </span> <span v-if="count == 5"> 发证机关：{{file.guaLssuingAuthority}}</span>
          <span v-if="count == 6"> 运输证号：{{file.operationCertificateNumber}} </span><span v-if="count == 6">有效期：{{file.operationCertificateValidityDate}} </span>
          <span v-if="count == 7"> 挂车运输证号：{{file.trailerOperationCertificateNumber}} </span><span v-if="count == 7">有效期：{{file.trailerOperationCertificateValidityDate}} </span>
        </div>
        <div class="file_img">
          <img :src="img[index]" class="img_css" @click="enlarge(img[index])" />
        </div>
        <div class="btn">
          <el-button style="margin-right: 120px" @click="index = 0"
            v-if="count == 1 || count == 2 || count == 3 || count == 5">{{ abilityName }}</el-button>
          <el-button @click="index = 1" v-if="count == 1 || count == 2 || count == 3 || count == 5">{{ abilityName1 }}
          </el-button>
        </div>
      </div>
    </el-dialog>
    <el-dialog :close-on-click-modal='false' title="驳回认证" :visible.sync="rejectInfo" width="400px" :before-close="rejectClose">
      <div>
        <!-- <div><span class="sign">*</span>选择驳回原因</div> -->
        <div class="form_css">
          <el-form ref="form" :model="form" label-width="80px">
            <!-- <el-checkbox-group v-model="form.checkList">
							<el-checkbox label="证件照片不清晰"></el-checkbox>
							<el-checkbox label="证件照片上传错误"></el-checkbox>
							<el-checkbox label="身份信息填写错误"></el-checkbox>
							<el-checkbox label="证件信息填写错误"></el-checkbox>
							<el-checkbox label="其他"></el-checkbox>
						</el-checkbox-group> -->
            <div style="margin-bottom: 20px;">驳回原因描述（必填）</div>
            <el-input type="textarea" :rows="3" resize="none" placeholder="输入驳回原因，5-50个字" maxlength="50"
              v-model="form.rejectReasonDescription"></el-input>
            <div class="form_btn">
              <el-button @click="rejectClose">取消</el-button>
              <el-button @click="submit" type="primary">确定</el-button>
            </div>
          </el-form>
        </div>
      </div>
    </el-dialog>
    <el-drawer title="车辆详情" :visible.sync="rightSee">
      <div class="right_css">
        <div style='height:80vh;overflow-y:scroll;'>
          <!-- <div class="title_name">基本信息</div> -->
          <div class="right_item">车型：{{costData.carCategory}}{{costData.carType}}</div>
          <div class="right_title">道路运输证</div>
          <div class="right_item">
            <img :src="costData.operationCertificate" class="right_img_css" @click="enlarge(costData.operationCertificate)" />
          </div>
          <div class="right_title">道路运输证号</div>
          <div class="right_item">{{costData.operationCertificateNumber}}</div>
          <div class="right_title">道路运输证有效期</div>
          <div class="right_item">{{costData.operationCertificateValidityDate}}</div>
          <div class="right_title">挂车道路运输证</div>
          <div class="right_item">
            <img :src="costData.trailerOperationCertificate" class="right_img_css" @click="enlarge(costData.trailerOperationCertificate)" />
          </div>
          <div class="right_title">挂车道路运输证号</div>
          <div class="right_item">{{costData.trailerOperationCertificateNumber}}</div>
          <div class="right_title">挂车道路运输证有效期</div>
          <div class="right_item">{{costData.trailerOperationCertificateValidityDate}}</div>
          <div class="right_title">行驶证主页</div>
          <div class="right_item">
            <img :src="costData.drivingLicenseHomePage" class="right_img_css" @click="enlarge(costData.drivingLicenseHomePage)" />
          </div>
          <div class="right_title">行驶证副页</div>
          <div class="right_item">
            <img :src="costData.drivingLicenseBackPage" class="right_img_css" @click="enlarge(costData.drivingLicenseBackPage)" />
          </div>
          <div class="right_title">行驶证车辆类型</div>
          <div class="right_item">{{costData.vehicleType}}</div>
          <div class="right_title">行驶证档案编号</div>
          <div class="right_item">{{costData.drivingLicenseNumber}}</div>
          <div class="right_title">注册日期</div>
          <div class="right_item">{{costData.drivingLicenseRegistrationDate}}</div>
          <div class="right_title">发证日期</div>
          <div class="right_item">{{costData.drivingLicenseIssueDate}}</div>
          <div class="right_title">行驶证有效期</div>
          <div class="right_item">{{costData.drivingLicenseValidityDate}}</div>
          <div class="right_title">使用性质</div>
          <div class="right_item">{{costData.useNature}}</div>
          <div class="right_title">发证机关</div>
          <div class="right_item">{{costData.lssuingAuthority}}</div>
          <div class="right_title">车辆能源类型</div>
          <div class="right_item">{{costData.energyType}}</div>
          <div class="right_title">挂车行驶证主页</div>
          <div class="right_item">
            <img :src="costData.trailerLicenseHomePage" class="right_img_css" @click="enlarge(costData.drivingLicenseHomePage)" />
          </div>
           <div class="right_title">挂车行驶证副页</div>
          <div class="right_item">
            <img :src="costData.trailerLicenseBackPage" class="right_img_css" @click="enlarge(costData.drivingLicenseBackPage)" />
          </div>
          <div class="right_title">挂车行驶证档案编号</div>
          <div class="right_item">{{costData.trailerLicenseNumber}}</div>
          <div class="right_title">注册日期</div>
          <div class="right_item">{{costData.trailerLicenseRegistrationDate}}</div>
          <div class="right_title">发证日期</div>
          <div class="right_item">{{costData.trailerLicenseIssueDate}}</div>
          <div class="right_title">挂车行驶证有效期</div>
          <div class="right_item">{{costData.trailerLicenseValidityDate}}</div>
          <div class="right_title">使用性质</div>
          <div class="right_item">{{costData.guaUseNature}}</div>
          <div class="right_title">发证机关</div>
          <div class="right_item">{{costData.guaLssuingAuthority}}</div>
          <div class="right_title">车牌号</div>
          <div class="right_item">{{costData.carNumber}}</div>
          <div class="right_title">车牌颜色</div>
          <div class="right_item">{{costData.carNumberColour}}</div>
          <div class="right_title">车辆所属车主</div>
          <div class="right_item">{{costData.owner}}</div>
          <div class="right_title">总质量（千克）</div>
          <div class="right_item">{{costData.carTotalWeight}}</div>
          <div class="right_title">核定载质量（千克）</div>
          <div class="right_item">{{costData.carApprovedWeight}}</div>
          <div class="right_title">整备质量（千克）</div>
          <div class="right_item">{{costData.servicingWeight}}</div>
          <div class="right_title">外廓尺寸（毫米）</div>
          <div class="right_item">{{costData.carLong}}-{{costData.carWidth}}-{{costData.carHeight}}</div>
          <div class="right_title">上传人车合影</div>
          <div class="right_item">
            <img  v-for="item in costData.addressUrlArray" :src="item" class="right_img_css" @click="enlarge(item)" />
          </div>
          <div class="right_title">挂车车牌号</div>
          <div class="right_item">{{costData.guaCarNumber}}</div>
          <div class="right_title">挂车车辆所属车主</div>
          <div class="right_item">{{costData.guaOwner}}</div>
          <div class="right_title">挂车核定载质量（千克）</div>
          <div class="right_item">{{costData.guaCarApprovedWeight}}</div>
          <div class="right_title">挂车整备质量（千克）</div>
          <div class="right_item">{{costData.guaServicingWeight}}</div>
          <div class="right_title">挂车外廓尺寸（毫米）</div>
          <div class="right_item">{{costData.guaCarLong}}-{{costData.guaCarWidth}}-{{costData.guaCarHeight}}</div>
          <div class="right_title">上传人和挂车合影</div>
          <div class="right_item">
            <img  v-for="item in costData.guaAddressUrlArray" :src="item" class="right_img_css" @click="enlarge(item)" />
          </div>
        <div class="right_btn">
          <el-button @click="rightSee = false">关闭</el-button>
        </div>
        </div>
      </div>
    </el-drawer>
    <el-image-viewer v-if="imgsVisible" :on-close="closeImgViewer" :url-list="srcList" style="z-index:9999" />
  </div>
</template>
<script>
  import {
    getCarList,
    toCarExamine
  } from '@/api/driverManagement'
  export default {
    components: {
      "el-image-viewer": () =>
        import("element-ui/packages/image/src/image-viewer"),
    },
    data() {
      return {
        tableData: [],
        //分页
        searchkeyWord: "",
        currentPage: 1,
        pageSize: 10,
        deptBudgetTotal: 0,
        deptCircularPage: {},
        search: "",
        addressUrl: [],
        disabled: false,
        carInfo: false,
        rejectInfo: false,
        checkList: [],
        form: {},
        carSee: {},
        //附件
        file: {},
        rightSee:false,
        img: [],
        index: "0",
        count: "1",
        abilityName: "身份证人像面",
        abilityName1: "身份证国徽面",
        fujianInfo: false,
        //图片预览
        srcList: [],
        costData:{},
        imgsVisible: false,
      };
    },
    mounted() {
      this.getList()
    },
    methods: {
      lookmessage(row){
        this.costData=row
        this.rightSee=true
      },
      closeImgViewer() {
        console.log(11111111111)
         this.srcList = []
        this.imgsVisible = false;
      },
      enlarge(url) {
        this.imgsVisible = true;
        this.srcList.push(url)
      },
      fujianLook(row) {
        this.file = row;
        this.index = 0;
        this.img[0] = this.file.cardAddressUrl;
        this.img[1] = this.file.cardBackAddressUrl;
        this.fujianInfo = true;
      },
      fujianClose() {
        this.count = 1;
        this.fujianInfo = false;
      },
      btnChange(num) {
        this.count = num;
        if (num == 1) {
          this.abilityName = "身份证人像面";
          this.abilityName1 = "身份证国徽面";
          this.img[0] = this.file.cardAddressUrl;
          this.img[1] = this.file.cardBackAddressUrl;
        } else if (num == 2) {
          this.abilityName = "驾驶证主页";
          this.abilityName1 = "驾驶证副页";
          this.img[0] = this.file.driverLicenseHomePage;
          this.img[1] = this.file.driverLicenseBackPage;
        } else if (num == 3) {
          this.abilityName = "行驶证主页";
          this.abilityName1 = "行驶证副页";
          this.img[0] = this.file.drivingLicenseHomePage;
          this.img[1] = this.file.drivingLicenseBackPage;
        } else if (num == 4) {
          this.index = 0;
          this.img[0] = this.file.qualificationCertificate;
        } else if (num == 5) {
          this.abilityName = "挂车行驶证主页";
          this.abilityName1 = "挂车行驶证副页";
          this.img[0] = this.file.trailerLicenseHomePage;
          this.img[1] = this.file.trailerLicenseBackPage;
        } else if (num == 6) {
          this.index = 0;
          this.img[0] = this.file.operationCertificate;
        } else if (num == 7) {
          this.index = 0;
          this.img[0] = this.file.trailerOperationCertificate;
        } else if (num == 8) {
          this.index = 0;
          this.img[0] = this.file.addressUrl;
        } else if (num == 9) {
          this.index = 0;
          this.img[0] = this.file.guaAddressUrl;
        }
      },

      getList() {
        this.loading = true
        let _obj = {}
        _obj.currentPage = this.currentPage
        _obj.pageSize = this.pageSize
        _obj.searchKeyWord = this.searchkeyWord
        _obj.searchType = this.search
        getCarList(_obj).then(response => {
          if(response.data.records.length>0){
            for(var i=0;i<response.data.records.length;i++){
              if(response.data.records[i].addressUrl){
                response.data.records[i].addressUrlArray=response.data.records[i].addressUrl.split(',')
              }else{
                response.data.records[i].addressUrlArray=[]
              }
              if(response.data.records[i].guaAddressUrl){
                response.data.records[i].guaAddressUrlArray=response.data.records[i].guaAddressUrl.split(',')
              }else{
                response.data.records[i].guaAddressUrlArray=[]
              }
            }
            
          }
            this.tableData = response.data.records
            this.deptBudgetTotal = response.data.total
            this.listLoading = false
          })
          .catch(() => {
            this.loading = false
          })
      },
      adopt(row) {
        this.$confirm('确定通过' + row.carNumber + '的审核？', '提示', {
            confirmButtonText: '确定',
            cancelButtonText: '取消',
            type: 'warning',
          })
          .then(() => {
            this.listLoading = true
            var _examine = {}
            _examine.id = row.id,
            _examine.flag = 1,
            _examine.carNumber = row.carNumber,
            _examine.carNumberColour = row.carNumberColour,
            toCarExamine(_examine).then(response => {
                this.$notify({
                  title: '成功',
                  message: '通过成功！',
                  type: 'success'
                });
                this.getList()
                this.listLoading = false
              })
              .catch(() => {
                this.loading = false
              })
          })

      },
      reject(row) {
        this.form.id = row.id
        this.form.flag = 2
        this.rejectInfo = true
      },
      rejectClose() {
        this.form = {}
        this.rejectInfo = false
      },
      submit() {
        if (!this.form.rejectReasonDescription) {
          this.$message.error("请输入驳回原因")
          return
        }
        if (this.form.rejectReasonDescription.length < 6 || this.form.rejectReasonDescription.length > 50) {
          this.$message.error("驳回原因字数应在6-50之间")
          return
        }
        this.listLoading = true
        toCarExamine(this.form).then(response => {
            this.$notify({
              title: '成功',
              message: '驳回成功！',
              type: 'success'
            });
            this.form = {}
            this.rejectInfo = false
            this.getList()
            this.listLoading = false
          })
          .catch(() => {
            this.loading = false
          })
      },
      carLook(row) {
        this.carSee.addressUrl = row.addressUrl
        this.carSee.cardAddressUrl = row.cardAddressUrl
        this.carSee.cardBackAddressUrl = row.cardBackAddressUrl
        this.carInfo = true;
      },
      carClose() {
        this.carInfo = false;
      },
      searchBtn(num) {
        this.search = num;
        this.getList();
      },
      find() {
        this.currentPage = 1
        this.getList();
      },
      onChange() {
        this.$refs.upload
          .handleSaveBill()
          .then(async (response) => {
            this.formData.addressUrl = response;
          })
          .catch((res) => {
            EventBus.$emit("error", (JSON.parse(res) || {}).message);
            this.$refs.upload.clearFiles();
          });
      },
      handleSizeChange(val) {
        console.log(`每页 ${val} 条`);
        this.pageSize = val;
        this.getList();
      },
      handleCurrentChange(val) {
        this.currentPage = val;
        console.log(`当前页: ${val}`);
        this.getList();
      },
    },
  };
</script>
<style lang="scss" scoped>
  .center {
    padding: 10px 20px;
    background: #f5f6f7;
    min-height: calc(100vh - 50px);

    .top_css {
      padding: 10px;

      .search_btn {
        height: 80px;
        display: flex;
        margin-top: 20px;
        background: linear-gradient(#fafbfb, #ffffff);

        .search_block {
          margin-left: 20px;
        }

        .search_item {
          text-align: center;
          font-size: 14px;
          font-weight: 600;
          line-height: 40px;
          width: 112px;
          height: 40px;
          background: #f7f8f9;
          cursor: pointer;
          margin-top: 30px;
        }

        .searchNo {
          color: #323233;
        }

        .search {
          color: #2f53eb;
          background: #ffffff;
        }
      }
    }

    .center_css {
      background: #ffffff;
      border-radius: 1px;
      margin-top: 10px;
      padding-bottom: 10px;
    }

    .screen {
      display: flex;

      .search {
        width: 40px;
        height: 40px;
        background: #2f53eb;
        border-radius: 0px 2px 2px 0px;
        border: 1px solid #DCDFE6;
        margin-left:-1px;
      }

      .count_css {
        width: 80px;
        text-align: center;
        line-height: 40px;
        color: #666666;
      }
    }

    .el-button {
      padding: 10px 20px !important;
    }

    .center_css {

      ::v-deep .el-table th,
      ::v-deep .el-table td {
        text-align: center;
      }

      .fujian {
        font-size: 24px;
        color: #409eff;
      }

      .warning {
        font-size: 14px;
        color: #ed1d1d;
      }
    }
  }

  .car_css {
    margin-bottom: 20px;

    .title_css {
      margin-bottom: 10px;
      color: #999999;
    }


    .car_item {
      width: 370px;
      height: 220px;
      margin-bottom: 20px;
    }

    .form_btn {
      text-align: right;
    }
  }

  ::v-deep .el-table--border .el-table__header th {
    background: #f7f8f9;
  }

  .btn_css {
    color: #409EFF;
    cursor: pointer
  }

  .sign {
    font-size: 14px;
    color: red;
  }

  .form_css {
    width: 100%;
    margin: 0 auto 20px;

    ::v-deep .el-checkbox {
      width: 40%;
      height: 30px;
    }

    ::v-deep .el-dialog__body {
      padding: 10px 20px;
    }

    ::v-deep .el-dialog__title {
      font-size: 16px;
    }

    ::v-deep .el-textarea__inner {
      background: #F0F1F2;
    }

    .form_btn {
      text-align: right;
      margin-top: 10px;
    }
  }
  
   .right_css {
    // overflow-y: auto !important;
    min-height: 1266px;
    padding: 0 20px;

    .right_title {
      color: #9D9D9D;
      font-size: 14px;
      margin-bottom: 4px;
    }

    .title_name {
      margin-bottom: 10px;
    }

    .right_item {
      color: #0D0D0D;
      font-size: 14px;
      margin-bottom: 10px;
    }

    .right_btn {
      text-align: right;
      margin: 10px 0;
    }

    .right_img_css {
    width: 100px;
    height: 80px;
    margin-right: 5px;
  }

    .right_img {
      width: 200px;
      height: 120px;
      margin-top: 10px;
    }
  }
  //查看附件
  .file {
    .fujian_css {
      width: 746px;
      display: flex;
      margin: 0 auto;
      text-align: center;
      line-height: 32px;
      border: 1px solid #f0f1f2;
      border-right: 0px;
      border-radius: 2px 0px 0px 2px;

      .fujian_item {
        cursor: pointer;
        width: 135px;
        height: 32px;
        border-right: 1px solid #f0f1f2;
      }

      .file_btn {
        color: #2f53eb;
        background-color: #cfdbfe;
      }
    }
    .file_tips{
        margin: 10px auto;
       width: 70%;
    }
    .file_img {
      width: 525px;
      height: 332px;
      margin: 20px auto;
    }

    .img_css {
      width: 525px;
      height: 332px;
    }

    .btn {
      width: 415px;
      margin: 0 auto;
    }
  }

  .ask_css {
    position: absolute;
    margin: 2px 0 0 10px;
  }
  .find::v-deep input.el-input__inner{
    border-radius:0;
  }
</style>
