|
@@ -251,7 +251,20 @@
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
<!-- 立项审核对话框结束 -->
|
|
|
-
|
|
|
+<!-- 删除通知开始 -->
|
|
|
+<el-dialog
|
|
|
+ title="删除项目"
|
|
|
+ :visible.sync="dialogVisible2"
|
|
|
+ width="600px"
|
|
|
+ class="addDialog">
|
|
|
+ <div class="addDialogLogo">LOGO</div>
|
|
|
+ <span class="deleteContent">确定删除项目?</span>
|
|
|
+ <span slot="footer" class="dialog-footer">
|
|
|
+ <el-button type="primary" @click="dialogDel" class="btn5">确认删除</el-button>
|
|
|
+ <el-button @click="init" class="btn5" >取消</el-button>
|
|
|
+ </span>
|
|
|
+ </el-dialog>
|
|
|
+<!-- 删除通知结束-->
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -264,6 +277,7 @@
|
|
|
status:-1,
|
|
|
dialogVisible:false,//立项审核
|
|
|
dialogVisible1:false,//立项撤回提交
|
|
|
+ dialogVisible2:false,//删除
|
|
|
options:[],//项目筛选
|
|
|
options1:[],//部门
|
|
|
options2:[],//分类
|
|
@@ -296,6 +310,7 @@
|
|
|
init(){
|
|
|
this.dialogVisible=false;
|
|
|
this.dialogVisible1=false;
|
|
|
+ this.dialogVisible2=false;
|
|
|
},
|
|
|
audit(){
|
|
|
if(this.status==-1){
|
|
@@ -350,21 +365,10 @@
|
|
|
// })
|
|
|
},
|
|
|
del() {
|
|
|
- this.$confirm('此操作将永久删除该文件, 是否继续?', '提示', {
|
|
|
- confirmButtonText: '确定',
|
|
|
- cancelButtonText: '取消',
|
|
|
- type: 'warning'
|
|
|
- }).then(() => {
|
|
|
- this.$message({
|
|
|
- type: 'success',
|
|
|
- message: '删除成功!'
|
|
|
- });
|
|
|
- }).catch(() => {
|
|
|
- this.$message({
|
|
|
- type: 'info',
|
|
|
- message: '已取消删除'
|
|
|
- });
|
|
|
- });
|
|
|
+ this.dialogVisible2=true
|
|
|
+ },
|
|
|
+ dialogDel(){
|
|
|
+ this.dialogVisible2=false
|
|
|
}
|
|
|
},
|
|
|
watch:{
|
|
@@ -386,6 +390,71 @@
|
|
|
<style lang="less">
|
|
|
.projectApplication{
|
|
|
|
|
|
+
|
|
|
+ .addDialog{ //删除框
|
|
|
+ font-size: 18px;
|
|
|
+ .el-dialog{
|
|
|
+ border-radius: 5px;
|
|
|
+ overflow: hidden;
|
|
|
+ }
|
|
|
+ .deleteContent{
|
|
|
+ margin: 30px 0;
|
|
|
+ font-size: 22px;
|
|
|
+ color: #000;
|
|
|
+ }
|
|
|
+ .addDialogLogo{
|
|
|
+ width: 60px;
|
|
|
+ height: 30px;
|
|
|
+ line-height: 30px;
|
|
|
+ background: #f2f2f2;
|
|
|
+ position: absolute;
|
|
|
+ left: 20px; top: 15px;
|
|
|
+ }
|
|
|
+ .el-dialog__header{
|
|
|
+ background: #32455b;
|
|
|
+ }
|
|
|
+ .el-dialog__title{
|
|
|
+ color:#fff;
|
|
|
+ font-size: 22px;
|
|
|
+ }
|
|
|
+ .addDialogMid{
|
|
|
+ box-sizing: border-box;
|
|
|
+ padding:0 60px 0 10px;
|
|
|
+ .addDialogTit{
|
|
|
+ display: flex;
|
|
|
+ span{
|
|
|
+ width: 80px;
|
|
|
+ font-size: 16px;
|
|
|
+ line-height: 40px;
|
|
|
+ text-align: left;
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .addDialogTit1{
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ margin-bottom: 15px;
|
|
|
+ }
|
|
|
+ .addDialogTit2{
|
|
|
+ margin-top: 10px;
|
|
|
+ font-size: 16px;
|
|
|
+ color: #000;
|
|
|
+ text-indent: 2em;
|
|
|
+ }
|
|
|
+ .addDialogCon{
|
|
|
+ margin-top: 20px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .dialog-footer{
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ box-sizing: border-box;
|
|
|
+ .btn5{
|
|
|
+ font-size: 16px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
.dialogWidth{
|
|
|
.el-input__inner{
|
|
|
width: 300px;
|