123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904 |
- <template>
- <div class="notification">
- <div class="notificationBtn">
- <div class="collectSeach" :style="$utils.collectSeachSty()">
- <div class="PeriodBtn">
- <btns
- :showImport="false"
- :showExport="false"
- :showRelease="true"
- :showCancelRelease="true"
- :addName="'新建通告'"
- :disSave="changeDateSelect.length === 0 || changeDateSelect.length>1"
- :disDelete="changeDateSelect.length === 0"
- :disImport="false"
- :disExport="false"
- @handleAdd="handleAdd"
- @handleEdit="handleEdit"
- @handleDelete="handleDelete"
- @handleRelease="handleRelease"
- @handleCancelRelease="handleCancelRelease"
- ></btns>
- </div>
- <div style="display: flex;">
- <div class="exceed">
- <!-- <span class="exceedSpan">通告标题:</span> -->
- <el-input v-model="noticeTitle" placeholder="请输入通告标题"></el-input>
- </div>
- <seachs :showRest="false" @handleSeach="getSeachData" @handleRest="resetSeach"></seachs>
- </div>
- </div>
-
- <div class="notificationTableData">
- <el-table :data="notificationData" style="width: 100%" @select="rowClick" @select-all="rowClick" :class="notificationTableSty()">
- <el-table-column type="selection" label="操作" align="center"></el-table-column>
- <!-- <el-table-column label="序号" prop="serialNumber" align="center" width="80"></el-table-column> -->
- <el-table-column label="发布状态" prop="releaseState" width="100" align="center">
- <template #default="scope">
- <span class="statusSty"
- :style="scope.row.releaseState === '已发布'?'background:#61C760':scope.row.releaseState === '未发布'?'background:#5093E1':'background:#9DA5BE'">
- {{scope.row.releaseState}}
- </span>
- </template>
- </el-table-column>
- <el-table-column label="通告标题" width="200">
- <template #default="scope">
- <el-tooltip
- class="box-item"
- effect="customized"
- :content="scope.row.noticeTitle"
- placement="right"
- >
- <span class="tooltipCCDes">{{scope.row.noticeTitle}}</span>
- </el-tooltip>
- </template>
- </el-table-column>
- <el-table-column label="通告内容" width="400">
- <template #default="scope">
- <el-tooltip
- class="box-item"
- effect="customized"
- :content="scope.row.noticeContent"
- placement="right"
- >
- <span class="tooltipCC">{{scope.row.noticeContent}}</span>
- </el-tooltip>
- </template>
- </el-table-column>
- <el-table-column label="发布部门" prop="releaseDeptName" width="200" />
- <el-table-column label="发布至" prop="sendTo" />
- <el-table-column label="发布人" prop="releasePeopleName" />
- <el-table-column label="发布时间" prop="createTime" />
- <el-table-column label="发布" width="80" align="center">
- <template #default="scope">
- <img :src="cancelW" style="cursor:pointer" v-if="scope.row.releaseState === '已发布'" @click="changeStatus(scope.row, '未发布')">
- <img :src="fabuW" style="cursor:pointer" v-else @click="changeStatus(scope.row, '已发布')">
- </template>
- </el-table-column>
- <el-table-column label="修改" width="80" align="center">
- <template #default="scope">
- <img :src="editW" style="cursor:pointer" @click="handleEdit(scope.row)">
- </template>
- </el-table-column>
- <el-table-column label="删除" width="80" align="center">
- <template #default="scope">
- <img :src="deleteW" style="cursor:pointer" @click="handleDelete(scope.row)">
- </template>
- </el-table-column>
- </el-table>
- <el-pagination
- @size-change="handleSizeChange"
- @current-change="handleCurrentChange"
- :current-page="page.currentPage"
- :page-size="page.pagesize"
- layout="total, prev, pager, next, jumper"
- :total="page.total">
- </el-pagination>
- </div>
- <el-dialog :title="title" custom-class="startToDia" v-model="dialogVisible" width="900px" :close-on-click-modal="false">
- <div class="notifcaFrom">
- <el-form :model="ruleForm" :rules="rules" ref="ruleForm" label-width="100px" class="demo-ruleForm" :validate-on-rule-change="false">
- <el-form-item label="公告标题" prop="noticeTitle">
- <el-input v-model="ruleForm.noticeTitle" :disabled="isDisable" placeholder="请输入公告标题" />
- </el-form-item>
- <el-form-item label="公告内容" prop="noticeContent">
- <!-- <pre v-if="isSave">{{ruleForm.noticeContent}}</pre> -->
- <el-input v-model="ruleForm.noticeContent" :disabled="isDisable"
- type="textarea" :rows="10" placeholder="请输入公告内容"></el-input>
-
- </el-form-item>
- <el-form-item label="发布对象" prop="sendTo">
- <el-select v-model="ruleForm.sendTo" :disabled="isDisable" placeholder="请选择发布对象">
- <el-option
- v-for="item in sendToData"
- :key="item.value"
- :label="item.label"
- :value="item.value">
- </el-option>
- </el-select>
- </el-form-item>
- <el-row>
- <el-col :span="12" v-if="ruleForm.sendTo === '个别部门'">
- <el-form-item label="个别部门" prop="sendToContent">
- <el-select v-model="ruleForm.sendToContent" :disabled="isDisable" multiple collapse-tags placeholder="请选择部门">
- <el-option
- v-for="item in departData"
- :key="item.id"
- :label="item.name"
- :value="item.id">
- </el-option>
- </el-select>
- </el-form-item>
- </el-col>
- <el-col :span="12">
- <el-form-item label="排序">
- <el-input-number v-model="ruleForm.serialNumber" :disabled="isDisable" :min="1" />
- </el-form-item>
- </el-col>
- </el-row>
- <el-form-item label="">
- <div class="uploadFiles">
- <el-upload
- :file-list="filesList"
- multiple
- limit="3"
- :auto-upload="false"
- :show-file-list="false"
- >
- <el-button
- color="#3B7AD1"
- size="mini"
- :disabled="isDisable"
- >
- <img :src="fileW" style="margin-right: 10px">
- <span>添加附件</span>
- </el-button>
- <template #tip>
- <div class="el-upload__tip">
- 最多上传3个文件
- </div>
- </template>
- </el-upload>
- </div>
- </el-form-item>
- <el-form-item label="">
- <div class="fliesHeader">
- <span>附件名</span>
- <span>发送单位</span>
- <span>操作</span>
- </div>
- <div v-if="!isSave" style="width: 100%">
- <div v-for="it in filesList" :key="it.uid">
- <div class="fliesMain">
- <div>
- <img :src="file" style="margin-right: 10px" >
- <span class="fliesMainSpan spanOne">{{it.name}}</span>
- </div>
- <span class="fliesMainSpan spanTwo">{{userMes.unitName}}</span>
- <!-- <span class="fliesMainSpan spanTwo">测试</span> -->
- <div class="removeDiv">
- <!-- <div @click="previewFile(it)" style="cursor:pointer">
- <img :src="yulan" style="margin-right: 10px;" >
- <span>预览</span>
- </div> -->
- <div @click="removeFile(it)" style="cursor:pointer">
- <img :src="fileDelete" class="removeImg">
- <span>删除</span>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div v-else>
- <div v-for="it in filesList" :key="it.uid">
- <div class="fliesMain">
- <div>
- <img :src="file" style="margin-right: 10px" >
- <span class="fliesMainSpan spanOne">{{it.name}}</span>
- </div>
- <span class="fliesMainSpan spanTwo">{{it.releaseDeptName}}</span>
- <div class="removeDiv">
- <!-- <div @click="previewFile(it)" style="cursor:pointer">
- <img :src="yulan" style="margin-right: 10px;" >
- <span>预览</span>
- </div> -->
- <div @click="removeFile(it)" style="cursor:pointer">
- <img :src="fileDelete" class="removeImg">
- <span>删除</span>
- </div>
- </div>
- </div>
- </div>
- <div v-for="it in filesListEdit" :key="it">
- <div class="fliesMain">
- <div>
- <img :src="file" style="margin-right: 10px" >
- <span class="fliesMainSpan spanOne">{{it}}</span>
- </div>
- <span class="fliesMainSpan spanTwo">{{it.releaseDeptName}}</span>
- <div class="fileOperate">
- <div @click="previewFile(it)" style="cursor:pointer">
- <img :src="yulan" style="margin-right: 10px;" >
- <span>预览</span>
- </div>
- <div @click="removeFileFn(it)" style="cursor:pointer">
- <img :src="fileDelete" class="removeImg">
- <span>删除</span>
- </div>
- </div>
- </div>
- </div>
- </div>
- </el-form-item>
- </el-form>
- </div>
- <template #footer>
- <span class="notificationFooter">
- <el-button type="primary" size="mini" @click="saveevaluaStart('ruleForm', '发布')">
- <img :src="release" style="margin-right: 10px">
- <span>发布公告</span>
- </el-button>
- <el-button type="warning" size="mini" @click="saveevaluaStart('ruleForm', '草稿')">
- <img :src="draft" style="margin-right: 10px">
- <span>保存草稿</span>
- </el-button>
- <!-- <el-button @click="saveevaluaStart('ruleForm', '取消')">取 消</el-button> -->
- </span>
- </template>
- </el-dialog>
- <el-dialog title="预览" v-model="filesVisible" :fullscreen="true" :close-on-click-modal="false">
- <!-- <div v-html="filesConcent"></div> -->
- <iframe src="file:///C:/fakepath/数据导出 (29).xlsx" frameborder="0" width="100%" height="100%"></iframe>
- </el-dialog>
- </div>
- </div>
- </template>
- <script>
- import btns from '../elbuttonS.vue'
- import seachs from '../seachGroup.vue'
- import fabuW from '../../assets/btnIcon/fabuW.png'
- import cancelW from '../../assets/btnIcon/cancelW.png'
- import editW from '../../assets/btnIcon/edit.png'
- import deleteW from '../../assets/btnIcon/delete.png'
- import fileW from '../../assets/btnIcon/fileW.png'
- import file from '../../assets/btnIcon/file.png'
- import yulan from '../../assets/btnIcon/yulan.png'
- import fileDelete from '../../assets/btnIcon/fileDelete.png'
- import draft from '../../assets/btnIcon/draft.png'
- import release from '../../assets/btnIcon/release.png'
- import {apiGetevaluationdeptnoticeList, apiGetevaluationdeptnoticeSave,apievaluationdeptnoticeDelete,apiGetuploadAttachment,
- apiGetorganizationstructureFromTree, apiPostevaluationdeptnoticeDelete, apiPostevaluationdeptnoticeModifiedState,
- apiGetevaluationdeptnoticeFilePreview} from '../../api/api'
- export default {
- components: {
- btns,
- seachs
- },
- data() {
- return {
- winPix: window.devicePixelRatio,
- innerWidth: window.innerWidth,
- dialogVisible: false,
- filesVisible: false,
- isSave: false,
- isDisable: false,
- title: '',
- evalradio: {},
- changeDateSelect: [],
- notificationData:[],
- filesData: [],
- departData: [],
- sendToData: [],
- fabuW: fabuW,
- cancelW: cancelW,
- editW: editW,
- deleteW: deleteW,
- draft: draft,
- release: release,
- fileW: fileW,
- file: file,
- yulan: yulan,
- fileDelete: fileDelete,
- page:{
- pagesize: 12,
- currentPage: 1,
- total: 0
- },
- ruleForm: {
- serialNumber: 1,
- noticeTitle: '',
- noticeContent: '',
- sendTo: '',
- sendToContent: [],
- releaseDept: '',
- releasePeople: '',
- },
- filesList: [],
- filesListEdit: [],
- filesConcent: '',
- filesUrl: '',
- rules: {
- noticeTitle: [
- { required: true, message: '请输入通告标题', trigger: 'blur' }
- ],
- noticeContent: [
- { required: true, message: '请输入通告内容', trigger: 'blur' }
- ],
- sendTo: [
- { required: true, message: '请选择通告对象', trigger: 'change' }
- ],
- sendToContent: [
- { required: true, message: '请选择个别部门', trigger: 'change' }
- ]
- },
- noticeTitle: '',
- userMes: {},
- headers: { "Content-Type": "multipart/form-data" },
- fileType: [ "pdf", "doc", "docx", "xls", "xlsx","txt","png","jpg", "bmp", "jpeg"]
- }
- },
- created() {
- this.userMes = JSON.parse(window.sessionStorage.getItem('user'))
- this.sendToData = [
- {
- label: '所有单位',
- value: '所有单位'
- },
- {
- label: '本部部门',
- value: '本部部门'
- },
- {
- label: '个别部门',
- value: '个别部门'
- }
- ]
- this.getevalunotificationList()
- this.getDepartmentFromTreeData()
- },
- methods:{
- // 查询列表页面
- getevalunotificationList() {
- let that = this
- let params = {
- pageNum: that.page.currentPage,
- pageSize: that.page.pagesize,
- noticeTitle: that.noticeTitle
- }
- apiGetevaluationdeptnoticeList(params).then(datas =>{
- if (datas && datas.data) {
- that.notificationData = datas.data.records
- that.page.total = datas.data.total
- }
- })
- },
- // 查询部门
- getDepartmentFromTreeData() {
- let that = this
- let params = {
- id: '23031001',
- num: 1,
- type: 140
- }
- apiGetorganizationstructureFromTree(params).then(datas =>{
- if (datas && datas.data) {
- that.departData = datas.data[0].children
- }
- })
- },
- notificationTableSty() {
- if (this.winPix === 1.25 || this.innerWidth < 1800) {
- return 'notification125Table'
- } else {
- return 'notification100Table'
- }
- },
- notificationFn() {
- if (this.notificationData.length>0) {
- notificationData.slice((page.currentPage-1)*page.pagesize, page.currentPage*page.pagesize)
- }
- },
- //修改状态
- changeStatus(row, type) {
- let that = this
- let params = {
- ids: row.id,
- releaseState: type
- }
- apiPostevaluationdeptnoticeModifiedState(params).then(datas =>{
- if (datas.success) {
- that.getevalunotificationList()
- }
- })
- },
- handleRelease() {
- this.changeDataRelease('已发布')
- },
- handleCancelRelease() {
- this.changeDataRelease('未发布')
- },
- //多个数据发布或取消发布
- changeDataRelease(type) {
- let that = this
- let idsArr = []
- that.changeDateSelect.forEach(item =>{
- idsArr.push(item.id)
- })
- let params = {
- ids: idsArr.join(','),
- releaseState: type
- }
- apiPostevaluationdeptnoticeModifiedState(params).then(datas =>{
- if (datas.success) {
- that.getevalunotificationList()
- }
- })
- },
- saveevaluaStart(formName, type) {
- let that = this
- that.$refs[formName].validate((valid) => {
- if (valid) {
- that.saveAndEditnotificationData(type)
- }
- });
- },
- //新增/修改考评启动数据
- saveAndEditnotificationData(type) {
- let that = this
- let params = {
- serialNumber: that.ruleForm.serialNumber,
- noticeTitle: that.ruleForm.noticeTitle,
- noticeContent: that.ruleForm.noticeContent,
- sendTo: that.ruleForm.sendTo,
- sendToContent: that.ruleForm.sendToContent.join(','),
- releaseState: type === '草稿'? '草稿': type === '发布'?'已发布':'未发布',
- releaseDept: that.userMes.deptId,
- releaseDeptName: that.userMes.deptName,
- releasePeople: that.userMes.id,
- releasePeopleName: that.userMes.name
- }
- if (type === '发布') {
- params.releaseDate = new Date()
- }
- if (that.isSave) {
- params.id = that.evalradio.id
- }
- // formData.append('deptNames', 'deptNames')
- apiGetevaluationdeptnoticeSave(params).then(datas =>{
- if (!datas.success) {
- that.$message({
- message: datas.message,
- type: 'error'
- });
- } else {
- const formData = new FormData()
- if (that.filesList.length>0) {
- that.filesList.forEach(item =>{
- formData.append('files', item.raw)
- })
- apiGetuploadAttachment({id: datas.data}, formData).then(request =>{
- if (request.success) {
- if (!that.isSave) {
- that.$message({
- message: '通告新增成功',
- type: 'success'
- });
- } else {
- that.$message({
- message: '通告修改成功',
- type: 'success'
- });
- }
- that.dialogVisible = false
- that.changeDateSelect = []
- that.getevalunotificationList()
- }
- })
- } else {
- if (!that.isSave) {
- that.$message({
- message: '通告新增成功',
- type: 'success'
- });
- } else {
- that.$message({
- message: '通告修改成功',
- type: 'success'
- });
- }
- that.dialogVisible = false
- that.changeDateSelect = []
- that.getevalunotificationList()
- }
- }
- })
- },
- getSeachData() {
- this.page.currentPage = 1
- this.getevalunotificationList()
- },
- resetSeach() {
- this.page.currentPage = 1
- this.noticeTitle = ''
- this.getevalunotificationList()
- },
- handleSizeChange(val){
- this.page.pagesize = val
- this.getevalunotificationList()
- },
- handleCurrentChange(val){
- this.page.currentPage =val
- this.getevalunotificationList()
- },
- rowClick(selection, row) {
- this.changeDateSelect = selection
- },
- handleAdd() {
- this.dialogVisible = true
- this.isSave = false
- this.isDisable = false
- this.title = '公告发布'
- this.$nextTick(() =>{
- this.$refs['ruleForm'].resetFields()
- this.filesList = []
- this.ruleForm = {
- serialNumber: 1,
- noticeTitle: '',
- noticeContent: '',
- sendTo: '',
- sendToContent: [],
- releaseDept: '',
- releasePeople: ''
- }
- })
- },
- handleEdit(row) {
- this.dialogVisible = true
- this.isSave = true
- this.isDisable = false
- this.title = '公告发布'
- this.filesList = []
- this.filesListEdit = []
- if (row) {
- this.evalradio = row
- } else {
- this.evalradio = this.changeDateSelect[0]
- }
- if (this.evalradio.releaseState === '已发布') {
- this.isDisable = true
- }
- // let conStr = ''
- // for(let i in this.evalradio.noticeContent) {
- // let it = this.evalradio.noticeContent[i]
- // if (it === ' ' && i !== 0 && this.evalradio.noticeContent[i-1] !== ' ') {
- // it = it+'\n'
- // }
- // conStr += it
- // }
- this.ruleForm = {
- serialNumber: this.evalradio.serialNumber*1,
- noticeTitle: this.evalradio.noticeTitle,
- noticeContent: this.evalradio.noticeContent,
- sendTo: this.evalradio.sendTo,
- sendToContent: this.evalradio.sendToContent.split(','),
- releaseDept: this.evalradio.releaseDept,
- releasePeople: this.evalradio.releasePeople
- }
- if (this.evalradio.noticeAnnex !== '') {
- let filesArr = this.evalradio.noticeAnnex.split(',')
- this.filesListEdit = filesArr
- }
- // filesArr.forEach(item =>{
- // let str = item.substring(item.lastIndexOf('/')+1, item.length)
- // this.filesListEdit.push(str)
- // })
- },
- //删除
- handleDelete(row) {
- this.$confirm('此操作将永久删除该数据, 是否继续?', '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning'
- }).then(() => {
- let that = this
- let paramsStr = ''
- if (row) {
- paramsStr = row.id
- } else {
- let paramsArr = []
- that.changeDateSelect.forEach(it =>{
- paramsArr.push(it.id)
- })
- paramsStr = paramsArr.join(',')
- }
- apiPostevaluationdeptnoticeDelete(paramsStr).then(datas =>{
- that.$message({
- type: 'success',
- message: '删除成功!'
- });
- that.getevalunotificationList()
- that.changeDateSelect = []
- })
- })
- },
- //上传文件之前验证文件类型和大小
- beforeUpload(file) {
- // this.ruleForm.files = []
- if (file.type != "" || file.type != null || file.type != undefined){
- //截取文件的后缀,判断文件类型
- const FileExt = file.name.replace(/.+\./, "").toLowerCase();
- //计算文件的大小
- const isLt5M = file.size / 1024 / 1024 < 5; //这里做文件大小限制
- //如果大于5M
- if (!isLt5M) {
- this.$message({
- message: '上传文件大小不能超过 5MB!',
- type: 'info'
- });
- return false;
- }
- //如果文件类型不在允许上传的范围内
- if(this.fileType.includes(FileExt)){
- return true;
- }
- else {
- this.$message.error("上传文件格式不正确!");
- return false;
- }
- }
- },
- previewFile(it) {
- // this.filesVisible = true
- let params = {
- url: it
- }
- apiGetevaluationdeptnoticeFilePreview(params).then(datas =>{
- if (datas) {
- // const blob = new Blob([datas], {type: 'application/pdf'})
- // const url = URL.createObjectURL(blob)
- // window.open(url)
- // console.log('files', datas)
- window.open(datas.data, 'target')
- }
- })
- },
- //移除文件
- removeFile(item) {
- for (var i in this.filesList) {
- if (item.name == this.filesList[i].name) {
- this.filesList.splice(i, 1)
- }
- }
- },
- removeFileFn(item) {
- this.$confirm('此操作将永久删除该数据, 是否继续?', '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning'
- }).then(() => {
- let that = this
- let params = {
- id: that.evalradio.id,
- noticeAnnex: item
- }
- apievaluationdeptnoticeDelete(params).then(datas =>{
- if (datas.success) {
- that.filesListEdit.forEach((it, index) =>{
- if (it === item) {
- that.filesListEdit.splice(index, 1)
- }
- })
- } else {
- this.$message({
- message: datas.message,
- type: 'error'
- });
- }
- })
- })
- }
- }
- }
- </script>
- <style lang="less">
- .notification{
- .notificationBtn{
- .collectSeach{
- display: flex;
- padding: 24px 20px 24px 0;
- border-bottom: 1px solid#D6DBEA;
- justify-content: space-between;
- .exceed{
- display: flex;
- .exceedSpan{
- width: 100px;
- height: 12px;
- font-size: 14px;
- font-family: Microsoft YaHei;
- font-weight: 400;
- color: #8991B0;
- line-height: 12px;
- margin-top: 14px;
- }
- .el-input{
- margin-right:10px;
- height: 40px;
- .el-input__inner{
- height:40px;
- }
- .el-input__suffix{
- .el-select__caret{
- line-height:30px;
- }
- }
- }
- }
- .el-select{
- margin-right:10px;
- .el-input__inner{
- height:30px;
- }
- .el-input__suffix{
- .el-select__caret{
- line-height:30px;
- }
- }
- }
- }
- span{
- font-size:14px;
- }
- .PeriodBtn{
- display: flex;
- justify-content: flex-end;
- }
- .el-button{
- height: 30px;
- // width:100px;
- padding: 0 20px ;
- // padding-top: 8px;
- span{
- margin:0;
- }
- }
- .notificationTableData{
- margin-top: 20px;
- .notification125Table{
- .el-table__body-wrapper{
- height: 60vh !important;
- }
- }
- .notification100Table{
- .el-table__body-wrapper{
- height: 65vh !important;
- }
- }
- .el-table{
- .el-input__inner{
- height: 30px !important;
- }
- .el-radio__label{
- display: none;
- }
- .statusSty{
- width: 52px;
- height: 21px;
- line-height: 21px;
- display: inline-block;
- border-radius: 3px;
- color: #fff;
- }
- .tooltipCC{
- width: 300px !important;
- display: inline-block;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .tooltipCCDes{
- width: 200px;
- display: inline-block;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .indicitem{
- color: #409EFF;
- font-size: 12px;
- margin-right: 20px;
- cursor:pointer;
- &:hover{
- text-decoration: underline;
- }
- }
- }
- .el-pagination{
- margin-top: 20px;
- text-align: end;
- position: relative;
- }
- }
- .el-overlay{
- .startToDia{
- margin-top: 3vh;
- background: #EDEFF5;
- .el-dialog__body{
- padding: 30px 60px 30px 20px !important;
- .notifcaFrom{
- .el-select, .el-input{
- width: 100%;
- }
- .el-input{
- height: 30px;
- }
- .uploadFiles{
- .el-button{
- height: 25px !important;
- }
- }
- .fliesHeader{
- width: 100%;
- display: flex;
- justify-content: space-around;
- }
- .fliesMain{
- width: 100%;
- display: flex;
- .fliesMainSpan{
- display: inline-block;
- width: 260px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .spanOne{
- color: #1063CB;
- }
- .spanTwo{
- text-align: center;
- }
- .fileOperate{
- width: 160px;
- display: flex;
- justify-content: space-around;
- .removeImg{
- margin-right: 10px;
- position: relative;
- top: 2px;
- }
- }
- .removeDiv{
- width: 160px;
- .removeImg{
- margin: 0 10px 0 20px;
- position: relative;
- top: 3px;
- }
- }
- }
- }
- .flowSty{
- width: 100%;
- height: 70vh;
- }
- }
- .el-dialog__footer{
- background: #fff;
- border-radius: 0 0 10px 10px;
- text-align: left;
- padding-top: 20px !important;
- .notificationFooter{
- margin-left: 20px;
- .el-button{
- height: 40px !important;
- }
- }
- }
- }
- }
- }
-
- }
- </style>
|