| | |
| | | <template> |
| | | <zt-dialog ref="dialog" column="2"> |
| | | <zt-dialog ref="dialog" column="2" :hasConfirm="false"> |
| | | <el-card shadow="never" class="aui-card--fill"> |
| | | <div class="mod-project-project}"> |
| | | <zt-table-wraper ref="tableObj" query-url="/project/Project/page" delete-url="/project/Project" v-slot="{ table }"> |
| | |
| | | <el-form-item style="width:12%"> |
| | | <zt-dict v-model="dataForm.criticalLevel" placeholder="关键等级" dict="critical_level" clearable></zt-dict> |
| | | </el-form-item> |
| | | <el-form-item style="width:12%"> |
| | | <!-- <el-form-item style="width:12%"> |
| | | <zt-dict v-model="dataForm.testLevel" placeholder="测试级别" dict="test_level" clearable></zt-dict> |
| | | </el-form-item> |
| | | </el-form-item>--> |
| | | <el-form-item style="width:12%"> |
| | | <zt-dict v-model="dataForm.softwareType" placeholder="软件类型" dict="software_type" clearable></zt-dict> |
| | | </el-form-item> |
| | |
| | | <el-table v-loading="table.dataLoading" |
| | | :data="table.dataList" |
| | | height="100px" |
| | | v-adaptive="{bottomOffset:70}" |
| | | v-adaptive="{bottomOffset:120}" |
| | | @row-dblclick="selectedProject" |
| | | border @selection-change="table.selectionChangeHandle"> |
| | | <el-table-column type="selection" align="center" width="40"/> |
| | |
| | | <el-table-column prop="softwareIdentity" label="项目标识"/> |
| | | <zt-table-column-dict prop="secretClass" label="密级" dict="secret_class"/> |
| | | <zt-table-column-dict prop="criticalLevel" label="关键等级" dict="critical_level"/> |
| | | <zt-table-column-dict prop="testLevel" label="测试级别" dict="test_level"/> |
| | | <!--<zt-table-column-dict prop="testLevel" label="测试级别" dict="test_level"/>--> |
| | | <zt-table-column-dict prop="softwareType" label="软件类型" dict="software_type"/> |
| | | <el-table-column prop="projectLeader" label="项目负责人"/> |
| | | <zt-table-column-dict prop="isContract" label="是否签署合同" dict="is_or_not"/> |
| | |
| | | methods: { |
| | | init(tableName) { |
| | | this.dataForm.tableName = tableName |
| | | this.$refs.tableObj.query() |
| | | this.$nextTick(()=>{ |
| | | this.$refs.tableObj.query() |
| | | }) |
| | | // console.log(this.dataForm,'this.dataForm') |
| | | }, |
| | | async selectedProject(row) { |