Commit 73a519d8 authored by qzhxx's avatar qzhxx

迭代

parent 3db4785f
......@@ -23,7 +23,7 @@
</el-form-item>
<el-form-item label="适用范围">
<span v-show="userType === '1'">全平台</span>
<el-radio-group v-show="userType === '2'" v-model="ruleForm.applicableScope">
<el-radio-group v-show="userType !== '1'" v-model="ruleForm.applicableScope">
<el-radio label="THIS_ORGAN">仅本单位</el-radio>
<el-radio label="THIS_ORGAN_SUB">本单位及下属单位</el-radio>
</el-radio-group>
......
......@@ -139,7 +139,7 @@
</el-button>
</el-tooltip>
<el-tooltip content="启用" placement="top">
<el-button circle :disabled="(scope.row.auditStatus === 'TBC')||(scope.row.auditStatus === 'TBCA')" v-show="!scope.row.published" @click="handlePublish(scope.row, 'True')">
<el-button circle :disabled="(scope.row.auditStatus === 'TBC')||(scope.row.auditStatus === 'TBCA')||((scope.row.createType === '1')&&(userType !== '1'))" v-show="!scope.row.published" @click="handlePublish(scope.row, 'True')">
<i class="icon-table icon-enable"></i>
</el-button>
</el-tooltip>
......@@ -178,6 +178,7 @@ export default {
}
};
return {
userType:'',
value1: "",
page: { currentPage: 1, pageSize: 10, total: 0 },
tableData: [],
......@@ -226,6 +227,7 @@ export default {
computed: {},
mounted() {
this.onSearch();
this.userType = localStorage.getItem("userType");
},
components: {},
methods: {
......
......@@ -17,7 +17,7 @@
v-model="form.date"
type="daterange"
range-separator="至"
value-format="yyyy-MM-dd"
value-format="yyyy-MM-dd hh:mm:ss"
start-placeholder="开始日期"
end-placeholder="结束日期"
>
......
......@@ -24,7 +24,7 @@
v-model="form.date"
type="daterange"
range-separator="至"
value-format="yyyy-MM-dd"
value-format="yyyy-MM-dd hh:mm:ss"
start-placeholder="开始日期"
end-placeholder="结束日期"
>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment