[update]
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
</span>
|
</span>
|
||||||
<div :slot="'titleName'+(index+1)" v-for="(item,index) in content">
|
<div :slot="'titleName'+(index+1)" v-for="(item,index) in content">
|
||||||
<span style='padding-right: 20px'>{{ item.db_field_txt }} </span>
|
<span style='padding-right: 20px'>{{ item.db_field_txt }} </span>
|
||||||
<a-button @click='onClickSee(item)'>查看</a-button>
|
<a-button @click='onClickSee(item)'>{{$t('See')}}</a-button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<span slot="operationbtn" slot-scope="record">
|
<span slot="operationbtn" slot-scope="record">
|
||||||
|
|||||||
@@ -61,6 +61,7 @@ export default {
|
|||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.detailDate.list.forEach((item) => {
|
this.detailDate.list.forEach((item) => {
|
||||||
|
console.log('ppp')
|
||||||
if(item.type == 'file' && item.isLock == '1') {
|
if(item.type == 'file' && item.isLock == '1') {
|
||||||
this.disabled = true
|
this.disabled = true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -58,11 +58,11 @@
|
|||||||
>
|
>
|
||||||
<span slot="projectName" slot-scope="text,record" :title="text">
|
<span slot="projectName" slot-scope="text,record" :title="text">
|
||||||
<a @click="entryNameClick(record)">
|
<a @click="entryNameClick(record)">
|
||||||
{{ text && text.length > 15 ? text.slice(0, 14) + '...' : text }}
|
{{ text && text.length > 30 ? text.slice(0, 29) + '...' : text }}
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
<span slot="titleName" slot-scope="text,record" :title="text">
|
<span slot="titleName" slot-scope="text,record" :title="text">
|
||||||
{{ text && text.length > 30 ? text.slice(0, 29) + '...' : text }}
|
{{ text && text.length > 50 ? text.slice(0, 49) + '...' : text }}
|
||||||
</span>
|
</span>
|
||||||
<span slot="operation" slot-scope="text,record">
|
<span slot="operation" slot-scope="text,record">
|
||||||
<a class="text-operation" v-has="'params:template:edit'" @click="edit(record)">{{$t('edit')}}</a>
|
<a class="text-operation" v-has="'params:template:edit'" @click="edit(record)">{{$t('edit')}}</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user