| | |
| | | width="110px" /> --> |
| | | <el-table-column label="参与小结" align="center" prop="needReport" :show-overflow-tooltip="true" width="110px"> |
| | | <template slot-scope="scope"> |
| | | <dict-tag :options="dict.type.sys_yes_no" :value="scope.row.proCheckMethod" /> |
| | | <dict-tag :options="dict.type.sys_yes_no" :value="scope.row.needReport" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="是否空腹" align="center" prop="proCheckMethod" :show-overflow-tooltip="true" width="110px"> |
| | |
| | | </div> |
| | | <div class="pag" v-if="List == false"> |
| | | <div class="pag1"> |
| | | <pagination v-show="total > 0" :total="total" :page.sync="querycharge.page" |
| | | :limit.sync="querycharge.pageSize" @pagination="getListByXmId" /> |
| | | <pagination v-show="total > 0" :total="total" :page.sync="queryParam.page" |
| | | :limit.sync="queryParam.pageSize" @pagination="getListByXmId" /> |
| | | </div> |
| | | </div> |
| | | </el-col> |
| | |
| | | handleAdd(row) { |
| | | // this.reset(); |
| | | this.loading = true; |
| | | this.form.proPrice = 0.00 |
| | | this.form.proName = "" |
| | | this.form.proId = null |
| | | ProjectTree().then((response) => { |
| | | if (response.code == 200) { |
| | | this.loading = false; |
| | |
| | | deptName: null, |
| | | consumablesList: [], |
| | | tjStandardList: [], |
| | | proStatus: "启用", |
| | | proStatus: "0", |
| | | }; |
| | | this.resetForm("form"); |
| | | }, |
| | |
| | | this.showRentPrise = true; |
| | | } |
| | | this.form.deptId = Number(this.form.deptId); |
| | | if (this.form.proStatus === 0) { |
| | | this.form.proStatus = "启用"; |
| | | } else { |
| | | this.form.proStatus = "停用"; |
| | | } |
| | | if (this.form.proStandard === 0) { |
| | | this.showPrise = true; |
| | | this.showRentPrise = false; |
| | |
| | | this.showPrise = false; |
| | | this.showRentPrise = true; |
| | | } |
| | | this.form.proStatus = this.form.proStatus.toString() |
| | | this.form.consumablesList = response.data.consumablesList; |
| | | this.form.tjStandardList = response.data.tjStandardList; |
| | | if (this.form.tjStandardList != null) { |
| | |
| | | } |
| | | }); |
| | | } |
| | | if (this.form.proStatus === "启用") { |
| | | this.form.proStatus = 0; |
| | | } else { |
| | | this.form.proStatus = 1; |
| | | } |
| | | |
| | | |
| | | updateProject(this.form).then((response) => { |
| | | this.$modal.msgSuccess("修改成功"); |
| | | this.cancel(); |
| | |
| | | this.$message.error("请填写父项名称或科室名称"); |
| | | this.open = true; |
| | | } else { |
| | | if (this.form.proStatus === "启用") { |
| | | this.form.proStatus = 0; |
| | | } else { |
| | | this.form.proStatus = 1; |
| | | } |
| | | |
| | | addProject(this.form).then((response) => { |
| | | this.$modal.msgSuccess("新增成功"); |
| | | this.cancel(); |
| | |
| | | } |
| | | }); |
| | | } |
| | | if (this.form.proStatus === "启用") { |
| | | this.form.proStatus = 0; |
| | | } else { |
| | | this.form.proStatus = 1; |
| | | } |
| | | |
| | | updateProject(this.form).then((response) => { |
| | | this.$modal.msgSuccess("修改成功"); |
| | | this.cancel(); |
| | |
| | | this.$message.error("请填写父项名称或科室名称"); |
| | | this.open = true; |
| | | } else { |
| | | if (this.form.proStatus === "启用") { |
| | | this.form.proStatus = 0; |
| | | } else { |
| | | this.form.proStatus = 1; |
| | | } |
| | | |
| | | addProject(this.form).then((response) => { |
| | | this.$modal.msgSuccess("新增成功"); |
| | | this.cancel(); |