|
|
|
@ -88,7 +88,7 @@
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import { getList, sh } from "@/api/jhzx/tzCX";
|
|
|
|
|
import { getList, tj } from "@/api/jhzx/tzCX";
|
|
|
|
|
import { getCzxx } from "@/api/jhzx/qfxq";
|
|
|
|
|
export default {
|
|
|
|
|
name: "TzjhGL",
|
|
|
|
@ -325,10 +325,14 @@ export default {
|
|
|
|
|
statusOptions: [
|
|
|
|
|
{
|
|
|
|
|
value: "0",
|
|
|
|
|
label: "未审核",
|
|
|
|
|
label: "未提交",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
value: "1",
|
|
|
|
|
label: "已提交",
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
value: "2",
|
|
|
|
|
label: "已审核",
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
@ -374,14 +378,14 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
// 是否可选中
|
|
|
|
|
CheckboxkMethod({ row }) {
|
|
|
|
|
return row.zt !== "1";
|
|
|
|
|
return row.zt == "0";
|
|
|
|
|
},
|
|
|
|
|
// 操作
|
|
|
|
|
async toolbarButtonClickEvent(code) {
|
|
|
|
|
switch (code) {
|
|
|
|
|
case "insert":
|
|
|
|
|
if (this.checkedList.length > 0) {
|
|
|
|
|
sh(this.checkedList).then((res) => {
|
|
|
|
|
tj(this.checkedList).then((res) => {
|
|
|
|
|
if (res.success) {
|
|
|
|
|
const xTable = this.$refs.tableRef;
|
|
|
|
|
xTable.loadData(this.initList());
|
|
|
|
|