From f0a91fe8ef91e96705b94750c101f33f4137b8f3 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 15 四月 2025 13:49:59 +0800
Subject: [PATCH] 下单互调单位可编辑
---
src/components/do/a8-file-handling/DistributionCollectionRecord.vue | 383 ++++++++++++++++++++++++++----------------------------
1 files changed, 183 insertions(+), 200 deletions(-)
diff --git a/src/components/do/a8-file-handling/DistributionCollectionRecord.vue b/src/components/do/a8-file-handling/DistributionCollectionRecord.vue
index b7b9d78..f6a93c6 100644
--- a/src/components/do/a8-file-handling/DistributionCollectionRecord.vue
+++ b/src/components/do/a8-file-handling/DistributionCollectionRecord.vue
@@ -4,8 +4,8 @@
<div class="search">
<div class="search_thing">
<div class="search_label">鏂囦欢缂栧彿锛�</div>
- <div class="search_input"><el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="componentData.entity.documentCode"
- @keyup.enter.native="refreshTable()"></el-input></div>
+ <div class="search_input"><el-input size="small" placeholder="璇疯緭鍏�" clearable
+ v-model="componentData.entity.documentCode" @keyup.enter.native="refreshTable()"></el-input></div>
</div>
<div class="search_thing">
<div class="search_label">鏂囦欢鍚嶇О锛�</div>
@@ -17,44 +17,36 @@
<el-button size="small" type="primary" @click="refreshTable()">鏌� 璇�</el-button>
</div>
<div class="btns" style="padding-left: 30px;">
- <el-button size="small" type="primary" @click="addDialogVisible=true,addInfo={},radio='鍙戞斁'" v-if="addPower">娣诲姞鍙戞斁璁板綍</el-button>
+ <el-button size="small" type="primary" @click="addDialogVisible = true, addInfo = {}, radio = '鍙戞斁'"
+ v-if="addPower">娣诲姞鍙戞斁璁板綍</el-button>
<el-button size="small" type="primary" v-if="outPower" @click="handleOut" :loading="outLoading">瀵煎嚭</el-button>
</div>
</div>
<div class="table">
<ValueTable ref="ValueTable" :url="$api.manageDocumentList.pageManageDocumentIssueRecycle"
- :componentData="componentData" :delUrl="$api.manageDocumentList.delManageDocumentIssueRecycle" :key="upIndex"/>
+ :componentData="componentData" :delUrl="$api.manageDocumentList.delManageDocumentIssueRecycle" :key="upIndex" />
</div>
- <el-dialog
- :title="'娣诲姞'+radio+'璁板綍'"
- :visible.sync="addDialogVisible"
- width="800px" top="10vh">
+ <el-dialog :title="'娣诲姞' + radio + '璁板綍'" :visible.sync="addDialogVisible" width="800px" top="10vh">
<el-row>
<el-col :span="12" style="margin-bottom: 16px;">
<div class="search_thing">
<div class="search_label"><span style="color:red;margin-right: 4px;">*</span>鐢宠缂栧彿锛�</div>
<div class="search_input">
- <el-select v-model="addInfo.documentCode" size="small" style="width: 100%;" @change="changeFileList" :disabled="radio=='鍥炴敹'" filterable allow-create clearable>
- <el-option
- v-for="item in fileList"
- :key="item.documentCode"
- :label="item.documentCode"
+ <el-select v-model="addInfo.documentCode" size="small" style="width: 100%;" @change="changeFileList"
+ :disabled="radio == '鍥炴敹'" filterable allow-create clearable>
+ <el-option v-for="item in fileList" :key="item.documentCode" :label="item.documentCode"
:value="item.documentCode">
</el-option>
</el-select>
</div>
</div>
</el-col>
- <el-col :span="12" style="margin-bottom: 16px;" v-if="radio=='鍙戞斁'">
+ <el-col :span="12" style="margin-bottom: 16px;" v-if="radio == '鍙戞斁'">
<div class="search_thing">
<div class="search_label"><span style="color:red;margin-right: 4px;">*</span>鍙戞斁浜猴細</div>
<div class="search_input">
<el-select v-model="addInfo.issueUser" size="small" style="width: 100%;" filterable>
- <el-option
- v-for="item in personList"
- :key="item.value"
- :label="item.label"
- :value="item.value">
+ <el-option v-for="item in personList" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
</div>
@@ -65,11 +57,7 @@
<div class="search_label"><span style="color:red;margin-right: 4px;">*</span>鍥炴敹浜猴細</div>
<div class="search_input">
<el-select v-model="addInfo.recycleUser" size="small" style="width: 100%;" filterable>
- <el-option
- v-for="item in personList"
- :key="item.value"
- :label="item.label"
- :value="item.value">
+ <el-option v-for="item in personList" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
</div>
@@ -79,12 +67,9 @@
<div class="search_thing">
<div class="search_label"><span style="color:red;margin-right: 4px;">*</span>瀹℃壒浜猴細</div>
<div class="search_input">
- <el-select v-model="addInfo.receiveUser" size="small" style="width: 100%;" :disabled="radio!='鍙戞斁'" filterable>
- <el-option
- v-for="item in personList"
- :key="item.value"
- :label="item.label"
- :value="item.value">
+ <el-select v-model="addInfo.receiveUser" size="small" style="width: 100%;" :disabled="radio != '鍙戞斁'"
+ filterable>
+ <el-option v-for="item in personList" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</el-select>
</div>
@@ -93,48 +78,48 @@
<el-col :span="12" style="margin-bottom: 16px;">
<div class="search_thing">
<div class="search_label">鏂囦欢鍚嶇О锛�</div>
- <div class="search_input"><el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="addInfo.name" :disabled="radio=='鍥炴敹'"></el-input></div>
+ <div class="search_input"><el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="addInfo.name"
+ :disabled="radio == '鍥炴敹'"></el-input></div>
</div>
</el-col>
<el-col :span="12" style="margin-bottom: 16px;">
<div class="search_thing">
<div class="search_label">鏂囦欢鐗堟湰锛�</div>
- <div class="search_input"><el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="addInfo.version" :disabled="radio=='鍥炴敹'"></el-input></div>
+ <div class="search_input"><el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="addInfo.version"
+ :disabled="radio == '鍥炴敹'"></el-input></div>
</div>
</el-col>
<el-col :span="12" style="margin-bottom: 16px;">
<div class="search_thing">
<div class="search_label">鏂囦欢鐘舵�侊細</div>
<div class="search_input">
- <el-select v-model="addInfo.state" size="small" style="width: 100%;" :disabled="radio=='鍥炴敹'">
- <el-option :label="item.label" :value="item.value" v-for="(item,index) in fileState" :key="index"></el-option>
+ <el-select v-model="addInfo.state" size="small" style="width: 100%;" :disabled="radio == '鍥炴敹'">
+ <el-option :label="item.label" :value="item.value" v-for="(item, index) in fileState"
+ :key="index"></el-option>
</el-select>
</div>
</div>
</el-col>
- <el-col :span="12" style="margin-bottom: 16px;" v-if="radio=='鍙戞斁'">
+ <el-col :span="12" style="margin-bottom: 16px;" v-if="radio == '鍙戞斁'">
<div class="search_thing">
<div class="search_label">鍙戞斁缂栧彿锛�</div>
- <div class="search_input"><el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="addInfo.issueCode"></el-input></div>
+ <div class="search_input"><el-input size="small" placeholder="璇疯緭鍏�" clearable
+ v-model="addInfo.issueCode"></el-input></div>
</div>
</el-col>
<el-col :span="12" style="margin-bottom: 16px;" v-else>
<div class="search_thing">
<div class="search_label">鍥炴敹缂栧彿锛�</div>
- <div class="search_input"><el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="addInfo.recycleCode"></el-input></div>
+ <div class="search_input"><el-input size="small" placeholder="璇疯緭鍏�" clearable
+ v-model="addInfo.recycleCode"></el-input></div>
</div>
</el-col>
- <el-col :span="12" style="margin-bottom: 16px;" v-if="radio=='鍙戞斁'">
+ <el-col :span="12" style="margin-bottom: 16px;" v-if="radio == '鍙戞斁'">
<div class="search_thing">
<div class="search_label">鍙戞斁鏃堕棿锛�</div>
<div class="search_input">
- <el-date-picker
- v-model="addInfo.issueDate"
- type="date"
- size="small"
- placeholder="閫夋嫨鏃ユ湡"
- format="yyyy-MM-dd"
- value-format="yyyy-MM-dd" style="width: 100%;">
+ <el-date-picker v-model="addInfo.issueDate" type="date" size="small" placeholder="閫夋嫨鏃ユ湡"
+ format="yyyy-MM-dd" value-format="yyyy-MM-dd" style="width: 100%;">
</el-date-picker>
</div>
</div>
@@ -143,42 +128,34 @@
<div class="search_thing">
<div class="search_label">鍥炴敹鏃堕棿锛�</div>
<div class="search_input">
- <el-date-picker
- v-model="addInfo.recycleDate"
- type="date"
- size="small"
- placeholder="閫夋嫨鏃ユ湡"
- format="yyyy-MM-dd"
- value-format="yyyy-MM-dd" style="width: 100%;">
+ <el-date-picker v-model="addInfo.recycleDate" type="date" size="small" placeholder="閫夋嫨鏃ユ湡"
+ format="yyyy-MM-dd" value-format="yyyy-MM-dd" style="width: 100%;">
</el-date-picker>
</div>
</div>
</el-col>
- <el-col :span="12" style="margin-bottom: 16px;" v-if="radio=='鍙戞斁'">
+ <el-col :span="12" style="margin-bottom: 16px;" v-if="radio == '鍙戞斁'">
<div class="search_thing">
<div class="search_label">鍙戞斁璇存槑锛�</div>
- <div class="search_input"><el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="addInfo.issueNote" type="textarea"
- :rows="2"></el-input></div>
+ <div class="search_input"><el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="addInfo.issueNote"
+ type="textarea" :rows="2"></el-input></div>
</div>
</el-col>
<el-col :span="12" style="margin-bottom: 16px;" v-else>
<div class="search_thing">
<div class="search_label">鍥炴敹璇存槑锛�</div>
- <div class="search_input"><el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="addInfo.recycleNote" type="textarea"
- :rows="2"></el-input></div>
+ <div class="search_input"><el-input size="small" placeholder="璇疯緭鍏�" clearable v-model="addInfo.recycleNote"
+ type="textarea" :rows="2"></el-input></div>
</div>
</el-col>
- <el-col :span="12" style="margin-bottom: 16px;" v-if="radio=='鍙戞斁'">
+ <el-col :span="12" style="margin-bottom: 16px;" v-if="radio == '鍙戞斁'">
<div class="search_thing">
<div class="search_label">涓婁紶闄勪欢锛�</div>
- <div class="search_input"><el-upload
- style="margin: 8px 0 0px 50px;"
- action="#"
- :auto-upload="false"
- :multiple="false"
- accept='.pdf,.jpg,.jpeg,.png,.gif,.doc,.docx,.xls,.xlsx' :on-change="handleChangeUpload">
- <el-button size="small" type="primary">涓婁紶闄勪欢</el-button>
- </el-upload></div>
+ <div class="search_input"><el-upload style="margin: 8px 0 0px 50px;" action="#" :auto-upload="false"
+ :multiple="false" accept='.pdf,.jpg,.jpeg,.png,.gif,.doc,.docx,.xls,.xlsx'
+ :on-change="handleChangeUpload">
+ <el-button size="small" type="primary">涓婁紶闄勪欢</el-button>
+ </el-upload></div>
</div>
</el-col>
</el-row>
@@ -187,12 +164,9 @@
<el-button type="primary" @click="handleAdd" :loading="addLoading">纭� 瀹�</el-button>
</span>
</el-dialog>
- <el-dialog
- title="鏌ョ湅闄勪欢"
- :visible.sync="lookDialogVisible"
- width="800px" top="5vh" fullscreen>
- <filePreview v-if="lookDialogVisible" :fileUrl="javaApi+'/word/'+currentInfo.url"
- :currentFile="{}" style="height: 90vh;overflow-y: auto;"/>
+ <el-dialog title="鏌ョ湅闄勪欢" :visible.sync="lookDialogVisible" width="800px" top="5vh" fullscreen>
+ <filePreview v-if="lookDialogVisible" :fileUrl="javaApi + '/word/' + currentInfo.url" :currentFile="{}"
+ style="height: 90vh;overflow-y: auto;" />
</el-dialog>
</div>
</template>
@@ -208,12 +182,12 @@
data() {
return {
ddPower: false,
- outPower:true,
+ outPower: true,
addInfo: {},
- addPower:true,
- addLoading:false,
+ addPower: true,
+ addLoading: false,
addDialogVisible: false,
- outLoading:false,
+ outLoading: false,
componentData: {
entity: {
documentCode: null,
@@ -231,7 +205,7 @@
font: '鍥炴敹璁板綍',
type: 'text',
method: 'handleUpdate',
- field:[],
+ field: [],
// disabFun: (row, index) => {
// return row.documentState=='閫氳繃'
// }
@@ -242,7 +216,7 @@
type: 'text',
method: 'doDiy',
disabFun: (row, index) => {
- return row.documentState=='閫氳繃'
+ return row.documentState == '閫氳繃'
}
},
{
@@ -260,13 +234,13 @@
type: 'text',
method: 'handleCheck',
disabFun: (row, index) => {
- return row.receiveUser!=JSON.parse(localStorage.getItem("user")).userId||row.documentState=='閫氳繃'
+ return row.receiveUser != JSON.parse(localStorage.getItem("user")).userId || row.documentState == '閫氳繃'
}
},],
tagField: {
- state:{
+ state: {
select: [
- {
+ {
value: '閫氳繃',
label: '閫氳繃'
},
@@ -278,7 +252,7 @@
},
},
selectField: {
- state:{
+ state: {
select: [
{
value: '閫氳繃',
@@ -290,27 +264,27 @@
},
]
},
- signatory:{
+ signatory: {
select: []
},
},
- datePicker:['effectiveDate'],
- addUpload:['signatoryUrl'],
+ datePicker: ['effectiveDate'],
+ addUpload: ['signatoryUrl'],
requiredAdd: [],
requiredUp: [],
needSort: [],
- inputType:聽''
+ inputType: ''
},
entityCopy: {},
upIndex: 0,
- personList:[],
- fileList:[],
- fileList0:[],
- radio:'鍙戞斁',
- fileState:[],
- file:null,
- currentInfo:{},
- lookDialogVisible:false
+ personList: [],
+ fileList: [],
+ fileList0: [],
+ radio: '鍙戞斁',
+ fileState: [],
+ file: null,
+ currentInfo: {},
+ lookDialogVisible: false
}
},
mounted() {
@@ -321,8 +295,8 @@
this.getFileList0()
this.selectEnumByCategory()
},
- methods:{
- getPower(){
+ methods: {
+ getPower() {
let power = JSON.parse(sessionStorage.getItem('power'))
let out = false
let del = false
@@ -359,6 +333,7 @@
},
refresh() {
this.componentData.entity = this.HaveJson(this.entityCopy)
+ this.page.current = 1
this.upIndex++
this.refreshTable()
},
@@ -385,51 +360,57 @@
})
},
// 鑾峰彇鏂囦欢鍒楄〃--鏂囦欢娓呭崟
- getFileList(){
- this.$axios.post(this.$api.manageDocumentList.pageManageDocumentList,{
+ getFileList() {
+ this.$axios.post(this.$api.manageDocumentList.pageManageDocumentList, {
entity: {
orderBy: {
field: 'createTime',
order: 'desc'
}
},
- page:{
- current:-1,
- size:-1
+ page: {
+ current: -1,
+ size: -1
}
- },{headers: {
- 'Content-Type': 'application/json'
- }}).then(res=>{
+ }, {
+ headers: {
+ 'Content-Type': 'application/json'
+ }
+ }).then(res => {
this.fileList = res.data.body.records
- }).catch(err=>{})
+ }).catch(err => { })
},
// 鑾峰彇鏂囦欢鍒楄〃--浣滃簾鏂囦欢
- getFileList0(){
- this.$axios.post(this.$api.manageDocumentList.pageManageDocumentCancel,{
+ getFileList0() {
+ this.$axios.post(this.$api.manageDocumentList.pageManageDocumentCancel, {
entity: {
orderBy: {
field: 'createTime',
order: 'desc'
}
},
- page:{
- current:-1,
- size:-1
+ page: {
+ current: -1,
+ size: -1
}
- },{headers: {
- 'Content-Type': 'application/json'
- }}).then(res=>{
+ }, {
+ headers: {
+ 'Content-Type': 'application/json'
+ }
+ }).then(res => {
this.fileList0 = res.data.body.records
- }).catch(err=>{})
+ }).catch(err => { })
},
// 瀵煎嚭
- handleOut(){
+ handleOut() {
this.outLoading = true
- this.$axios.post(this.$api.manageDocumentList.exportManageDocumentIssueRecycle, {entity:this.componentData.entity},{headers: {
+ this.$axios.post(this.$api.manageDocumentList.exportManageDocumentIssueRecycle, { entity: this.componentData.entity }, {
+ headers: {
'Content-Type': 'application/json'
- },responseType: "blob"},).then(res => {
+ }, responseType: "blob"
+ },).then(res => {
this.outLoading = false
- const blob = new Blob([res],{ type: 'application/octet-stream' });
+ const blob = new Blob([res], { type: 'application/octet-stream' });
//灏咮lob 瀵硅薄杞崲鎴愬瓧绗︿覆
let reader = new FileReader();
reader.readAsText(blob, 'utf-8');
@@ -458,10 +439,10 @@
}
})
},
- changeFileList(e){
- if(e){
- let obj = this.fileList.find(a=>a.documentCode == e)
- if(obj){
+ changeFileList(e) {
+ if (e) {
+ let obj = this.fileList.find(a => a.documentCode == e)
+ if (obj) {
this.addInfo.name = obj.name
this.addInfo.version = obj.version
this.addInfo.state = obj.state
@@ -469,52 +450,52 @@
}
},
// 鎻愪氦
- handleAdd(){
- if(!this.addInfo.documentCode){
+ handleAdd() {
+ if (!this.addInfo.documentCode) {
this.$message.error('璇烽�夋嫨鏂囦欢')
return
}
- if(!this.addInfo.receiveUser){
+ if (!this.addInfo.receiveUser) {
this.$message.error('璇烽�夋嫨瀹℃壒浜�')
return
}
- if(this.radio=='鍙戞斁'){
- if(!this.addInfo.issueUser){
+ if (this.radio == '鍙戞斁') {
+ if (!this.addInfo.issueUser) {
this.$message.error('璇烽�夋嫨鍙戞斁浜�')
return
}
- }else{
- if(!this.addInfo.recycleUser){
+ } else {
+ if (!this.addInfo.recycleUser) {
this.$message.error('璇烽�夋嫨鍥炴敹浜�')
return
}
}
this.addLoading = true;
- if(!this.addInfo.id){
+ if (!this.addInfo.id) {
// 鏂板鍙戞斁璁板綍
let fd = new FormData();
//鏂囦欢淇℃伅涓璻aw鎵嶆槸鐪熺殑鏂囦欢
- if(this.file){
- fd.append("file",this.file.raw);
+ if (this.file) {
+ fd.append("file", this.file.raw);
}
- for(let key in this.addInfo){
- fd.append(key,this.addInfo[key])
+ for (let key in this.addInfo) {
+ fd.append(key, this.addInfo[key])
}
- this.$axios.post(this.$api.manageDocumentList.addManageDocumentIssueRecycle,fd,{
- headers: {
- 'Content-Type': 'multipart/form-data'
- },
- noQs:true
- }).then(res=>{
- this.addLoading = false;
- if(res.code==200){
+ this.$axios.post(this.$api.manageDocumentList.addManageDocumentIssueRecycle, fd, {
+ headers: {
+ 'Content-Type': 'multipart/form-data'
+ },
+ noQs: true
+ }).then(res => {
+ this.addLoading = false;
+ if (res.code == 200) {
this.$message.success('鍙戞斁鎴愬姛')
this.addDialogVisible = false
this.refreshTable()
}
})
- }else{
- let {documentCode,id,issueUser,recycleUser,receiveUser,name,version,documentState,issueCode,recycleCode,issueDate,recycleDate,issueNote,recycleNote} = this.addInfo
+ } else {
+ let { documentCode, id, issueUser, recycleUser, receiveUser, name, version, documentState, issueCode, recycleCode, issueDate, recycleDate, issueNote, recycleNote } = this.addInfo
// 娣诲姞鍥炴敹璁板綍
let obj = {
documentCode,
@@ -533,17 +514,17 @@
recycleNote
}
let fd = new FormData();
- for(let key in obj){
- fd.append(key,obj[key])
+ for (let key in obj) {
+ fd.append(key, obj[key])
}
- this.$axios.post(this.$api.manageDocumentList.doManageDocumentIssueRecycle,fd,{
- headers: {
- 'Content-Type': 'multipart/form-data'
- },
- noQs:true
- }).then(res=>{
- this.addLoading = false;
- if(res.code==200){
+ this.$axios.post(this.$api.manageDocumentList.doManageDocumentIssueRecycle, fd, {
+ headers: {
+ 'Content-Type': 'multipart/form-data'
+ },
+ noQs: true
+ }).then(res => {
+ this.addLoading = false;
+ if (res.code == 200) {
this.$message.success('鎻愪氦鎴愬姛')
this.addDialogVisible = false
this.refreshTable()
@@ -552,13 +533,13 @@
}
},
// 娣诲姞鍥炴敹
- handleUpdate(row){
+ handleUpdate(row) {
this.addInfo = this.HaveJson(row)
this.radio = '鍥炴敹'
this.addDialogVisible = true
},
// 瀹℃牳
- handleCheck(row){
+ handleCheck(row) {
this.$confirm('鏄惁瀹℃牳閫氳繃?', '鎻愮ず', {
confirmButtonText: '閫氳繃',
cancelButtonText: '涓嶉�氳繃',
@@ -568,7 +549,7 @@
beforeClose: (action, instance, done) => {
if (action === 'confirm') {
// 鐐瑰嚮鈥滅‘瀹氣�濇寜閽紝鍏佽鍏抽棴
- this.$axios.post(this.$api.manageDocumentList.checkManageDocumentIssueRecycle, {id:row.id,documentState:'閫氳繃'}).then(res => {
+ this.$axios.post(this.$api.manageDocumentList.checkManageDocumentIssueRecycle, { id: row.id, documentState: '閫氳繃' }).then(res => {
this.refreshTable()
done();
this.$message({
@@ -576,12 +557,12 @@
message: '鎻愪氦鎴愬姛'
})
})
- .catch(err => {
+ .catch(err => {
- })
+ })
} else if (action === 'cancel') {
// 鐐瑰嚮鈥滃彇娑堚�濇寜閽紝涓嶅厑璁稿叧闂�
- this.$axios.post(this.$api.manageDocumentList.checkManageDocumentIssueRecycle, {id:row.id,documentState:'涓嶉�氳繃'}).then(res => {
+ this.$axios.post(this.$api.manageDocumentList.checkManageDocumentIssueRecycle, { id: row.id, documentState: '涓嶉�氳繃' }).then(res => {
this.refreshTable()
done();
this.$message({
@@ -589,24 +570,24 @@
message: '鎻愪氦鎴愬姛'
})
})
- .catch(err => {
+ .catch(err => {
- })
+ })
console.log("鍙栨秷鎸夐挳鐐瑰嚮浜嬩欢锛屼笉鍏抽棴寮规");
} else if (action === 'close') {
// 鐐瑰嚮鈥溍椻�濇寜閽紝涓嶅厑璁稿叧闂�
done();
console.log("脳鎸夐挳鐐瑰嚮浜嬩欢锛屼笉鍏抽棴寮规");
}
- }
+ }
})
},
- handleChangeUpload(file, fileLists){
+ handleChangeUpload(file, fileLists) {
this.file = file
- this.$set(this.addInfo,'name',file.name)
+ this.$set(this.addInfo, 'name', file.name)
},
// 鏌ョ湅闄勪欢
- handleLook(row){
+ handleLook(row) {
this.currentInfo = this.HaveJson(row)
this.lookDialogVisible = true
}
@@ -616,42 +597,44 @@
<style scoped>
.title {
- height: 60px;
- line-height: 60px;
- }
- .search {
- background-color: #fff;
- height: 40px;
- display: flex;
- align-items: center;
- position: relative;
- }
+ height: 60px;
+ line-height: 60px;
+}
- .search_thing {
- width: 350px;
- display: flex;
- align-items: center;
- }
+.search {
+ background-color: #fff;
+ height: 40px;
+ display: flex;
+ align-items: center;
+ position: relative;
+}
- .search_label {
- width: 110px;
- font-size: 14px;
- text-align: right;
- }
+.search_thing {
+ width: 350px;
+ display: flex;
+ align-items: center;
+}
- .search_input {
- width: calc(100% - 110px);
- }
+.search_label {
+ width: 110px;
+ font-size: 14px;
+ text-align: right;
+}
- .table {
- background-color: #fff;
- width: calc(100% - 40px);
- height: calc(100% - 60px - 80px);
- padding: 20px;
- }
- .btns{
- position: absolute;
- right: 20px;
- top: 5px;
- }
+.search_input {
+ width: calc(100% - 110px);
+}
+
+.table {
+ background-color: #fff;
+ width: calc(100% - 40px);
+ height: calc(100% - 60px - 80px);
+ padding: 20px;
+}
+
+.btns {
+ position: absolute;
+ right: 20px;
+ top: 5px;
+}
</style>
--
Gitblit v1.9.3