You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

920 lines
29 KiB

2 years ago
<template>
<div>
<xy-dialog ref="dialog" :is-show.sync="isShow" type="form" :title="type === 'add' ? '检查问题' : '编辑问题'" :form="form"
:rules="rules" @submit="submit">
<template v-slot:mission_id>
<div class="xy-table-item">
<div class="xy-table-item-label">
<span style="color: red;font-weight: 600;padding-right: 4px;"></span>任务名称
</div>
<div class="xy-table-item-content">
<el-select v-model="form.mission_id" @change="changeMission" :disabled="hasMissionId" filterable clearable placeholder="请选择任务名称" style="width: 400px;">
<el-option v-for="item in unitList" :key="item.id" :label="item.name" :value="item.id">
</el-option>
</el-select>
</div>
</div>
</template>
<template v-slot:date>
<div class="xy-table-item">
<div class="xy-table-item-label" style="font-weight: bold;">
<span style="color: red;font-weight: 600;padding-right: 4px;">*</span>检查日期
</div>
<div class="xy-table-item-content">
<el-date-picker style="width: 400px;" v-model="form.date" format="yyyy-MM-dd"
value-format="yyyy-MM-dd" type="date" placeholder="选择检查日期">
</el-date-picker>
</div>
</div>
</template>
2 years ago
<template v-slot:up_admin_id>
<div class="xy-table-item">
<div class="xy-table-item-label">
<span style="color: red;font-weight: 600;padding-right: 4px;"></span>上报人
</div>
<div class="xy-table-item-content">
<el-select v-model="form.up_admin_id" @change="changeUpAdmin" filterable allow-create clearable placeholder="请选择上报人" style="width: 400px;">
<el-option v-for="item in userdata" :key="item.id" :label="item.name" :value="item.id">
</el-option>
</el-select>
</div>
</div>
2 years ago
2 years ago
</template>
2 years ago
<template v-slot:siteName v-if="type=='editor'">
2 years ago
<div class="xy-table-item">
<div class="xy-table-item-label" style="font-weight: bold;">
<span style="color: red;font-weight: 600;padding-right: 4px;">*</span>检查地点
</div>
<div class="xy-table-item-content">
2 years ago
<el-cascader filterable ref="cascader1" :show-all-levels="false" :value="form.siteName" v-if="showCasc" clearable :options="siteList" :props="{'label':'name','value':'id'}"
:placeholder="sitePlaceholder" style="width: 290px;margin-right: 10px;" @change="changeSite"></el-cascader>
2 years ago
<el-input v-model="form.siteName" v-if="!showCasc" type='text' placeholder="请选择检查地点" clearable
style="width: 290px;margin-right: 10px;" @focus="$refs.maps.box = true"></el-input>
<el-button type="primary" v-if="showCasc" @click="$refs.maps.box = true;showCasc=false;form.siteName=''"></el-button>
<el-button type="primary" v-if="!showCasc" @click="showCasc = true;form.siteName=''"></el-button>
</div>
</div>
</template>
2 years ago
<template v-slot:groups v-if="showgroups">
<div class="xy-table-item">
<div class="xy-table-item-label">
<span style="color: red;font-weight: 600;padding-right: 4px;"></span>小组
</div>
<div class="xy-table-item-content">
<div>
{{groupObj.name}}:
<el-tag style="margin-right:5px" v-for="item in groupObj.details">{{item.name}}</el-tag>
</div>
</div>
</div>
</template>
2 years ago
<template v-slot:patrol_list v-if="type=='add'">
2 years ago
<div class="xy-table-item">
<div class="xy-table-item-label" style="font-weight: bold;">
2 years ago
<span style="color: red;font-weight: 600;padding-right: 4px;">*</span>问题详情
2 years ago
</div>
2 years ago
<div class="xy-table-item-content" style="display: flex;flex-wrap: wrap;margin-left: 10px; width: 90%;">
2 years ago
<div style="margin-bottom:10px">
<el-button type="primary" @click="addPatrolList"></el-button>
</div>
2 years ago
<div style="width:100%">
2 years ago
<xy-table
:list="patrol_list"
stripe
:isPage="false"
:table-item="patrol_table">
<template v-slot:btns>
2 years ago
<el-table-column align='center' fixed="right" label="操作" width="80" header-align="center">
2 years ago
<template slot-scope="scope">
<div>
<Poptip transfer confirm title="确认要删除吗?" @on-ok="delPatrolList(scope.$index)">
<Button type="primary" style='margin-right:5px;margin-bottom:5px;' size='small' ghost>删除</Button>
</Poptip>
</div>
</template>
</el-table-column>
</template>
</xy-table>
</div>
2 years ago
</div>
</div>
</template>
2 years ago
<template v-slot:ask_id v-if="type=='editor'">
2 years ago
<div class="xy-table-item">
2 years ago
<div class="xy-table-item-label" style="font-weight: bold;">
<span style="color: red;font-weight: 600;padding-right: 4px;">*</span>问题类型
2 years ago
</div>
<div class="xy-table-item-content">
2 years ago
<el-select v-model="form.ask_id" filterable clearable placeholder="请选择问题类型" style="width: 400px;">
<el-option v-for="item in askList" :key="item.id" :label="item.value" :value="item.id">
2 years ago
</el-option>
</el-select>
2 years ago
</div>
</div>
2 years ago
</template>
2 years ago
<template v-slot:ask_department v-if="type=='editor'">
2 years ago
<div class="xy-table-item">
<div class="xy-table-item-label">
<span style="color: red;font-weight: 600;padding-right: 4px;"></span>建议整改科室
</div>
<div class="xy-table-item-content">
<el-select @change="changeDepartment" v-model="form.ask_department" filterable allow-create clearable placeholder="请选择或输入建议整改科室" style="width: 400px;">
<el-option v-for="item in depList" :key="item.id" :label="item.name" :value="item.name">
</el-option>
</el-select>
<!-- <el-input v-model="form.ask_department" type='text' placeholder="请输入建议科室" clearable
style="width: 400px;"></el-input> -->
</div>
</div>
</template>
2 years ago
2 years ago
<template v-slot:showgroups v-if="showgroups"></template>
2 years ago
<template v-slot:ask_introduce v-if="type=='editor'">
2 years ago
<div class="xy-table-item">
<div class="xy-table-item-label" style="font-weight: bold;">
<span style="color: red;font-weight: 600;padding-right: 4px;">*</span>问题描述
</div>
<div class="xy-table-item-content">
<el-input v-model="form.ask_introduce" :rows='5' type='textarea' placeholder="请输入问题描述" clearable
style="width: 400px;"></el-input>
</div>
</div>
</template>
2 years ago
<template v-slot:tips v-if="type=='editor'">
2 years ago
<div class="xy-table-item">
<div class="xy-table-item-label">
<span style="color: red;font-weight: 600;padding-right: 4px;"></span>整改建议
</div>
<div class="xy-table-item-content">
<el-input v-model="form.tips" :rows='5' type='textarea' placeholder="请输入整改建议" clearable
style="width: 400px;"></el-input>
</div>
</div>
</template>
2 years ago
<template v-slot:file_ids v-if="type=='editor'">
2 years ago
<div class="xy-table-item">
<div class="xy-table-item-label">
2 years ago
<span style="color: red;font-weight: 600;padding-right: 4px;"></span>问题图片
2 years ago
</div>
<div class="xy-table-item-content">
<el-upload :action="action" class='upload-demo' list-type="picture-card" :file-list="pictureList"
ref="pictureUpload" style="width:600px" :auto-upload="true" :data="uploadOther"
:on-preview="handlePictureCardPreview" :on-success="handlesuccess" :on-remove="handleRemove">
<i class="el-icon-plus"></i>
</el-upload>
</div>
</div>
</template>
</xy-dialog>
<el-dialog :visible.sync="showPic">
<img width="100%" :src="showPicUrl" alt="">
</el-dialog>
<avue-input-map ref="maps" :params="mapparams" placeholder="请选择地图" v-model="mapform"></avue-input-map>
</div>
</template>
<script>
import {
Message
} from 'element-ui'
import {
getparameteritem
} from "@/api/system/dictionary.js";
import {
save,
2 years ago
get,
batchSave
2 years ago
} from "@/api/task/patrol.js";
import {
listunit
} from "@/api/task/unit.js";
import {
listaddress
} from '@/api/address'
import {
listdept
} from "@/api/system/department.js"
import {
listCommonuser
} from "@/api/common.js"
import {
getToken
} from '@/utils/auth'
export default {
components: {
},
data() {
return {
isShow: false,
type: 'add',
2 years ago
id: '',
mission_id:'',
2 years ago
hasMissionId:false,
uploadOther: {
token: ""
2 years ago
},
login_id:'',
2 years ago
department_id:'',
groupObj:{},
showgroups:false,
showCasc:true,
action: `${process.env.VUE_APP_BASE_API}api/admin/upload-file`,
pictureList: [],
showPic: false,
showPicUrl: '',
unitList: [],
siteList: [],
siteListArr: [],
2 years ago
askList: [],
2 years ago
depList:[],
mapparams: {
zoom: 11,
2 years ago
},
2 years ago
userdata:[],
mapform: [],
2 years ago
patrol_table:[
2 years ago
{
label:'问题描述',
prop:'ask_introduce',
width:180,
customFn:(row,scope)=>{
return(<el-input v-model={this.patrol_list[scope.$index].ask_introduce} type='textarea'
placeholder="请输入问题描述" clearable>
</el-input>)
}
},
{
label:'整改建议',
prop:'tips',
width:180,
customFn:(row,scope)=>{
return(<el-input v-model={this.patrol_list[scope.$index].tips} type='textarea'
placeholder="请输入整改建议" clearable>
</el-input>)
}
},
2 years ago
{
label:'问题类型',
prop:'ask_id',
width:180,
customFn:(row,scope)=>{
return(<el-select v-model={this.patrol_list[scope.$index].ask_id} filterable clearable placeholder="请选择问题类型">
{
this.askList.map(item=>{
return(
<el-option key={item.id} label={item.value} value={item.id}>
</el-option>
)
})
}
</el-select>)
}
},
2 years ago
{
label:'检查地点',
prop:'siteName',
width:240,
customFn:(row,scope)=>{
return(<div style="display:flex"><div>
{
this.patrol_list[scope.$index].showCasc? <el-cascader filterable ref="cascader1"
show-all-levels={false} v-model={this.patrol_list[scope.$index].siteName}
clearable options={this.siteList} props={{
'props':{'label':'name','value':'id'}
}}
placeholder="请选择检查地点" style="width: 120px;margin-right: 10px;"
on={{
["change"]: (e) => (this.changeSite(e,'add',scope.$index)),
}}></el-cascader> : <el-input v-model={this.patrol_list[scope.$index].siteName}
type='text' placeholder="请选择地图" clearable
style="width: 120px;margin-right: 10px;"
on={{
["focus"]: (e) => (this.$refs.maps.box = true),
}}></el-input>
}
</div><div>
{
this.patrol_list[scope.$index].showCasc? <el-button type="primary"
on={{
["click"]: (e) => (this.$refs.maps.box = true,this.mapClickIndex = scope.$index,this.patrol_list[scope.$index].showCasc=false,this.patrol_list[scope.$index].siteName=''),
}}>选择地图</el-button>
:<el-button type="primary"
on={{
["click"]: (e) => (this.patrol_list[scope.$index].showCasc=true,this.patrol_list[scope.$index].siteName=''),
}}>选择站点</el-button>
}
</div>
</div>)
}
},
2 years ago
{
label:'问题图片',
prop:'files',
minWidth:220,
customFn:(row,scope)=>{
let _this = this
return(<el-upload action={this.action} style={{'overflow-x':'scroll','overflow-y':'hidden'}} class='upload-demo' list-type="picture-card"
file-list={this.patrol_list[scope.$index].pictureList}
ref="pictureUpload" auto-upload={true} data={this.uploadOther}
props={
{
"on-success": (response, file, fileList) => this.handlesuccess(response, file, fileList,scope.$index),
["on-preview"]: (file) => this.handlePictureCardPreview(file),
["on-remove"]: (file, fileList) => this.handleRemove(file, fileList,scope.$index),
}
}>
<i class="el-icon-plus"></i>
</el-upload>)
}
},
2 years ago
{
label:'建议整改科室',
prop:'ask_department',
width:180,
customFn:(row,scope)=>{
return(<el-select
on={{
["change"]: (e) => (this.changeDepartment(e,scope.$index)),
}}
v-model={this.patrol_list[scope.$index].ask_department} filterable allow-create clearable placeholder="请选择或输入建议整改科室">
{
this.depList.map(item=>{
return(
<el-option key={item.id} label={item.name} value={item.name}>
</el-option>
)
})
}
</el-select>)
}
},
2 years ago
2 years ago
],
2 years ago
sitePlaceholder:'请选择站点',
mapClickIndex:0,
2 years ago
patrol_list:[{
2 years ago
showCasc:true,
2 years ago
ask_id:'',
site_id: '',
siteName: '',
address: '',
lat: '',
lon: '',
ask_department:'',
ask_introduce:'',
tips:'',
pictureList:[]
}],
2 years ago
form: {
mission_id: '',
2 years ago
date: '',
2 years ago
up_admin_id:"",
siteName: '',
2 years ago
groups:'',
showgroups:"",
2 years ago
patrol_list:[],
2 years ago
ask_id: '',
site_id: '',
address: '',
lat: '',
lon: '',
2 years ago
2 years ago
ask_department: '',
2 years ago
2 years ago
accept_department_ids:[],
ask_introduce: '',
tips: '',
file_ids: [],
},
rules: {
// mission_id: [{
// required: true,
// message: '请选择任务名称'
// }],
date: [{
required: true,
message: '请选择检查日期'
}],
2 years ago
// siteName: [{
// required: true,
// message: '请选择检查地点'
// }],
2 years ago
// ask_id: [{
// required: true,
// message: '请选择问题类型'
// }],
// ask_introduce: [{
// required: true,
// message: '请输入问题描述'
// }]
2 years ago
}
}
},
2 years ago
created() {
2 years ago
// document.getElementById('casc').click()
2 years ago
this.uploadOther.token = getToken();
2 years ago
this.loadDeptOptions()
this.getUnit()
this.getAddress()
this.getAsk()
// this.loadDeptOptions()
this.loadUser()
},
methods: {
// 获取 专项任务
changeMission(e){
console.log("e",e)
if(e){
this.getGroups(e)
}
},
changeUpAdmin(){
2 years ago
alert("123")
2 years ago
},
getGroups(e){
this.groupObj = {}
this.showgroups = false
this.unitList.map(item=>{
if(item.id==e){
if(item.groups&&item.groups.length>0){
let arr = {}
item.groups.map(g=>{
arr['name'] = g.name
if(g.details&&g.details.length>0){
if(g.type==2){
g.details.map(d=>{
if(d.id==this.department_id){
arr['details'] = g.details
}
})
}
if(g.type==1){
g.details.map(d=>{
if(d.id==this.login_id){
arr['details'] = g.details
}
})
}
}
})
console.log("arr",arr)
this.groupObj = arr
this.showgroups = true
}
}
})
},
2 years ago
async getUnit() {
const res = await getparameteritem('unitTypeList')
for(var k of res.detail){
if(k.remark=='检查'){
const res1 = await listunit({
page:1,
page_size:9999,
2 years ago
unit_type:k.id,
audit_status:1
2 years ago
})
this.unitList = res1.data
}
2 years ago
}
2 years ago
},
2 years ago
loadUser() {
listCommonuser({
page_size: 999
}).
then((res) => {
this.userdata = res.data?res.data.reverse():[];
}).catch(error => {
console.log(error)
})
},
loadDeptOptions() {
listdept().
then((res) => {
this.depList = res;
}).catch(error => {
console.log(error)
reject(error)
})
2 years ago
},
2 years ago
changeSite(e,type,index) {
2 years ago
if(e){
2 years ago
console.log("e",e)
if(type=='add'){
this.siteListArr.map(item => {
if (item.id == e[1]) {
this.patrol_list[index].site_id = item.id
this.patrol_list[index].address = item.address
this.patrol_list[index].lat = item.lat
this.patrol_list[index].lon = item.lon
}
})
}else{
this.siteListArr.map(item => {
if (item.id == e[1]) {
this.form.site_id = item.id
this.form.address = item.address
this.form.lat = item.lat
this.form.lon = item.lon
// this.form.siteName = item.name
}
})
}
2 years ago
}
2 years ago
},
2 years ago
changeDepartment(e,index){
2 years ago
console.log("eeee",e)
2 years ago
let arr = []
2 years ago
this.form.accept_department_ids = []
if(e){
this.depList.map(item=>{
if(e===item.name){
2 years ago
arr.push(item.id)
2 years ago
}
})
2 years ago
if(this.type==='add'){
this.patrol_list[index].accept_department_ids = arr
}else{
this.form.accept_department_ids = arr
}
2 years ago
}
2 years ago
},
async getAddress() {
const res = await listaddress({
page: 1,
page_size: 9999
})
2 years ago
this.siteListArr = res.data.reverse()
2 years ago
let arr = this.contactSite(res.data)
2 years ago
console.log("arr",arr)
2 years ago
this.siteList = arr
},
contactSite(arr) {
let tempArr = [],
newArr = []
for (let i = 0; i < arr.length; i++) {
if (tempArr.indexOf(arr[i].type) === -1) {
newArr.push({
2 years ago
id:arr[i].type,
2 years ago
type: arr[i].type,
name: arr[i]['type_detail']['value'],
children: [arr[i]]
})
tempArr.push(arr[i].type);
} else {
for (let j = 0; j < newArr.length; j++) {
if (newArr[j].type == arr[i].type) {
newArr[j].children.push(arr[i])
}
}
}
}
return newArr
},
async getAsk(label) {
const res = await getparameteritem('askList')
this.askList = res.detail
},
2 years ago
addPatrolList(){
this.patrol_list.push({
2 years ago
showCasc:true,
2 years ago
ask_id:'',
2 years ago
site_id: '',
siteName: '',
address: '',
lat: '',
lon: '',
2 years ago
ask_department:'',
ask_introduce:'',
tips:'',
pictureList:[]
})
},
delPatrolList(index){
this.patrol_list.splice(index,1)
},
handleRemove(file, fileList,index) {
if(this.type=='add'){
this.patrol_list[index].pictureList = fileList
}else{
this.pictureList = fileList
}
2 years ago
},
2 years ago
handlesuccess(response, file, fileList,index) {
console.log(response, file, fileList,index)
if(this.type=='add'){
this.patrol_list[index].pictureList = fileList
console.log("this.patrol_list",this.patrol_list)
}else{
this.pictureList = fileList
}
2 years ago
},
handlePictureCardPreview(file) {
this.showPicUrl = file.url;
this.showPic = true;
},
2 years ago
findParentElement(arr, childId) {
for (let i = 0; i < arr.length; i++) {
const element = arr[i];
if (element.children && element.children.some(child => child.id === childId)) {
return element;
}
}
return null; // 如果没有找到对应的父元素返回null
},
2 years ago
async getDetail() {
const res = await get(this.id)
this.form = {
mission_id: res?.mission_id,
2 years ago
date: res?.date,
2 years ago
up_admin_id:res?.up_admin_id,
2 years ago
site_id: res?.site_id,
siteName: res.site_id?[undefined,res.site_id]:res.address,
2 years ago
groups:'',
showgroups:"",
2 years ago
address: res?.address,
lat: res?.lat,
lon: res?.lon,
2 years ago
ask_id: res?.ask_id,
2 years ago
ask_department: res?.ask_department,
ask_introduce: res?.ask_introduce,
3 years ago
tips: res?.tips,
2 years ago
accept_department_ids:res.accept_department_ids?res.accept_department_ids:[],
file_ids: res?.file_ids,
2 years ago
patrol_list:[],
2 years ago
}
2 years ago
res.mission_id?this.getGroups(res.mission_id):''
2 years ago
this.sitePlaceholder = res.site_id?res.site.name:res.address
// if(res.site_id){
// this.showCasc = false
// let pArr = this.findParentElement(this.siteList,res.site_id)
// if(pArr){
// this.form.siteName = []
// this.form.siteName.push(pArr.id)
// this.form.siteName.push()
// this.$forceUpdate()
// }else{
// this.form.siteName = [undefined,res.site_id]
// }
// console.log("this.form.siteName",this.form.siteName)
// }else{
// this.form.siteName = res.address
// }
2 years ago
this.showCasc = res.site_id?true:false
2 years ago
// this.$refs.cascader.placeholder = res.site.name
// this.$forceUpdate()
// if(this.showCasc){
// console.log("this.form.siteName",this.form.siteName)
// // this.$refs['cascader'].checkedValue = this.form.siteName
// }
2 years ago
this.mapform = [res.lon, res.lat, res.address]
for (var f of res.files) {
this.pictureList.push({
id: f.id,
url: f.url,
name: f.original_name
})
}
2 years ago
this.$refs.cascader1.computePresentText()
2 years ago
// res.guide_upload ? this.guidePictureList.push(res.guide_upload) : ''
},
submit() {
2 years ago
console.log("this.patrol_list",this.patrol_list)
// return
2 years ago
let _files = []
if (this.pictureList.length > 0) {
for (var h of this.pictureList) {
if (h.response) {
_files.push(h.response.id)
} else {
_files.push(h.id)
}
}
this.form.file_ids = _files
} else {
this.form.file_ids = []
}
if (this.type === 'add') {
2 years ago
this.patrol_list.map(item=>{
let _files = []
item.pictureList.map(p=>{
if (p.response) {
_files.push(p.response.id)
} else {
_files.push(p.id)
}
})
item.file_ids = _files
})
let baseForm = {
mission_id:this.form.mission_id,
date:this.form.date,
up_admin_id:this.form.up_admin_id,
2 years ago
batch:this.patrol_list,
2 years ago
// site_id: this.form.site_id,
// address: this.form.address,
// lat: this.form.lat,
// lon: this.form.lon,
2 years ago
}
console.log("baseForm",baseForm)
// return
batchSave({
...baseForm
2 years ago
}).then(res => {
Message({
type: 'success',
message: '新增检查成功'
})
this.isShow = false
this.$emit('refresh')
})
return
}
if (this.type === 'editor') {
save({
id: this.id,
...this.form
}).then(res => {
Message({
type: 'success',
message: '编辑检查成功'
})
this.isShow = false
this.$emit('refresh')
})
}
},
},
watch: {
isShow(newVal) {
if (newVal) {
2 years ago
console.log("this.type",this.type)
2 years ago
if (this.type === 'editor') {
this.getDetail()
}
2 years ago
if (this.type === 'add') {
2 years ago
this.form.up_admin_id = this.login_id
// for (var k of this.unitList) {
// if (k.name == '日常巡查') {
// this.form.mission_id = k.id
// }
// }
}
} else {
this.id = ''
2 years ago
this.type='add'
2 years ago
this.login_id = ''
this.department_id = ''
this.groupObj = {}
this.showgroups = false
this.pictureList = []
2 years ago
this.patrol_list = []
2 years ago
this.mission_id = ''
2 years ago
this.mapform = []
2 years ago
this.showCasc = true
2 years ago
this.mapClickIndex = 0
2 years ago
this.hasMissionId = false
this.$refs['dialog'].reset()
}
},
mission_id(newval) {
if (newval) {
this.form.mission_id = newval
this.hasMissionId = true
this.getGroups(newval)
}
},
mapform(newVal, oldVal) {
2 years ago
console.log("点击地图了z",this.mapClickIndex)
if(this.showCasc && this.type==='add'){
console.log("点击地图了",this.mapClickIndex)
this.patrol_list[this.mapClickIndex].lon = newVal[0];
this.patrol_list[this.mapClickIndex].lat = newVal[1];
this.patrol_list[this.mapClickIndex].address = newVal[2];
this.patrol_list[this.mapClickIndex].siteName = newVal[2]
this.patrol_list[this.mapClickIndex].site_id = ''
return
}
2 years ago
this.form.lon = newVal[0];
this.form.lat = newVal[1];
this.form.address = newVal[2];
2 years ago
this.form.siteName = newVal[2]
2 years ago
this.form.site_id = ''
2 years ago
}
}
}
</script>
<style scoped lang="scss">
// .xy-table-item-label {
// width: 160px;
// }
2 years ago
::v-deep .patrol_list {
flex-basis: 100%;
2 years ago
width: 100%;
2 years ago
}
::v-deep .avue-input-map {
display: none;
}
::v-deep .site_id,
::v-deep .address,
::v-deep .lat,
2 years ago
::v-deep .lon,
::v-deep .accept_department_ids
2 years ago
{
display: none;
}
.img__delete {
transform: scale(0.8, 0.8);
position: absolute;
top: 4px;
right: 4px;
}
::v-deep .avatar-uploader .el-upload {
border: 1px dashed #d9d9d9;
border-radius: 6px;
cursor: pointer;
position: relative;
overflow: hidden;
}
::v-deep .avatar-uploader .el-upload:hover {
border-color: #409EFF;
}
::v-deep .el-upload--picture-card {
font-size: 28px;
color: #8c939d;
width: 146px !important;
height: 146px !important;
line-height: 146px !important;
text-align: center;
}
::v-deep .avatar-uploader-icon {
font-size: 28px;
color: #8c939d;
width: 146px !important;
height: 146px !important;
line-height: 146px !important;
text-align: center;
}
::v-deep .avatar {
width: 80px !important;
display: block;
border-radius: 6px;
}
// ::v-deep .xy-table-item-label {
// width: 160px !important;
// }
::v-deep .el-date-editor .el-range-separator {
width: auto !important;
}
::v-deep .el-input-number .el-input__inner {
text-align: left !important;
}
.searchCompanys {
display: flex;
justify-content: space-between;
margin-bottom: 16px;
.el-input {
width: 80%
}
}
3 years ago
</style>