mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-18 07:16:46 +08:00
fix:修改字数限制
This commit is contained in:
@@ -606,7 +606,16 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="width: 120px; text-align: center">
|
||||
<div
|
||||
style="
|
||||
width: 120px;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
"
|
||||
:title="element.creater"
|
||||
>
|
||||
{{ element.creater }}
|
||||
</div>
|
||||
<div style="width: 120px; text-align: center">
|
||||
@@ -1402,25 +1411,23 @@ export default {
|
||||
};
|
||||
array.push(obj);
|
||||
});
|
||||
console.log(array)
|
||||
if(array[0].id=='0'){
|
||||
console.log(array);
|
||||
if (array[0].id == "0") {
|
||||
state.level = [];
|
||||
// state.tableData = array[0]
|
||||
// 当无阶段任务出现时 显示当前数据
|
||||
if(array[0].taskList.length!==0){
|
||||
getTableData(array[0].taskList)
|
||||
if (array[0].taskList.length !== 0) {
|
||||
getTableData(array[0].taskList);
|
||||
}
|
||||
|
||||
}else{
|
||||
let datearr = []
|
||||
for(let i=0;i<array.length;i++){
|
||||
if(array[i].id!==0&&array[i].taskList.length!==0){
|
||||
datearr.push(array[i])
|
||||
} else {
|
||||
let datearr = [];
|
||||
for (let i = 0; i < array.length; i++) {
|
||||
if (array[i].id !== 0 && array[i].taskList.length !== 0) {
|
||||
datearr.push(array[i]);
|
||||
}
|
||||
}
|
||||
state.level = datearr;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
const tableDataFunc = () => {
|
||||
@@ -1557,12 +1564,15 @@ export default {
|
||||
api
|
||||
.templateDetail(localStorage.getItem("projectTemplateId"))
|
||||
.then((res) => {
|
||||
console.log('获取的任务列表信息',res)
|
||||
console.log("获取的任务列表信息", res);
|
||||
if (res.status == 200) {
|
||||
console.log("22222", res.data.data.stageList);
|
||||
state.projectTitle = res.data.data.projectTemplateInfo.name;
|
||||
state.picUrl = res.data.data.projectTemplateInfo.picUrl;
|
||||
let leng = res.data.data.stageList[0].name!==null ?res.data.data.stageList.length:0;
|
||||
let leng =
|
||||
res.data.data.stageList[0].name !== null
|
||||
? res.data.data.stageList.length
|
||||
: 0;
|
||||
if (leng > 0) {
|
||||
let stage = localStorage.getItem("templateStageId")
|
||||
? localStorage.getItem("templateStageId")
|
||||
@@ -1816,7 +1826,7 @@ export default {
|
||||
"0px 1px 35px 0px rgba(118, 136, 166, 0.07)";
|
||||
});
|
||||
const showDrawerOnline = (id, eleId) => {
|
||||
console.log(id, eleId)
|
||||
console.log(id, eleId);
|
||||
state.addonlinevisible = true;
|
||||
state.EditOnlineId = id;
|
||||
state.projectTaskId = eleId;
|
||||
|
||||
Reference in New Issue
Block a user