|  | @@ -45,7 +45,8 @@
 | 
											
												
													
														|  |            <div class="table-container custom-table">
 |  |            <div class="table-container custom-table">
 | 
											
												
													
														|  |              <el-table border 
 |  |              <el-table border 
 | 
											
												
													
														|  |              :data="projectlists" 
 |  |              :data="projectlists" 
 | 
											
												
													
														|  | -            style="width: 100%;height: 100%; overflow: auto;"
 |  | 
 | 
											
												
													
														|  | 
 |  | +            style="width: 100%; overflow: auto;"
 | 
											
												
													
														|  | 
 |  | +            height="365"
 | 
											
												
													
														|  |              highlight-current-row
 |  |              highlight-current-row
 | 
											
												
													
														|  |              @current-change="handleRowChange"
 |  |              @current-change="handleRowChange"
 | 
											
												
													
														|  |              >
 |  |              >
 | 
											
										
											
												
													
														|  | @@ -61,7 +62,7 @@
 | 
											
												
													
														|  |              <div class="project-main-pagination">
 |  |              <div class="project-main-pagination">
 | 
											
												
													
														|  |                <div class="custom-pagination">
 |  |                <div class="custom-pagination">
 | 
											
												
													
														|  |                  <el-pagination v-model:current-page="gd.currentPage" v-model:page-size="gd.pageSize"
 |  |                  <el-pagination v-model:current-page="gd.currentPage" v-model:page-size="gd.pageSize"
 | 
											
												
													
														|  | -                  :page-sizes="[5, 10, 20, 50]" background size="default" layout="prev, slot, sizes, pager, next"
 |  | 
 | 
											
												
													
														|  | 
 |  | +                  :page-sizes="[8, 16, 32, 64]" background size="default" layout="prev, slot, sizes, pager, next"
 | 
											
												
													
														|  |                    :total="parseInt(gd.total)" class="mt-4" @size-change="handleSizeChange"
 |  |                    :total="parseInt(gd.total)" class="mt-4" @size-change="handleSizeChange"
 | 
											
												
													
														|  |                    @current-change="handleCurrentChange">
 |  |                    @current-change="handleCurrentChange">
 | 
											
												
													
														|  |                    <template #default>
 |  |                    <template #default>
 | 
											
										
											
												
													
														|  | @@ -101,7 +102,7 @@ const route = useRoute()
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  const projectStore = useProjectStore()
 |  |  const projectStore = useProjectStore()
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  | -const isnew = ref(true)
 |  | 
 | 
											
												
													
														|  | 
 |  | +const isnew = ref(false)
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  const newproject = ref({
 |  |  const newproject = ref({
 | 
											
												
													
														|  |    name: '',
 |  |    name: '',
 | 
											
										
											
												
													
														|  | @@ -111,7 +112,7 @@ const newproject = ref({
 | 
											
												
													
														|  |  let gd = ref({
 |  |  let gd = ref({
 | 
											
												
													
														|  |      total: 1,
 |  |      total: 1,
 | 
											
												
													
														|  |      currentPage: 1,
 |  |      currentPage: 1,
 | 
											
												
													
														|  | -    pageSize:5,
 |  | 
 | 
											
												
													
														|  | 
 |  | +    pageSize:8,
 | 
											
												
													
														|  |      searchtag: ''
 |  |      searchtag: ''
 | 
											
												
													
														|  |  })
 |  |  })
 | 
											
												
													
														|  |  
 |  |  
 | 
											
										
											
												
													
														|  | @@ -170,6 +171,8 @@ const opProject = () => {
 | 
											
												
													
														|  |  const addone = () => {
 |  |  const addone = () => {
 | 
											
												
													
														|  |    isnew.value = true;
 |  |    isnew.value = true;
 | 
											
												
													
														|  |    titlename.value = '新建项目';
 |  |    titlename.value = '新建项目';
 | 
											
												
													
														|  | 
 |  | +  newproject.value.name = '';
 | 
											
												
													
														|  | 
 |  | +  newproject.value.remark = '';
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  const addProject = () => {
 |  |  const addProject = () => {
 | 
											
										
											
												
													
														|  | @@ -182,7 +185,7 @@ const addProject = () => {
 | 
											
												
													
														|  |      .then((res) => {
 |  |      .then((res) => {
 | 
											
												
													
														|  |        console.log(res);
 |  |        console.log(res);
 | 
											
												
													
														|  |        ElMessage.success('添加成功');
 |  |        ElMessage.success('添加成功');
 | 
											
												
													
														|  | -      // isnew.value = false;
 |  | 
 | 
											
												
													
														|  | 
 |  | +      isnew.value = false;
 | 
											
												
													
														|  |        getprojectlist();
 |  |        getprojectlist();
 | 
											
												
													
														|  |      })
 |  |      })
 | 
											
												
													
														|  |      .catch((err) => {
 |  |      .catch((err) => {
 | 
											
										
											
												
													
														|  | @@ -198,6 +201,8 @@ const editSelected = () => {
 | 
											
												
													
														|  |    }
 |  |    }
 | 
											
												
													
														|  |    isnew.value = true;
 |  |    isnew.value = true;
 | 
											
												
													
														|  |    titlename.value = '编辑项目';
 |  |    titlename.value = '编辑项目';
 | 
											
												
													
														|  | 
 |  | +  newproject.value.name = currentRow.value.name;
 | 
											
												
													
														|  | 
 |  | +  newproject.value.remark = currentRow.value.remark;
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  const editProject = () => {
 |  |  const editProject = () => {
 | 
											
										
											
												
													
														|  | @@ -212,7 +217,7 @@ const editProject = () => {
 | 
											
												
													
														|  |      .then((res) => {
 |  |      .then((res) => {
 | 
											
												
													
														|  |        console.log(res);
 |  |        console.log(res);
 | 
											
												
													
														|  |        ElMessage.success('编辑成功');
 |  |        ElMessage.success('编辑成功');
 | 
											
												
													
														|  | -      // isnew.value = false;
 |  | 
 | 
											
												
													
														|  | 
 |  | +      isnew.value = false;
 | 
											
												
													
														|  |        getprojectlist();
 |  |        getprojectlist();
 | 
											
												
													
														|  |      })
 |  |      })
 | 
											
												
													
														|  |      .catch((err) => {
 |  |      .catch((err) => {
 | 
											
										
											
												
													
														|  | @@ -326,7 +331,6 @@ onMounted(() => {
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  .project-content {
 |  |  .project-content {
 | 
											
												
													
														|  |    width: 80%;
 |  |    width: 80%;
 | 
											
												
													
														|  | -  height: 70%;
 |  | 
 | 
											
												
													
														|  |    position: relative;
 |  |    position: relative;
 | 
											
												
													
														|  |    border: 1px solid transparent;
 |  |    border: 1px solid transparent;
 | 
											
												
													
														|  |    border-image: linear-gradient(to right, #0075FF, #00FFD8, #00FFD8) 1;
 |  |    border-image: linear-gradient(to right, #0075FF, #00FFD8, #00FFD8) 1;
 | 
											
										
											
												
													
														|  | @@ -335,7 +339,7 @@ onMounted(() => {
 | 
											
												
													
														|  |  .newproject {
 |  |  .newproject {
 | 
											
												
													
														|  |    width: 100%;
 |  |    width: 100%;
 | 
											
												
													
														|  |    height: 15%;
 |  |    height: 15%;
 | 
											
												
													
														|  | -  padding: 24px;
 |  | 
 | 
											
												
													
														|  | 
 |  | +  padding: 24px 24px 0;
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |    .newproject-header{
 |  |    .newproject-header{
 | 
											
												
													
														|  |      font-size: 20px;
 |  |      font-size: 20px;
 |